/* ============================================================
   Global Dental Care — Design System
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --c-primary: #0891b2;
  --c-primary-600: #0e7490;
  --c-primary-700: #155e75;
  --c-primary-50: #ecfeff;
  --c-primary-100: #cffafe;

  --c-accent: #e85a48;          /* warm coral CTA — WCAG AA */
  --c-accent-600: #cf4634;

  --c-success: #10b981;

  /* Neutrals */
  --c-text: #1f2937;
  --c-text-soft: #4b5563;
  --c-muted: #6b7280;
  --c-border: #e5e7eb;
  --c-bg: #ffffff;
  --c-bg-soft: #f8fafc;
  --c-bg-tint: #f0fbfd;

  /* Dark surfaces (footer / cta) */
  --c-dark: #0f2c34;
  --c-dark-2: #103840;

  /* Typography */
  --font-head: 'Poppins', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;

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

  /* Radii */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 44, 52, 0.06);
  --shadow-md: 0 6px 20px rgba(15, 44, 52, 0.08);
  --shadow-lg: 0 18px 50px rgba(15, 44, 52, 0.12);
  --shadow-glow: 0 12px 40px rgba(8, 145, 178, 0.25);

  /* Layout */
  --container: 1200px;
  --header-h: 76px;
  --topbar-h: 40px;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 180ms;
  --t-mid: 320ms;
  --t-slow: 600ms;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}
html { overflow-x: hidden; }
img, svg, video { max-width: 100%; display: block; }
a { color: var(--c-primary-600); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--c-primary-700); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--c-text);
  line-height: 1.2;
  margin: 0 0 var(--sp-4);
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 var(--sp-4); color: var(--c-text-soft); }

