/* ==========================================================================
   Crystal Clear Aquariums — Global Stylesheet
   ========================================================================== */

:root {
  /* Palette — derived from the Crystal Clear Aquariums logo blue (#1e78b3) */
  --deep-ocean: #0c324b;
  --ocean-blue: #145179;
  --primary: #1e78b3;
  --primary-dark: #175d8b;
  --accent: #61a0c9;
  --accent-dark: #3988bc;
  --seafoam: #eff5f9;
  --seafoam-deep: #dfecf4;
  --sand: #fbfbfa;
  --white: #ffffff;
  --text-dark: #14212b;
  --text-muted: #4b6472;
  --text-on-dark: #e7f1f8;
  --border-light: #e3eef5;
  --shadow-sm: 0 2px 8px rgba(12, 50, 75, 0.08);
  --shadow-md: 0 8px 24px rgba(12, 50, 75, 0.12);
  --shadow-lg: 0 16px 40px rgba(12, 50, 75, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --max-width: 1160px;
}

/* ---- Reset ------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--deep-ocean);
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--text-muted); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 72px 0;
}

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  font-family: "Poppins", sans-serif;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-dark), var(--primary));
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--white);
  border-color: var(--border-light);
  color: var(--primary-dark);
}

.btn-secondary:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-block { width: 100%; }

/* ---- Header / Nav ------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border-light);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--deep-ocean);
}

.brand-logo {
  height: 50px;
  width: auto;
  display: block;
}

.brand-tagline {
  display: block;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  border-left: 1px solid var(--border-light);
  padding-left: 14px;
  line-height: 1.4;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .brand-tagline { display: none; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--text-dark);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-links a:hover {
  background: var(--seafoam);
  color: var(--primary-dark);
}

.nav-links a.active {
  background: var(--seafoam-deep);
  color: var(--primary-dark);
  font-weight: 600;
}

.nav-cta {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--deep-ocean);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--deep-ocean);
  color: var(--white);
  padding: 120px 0 104px;
  min-height: 620px;
  display: flex;
  align-items: center;
}

/* Full-bleed photo behind the hero copy */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

/* Scrim: dark on the left where the text sits, clearing toward the right so
   the tank stays visible. */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg,
      rgba(8, 30, 46, 0.94) 0%,
      rgba(8, 30, 46, 0.86) 38%,
      rgba(8, 30, 46, 0.55) 68%,
      rgba(8, 30, 46, 0.38) 100%),
    linear-gradient(to bottom, rgba(8, 30, 46, 0.35), rgba(8, 30, 46, 0) 30%);
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-copy { max-width: 620px; }

/* On narrow screens the photo can't sit beside the text, so darken it evenly
   and let it act purely as a backdrop. */
@media (max-width: 900px) {
  .hero {
    min-height: 0;
    padding: 80px 0 72px;
  }
  .hero-bg::after {
    background: linear-gradient(180deg,
      rgba(8, 30, 46, 0.86) 0%,
      rgba(8, 30, 46, 0.90) 55%,
      rgba(8, 30, 46, 0.94) 100%);
  }
  .hero-bg img { object-position: center 40%; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(97, 160, 201, 0.16);
  border: 1px solid rgba(97, 160, 201, 0.45);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
}

.hero h1 { color: var(--white); }

.hero .lead {
  font-size: 1.12rem;
  color: var(--text-on-dark);
  max-width: 46ch;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stats div strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
  color: var(--accent);
}

.hero-stats div span {
  font-size: 0.82rem;
  color: var(--text-on-dark);
  opacity: 0.85;
}

.bubbles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-22px); }
}

.wave-divider {
  display: block;
  width: 100%;
  line-height: 0;
  margin-top: -2px;
}

.wave-divider svg { width: 100%; height: auto; display: block; }

/* ---- Section headers ------------------------------------------------------ */
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}

.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-alt {
  background: var(--seafoam);
}

/* ---- Cards ---------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--seafoam);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card-icon img { width: 30px; height: 30px; }

.card h3 { margin-bottom: 10px; }

.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.94rem;
  margin-top: 10px;
}

.card .card-link:hover { color: var(--accent-dark); }

/* ---- Feature list ---------------------------------------------------------- */
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  color: var(--text-dark);
}

.feature-list li svg { flex-shrink: 0; margin-top: 3px; }

/* ---- Photo placeholders ----------------------------------------------------- */
.photo-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.photo-frame img { width: 100%; height: 100%; object-fit: cover; }

