/* =========================================================
   Marina Dental Care — Design tokens & base styles
   ========================================================= */

:root {
  /* Colors */
  --ink:        #0F2540;
  --ink-soft:   #4A5A70;
  --paper:      #FFFFFF;
  --paper-soft: #F5F9FD;
  --sky:        #EAF2FA;
  --brand:      #2E7DD1;
  --brand-deep: #1A5FA8;
  --accent:     #14B8A6;
  --hair:       #E5EEF7;
  --whatsapp:   #128C7E;
  --whatsapp-tint: #D1EDE9;
  --star:       #F5A524;
  --danger:     #DC2626;

  /* Spacing */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;

  /* Section rhythm */
  --section-y: 96px;
  --container: 1200px;

  /* Radii */
  --r-btn: 6px;
  --r-card: 12px;
  --r-hero: 16px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-fast: 150ms;
  --dur-med: 240ms;
  --dur-slow: 400ms;

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

@media (max-width: 768px) {
  :root { --section-y: 64px; }
}

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; padding: 0; }
a { color: inherit; text-decoration: none; }

/* -------- Base -------- */
body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.15; }
h1 { font-size: 40px; letter-spacing: -0.02em; }
h2 { font-size: 28px; letter-spacing: -0.01em; font-weight: 600; }
h3 { font-size: 18px; font-weight: 600; }
h4 { font-size: 15px; font-weight: 600; }

@media (max-width: 768px) {
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.mono { font-family: var(--font-mono); font-size: 12px; }

/* -------- Layout -------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-5);
}

.section {
  padding: var(--section-y) 0;
}
.section-soft { background: var(--paper-soft); }

/* Ensure the [hidden] attribute always wins over element-level display rules */
[hidden] { display: none !important; }

/* -------- Focus ring -------- */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

/* -------- Skip link -------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--s-4);
  background: var(--ink);
  color: #fff;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-btn);
  z-index: 100;
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: var(--s-4); }

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 12px 20px;
  border-radius: var(--r-btn);
  font-weight: 600;
  font-size: 14px;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #051A30; }
.btn-secondary { background: #fff; color: var(--ink); border: 1px solid var(--hair); }
.btn-secondary:hover { border-color: var(--brand); }
.btn-whatsapp { background: #fff; color: var(--whatsapp); border: 1px solid var(--whatsapp-tint); }
.btn-whatsapp:hover { background: var(--whatsapp-tint); }

/* -------- Reduced motion -------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover { transform: none; }
}

/* =========================================================
   Sticky Navigation
   ========================================================= */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--hair);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  padding-top: var(--s-4);
  padding-bottom: var(--s-4);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-weight: 700;
  color: var(--ink);
  font-size: 16px;
  letter-spacing: -0.01em;
}
.nav-logo-mark {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: var(--brand);
  color: #fff;
  border-radius: 6px;
  font-weight: 800; font-size: 14px;
}

.nav-links ul {
  display: flex;
  gap: var(--s-6);
  font-size: 14px;
  color: var(--ink-soft);
}
.nav-links a { transition: color var(--dur-fast) var(--ease); }
.nav-links a:hover { color: var(--brand); }