/* ---------- 3. Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}
.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--c-primary); color: #fff; padding: 8px 12px;
  border-radius: var(--r-md); z-index: 1000;
}
.skip-link:focus { left: 16px; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section__head {
  text-align: center; max-width: 720px; margin: 0 auto var(--sp-7);
}
.section__head p { color: var(--c-muted); font-size: 1.05rem; }
.section__cta { text-align: center; margin-top: var(--sp-6); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-primary-700);
  background: var(--c-primary-50);
  padding: 6px 14px; border-radius: var(--r-pill);
  margin-bottom: var(--sp-4);
}
.eyebrow--center { margin-left: auto; margin-right: auto; }
.eyebrow--light  { background: rgba(255,255,255,.14); color: #fff; }
.eyebrow__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-success);
  box-shadow: 0 0 0 4px rgba(16,185,129,.18);
}

.text-gradient {
  background: linear-gradient(120deg, var(--c-primary), #06b6d4 60%, #14b8a6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.grid { display: grid; gap: var(--sp-5); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.icon { width: 18px; height: 18px; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: var(--r-pill);
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
  white-space: nowrap; cursor: pointer; line-height: 1;
  border: 2px solid transparent;
}
.btn .icon { width: 16px; height: 16px; }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--primary { background: var(--c-primary); color: #fff; box-shadow: var(--shadow-glow); }
.btn--primary:hover { background: var(--c-primary-600); color: #fff; transform: translateY(-2px); }
.btn--accent  { background: var(--c-accent); color: #fff; }
.btn--accent:hover { background: var(--c-accent-600); color: #fff; transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--c-primary-700); border-color: var(--c-primary); }
.btn--outline:hover { background: var(--c-primary); color: #fff; }
.btn--ghost   { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); }
.btn--ghost:hover { background: rgba(255,255,255,.22); color: #fff; }

/* When ghost is on a light bg (hero) */
.hero .btn--ghost { color: var(--c-primary-700); background: #fff; border-color: var(--c-primary-100); }
.hero .btn--ghost:hover { background: var(--c-primary-50); }

/* ---------- 5. Top bar ---------- */
.topbar {
  background: var(--c-primary-700);
  color: #fff;
  font-size: 13.5px;
  height: var(--topbar-h);
  display: flex; align-items: center;
}
.topbar__inner {
  display: flex; gap: var(--sp-5); align-items: center; justify-content: flex-end;
  flex-wrap: wrap;
}
.topbar__item { display: inline-flex; align-items: center; gap: 8px; opacity: .92; }
.topbar__item a { color: #fff; }
.topbar__item a:hover { color: var(--c-primary-100); }
@media (max-width: 700px) {
  .topbar__item--hide-sm { display: none; }
  .topbar__inner { justify-content: center; gap: var(--sp-4); }
}
@media (max-width: 600px) {
  .topbar { height: 38px; font-size: 14px; --topbar-h: 38px; }
  /* Show only the phone — hide everything else on small screens */
  .topbar__item:not(:first-child) { display: none; }
  .topbar__inner {
    justify-content: center;
    gap: 0;
    flex-wrap: nowrap;
    white-space: nowrap;
  }
  .topbar__item:first-child { font-weight: 600; }
  .topbar__item:first-child a { font-size: 15px; letter-spacing: 0.01em; }
}

/* ---------- 6. Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease);
}
.header.is-scrolled {
  background: rgba(255,255,255,.96);
  border-bottom-color: var(--c-border);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-5);
}
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--c-text); }
.logo:hover { color: var(--c-primary-700); }
.logo__mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-primary) 0%, #06b6d4 100%);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.logo__mark svg { width: 26px; height: 26px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font-family: var(--font-head); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.logo__tag  { font-size: 11px; color: var(--c-muted); letter-spacing: .05em; }

.nav { display: flex; align-items: center; gap: var(--sp-6); }
.nav__list { display: flex; gap: var(--sp-5); }
.nav__link {
  color: var(--c-text); font-weight: 500; font-size: 15px;
  position: relative; padding: 6px 0;
  display: block;
}
.nav__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--c-primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-fast) var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--c-primary-700); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__cta { display: inline-flex; }
.nav__header, .nav__close { display: none; }

.hamburger {
  display: none; width: 44px; height: 44px;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
  border-radius: 10px;
}
.hamburger span {
  width: 22px; height: 2px; background: var(--c-text); border-radius: 2px;
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .hamburger { display: flex; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(85vw, 360px);
    min-width: 280px;
    height: 100vh; height: 100dvh;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 0 0 24px;
    margin: 0;
    box-shadow: -10px 0 40px rgba(15,44,52,.18);
    transform: translateX(100%); /* off-screen via transform — no horizontal scroll */
    transition: transform var(--t-mid) var(--ease);
    will-change: transform;
    gap: 0;
    overflow-y: auto;
    z-index: 100;
  }
  .nav.is-open { transform: translateX(0); }

  /* Drawer header: ONE logo + close */
  .nav__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid var(--c-border);
    flex-shrink: 0;
    position: relative;
    z-index: 101; /* above drawer body */
    background: #fff;
  }
  .logo--drawer { color: var(--c-text); }
  .logo--drawer .logo__mark { width: 38px; height: 38px; }
  .logo--drawer .logo__mark svg { width: 22px; height: 22px; }
  .logo--drawer .logo__name { font-size: 16px; color: var(--c-text); }
  .logo--drawer .logo__tag { font-size: 10px; }

  /* Nav links — must be clearly visible */
  .nav__list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 0;
    flex: 1;
  }
  .nav__list li { border-bottom: 1px solid var(--c-border); margin: 0; }
  .nav__list li:last-child { border-bottom: 0; }
  .nav__link {
    display: block;
    color: #1f2937;
    padding: 16px 24px;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.2;
  }
  .nav__link::after { display: none; }
  @media (hover: hover) {
    .nav__link:hover { background: var(--c-primary-50); color: var(--c-primary-700); }
  }
  .nav__link:active { background: var(--c-primary-50); color: var(--c-primary-700); }
  .nav__link.is-active { color: var(--c-primary); background: var(--c-primary-50); }

  /* Bottom CTA — full-width inside drawer */
  .nav__cta {
    margin: 24px 16px 0;
    padding: 14px 22px;
    justify-content: center;
    width: auto;
  }

  /* Close button */
  .nav__close {
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--c-bg-soft);
    color: var(--c-text);
    flex-shrink: 0;
    transition: background var(--t-fast) var(--ease);
  }
  @media (hover: hover) {
    .nav__close:hover { background: var(--c-primary-50); color: var(--c-primary-700); }
  }
  .nav__close:active { background: var(--c-primary-50); color: var(--c-primary-700); }
  .nav__close svg { width: 22px; height: 22px; }
}