/* Gallery cards share one aspect so the row lines up regardless of the
   source photo's shape. Scoped to the grid so the square About photo is
   left alone. */
.card-grid .photo-frame { aspect-ratio: 4 / 3; }

.photo-frame .placeholder-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(7, 59, 76, 0.85);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

/* ---- Service area / area chips ---------------------------------------------- */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.chip {
  background: var(--white);
  border: 1px solid var(--border-light);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary-dark);
}

/* ---- CTA band ---------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(120deg, var(--deep-ocean), var(--ocean-blue));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--text-on-dark); max-width: 50ch; margin-left: auto; margin-right: auto; }

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ---- Footer ------------------------------------------------------------------- */
.site-footer {
  background: var(--deep-ocean);
  color: var(--text-on-dark);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.footer-brand img { height: 36px; width: auto; display: block; }

.site-footer h4 {
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.site-footer ul li { margin-bottom: 10px; }

.site-footer a {
  color: var(--text-on-dark);
  opacity: 0.82;
  font-size: 0.94rem;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.site-footer a:hover { opacity: 1; color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.84rem;
  opacity: 0.7;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---- Page hero (interior pages) ---------------------------------------------- */
.page-hero {
  background: linear-gradient(120deg, var(--deep-ocean), var(--ocean-blue));
  color: var(--white);
  padding: 64px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: var(--text-on-dark); max-width: 56ch; margin: 0 auto; }

/* ---- Service detail blocks ------------------------------------------------------ */
.service-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border-light);
}

.service-block:last-child { border-bottom: none; }

.service-block.reverse .service-media { order: 2; }
.service-block.reverse .service-copy { order: 1; }

.service-photo {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}

.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-block:hover .service-photo img {
  transform: scale(1.04);
}

.service-copy .eyebrow { margin-bottom: 6px; }

.service-copy ul { margin: 20px 0 28px; }

.service-copy ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 6px 0;
  color: var(--text-dark);
}

/* ---- Booking page --------------------------------------------------------------- */
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}

.booking-info {
  background: var(--seafoam);
  border-radius: var(--radius-md);
  padding: 32px;
  position: sticky;
  top: 100px;
}

.booking-info h3 { margin-top: 24px; }
.booking-info h3:first-child { margin-top: 0; }

.booking-widget {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  min-height: 700px;
  background: var(--sand);
}

.booking-widget iframe {
  width: 100%;
  height: 700px;
  border: none;
  display: block;
}

.booking-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--white);
  border: 1px dashed var(--accent);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-top: 20px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.service-select {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.service-select label {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 500;
  transition: border-color 0.15s ease, background-color 0.15s ease;
  background: var(--white);
}

.service-select label:hover { border-color: var(--accent); }

.service-select input:checked + span {
  color: var(--primary-dark);
}

.service-select label:has(input:checked) {
  border-color: var(--accent-dark);
  background: var(--seafoam-deep);
}

/* ---- About page ------------------------------------------------------------------ */
.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.why-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
}

.why-item .card-icon { margin-bottom: 0; flex-shrink: 0; }

/* ---- FAQ ------------------------------------------------------------------------- */
.faq-list { max-width: 780px; margin: 0 auto; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 24px;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--deep-ocean);
}

.faq-question .icon-plus {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}

.faq-question .icon-plus::before,
.faq-question .icon-plus::after {
  content: "";
  position: absolute;
  background: var(--primary);
  transition: transform 0.2s ease;
}

.faq-question .icon-plus::before {
  top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%);
}

.faq-question .icon-plus::after {
  left: 50%; top: 0; height: 100%; width: 2px; transform: translateX(-50%);
}

.faq-item.open .icon-plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 24px 22px;
}

.faq-answer p { margin: 0; }

/* ---- Contact page ------------------------------------------------------------------ */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}

.contact-card:last-child { border-bottom: none; }