.nav-cta { padding: 8px 16px; font-size: 13px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  border-radius: var(--r-btn);
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform var(--dur-med) var(--ease), opacity var(--dur-fast) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  border-top: 1px solid var(--hair);
  background: #fff;
  padding: var(--s-4) 0;
}
.mobile-menu ul {
  display: flex; flex-direction: column; gap: var(--s-3);
  padding: 0 var(--s-5);
}
.mobile-menu a {
  display: block; padding: var(--s-3) 0; color: var(--ink);
  font-weight: 500; font-size: 16px;
  border-bottom: 1px solid var(--hair);
}
.mobile-menu li:last-child a { border-bottom: none; }
.mobile-menu a.btn-primary {
  color: #fff;
  padding: 12px 20px;
  margin-top: var(--s-2);
  border-bottom: none;
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-logo-text { font-size: 14px; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  background: linear-gradient(160deg, var(--paper-soft) 0%, var(--sky) 100%);
  padding: var(--section-y) 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--s-8);
  align-items: center;
}
.hero-copy { max-width: 560px; }
.hero-copy .eyebrow { margin-bottom: var(--s-3); }
.hero-copy h1 { margin-bottom: var(--s-4); }
.hero-accent { color: var(--brand); }
.hero-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: var(--s-6);
  max-width: 46ch;
}
.hero-ctas {
  display: flex; flex-wrap: wrap;
  gap: var(--s-3);
  margin-bottom: var(--s-6);
}
.hero-badges {
  display: flex; flex-wrap: wrap;
  gap: var(--s-5);
  font-size: 13px;
  color: var(--ink-soft);
}
.hero-badges li { display: inline-flex; align-items: center; gap: var(--s-2); }
.star { color: var(--star); font-size: 16px; }

.hero-media img {
  width: 100%;
  border-radius: var(--r-hero);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: 0 20px 40px -20px rgba(15, 37, 64, 0.25);
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--s-6); }
  .hero-media { order: -1; }
  .hero-sub { font-size: 15px; }
}

/* =========================================================
   Trust bar
   ========================================================= */
.trust-bar {
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  background: var(--paper);
  padding: var(--s-6) 0;
}
.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  text-align: center;
}
.trust-stat { display: flex; flex-direction: column; gap: var(--s-1); }
.stat-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-num .star { font-size: 22px; margin-left: 4px; vertical-align: baseline; }
.stat-label {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .trust-inner { grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
  .stat-num { font-size: 26px; }
}

/* =========================================================
   Section utilities
   ========================================================= */
.section-eyebrow { margin-bottom: var(--s-3); }
.section-lede {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 60ch;
  margin-top: var(--s-4);
  margin-bottom: var(--s-7);
  line-height: 1.55;
}

/* =========================================================
   Services grid
   ========================================================= */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.service-card {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--r-card);
  padding: var(--s-5);
  transition: transform var(--dur-med) var(--ease), border-color var(--dur-fast) var(--ease), box-shadow var(--dur-med) var(--ease);
}
.service-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow: 0 12px 30px -18px rgba(46, 125, 209, 0.35);
}
.service-icon {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--sky);
  color: var(--brand-deep);
  margin-bottom: var(--s-4);
}
.service-card h3 { margin-bottom: var(--s-2); }
.service-card p { font-size: 14px; }

@media (max-width: 900px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Split section (copy + stats)
   ========================================================= */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: center;
}
.feature-list {
  display: flex; flex-direction: column;
  gap: var(--s-3);
  margin-top: var(--s-4);
}
.feature-list li {
  display: flex; align-items: flex-start; gap: var(--s-3);
  color: var(--ink);
  font-size: 15px;
}
.check {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 1px;
}

.split-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
}
.stat-card {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--r-card);
  padding: var(--s-5);
  text-align: left;
}
.stat-card-num {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: var(--s-2);
}
.stat-card-label {
  font-size: 13px;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .split-section { grid-template-columns: 1fr; gap: var(--s-6); }
}