/* Above 960px: drawer header parts are hidden — desktop shows inline nav only */
@media (min-width: 961px) {
  .nav__header,
  .nav__close,
  .logo--drawer { display: none !important; }
}
.body--locked { overflow: hidden; }

/* When drawer is open: the .nav lives INSIDE .header in the markup,
   and .header creates a stacking context (position:sticky + backdrop-filter).
   That means the drawer's z-index is local to .header — by default the
   overlay (z-index 90) paints ABOVE the drawer and steals the taps.
   Fix: lift the entire header above the overlay; the page-header chrome
   stays invisible via `visibility: hidden`, and the drawer becomes the
   only clickable thing in that lifted subtree. */
.body--locked .header {
  visibility: hidden;
  z-index: 110; /* > overlay (90), so drawer descendants are hit-testable */
}
.body--locked .header .nav,
.body--locked .header .nav * { visibility: visible; }
.body--locked .float-btn,
.body--locked .back-to-top { display: none; }

.nav-overlay {
  position: fixed; inset: 0; background: rgba(15,44,52,.55);
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-mid) var(--ease);
  z-index: 90;
}
.nav-overlay.is-open { opacity: 1; pointer-events: auto; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(20px, 3vw, 40px) 0 clamp(48px, 8vw, 96px);
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(8,145,178,.12), transparent 60%),
    radial-gradient(900px 400px at -10% 30%, rgba(16,185,129,.10), transparent 60%),
    linear-gradient(180deg, #f7fcfd 0%, #ffffff 100%);
}
.hero__inner {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: var(--sp-8); align-items: center;
}
.hero__content { padding: var(--sp-3) 0; }
.hero__content .eyebrow { margin-bottom: var(--sp-3); }
.hero__title {
  margin-bottom: var(--sp-4);
  letter-spacing: -0.02em;
}
.hero__lead { font-size: 1.1rem; max-width: 560px; }
.hero__cta {
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
  margin: var(--sp-5) 0 0;
}
.hero__trust {
  display: flex; gap: var(--sp-6); flex-wrap: wrap;
  margin-top: var(--sp-6);
  padding-top: var(--sp-5); border-top: 1px solid var(--c-border);
}
.hero__trust li { display: flex; flex-direction: column; }
.hero__trust strong {
  font-family: var(--font-head); font-size: 1.5rem; color: var(--c-primary-700); font-weight: 700;
}
.hero__trust span { font-size: 13px; color: var(--c-muted); }

.hero__art { position: relative; }
.hero__art img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: contain;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, #ecfeff 0%, #f7fdfe 100%);
}
.hero__badge {
  position: absolute; left: -18px; bottom: 32px;
  background: #fff;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}
.hero__badge svg { width: 28px; height: 28px; color: #f59e0b; }
.hero__badge strong { font-family: var(--font-head); font-size: 1.25rem; display: block; }
.hero__badge span { font-size: 12px; color: var(--c-muted); }

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: var(--sp-5);
  }
  /* Headline + CTAs ABOVE image on mobile — no scrolling past tooth */
  .hero__content { order: 1; grid-row: 1; }
  .hero__art     { order: 2; grid-row: 2; max-width: 360px; margin: 0 auto; width: 100%; }
}
@media (max-width: 768px) {
  .hero { padding: var(--sp-3) 0 var(--sp-6); }
  .hero__art {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-3);
  }
  .hero__art img {
    max-height: 280px;
    aspect-ratio: 1 / 1;
    width: auto;
    height: auto;
    background: transparent;
    border-radius: var(--r-lg);
  }
  /* Badge: was floating off-screen at left:-18px — pin it inline below the image */
  .hero__badge {
    position: static;
    left: auto; bottom: auto;
    margin: 0;
  }
  .hero__trust { margin-top: var(--sp-5); padding-top: var(--sp-4); gap: var(--sp-5); }
  .hero__trust strong { font-size: 1.25rem; }
}
@media (max-width: 480px) {
  .hero__art img { max-height: 220px; }
  .hero__title { font-size: 1.85rem; line-height: 1.18; }
  .hero__lead  { font-size: 1rem; }
}

