:root {
  --bg: #fbfaf8;
  --bg-alt: #f2efea;
  --text: #1f2328;
  --muted: #5b6168;
  --accent: #b5334a;
  --accent-dark: #8f2539;
  --blue: #2f6fe0;
  --red: #d8344f;
  --ir: #7a2a3a;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(31, 35, 40, 0.08);
  --max: 1100px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
}

img { max-width: 100%; }

a { color: var(--accent); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }

.container { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 760px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 250, 248, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
}
.logo {
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--text);
}
.logo span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.nav a:not(.btn):hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 2px solid var(--accent);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-small { padding: 0.45rem 1rem; font-size: 0.9rem; }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: rgba(181, 51, 74, 0.08); }

/* Hero */
.hero { padding: clamp(3rem, 8vw, 6rem) 0; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.8rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.6rem; }

.hero-visual { display: flex; justify-content: center; }
.panel {
  position: relative;
  width: min(360px, 80vw);
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  background: #1b1d22;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: perspective(800px) rotateX(18deg);
}
.panel-leds {
  position: absolute;
  inset: 18px;
  border-radius: 16px;
  background-image: radial-gradient(circle, #ff5a70 0 3px, transparent 4px);
  background-size: 18px 18px;
  opacity: 0.95;
  animation: pulse 4s ease-in-out infinite;
}
.panel-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 50% 60%, rgba(255, 70, 100, 0.55), transparent 60%);
  filter: blur(10px);
}
@keyframes pulse {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .panel-leds { animation: none; }
  html { scroll-behavior: auto; }
}

/* Sections */
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-lead { color: var(--muted); max-width: 40em; margin-bottom: 2rem; }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.note {
  font-size: 0.92rem;
  color: var(--muted);
  border-left: 3px solid var(--accent);
  padding-left: 0.9rem;
}

/* Wavelengths */
.wavelengths { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.wl {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "nm name" "nm desc";
  column-gap: 1.1rem;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow);
  border-left: 6px solid;
}
.wl-nm { grid-area: nm; font-weight: 800; font-size: 1.3rem; align-self: center; min-width: 4.5em; }
.wl-name { grid-area: name; font-weight: 700; }
.wl-desc { grid-area: desc; color: var(--muted); font-size: 0.95rem; }
.wl-blue { border-color: var(--blue); }
.wl-blue .wl-nm { color: var(--blue); }
.wl-red { border-color: var(--red); }
.wl-red .wl-nm { color: var(--red); }
.wl-ir { border-color: var(--ir); }
.wl-ir .wl-nm { color: var(--ir); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card p { color: var(--muted); margin: 0 0 1rem; }
.card-meta { margin-top: auto !important; font-weight: 600; color: var(--accent) !important; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 1rem; max-width: 760px; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 1rem 1.2rem 1rem 4rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* FAQ */
details {
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
  margin-bottom: 0.8rem;
  box-shadow: var(--shadow);
}
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 0.7rem 0 0; }

/* Booking */
.booking { background: linear-gradient(180deg, var(--bg) 0%, #f7e9ec 100%); }
.external-booking { margin: 1.5rem 0; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.contact-list li { margin-bottom: 0.5rem; }
.contact-list span { display: inline-block; min-width: 5.5em; color: var(--muted); }

.booking-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}
.booking-form label { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.92rem; }
.booking-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.booking-form input,
.booking-form select,
.booking-form textarea {
  font: inherit;
  font-weight: 400;
  padding: 0.65rem 0.8rem;
  border: 1px solid #d5d1cb;
  border-radius: 10px;
  background: #fff;
  color: var(--text);
}
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}
.booking-form [aria-invalid="true"] { border-color: var(--red); }
.form-error { color: var(--red); margin: 0; font-weight: 600; }
.form-hint { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* Footer */
.site-footer { background: #1f2328; color: #c9cdd2; padding: 2rem 0; font-size: 0.9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer p { margin: 0; }
.disclaimer { max-width: 32em; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }

/* Responsive */
@media (max-width: 860px) {
  .hero-inner, .two-col { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 520px) {
  .booking-form .row { grid-template-columns: 1fr; }
}