/* Kids photo + pull-quote (reused elsewhere) */
.split-section-alt { grid-template-columns: 0.9fr 1.1fr; }
.kids-photo img {
  width: 100%;
  border-radius: var(--r-hero);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.pull-quote {
  background: var(--sky);
  border-left: 3px solid var(--brand);
  border-radius: 8px;
  padding: var(--s-5);
  margin: var(--s-5) 0;
}
.pull-quote p {
  font-size: 17px;
  font-style: italic;
  color: var(--ink);
  margin-bottom: var(--s-3);
  line-height: 1.5;
}
.pull-quote cite {
  font-size: 13px;
  color: var(--ink-soft);
  font-style: normal;
}

@media (max-width: 900px) {
  .split-section-alt { grid-template-columns: 1fr; }
  .split-section-alt .kids-photo { order: -1; }
}

/* =========================================================
   Cosmetic 3-up cards
   ========================================================= */
.cosmetic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.cosmetic-card {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--r-card);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 200px;
  background: var(--sky);
}
.ba-half {
  position: relative;
  overflow: hidden;
}
.ba-half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ba-after { border-left: 2px solid #fff; }
.ba-label {
  position: absolute;
  bottom: var(--s-3);
  left: var(--s-3);
  background: rgba(15, 37, 64, 0.85);
  color: #fff;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 1;
}
.cosmetic-body { padding: var(--s-5); flex: 1; display: flex; flex-direction: column; }
.cosmetic-body h3 { margin-bottom: var(--s-2); }
.cosmetic-body p { font-size: 14px; margin-bottom: var(--s-4); flex: 1; }
.cosmetic-link {
  color: var(--brand);
  font-weight: 600;
  font-size: 14px;
  transition: color var(--dur-fast) var(--ease);
}
.cosmetic-link:hover { color: var(--brand-deep); }

@media (max-width: 900px) {
  .cosmetic-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   About + team
   ========================================================= */
.doctor-photo img {
  width: 100%;
  border-radius: var(--r-hero);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.credentials {
  display: flex; flex-direction: column;
  gap: var(--s-2);
  margin-top: var(--s-4);
  font-size: 14px;
  color: var(--ink-soft);
}
.credentials strong { color: var(--ink); font-weight: 600; }

.team-strip {
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--hair);
}
.team-strip h4 { margin-bottom: var(--s-4); }
.team-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
.team-list li {
  display: flex; align-items: center; gap: var(--s-3);
}
.team-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--brand-deep);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.team-info { display: flex; flex-direction: column; font-size: 13px; }
.team-info strong { color: var(--ink); font-size: 14px; }
.team-info span { color: var(--ink-soft); }

@media (max-width: 900px) {
  .team-list { grid-template-columns: 1fr; }
}

/* =========================================================
   Technology grid
   ========================================================= */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
.tech-tile {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--r-card);
  padding: var(--s-5);
}
.tech-icon {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  background: var(--sky);
  border-radius: 8px;
  font-size: 20px;
  margin-bottom: var(--s-3);
}
.tech-tile h3 { margin-bottom: var(--s-2); }
.tech-tile p { font-size: 14px; }

@media (max-width: 900px) { .tech-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tech-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Facility gallery
   ========================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}
.gallery-grid figure {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r-card);
}
.gallery-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.gallery-grid figure:hover img { transform: scale(1.04); }

@media (max-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================
   Testimonials
   ========================================================= */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  margin-top: var(--s-6);
}
.review {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--r-card);
  padding: var(--s-5);
  display: flex; flex-direction: column;
  gap: var(--s-3);
}
.review-stars {
  color: var(--star);
  font-size: 16px;
  letter-spacing: 2px;
}
.review p {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  flex: 1;
}
.review cite {
  font-size: 13px;
  color: var(--ink-soft);
  font-style: normal;
}
.review-cta {
  text-align: center;
  margin-top: var(--s-6);
  font-weight: 600;
}
.review-cta a { color: var(--brand); }
.review-cta a:hover { color: var(--brand-deep); }

@media (max-width: 900px) {
  .review-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Payment & insurance
   ========================================================= */
.pay-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-6);
  margin-top: var(--s-6);
}
.pay-insurers {
  background: var(--sky);
  border-radius: var(--r-card);
  padding: var(--s-5);
}
.pay-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-deep);
  font-weight: 600;
  margin-bottom: var(--s-4);
}
.pay-insurers ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.pay-insurers li::before {
  content: '•';
  color: var(--brand);
  margin-right: 8px;
}

@media (max-width: 900px) {
  .pay-layout { grid-template-columns: 1fr; }
}

/* =========================================================
   FAQ accordion
   ========================================================= */