/* ---------- 8. Cards / Services preview ---------- */
.card {
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--r-lg); padding: var(--sp-6);
  transition: transform var(--t-mid) var(--ease),
              box-shadow var(--t-mid) var(--ease),
              border-color var(--t-mid) var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-primary-100);
}
.service-card__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--c-primary-50);
  color: var(--c-primary);
  margin-bottom: var(--sp-4);
}
.service-card__icon svg { width: 28px; height: 28px; }
.service-card h3 { margin-bottom: 8px; font-family: var(--font-head); }
.service-card--accent { background: linear-gradient(135deg, var(--c-primary) 0%, #06b6d4 100%); color: #fff; border-color: transparent; }
.service-card--accent h3, .service-card--accent p { color: #fff; }
.service-card--accent .service-card__icon { background: rgba(255,255,255,.18); color: #fff; }
.service-card--accent .link-arrow { color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 14px; color: var(--c-primary-700);
  margin-top: 4px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- 9. About preview ---------- */
.about-preview { background: var(--c-bg-soft); }
.about-preview__grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: var(--sp-8); align-items: center;
}
.about-preview__media { position: relative; }
.about-preview__media img {
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
}
.about-preview__sticker {
  position: absolute; right: -12px; bottom: 24px;
  background: var(--c-primary); color: #fff;
  padding: 14px 22px; border-radius: var(--r-md);
  box-shadow: var(--shadow-glow);
}
.about-preview__sticker strong { font-family: var(--font-head); font-size: 1.25rem; display: block; }
.about-preview__sticker span { font-size: 12px; opacity: .9; }
.check-list { margin: var(--sp-5) 0; }
.check-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 6px 0; color: var(--c-text-soft);
}
.check-list li::before {
  content: ''; flex-shrink: 0; width: 22px; height: 22px;
  border-radius: 50%; background: var(--c-primary-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230891b2' d='M21 7 9 19l-6-6 1.4-1.4L9 16.2 19.6 5.6z'/%3E%3C/svg%3E") center / 14px no-repeat;
  margin-top: 2px;
}
@media (max-width: 900px) {
  .about-preview__grid { grid-template-columns: 1fr; }
  .about-preview__media { max-width: 420px; margin: 0 auto; }
}

/* ---------- 10. Why choose us ---------- */
.why__grid { gap: var(--sp-5); }
.why__item {
  background: #fff; padding: var(--sp-6);
  border: 1px solid var(--c-border); border-radius: var(--r-lg);
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
.why__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--c-primary-50), #e0f7fa);
  color: var(--c-primary-700);
  margin-bottom: var(--sp-4);
}
.why__icon svg { width: 26px; height: 26px; }
.why__item h3 { font-family: var(--font-head); margin-bottom: 6px; }
.why__item p { font-size: .96rem; margin: 0; }

/* ---------- 10b. Clinic gallery (Step Inside) ---------- */
.clinic-gallery { background: var(--c-bg-soft); }
.clinic-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
}
.clinic-gallery__item {
  position: relative; margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg); overflow: hidden;
  background: #e0f7fa;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}
.clinic-gallery__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.clinic-gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow) var(--ease);
}
.clinic-gallery__item:hover img { transform: scale(1.04); }
.clinic-gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--sp-5) var(--sp-5) var(--sp-4);
  color: #fff;
  font-size: 14px; font-weight: 500;
  background: linear-gradient(180deg, transparent 0%, rgba(15,44,52,.78) 100%);
}
@media (max-width: 600px) {
  .clinic-gallery__grid { grid-template-columns: 1fr; }
}

