/* ============================================================
   Smile Care Dental Clinic & Implant Center — Static Website
   styles.css  |  Design system + all page styles
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --ink: #0F2A43;            /* deep navy text */
  --ink-soft: #33475C;
  --muted: #5B7089;
  --bg: #FFFFFF;
  --bg-soft: #F5F9FC;        /* off-white section background */
  --bg-tint: #ECF5FA;
  --line: #E2ECF4;

  --blue: #3F82C8;           /* soft blue accent */
  --teal: #17AFA3;           /* turquoise accent */
  --grad: linear-gradient(135deg, #3F82C8 0%, #1CB5A8 100%);
  --gold: #F0AE1B;

  --wa: #25D366;
  --wa-dark: #1CA24D;

  --shadow-sm: 0 2px 10px rgba(15, 42, 67, .06);
  --shadow-md: 0 10px 30px rgba(15, 42, 67, .10);
  --shadow-lg: 0 22px 50px rgba(15, 42, 67, .14);

  --radius: 16px;
  --radius-lg: 24px;

  --container: 1200px;
  --header-h: 86px;

  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 700;
}

p { max-width: 65ch; }
strong { color: var(--ink); font-weight: 600; }

::selection { background: rgba(23, 175, 163, .25); }

:focus-visible {
  outline: 3px solid rgba(28, 181, 168, .55);
  outline-offset: 2px;
  border-radius: 4px;
}

.icon { width: 24px; height: 24px; flex: none; }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--ink); color: #fff;
  padding: 10px 18px; border-radius: 10px; z-index: 200;
}
.skip-link:focus { left: 8px; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 92px 0; }
.section--tint { background: linear-gradient(180deg, var(--bg-soft) 0%, #FBFDFE 100%); }
.section--white { background: var(--bg); }

.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 12px; font-size: 1.05rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: var(--grad);
}

.section-title { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700; font-size: .97rem;
  line-height: 1;
  padding: 16px 28px;
  border-radius: 999px;
  transition: transform .22s ease, box-shadow .22s ease,
              background-color .22s ease, color .22s ease,
              border-color .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 19px; height: 19px; }

.btn-primary {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 12px 26px rgba(31, 165, 158, .35);
}
.btn-primary:hover { box-shadow: 0 16px 34px rgba(31, 165, 158, .45); }

.btn-outline {
  color: var(--ink);
  background: #fff;
  border: 1.6px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn-wa {
  color: #fff;
  background: var(--wa);
  box-shadow: 0 12px 26px rgba(37, 211, 102, .30);
}
.btn-wa:hover { background: var(--wa-dark); }

.btn-light {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 10px 24px rgba(9, 30, 50, .18);
}
.btn-light:hover { background: #F0FAF8; }

.btn-ghost-light {
  color: #fff;
  border: 1.6px solid rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .06);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }

.btn-sm { padding: 11px 20px; font-size: .88rem; }
.btn-lg { padding: 18px 34px; font-size: 1rem; }

.link-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-weight: 700; font-size: .95rem;
  color: var(--blue);
  transition: gap .2s ease, color .2s ease;
}
.link-btn .icon { width: 18px; height: 18px; }
.link-btn:hover { gap: 12px; color: var(--teal); }

/* ---------- Header / Navbar ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(15, 42, 67, .07);
}
.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 13px; min-width: 0; }
.brand-mark {
  width: 46px; height: 46px; flex: none;
  border-radius: 14px;
  background: var(--grad);
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 8px 18px rgba(31, 165, 158, .32);
}
.brand-mark .icon { width: 26px; height: 26px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text strong {
  font-family: var(--font-head);
  font-size: 1.22rem; font-weight: 800;
  color: var(--ink); letter-spacing: -0.01em;
}
.brand-text small {
  font-size: .68rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}

.main-nav ul { display: flex; align-items: center; gap: 6px; }
.main-nav a:not(.btn) {
  position: relative;
  display: block;
  font-family: var(--font-head);
  font-weight: 600; font-size: .96rem;
  color: var(--ink-soft);
  padding: 10px 15px;
  border-radius: 999px;
  transition: color .2s ease, background-color .2s ease;
}
.main-nav a:not(.btn):hover { color: var(--blue); background: var(--bg-tint); }
.main-nav a.is-active { color: var(--teal); }
.main-nav a.is-active::after {
  content: "";
  position: absolute; left: 50%; bottom: 3px;
  transform: translateX(-50%);
  width: 16px; height: 3px; border-radius: 3px;
  background: var(--grad);
}

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  border: 1.6px solid var(--line);
  background: #fff;
  place-items: center;
  color: var(--ink);
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
body.nav-open .nav-toggle .i-menu { display: none; }
body.nav-open .nav-toggle .i-close { display: block; }

/* ---------- Mobile nav panel ---------- */
@media (max-width: 1020px) {
  .nav-toggle { display: grid; }
  .header-actions .btn { display: none; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(15, 42, 67, .12);
    padding: 18px 24px 26px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  body.nav-open .main-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a:not(.btn) {
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 1.02rem;
  }
  .main-nav a.is-active::after { display: none; }
  .main-nav a.is-active { background: var(--bg-tint); }

  .nav-panel-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
  }
  .nav-panel-actions .btn { display: inline-flex; width: 100%; }
}

.nav-panel-actions { display: none; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 56px) 0 104px;
  background:
    radial-gradient(680px 420px at 88% -8%, rgba(28, 181, 168, .14), transparent 60%),
    radial-gradient(560px 380px at -10% 30%, rgba(63, 130, 200, .12), transparent 62%),
    linear-gradient(180deg, #F4FAFD 0%, #FFFFFF 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 56px;
  align-items: center;
}

.hero-chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--ink-soft);
  font-family: var(--font-head);
  font-size: .74rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-chip::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 4px rgba(31, 165, 158, .15);
}