.faq-list {
  max-width: 800px;
  margin-top: var(--s-6);
  border-top: 1px solid var(--hair);
}
.faq-item {
  border-bottom: 1px solid var(--hair);
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--s-4) 0;
  font-weight: 600;
  color: var(--ink);
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  transition: color var(--dur-fast) var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: var(--brand);
  transition: transform var(--dur-med) var(--ease);
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--brand); }
.faq-answer {
  padding-bottom: var(--s-4);
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
  max-width: 700px;
}
.faq-answer a { color: var(--brand); font-weight: 600; }

/* =========================================================
   Contact / location
   ========================================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--s-6);
  margin-top: var(--s-6);
}
.contact-map iframe { display: block; width: 100%; }

.contact-info {
  display: flex; flex-direction: column;
  gap: var(--s-3);
}
.info-block {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 18px 20px;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: var(--r-card);
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-med) var(--ease);
}
.info-block:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
}
.info-block-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--sky);
  color: var(--brand-deep);
  border-radius: 10px;
  flex-shrink: 0;
}
.info-block-body { flex: 1; min-width: 0; }
.info-block-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin-bottom: 6px;
}
.info-block-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 4px;
}
.info-block-title.info-block-phone {
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color var(--dur-fast) var(--ease);
}
.info-block-title.info-block-phone:hover { color: var(--brand); }
.info-block-meta {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}
.info-block-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
}
.info-block-link:hover { color: var(--brand-deep); }

.hours-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  font-size: 13px;
  margin: 0;
}
.hours-row {
  display: contents;
}
.hours-row dt {
  color: var(--ink-soft);
  font-weight: 500;
  padding: 2px 0;
}
.hours-row dd {
  color: var(--ink);
  margin: 0;
  padding: 2px 0;
  line-height: 1.5;
}

.info-block-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
  font-size: 13px;
}
.info-block-actions a {
  color: var(--ink-soft);
  font-weight: 500;
  transition: color var(--dur-fast) var(--ease);
}
.info-block-actions a:hover { color: var(--brand); }

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* =========================================================
   Utilities
   ========================================================= */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* =========================================================
   Booking form
   ========================================================= */
.booking-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--s-6);
  margin-top: var(--s-6);
}
.booking-form {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--r-card);
  padding: var(--s-6);
  display: flex; flex-direction: column;
  gap: var(--s-5);
}
/* Form field tokens (shadcn-inspired) */
.booking-form {
  --input-h: 40px;
  --input-border: #E2E8F0;
  --input-border-hover: #CBD5E1;
  --input-radius: 8px;
  --muted: #F8FAFC;
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field label,
.field .field-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
}
.field .optional { font-weight: 400; color: var(--ink-soft); font-size: 12px; margin-left: 4px; }

/* Inputs, select, textarea — shared shell */
.field input,
.field select,
.field textarea {
  height: var(--input-h);
  padding: 0 12px;
  border: 1px solid var(--input-border);
  border-radius: var(--input-radius);
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  line-height: 1;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: #94A3B8; }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--input-border-hover); }

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(46, 125, 209, 0.18);
}

.field textarea {
  height: auto;
  min-height: 96px;
  padding: 10px 12px;
  line-height: 1.5;
  resize: vertical;
  font-family: inherit;
}

/* Custom select chevron (removes native arrow) */
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234A5A70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

/* Date picker indicator polish */
.field input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.55;
  transition: opacity var(--dur-fast) var(--ease);
  filter: invert(15%) sepia(30%) saturate(1200%) hue-rotate(190deg);
}
.field input[type="date"]:hover::-webkit-calendar-picker-indicator { opacity: 1; }