/* ---------- 11. Testimonials ---------- */
.testimonials { background: var(--c-bg-tint); }
.slider { position: relative; }
.slider__track {
  display: flex; gap: var(--sp-5);
  overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 24px;
  scrollbar-width: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.testimonial {
  flex: 0 0 calc((100% - var(--sp-5) * 2) / 3);
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.testimonial__stars { color: #f59e0b; font-size: 1.05rem; letter-spacing: 2px; margin-bottom: var(--sp-3); }
.testimonial p { font-size: 1rem; color: var(--c-text); margin-bottom: var(--sp-5); flex: 1; }
.testimonial footer strong { display: block; font-family: var(--font-head); }
.testimonial footer span { font-size: 13px; color: var(--c-muted); }

@media (max-width: 900px) { .testimonial { flex-basis: calc((100% - var(--sp-5)) / 2); } }
@media (max-width: 600px) { .testimonial { flex-basis: 100%; } }

.slider__controls {
  display: flex; align-items: center; justify-content: center;
  gap: var(--sp-4); margin-top: var(--sp-5);
}
.slider__btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--c-primary-700);
  border: 1px solid var(--c-border);
  display: grid; place-items: center;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.slider__btn:hover { background: var(--c-primary); color: #fff; transform: scale(1.05); }
.slider__btn svg { width: 22px; height: 22px; }
.slider__dots { display: flex; gap: 8px; }
.slider__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(8,145,178,.25);
  transition: background var(--t-fast), transform var(--t-fast);
}
.slider__dot.is-active { background: var(--c-primary); transform: scale(1.3); }

/* ---------- 12. Map section ---------- */
.map-section__grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-8); align-items: center;
}
.info-list { margin: var(--sp-5) 0; }
.info-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0; border-bottom: 1px dashed var(--c-border);
  color: var(--c-text-soft); font-size: .98rem;
}
.info-list li:last-child { border-bottom: 0; }
.info-list svg { width: 20px; height: 20px; color: var(--c-primary); flex-shrink: 0; margin-top: 2px; }
.map-section__map iframe {
  width: 100%; height: 460px;
  border: 0; border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
}
@media (max-width: 900px) {
  .map-section__grid { grid-template-columns: 1fr; }
  .map-section__map iframe { height: 360px; }
}

/* ---------- 13. CTA banner ---------- */
.cta-banner {
  position: relative; overflow: hidden;
  background:
    radial-gradient(800px 300px at 90% 10%, rgba(255,255,255,.10), transparent 60%),
    linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-700) 100%);
  color: #fff;
}
.cta-banner__inner {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: var(--sp-7); align-items: center;
  padding: clamp(48px, 7vw, 80px) 0;
}
.cta-banner h2 { color: #fff; }
.cta-banner p  { color: rgba(255,255,255,.85); margin: 0; font-size: 1.05rem; }
.cta-banner__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: flex-end; }
@media (max-width: 800px) {
  .cta-banner__inner { grid-template-columns: 1fr; text-align: center; }
  .cta-banner__actions { justify-content: center; }
}

/* ---------- 14. Footer ---------- */
.footer {
  background: var(--c-dark); color: #cdd9dd;
  padding-top: var(--sp-8);
}
.footer a { color: #cdd9dd; }
.footer a:hover { color: #fff; }
.logo--light { color: #fff; }
.logo--light .logo__name { color: #fff; }
.logo--light .logo__tag { color: rgba(255,255,255,.55); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--sp-7);
  padding-bottom: var(--sp-7);
}
.footer__brand p { color: rgba(255,255,255,.7); margin-top: var(--sp-4); max-width: 320px; }
.footer__col h4 {
  color: #fff; font-family: var(--font-head); font-size: 1rem;
  margin-bottom: var(--sp-4); letter-spacing: .02em;
}
.footer__col ul li { padding: 5px 0; }
.footer__col address {
  font-style: normal; color: rgba(255,255,255,.7); line-height: 1.7; margin-bottom: var(--sp-3);
}
.footer__regd {
  display: inline-block;
  font-size: 0.85rem;
  color: rgba(255,255,255,.5);
  letter-spacing: 0.04em;
  margin: 0 0 var(--sp-3);
  padding: 3px 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-pill);
}
.social {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: var(--sp-4);
  padding: 8px 14px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.06); color: #fff !important;
  font-size: 14px; font-weight: 500;
  transition: background var(--t-fast) var(--ease);
}
.social:hover { background: rgba(255,255,255,.12); }
.social svg { width: 18px; height: 18px; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: var(--sp-4) 0;
  font-size: 14px;
  color: rgba(255,255,255,.55);
}
.footer__bottom-inner {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-3);
}
.footer__bottom a { color: #fff; }

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom-inner { justify-content: center; text-align: center; }
}