.hero h1 {
  font-size: clamp(2.45rem, 5vw, 3.65rem);
  font-weight: 800;
  margin-bottom: 20px;
}
.hero h1 .accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 47ch;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 14px;
}
.hero-secondary {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 6px 26px;
  margin-top: 22px;
}

.hero-media { position: relative; }

.hero-media-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
  outline: 1px solid var(--line);
  aspect-ratio: 10 / 11;
}
.hero-media-frame img { width: 100%; height: 100%; object-fit: cover; }

.hero-media::before {
  content: "";
  position: absolute; inset: auto -40px -46px auto;
  width: 260px; height: 260px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(63,130,200,.18), rgba(28,181,168,.20));
  filter: blur(2px);
  z-index: -1;
}
.hero-media::after {
  content: "";
  position: absolute; top: -34px; left: -34px;
  width: 130px; height: 130px;
  border-radius: 50%;
  border: 3px dashed rgba(63, 130, 200, .35);
  z-index: -1;
}

.trust-card {
  position: absolute;
  left: -30px; bottom: 36px;
  display: flex; align-items: center; gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 16px 22px;
  animation: floaty 5s ease-in-out infinite;
}
.trust-score {
  font-family: var(--font-head);
  font-weight: 800; font-size: 1.7rem;
  color: var(--ink); line-height: 1;
  display: flex; align-items: center; gap: 7px;
}
.trust-score .icon { width: 21px; height: 21px; color: var(--gold); }
.trust-card .stars { display: flex; gap: 2px; margin: 3px 0 4px; }
.trust-card .stars .icon { width: 14px; height: 14px; color: var(--gold); }
.trust-meta strong {
  display: block;
  font-family: var(--font-head);
  font-size: .95rem; font-weight: 700; color: var(--ink);
  line-height: 1.25;
}
.trust-meta small { font-size: .78rem; color: var(--muted); white-space: nowrap; }

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