/* Hint + error */
.field-hint { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
.field-error {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--danger);
  font-weight: 500;
  margin-top: 2px;
}
.field-error::before {
  content: '';
  width: 14px; height: 14px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23DC2626' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}
.input-group:has(input[aria-invalid="true"]) {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}

/* Input-group with left prefix (e.g. +91 phone) */
.input-group {
  display: flex;
  align-items: stretch;
  height: var(--input-h);
  border: 1px solid var(--input-border);
  border-radius: var(--input-radius);
  background: #fff;
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.input-group:hover { border-color: var(--input-border-hover); }
.input-group:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(46, 125, 209, 0.18);
}
.input-prefix {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  background: var(--muted);
  border-right: 1px solid var(--input-border);
  user-select: none;
}
.input-group input {
  flex: 1;
  min-width: 0;
  border: 0 !important;
  border-radius: 0 !important;
  height: 100% !important;
  box-shadow: none !important;
}
.input-group input:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* Radio group — canonical shadcn (bare radio + label, no chip) */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  column-gap: var(--s-5);
  row-gap: var(--s-2);
  min-height: var(--input-h);
  align-items: center;
  padding-top: 4px;
}
.radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  height: auto;
  border: none;
  border-radius: 0;
  color: var(--ink);
  font-weight: 400;
  font-size: 14px;
  cursor: pointer;
  background: none;
  transition: none;
  white-space: nowrap;
}
.radio-group label:hover {
  background: none;
  border-color: transparent;
  color: var(--ink);
}
.radio-group input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border: 1.5px solid #CBD5E1;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  margin: 0;
  background: #fff;
  transition: border-color var(--dur-fast) var(--ease);
}
.radio-group input[type="radio"]:hover { border-color: var(--brand); }
.radio-group input[type="radio"]:checked { border-color: var(--brand); }
.radio-group input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--brand);
}
.radio-group input[type="radio"]:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* Date picker (shadcn Popover + Calendar) */
.date-picker { position: relative; }
.date-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  height: var(--input-h);
  padding: 0 12px;
  border: 1px solid var(--input-border);
  border-radius: var(--input-radius);
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.date-trigger:hover { border-color: var(--input-border-hover); }
.date-trigger:focus-visible,
.date-trigger[aria-expanded="true"] {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(46, 125, 209, 0.18);
}
.date-trigger svg { color: var(--ink-soft); flex-shrink: 0; }
.date-value.is-placeholder { color: #94A3B8; }

.date-popover {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 30;
  width: 280px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--input-border);
  border-radius: 10px;
  box-shadow: 0 12px 32px -12px rgba(15, 37, 64, 0.24), 0 2px 8px -4px rgba(15, 37, 64, 0.08);
  animation: cal-pop 140ms var(--ease);
}
@keyframes cal-pop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 0 4px;
}
.cal-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.cal-nav {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border: 1px solid var(--input-border);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease);
}
.cal-nav:hover { background: var(--muted); }
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cal-dow {
  display: grid; place-items: center;
  height: 32px;
  font-size: 11px;
  color: var(--ink-soft);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cal-day {
  display: grid; place-items: center;
  height: 34px;
  padding: 0;
  border: none;
  background: none;
  font-size: 13px;
  color: var(--ink);
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--dur-fast) var(--ease);
}
.cal-day:hover:not(.cal-day-disabled) { background: var(--muted); }
.cal-day-today { font-weight: 700; color: var(--brand); }
.cal-day-selected,
.cal-day-selected:hover {
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}
.cal-day-disabled {
  color: #CBD5E1;
  cursor: not-allowed;
}
.cal-blank { visibility: hidden; pointer-events: none; }

.form-submit {
  align-self: flex-start;
  height: 44px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 500;
}
.form-privacy { font-size: 12px; color: var(--ink-soft); }

.booking-side {
  background: var(--sky);
  border-radius: var(--r-card);
  padding: var(--s-6);
}
.booking-side h3 { margin-bottom: var(--s-5); }
.steps {
  display: flex; flex-direction: column;
  gap: 0;
  counter-reset: step;
  padding-left: 4px;
}
.steps li {
  counter-increment: step;
  padding: 0 0 22px 44px;
  position: relative;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}
.steps li:last-child { padding-bottom: 0; }