/* ---------- 15. Floating buttons ---------- */
.float-btn {
  position: fixed; z-index: 50;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.float-btn svg { width: 26px; height: 26px; }
.float-btn:hover { transform: translateY(-3px) scale(1.05); color: #fff; }
.float-btn--call { left: 20px; bottom: 20px; background: var(--c-primary); }
.float-btn--call::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--c-primary);
  animation: pulse 2.4s ease-out infinite;
}
.float-btn--wa { right: 20px; bottom: 20px; background: #25D366; }
@keyframes pulse {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Back to top */
.back-to-top {
  position: fixed; right: 20px; bottom: 88px;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--c-primary-700);
  box-shadow: var(--shadow-md);
  display: grid; place-items: center;
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  z-index: 50;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top svg { width: 22px; height: 22px; }

/* ---------- 16. Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- 17. Forms (used on contact + book in nav) ---------- */
.form-field { margin-bottom: var(--sp-4); }
.form-field label { display: block; font-weight: 500; font-size: 14px; margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px;
  font: inherit; color: var(--c-text);
  background: #fff;
  border: 1px solid var(--c-border); border-radius: var(--r-md);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(8,145,178,.15);
}
.form-field .error { color: #dc2626; font-size: 13px; margin-top: 4px; display: none; }
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: #dc2626; }
.form-field.has-error .error { display: block; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */

/* Page hero — slim banner with breadcrumb */
.page-hero {
  padding: clamp(40px, 6vw, 64px) 0 clamp(28px, 4vw, 40px);
  background:
    radial-gradient(900px 360px at 70% -10%, rgba(8,145,178,.10), transparent 60%),
    linear-gradient(180deg, #f7fcfd 0%, #ffffff 100%);
}
.page-hero h1 {
  margin: 8px 0 12px;
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  letter-spacing: -0.01em;
  max-width: 760px;
}
.page-hero p { font-size: 1.08rem; max-width: 580px; color: var(--c-text-soft); margin: 0; }

.crumbs {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--c-muted); margin-bottom: var(--sp-4);
}
.crumbs svg { width: 14px; height: 14px; opacity: .6; }
.crumbs a { color: var(--c-text-soft); }
.crumbs a:hover { color: var(--c-primary-700); }
.crumbs [aria-current="page"] { color: var(--c-text); font-weight: 600; }

/* Two-column contact split */
.contact-split { padding-top: clamp(40px, 6vw, 64px); padding-bottom: clamp(56px, 7vw, 80px); }
.contact-split__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 900px) {
  .contact-split__grid { grid-template-columns: 1fr; }
}

/* Contact card (left) */
.contact-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-md);
  position: relative;
}
.contact-card h2 {
  font-family: var(--font-head); font-size: 1.6rem;
  margin: 0 0 6px;
}
.contact-card address {
  font-style: normal; color: var(--c-text-soft);
  line-height: 1.7; margin: 0 0 10px;
}
.contact-card__seal {
  width: 120px; height: 120px;
  border-radius: var(--r-md);
  object-fit: cover;
  border: 1px solid var(--c-border);
  background: #fff;
  margin-bottom: var(--sp-4);
}
.regd-badge {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--c-primary-700);
  background: var(--c-primary-50);
  border: 1px solid var(--c-primary-100);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  letter-spacing: 0.04em;
  font-weight: 600;
  margin-bottom: var(--sp-5);
}