/* ---------- Trust / highlights strip ---------- */
.stats-band {
  background: linear-gradient(135deg, #123A57 0%, #14455F 55%, #10554F 100%);
  color: #fff;
  padding: 34px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  text-align: center;
  padding: 10px 18px;
  border-left: 1px solid rgba(255, 255, 255, .14);
}
.stat:first-child { border-left: 0; }
.stat-value {
  font-family: var(--font-head);
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-weight: 800; line-height: 1.15;
  display: inline-flex; align-items: center; gap: 8px;
}
.stat-value .icon { width: 20px; height: 20px; color: #FFC94D; }
.stat-label {
  display: block;
  margin-top: 5px;
  font-size: .85rem;
  color: rgba(255, 255, 255, .78);
}

/* ---------- Intro split section ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
}
.split-media { position: relative; }
.split-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
}
.split-media::before {
  content: "";
  position: absolute;
  inset: 26px -22px -22px 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(63,130,200,.16), rgba(28,181,168,.16));
  z-index: -1;
}
.split-media::after {
  content: "";
  position: absolute;
  top: -20px; right: -20px;
  width: 92px; height: 92px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.7), transparent 60%),
    var(--grad);
  opacity: .9;
  z-index: -1;
}

.split-content h2 { margin-bottom: 18px; }
.split-content p { margin-bottom: 16px; }
.split-points {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 24px 0 30px;
}
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: .86rem; font-weight: 600;
  font-family: var(--font-head);
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.pill .icon { width: 15px; height: 15px; color: var(--teal); }

/* ---------- Card grids (services & features) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease,
              border-color .25s ease;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(63, 130, 200, .35);
}

.card-icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  display: grid; place-items: center;
  color: var(--blue);
  background: linear-gradient(135deg, #EAF3FB 0%, #E3F6F4 100%);
  margin-bottom: 20px;
  transition: transform .25s ease, color .25s ease, background .25s ease;
}
.card:hover .card-icon { transform: scale(1.06); color: var(--teal); }
.card-icon .icon { width: 27px; height: 27px; }

.card h3 { font-size: 1.13rem; margin-bottom: 9px; }
.card p { font-size: .95rem; color: var(--muted); }

/* ---------- Reviews / Google rating section ---------- */
.reviews-section {
  position: relative;
  background:
    radial-gradient(720px 400px at 90% 0%, rgba(28, 181, 168, .22), transparent 62%),
    radial-gradient(600px 420px at 4% 100%, rgba(63, 130, 200, .20), transparent 60%),
    linear-gradient(160deg, #0D2C46 0%, #123A57 55%, #0F3B41 100%);
  color: #fff;
  overflow: hidden;
}
.reviews-section .eyebrow { color: #6BD9CE; }
.reviews-section h2 { color: #fff; }

.rating-block {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 14px 34px;
  margin-bottom: 44px;
}
.rating-number {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
}
.rating-stars {
  display: flex; gap: 4px;
  color: #FFC94D;
}
.rating-stars .icon { width: 26px; height: 26px; }
.rating-caption { color: rgba(255, 255, 255, .82); font-size: .98rem; }
.rating-caption strong { color: #fff; }

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  backdrop-filter: blur(6px);
  display: flex; flex-direction: column; gap: 16px;
}
.review-card .stars { display: flex; gap: 3px; color: #FFC94D; }
.review-card .stars .icon { width: 15px; height: 15px; }
.review-quote {
  font-style: italic;
  color: rgba(255, 255, 255, .72);
  font-size: .95rem;
  flex: 1;
}
.review-tag {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-size: .8rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: #6BD9CE;
}
.reviews-note {
  margin-top: 30px;
  text-align: center;
  font-size: .88rem;
  color: rgba(255, 255, 255, .6);
}

/* ---------- Gradient CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--grad);
  border-radius: 34px;
  padding: clamp(44px, 7vw, 72px) clamp(24px, 5vw, 80px);
  text-align: center;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(31, 165, 158, .35);
}
.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}
.cta-band::before { width: 300px; height: 300px; top: -150px; left: -110px; }
.cta-band::after  { width: 210px; height: 210px; bottom: -120px; right: -70px; }

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  margin-bottom: 14px;
}
.cta-band p {
  margin: 0 auto 32px;
  max-width: 52ch;
  color: rgba(255, 255, 255, .92);
}
.cta-actions {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 58px) 0 76px;
  text-align: center;
  background:
    radial-gradient(640px 320px at 85% -10%, rgba(28,181,168,.13), transparent 60%),
    radial-gradient(520px 340px at 8% 110%, rgba(63,130,200,.11), transparent 62%),
    linear-gradient(180deg, #F2F9FC 0%, #FFFFFF 100%);
  overflow: hidden;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 14px;
}
.page-hero p {
  margin: 0 auto;
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 56ch;
}
.page-hero-media {
  max-width: 960px;
  margin: 48px auto -108px;
  position: relative;
  z-index: 1;
}
.page-hero-media img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
  outline: 1px solid var(--line);
}

.with-overlap { padding-top: 170px; }

/* ---------- Approach steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  counter-reset: step;
}
.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 30px 32px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad);
}
.step-number {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .9;
  margin-bottom: 14px;
}
.step-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step-card p { color: var(--muted); font-size: .97rem; }

/* ---------- Doctor / team ---------- */
.doctor-wrap {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 56px;
  align-items: center;
}
.doctor-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
  outline: 1px solid var(--line);
  aspect-ratio: 4 / 5;
}
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; }

.info-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
  margin-top: 28px;
}
.info-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 16px;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.info-row dt {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head);
  font-weight: 700; font-size: .92rem;
  color: var(--ink);
}
.info-row dt .icon { width: 17px; height: 17px; color: var(--teal); }
.info-row dd { color: var(--muted); }

.placeholder-value {
  display: inline-flex;
  background: #FFF7E8;
  border: 1px dashed #EBD5A8;
  color: #8A6D2F;
  font-size: .9rem;
  padding: 5px 13px;
  border-radius: 999px;
}

/* ---------- Contact (services page) ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 30px;
  align-items: stretch;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 38px 34px;
}
.contact-block { display: flex; gap: 18px; padding: 20px 0; }
.contact-block + .contact-block { border-top: 1px dashed var(--line); }
.contact-ico {
  width: 46px; height: 46px; flex: none;
  border-radius: 13px;
  display: grid; place-items: center;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 8px 16px rgba(31, 165, 158, .25);
}
.contact-ico .icon { width: 22px; height: 22px; }
.contact-ico--wa { background: linear-gradient(135deg, #25D366, #128C7E); }
.contact-block h3 { font-size: 1.02rem; margin-bottom: 6px; }
.contact-block p, .contact-block address {
  font-style: normal;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.6;
}
.contact-block a.tel-link {
  font-family: var(--font-head);
  font-weight: 800; font-size: 1.08rem;
  color: var(--ink);
  letter-spacing: .01em;
  transition: color .2s ease;
}
.contact-block a.tel-link:hover { color: var(--teal); }
.hours-table { display: grid; gap: 4px; margin-top: 4px; }
.hours-row {
  display: flex; justify-content: space-between; gap: 24px;
  font-size: .93rem;
}
.hours-row span:first-child { color: var(--ink); font-weight: 600; }
.hours-row span:last-child { color: var(--muted); }

.contact-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 26px;
}

.map-panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  min-height: 420px;
  background: var(--bg-tint);
}
.map-panel iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.map-badge {
  position: absolute;
  top: 14px; left: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 9px 16px;
  font-family: var(--font-head);
  font-weight: 700; font-size: .84rem;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.map-badge .icon { width: 15px; height: 15px; color: var(--teal); }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background:
    radial-gradient(560px 300px at 92% 0%, rgba(28,181,168,.16), transparent 60%),
    linear-gradient(180deg, #0C2940 0%, #0B2338 100%);
  color: rgba(255, 255, 255, .82);
  padding: 74px 0 0;
  margin-top: 96px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .75fr .85fr 1.05fr;
  gap: 44px;
  padding-bottom: 54px;
}

.footer-brand .brand-text strong { color: #fff; font-size: 1.3rem; }
.footer-brand .brand-text small { color: rgba(255, 255, 255, .62); }
.site-footer .brand-mark { box-shadow: none; }

.footer-desc { margin-top: 20px; max-width: 34ch; font-size: .95rem; line-height: 1.7; }

.footer-col h3 {
  color: #fff;
  font-size: .95rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col h3::after {
  content: "";
  display: block;
  width: 28px; height: 2px; border-radius: 2px;
  background: var(--grad);
  margin-top: 10px;
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col a:not(.btn) {
  font-size: .95rem;
  color: rgba(255, 255, 255, .78);
  transition: color .2s ease, padding-left .2s ease;
}
.footer-col a:not(.btn):hover { color: #6BD9CE; padding-left: 5px; }

.footer-contact-list { display: grid; gap: 14px; }
.footer-contact-list li {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: .94rem;
}
.footer-contact-list .icon { width: 17px; height: 17px; color: #6BD9CE; margin-top: 3px; }
.footer-hours { display: grid; gap: 6px; font-size: .92rem; color: rgba(255,255,255,.78); }
.footer-hours span b { color: #fff; font-weight: 600; }

.footer-note {
  margin-top: 26px;
  font-size: .82rem;
  color: rgba(255, 255, 255, .45);
  max-width: 40ch;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 22px 0;
}
.footer-bottom-inner {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  align-items: center; justify-content: space-between;
  font-size: .86rem;
  color: rgba(255, 255, 255, .55);
}
.footer-seo-line strong { color: rgba(255, 255, 255, .78); font-weight: 600; }

/* ---------- Floating mobile action bar ---------- */
.mobile-actions {
  display: none;
}
@media (max-width: 719px) {
  .mobile-actions {
    position: fixed;
    left: 12px; right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 90;
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 8px;
    padding-bottom: 0;
  }
  body { padding-bottom: 74px; }
  .site-footer { margin-top: 72px; }
}
.mobile-actions a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head);
  font-weight: 700; font-size: .84rem;
  padding: 13px 8px;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(15, 42, 67, .22);
}
.mobile-actions .icon { width: 17px; height: 17px; }
.ma-call { color: #fff; background: var(--grad); }
.ma-wa { color: var(--wa-dark); background: #E9FBF1; border: 1px solid #BFEFD1; }
.ma-dir { color: var(--ink); background: #fff; border: 1px solid var(--line); }

/* ---------- Scroll reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s ease, transform .65s ease;
  transition-delay: var(--d, 0s);
}
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- About focus list ---------- */
.focus-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 32px;
  box-shadow: var(--shadow-md);
}
.focus-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: .97rem;
  color: var(--muted);
}
.focus-ico {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E7F2FA, #DFF5F2);
  color: var(--teal);
  display: grid; place-items: center;
  flex: none;
  margin-top: 1px;
}
.focus-ico .icon { width: 16px; height: 16px; }

.nav-panel-actions .btn:first-child { grid-column: 1 / -1; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  :root { --header-h: 76px; }
  .hero-grid { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }

  .hero { padding-bottom: 84px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; margin-inline: auto; width: 100%; }
  .trust-card { left: 14px; bottom: -22px; }
  .hero-media::before { inset: auto -16px -28px auto; width: 190px; height: 190px; }

  .split { grid-template-columns: 1fr; gap: 44px; }
  .split-media { max-width: 620px; }

  .card-grid, .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .review-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid .step-card:last-child,
  .review-grid .review-card:last-child { grid-column: 1 / -1; }

  .contact-wrap { grid-template-columns: 1fr; }
  .map-panel { min-height: 360px; order: 2; }
  .doctor-wrap { grid-template-columns: 1fr; gap: 40px; }
  .doctor-photo { max-width: 420px; }

  .info-row { grid-template-columns: 158px 1fr; }
}

@media (max-width: 720px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .stat:nth-child(3) { border-left: 0; }
  .with-overlap { padding-top: 150px; }
  .page-hero-media img { aspect-ratio: 16 / 9; }
  .contact-actions { grid-template-columns: 1fr; }
  .brand-text small { letter-spacing: .05em; }
}

@media (max-width: 600px) {
  .card-grid, .card-grid--4, .review-grid, .steps-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid .step-card:last-child,
  .review-grid .review-card:last-child { grid-column: auto; }
  .rating-block { justify-content: center; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
  .cta-actions .btn, .hero-actions .btn { width: 100%; }
  .hero-secondary { width: 100%; justify-content: center; }
  .trust-card { padding: 13px 18px; left: 8px; }
  .mobile-actions a span { display: none; }
  .mobile-actions a { font-size: 0; gap: 0; }
  .info-row { grid-template-columns: 1fr; gap: 4px; }
}

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