.contact-card h4 { margin: 0 0 4px; font-family: "Poppins", sans-serif; color: var(--deep-ocean); font-size: 0.98rem; }
.contact-card p { margin: 0; }

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--deep-ocean);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  font-family: "Inter", sans-serif;
  font-size: 0.96rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(30, 120, 179, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-status {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-status.success { color: var(--accent-dark); }
.form-status.error { color: #c0392b; }

/* ---- Utility ------------------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---- Responsive ------------------------------------------------------------------------ */
@media (max-width: 960px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-block { grid-template-columns: 1fr; }
  .service-block.reverse .service-media { order: 1; }
  .service-block.reverse .service-copy { order: 2; }
  .booking-layout { grid-template-columns: 1fr; }
  .booking-info { position: static; }
  .story-layout { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-links a { padding: 14px 16px; }
  .nav-cta { margin-left: 0; margin-top: 8px; }
  .nav-toggle { display: block; }

  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  section { padding: 56px 0; }
}

/* ==========================================================================
   Multi-step booking + onboarding form (submits to Netlify Forms)
   ========================================================================== */

.booking-form-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 32px;
}

/* ---- Progress indicator ---- */
.form-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}

.form-progress .step-dot {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.form-progress .step-num {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  background: var(--seafoam);
  color: var(--text-muted);
  border: 2px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.form-progress .step-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.form-progress .step-dot.active .step-num {
  background: var(--primary);
  color: var(--white);
}

.form-progress .step-dot.active .step-label { color: var(--primary-dark); }

.form-progress .step-dot.done .step-num {
  background: var(--seafoam-deep);
  color: var(--primary-dark);
  border-color: var(--primary);
}

.form-progress .step-bar {
  flex: 1;
  height: 2px;
  background: var(--border-light);
  border-radius: 2px;
  min-width: 12px;
}

@media (max-width: 640px) {
  .form-progress .step-label { display: none; }
  .form-progress .step-dot { flex: 0 0 auto; }
}

/* ---- Steps ---- */
.form-step { display: none; }
.form-step.active { display: block; animation: stepIn 0.25s ease; }

@keyframes stepIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-step h3 {
  margin-bottom: 4px;
  font-size: 1.2rem;
}

.form-step .step-hint {
  font-size: 0.9rem;
  margin-bottom: 22px;
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border-light);
}

.form-actions .spacer { flex: 1; }

/* ---- Choice cards (radio pills) ---- */
.choice-grid {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.choice-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.choice-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 620px) {
  .choice-grid.cols-2,
  .choice-grid.cols-3 { grid-template-columns: 1fr; }
}

.choice {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  cursor: pointer;
  background: var(--white);
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.choice:hover { border-color: var(--accent); }

.choice input { margin-top: 3px; flex-shrink: 0; accent-color: var(--primary); }

.choice .choice-text { display: block; font-weight: 600; font-size: 0.94rem; color: var(--text-dark); }
.choice .choice-sub { display: block; font-weight: 400; font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }

.choice:has(input:checked) {
  border-color: var(--primary);
  background: var(--seafoam);
  box-shadow: 0 0 0 3px rgba(30, 120, 179, 0.10);
}

/* ---- Required marker ---- */
.form-group label .req { color: #c0392b; margin-left: 2px; }
.form-group .field-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 5px;
  font-weight: 400;
}

fieldset {
  border: none;
  margin: 0 0 4px;
  padding: 0;
}

fieldset legend {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--deep-ocean);
  margin-bottom: 8px;
  padding: 0;
}

/* ---- Honeypot (spam trap) — visually hidden, not display:none ---- */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---- Result panels ---- */
.form-result {
  display: none;
  text-align: center;
  padding: 24px 8px;
}

.form-result.show { display: block; }

.form-result .result-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--seafoam);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 16px;
}

.form-result h3 { margin-bottom: 8px; }
.form-result p { max-width: 46ch; margin-left: auto; margin-right: auto; }

.summary-box {
  background: var(--seafoam);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 20px auto 0;
  max-width: 420px;
  text-align: left;
}

.summary-box dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  font-size: 0.9rem;
}

.summary-box dt { font-weight: 600; color: var(--deep-ocean); }
.summary-box dd { margin: 0; color: var(--text-muted); text-align: right; }

/* ---- Inline notice (config / error banner) ---- */
.inline-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.9rem;
  margin-bottom: 22px;
  line-height: 1.5;
}

.inline-notice a { font-weight: 600; text-decoration: underline; }

.inline-notice.warn {
  background: #fff8e6;
  border: 1px dashed #e0a800;
  color: #6b5200;
}

.inline-notice.warn a { color: #6b5200; }

.inline-notice.error {
  background: #fdecea;
  border: 1px solid #e6b0aa;
  color: #922b21;
}

.inline-notice.error a { color: #922b21; }

.btn[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
}

@media (max-width: 620px) {
  .booking-form-card { padding: 22px 18px; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .btn { width: 100%; }
  .form-actions .spacer { display: none; }
}