/* Vertical connecting line between steps */
.steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 15px;
  top: 30px;
  bottom: 4px;
  width: 2px;
  background: rgba(46, 125, 209, 0.28);
  border-radius: 1px;
}

/* Numbered circle */
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  display: grid; place-items: center;
  box-shadow: 0 0 0 4px var(--sky);
  z-index: 1;
}

.steps strong {
  color: var(--ink);
  display: block;
  margin-bottom: 2px;
  font-size: 15px;
}
.side-note {
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--hair);
  font-size: 14px;
  color: var(--ink-soft);
}
.side-note a { color: var(--brand); font-weight: 600; }

.booking-success {
  margin-top: var(--s-6);
  background: #fff;
  border: 1px solid var(--accent);
  border-radius: var(--r-card);
  padding: var(--s-6);
  text-align: center;
}
.success-icon {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 24px;
  margin-bottom: var(--s-3);
}
.booking-success h3 { margin-bottom: var(--s-2); }
.booking-success a { color: var(--brand); font-weight: 600; }

@media (max-width: 900px) {
  .booking-layout { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* =========================================================
   Toast
   ========================================================= */
.toast {
  position: fixed;
  bottom: calc(var(--s-6) + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--r-btn);
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transition: transform var(--dur-med) var(--ease), opacity var(--dur-med) var(--ease);
  z-index: 200;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.3);
}
.toast[data-visible="true"] {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* =========================================================
   Mobile sticky bottom CTA
   ========================================================= */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  display: none;
  padding: var(--s-3) var(--s-4) calc(var(--s-3) + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--hair);
  z-index: 40;
  gap: var(--s-2);
  transform: translateY(100%);
  transition: transform var(--dur-med) var(--ease);
}
.sticky-cta[data-visible="true"] { transform: translateY(0); }
.sticky-cta .sticky-btn {
  flex: 1;
  padding: 12px 8px;
  border-radius: var(--r-btn);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  border: 1px solid var(--hair);
  color: var(--ink);
  background: #fff;
}
.sticky-cta .sticky-btn-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.sticky-cta .sticky-btn-wa { color: var(--whatsapp); border-color: var(--whatsapp-tint); }

@media (max-width: 768px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); } /* leave room for sticky bar + iOS home indicator */
}

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: #C7D3E3;
  padding-top: var(--s-8);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--s-6);
  padding-bottom: var(--s-7);
}
.footer-brand p { font-size: 14px; opacity: 0.85; max-width: 30ch; }
.footer-brand .nav-logo-text { color: #fff; }
.footer-col h4 { color: #fff; margin-bottom: var(--s-3); font-size: 13px; text-transform: uppercase; letter-spacing: 0.14em; }
.footer-col p { font-size: 14px; line-height: 1.7; }
.footer-col a { color: #C7D3E3; transition: color var(--dur-fast) var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-socials { display: flex; gap: var(--s-3); margin-top: var(--s-4); }
.footer-socials a {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 12px; font-weight: 700;
}
.footer-socials a:hover { background: var(--brand); }
.footer-social-placeholder {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.55);
  font-size: 12px; font-weight: 700;
  cursor: default;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--s-4) 0;
  font-size: 12px;
  color: rgba(199, 211, 227, 0.7);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-heart {
  display: inline-block;
  margin: 0 2px;
  transform: translateY(1px);
  animation: heart-beat 1.8s var(--ease) infinite;
}
@keyframes heart-beat {
  0%, 100% { transform: translateY(1px) scale(1); }
  15%      { transform: translateY(1px) scale(1.18); }
  30%      { transform: translateY(1px) scale(1); }
  45%      { transform: translateY(1px) scale(1.12); }
  60%      { transform: translateY(1px) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .footer-heart { animation: none; }
}
.footer-credit {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,255,255,0.35);
  transition: border-color var(--dur-fast) var(--ease);
}
.footer-credit:hover {
  color: #fff;
  border-bottom-color: var(--brand);
}

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
  .footer-bottom-inner { flex-direction: column; gap: var(--s-2); text-align: center; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
}