/* Contact methods list */
.contact-list {
  display: flex; flex-direction: column; gap: var(--sp-4);
  margin: 0 0 var(--sp-5);
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.contact-list li {
  display: flex; align-items: center; gap: 14px;
}
.contact-list__icon {
  width: 44px; height: 44px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--c-primary-50);
  color: var(--c-primary-700);
}
.contact-list__icon--wa { background: #d1fae5; color: #047857; }
.contact-list__icon--ig {
  background: linear-gradient(135deg, #fce7f3 0%, #fef3c7 100%);
  color: #be185d;
}
.contact-list__icon svg { width: 22px; height: 22px; }
.contact-list__text { display: flex; flex-direction: column; line-height: 1.3; }
.contact-list__text strong {
  font-family: var(--font-head); font-size: 14px; color: var(--c-muted);
  font-weight: 500;
}
.contact-list__text a { color: var(--c-text); font-weight: 600; font-size: 15px; }
.contact-list__text a:hover { color: var(--c-primary-700); }

/* Working hours block */
.hours h3 {
  font-family: var(--font-head); font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--c-muted); margin: 0 0 var(--sp-3);
}
.hours__list { margin: 0; }
.hours__list > div {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px dashed var(--c-border);
  gap: 12px;
}
.hours__list > div:last-child { border-bottom: 0; }
.hours__list dt { font-weight: 600; color: var(--c-text); }
.hours__list dd { margin: 0; color: var(--c-text-soft); text-align: right; line-height: 1.5; }
.hours__closed { color: #dc2626 !important; font-weight: 600; }

.contact-card__cta {
  margin-top: var(--sp-5);
  width: 100%;
  justify-content: center;
}

/* Form column (right) */
.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow-md);
}
.contact-form-wrap h2 {
  font-family: var(--font-head); font-size: 1.6rem;
  margin: 0 0 6px;
}
.contact-form-wrap > p {
  color: var(--c-muted); margin-bottom: var(--sp-5);
}
.contact-form .form-field { margin-bottom: var(--sp-4); }
.contact-form label {
  font-weight: 600; font-size: 14px;
  color: var(--c-text);
  margin-bottom: 6px;
}
.contact-form .required { color: var(--c-accent); margin-left: 2px; }
.contact-form .opt {
  color: var(--c-muted); font-weight: 400; font-size: 12px; margin-left: 4px;
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4);
}
@media (max-width: 540px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

.form-submit {
  width: 100%; justify-content: center;
  margin-top: var(--sp-3);
  background: var(--c-primary);
  box-shadow: var(--shadow-glow);
}
.form-submit:hover { background: var(--c-primary-600); }
.form-submit svg { width: 18px; height: 18px; }

.form-note {
  display: flex; align-items: flex-start; gap: 8px;
  margin: var(--sp-4) 0 0;
  padding: 12px 14px;
  background: var(--c-bg-soft);
  border-radius: var(--r-md);
  font-size: 13px; color: var(--c-muted); line-height: 1.5;
}
.form-note svg {
  width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px;
  color: var(--c-primary);
}

.form-success {
  display: flex; align-items: center; gap: 14px;
  margin-top: var(--sp-4);
  padding: 16px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--r-md);
  color: #065f46;
}
.form-success svg {
  width: 28px; height: 28px;
  background: #10b981; color: #fff;
  border-radius: 50%; padding: 4px;
  flex-shrink: 0;
}
.form-success strong { display: block; font-family: var(--font-head); font-size: 15px; }
.form-success span { font-size: 14px; }

/* Full-width map */
.contact-map iframe {
  width: 100%; height: clamp(320px, 50vw, 480px);
  border: 0; display: block;
  background: var(--c-bg-soft);
}

/* ---------- 18. Print ---------- */
@media print {
  .header, .topbar, .float-btn, .back-to-top, .cta-banner, .slider__controls { display: none; }
}
