/* ==========================================================
   Pinak Pediatrics — Dr. Rajni Kumari
   Palette pulled from the clinic logo
   ========================================================== */
:root {
  --ink: #1d5a72;          /* deep blue-teal ("PINAK") */
  --ink-soft: #46677a;
  --teal: #2aa3a4;         /* "PEDIATRICS" teal */
  --teal-dark: #1c7f87;
  --teal-50: #e8f6f6;
  --sky: #7ec7ee;
  --sun: #f6ba29;          /* yellow drop */
  --sun-50: #fff6dc;
  --coral: #f3657b;        /* heart */
  --coral-50: #fdeee9;
  --cream: #fffbf4;
  --white: #ffffff;
  --line: #e6ecec;
  --shadow-sm: 0 2px 8px rgba(29, 90, 114, .06);
  --shadow: 0 12px 32px -12px rgba(29, 90, 114, .18);
  --shadow-lg: 0 30px 60px -20px rgba(29, 90, 114, .28);
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1180px;
  --font-display: "Fredoka", "Nunito Sans", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section--white { background: var(--white); }
.section--teal { background: linear-gradient(160deg, #24708a 0%, var(--ink) 100%); color: #d6ecee; }
.section--teal h2, .section--teal h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-dark); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--coral); }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head .eyebrow::after { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--coral); }
.section-head p { font-size: 1.08rem; }
.accent { color: var(--teal); font-style: italic; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font: 800 1rem/1 var(--font-body); cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 10px 24px -10px rgba(23, 162, 166, .8); }
.btn--primary:hover { background: var(--teal-dark); color: #fff; transform: translateY(-2px); }
.btn--coral { background: var(--coral); color: #fff; box-shadow: 0 10px 24px -10px rgba(240, 127, 104, .8); }
.btn--coral:hover { background: #e2654d; color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(29, 90, 114, .18); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--sun); color: var(--ink); }
.btn--whatsapp { background: #25d366; color: #fff; }
.btn--whatsapp:hover { background: #1fb457; color: #fff; transform: translateY(-2px); }
.btn--block { width: 100%; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--ink); color: #cfe6e8; font-size: .86rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; font-weight: 700; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar-item svg { width: 15px; height: 15px; color: var(--sun); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #9aa; display: inline-block; }
.status-dot.open { background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .2); animation: pulse 2s infinite; }
.status-dot.closed { background: var(--coral); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(61, 220, 132, 0); } }

.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.brand img { height: 60px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 10px 14px; border-radius: 999px; color: var(--ink); font-weight: 700; font-size: .96rem; transition: background .2s; }
.nav-links a:hover, .nav-links a.active { background: var(--teal-50); color: var(--teal-dark); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; transition: transform .25s, background .25s; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(70px, 8vw, 110px); overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(246, 194, 68, .18), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(91, 196, 209, .16), transparent 60%),
    var(--cream);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); padding: 8px 16px 8px 8px; border-radius: 999px; font-weight: 700; font-size: .9rem; color: var(--ink); box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.hero-badge img { width: 32px; height: 32px; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { position: relative; white-space: nowrap; }
.hero h1 .accent::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .22em; background: var(--sun); opacity: .45; border-radius: 4px; z-index: -1; }
.hero-lead { font-size: 1.16rem; max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-points { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 28px; list-style: none; margin: 0; padding: 0; }
.hero-points li { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: .95rem; }
.hero-points .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.hero-points .ico svg { width: 18px; height: 18px; }
.ico--teal { background: var(--teal-50); color: var(--teal-dark); }
.ico--sun { background: var(--sun-50); color: #b98500; }
.ico--coral { background: var(--coral-50); color: #d45c43; }

.hero-visual { position: relative; max-width: 480px; justify-self: center; width: 100%; }
.hero-photo {
  position: relative; z-index: 2; border-radius: 240px 240px 36px 36px; overflow: hidden;
  aspect-ratio: 4 / 5; background: linear-gradient(180deg, var(--sun-50), var(--coral-50));
  box-shadow: var(--shadow-lg); border: 8px solid #fff;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero-rays { position: absolute; z-index: 1; left: 50%; top: -46px; width: 128%; transform: translateX(-50%); pointer-events: none; }
.float-card {
  position: absolute; z-index: 3; background: #fff; border-radius: 16px; padding: 12px 16px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; font-size: .88rem; line-height: 1.3;
  animation: bob 6s ease-in-out infinite;
}
.float-card strong { display: block; color: var(--ink); font-size: .98rem; }
.float-card .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float-card .ico svg { width: 22px; height: 22px; }
.float-card--1 { left: -38px; top: 30%; }
.float-card--2 { right: -30px; bottom: 12%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

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

/* ---------- Highlights strip ---------- */
.highlights { margin-top: -56px; position: relative; z-index: 5; }
.highlights-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.highlight { padding: 26px 24px; display: flex; gap: 14px; align-items: flex-start; border-right: 1px solid var(--line); }
.highlight:last-child { border-right: 0; }
.highlight .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.highlight .ico svg { width: 24px; height: 24px; }
.highlight h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 800; margin: 2px 0 2px; }
.highlight p { margin: 0; font-size: .9rem; line-height: 1.45; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about-media { position: relative; }
.about-media .frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; }
.about-media .frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.about-media::before { content: ""; position: absolute; inset: 28px -22px -22px 28px; border-radius: var(--radius-lg); background: repeating-linear-gradient(45deg, var(--teal-50) 0 10px, transparent 10px 20px); z-index: -1; }
.cred-badge { position: absolute; right: -18px; bottom: 32px; background: var(--ink); color: #fff; border-radius: 18px; padding: 18px 22px; box-shadow: var(--shadow); }
.cred-badge .big { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--sun); }
.cred-badge small { display: block; opacity: .85; margin-top: 4px; font-size: .82rem; }
.signature { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--ink); margin: 6px 0 0; }
.quals { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0 30px; }
.qual { background: var(--cream); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start; }
.qual .ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.qual .ico svg { width: 20px; height: 20px; }
.qual strong { display: block; color: var(--ink); font-size: .98rem; line-height: 1.3; }
.qual span { font-size: .86rem; line-height: 1.4; display: block; margin-top: 2px; }
.blockquote { border-left: 4px solid var(--sun); padding: 4px 0 4px 18px; font-family: var(--font-display); font-size: 1.2rem; font-style: italic; color: var(--ink); margin: 0 0 24px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service {
  background: #fff; border-radius: var(--radius); padding: 28px 24px 24px; border: 1px solid var(--line);
  position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--teal), var(--sky), var(--sun), var(--coral)); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::after { transform: scaleX(1); }
.service .ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; }
.service .ico svg { width: 28px; height: 28px; }
.service h3 { font-size: 1.16rem; margin-bottom: 8px; }
.service p { font-size: .95rem; margin: 0; }

/* ---------- Vaccination ---------- */
.vax-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line); }
.vax-table-card { padding: 10px; }
.tabs { display: flex; gap: 6px; padding: 6px; background: var(--teal-50); border-radius: 16px; margin-bottom: 8px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 1; border: 0; background: transparent; padding: 11px 14px; border-radius: 12px; font: 800 .92rem var(--font-body); color: var(--ink-soft); cursor: pointer; white-space: nowrap; }
.tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.vax-list { list-style: none; margin: 0; padding: 0 10px; }
.vax-row { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 6px; border-bottom: 1px dashed var(--line); }
.vax-row:last-child { border-bottom: 0; }
.vax-age { font-weight: 800; color: var(--ink); display: flex; align-items: flex-start; gap: 10px; }
.vax-age::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); margin-top: 8px; flex: none; box-shadow: 0 0 0 4px var(--teal-50); }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { display: inline-block; padding: 5px 11px; border-radius: 999px; font-size: .84rem; font-weight: 700; background: var(--cream); color: var(--ink); border: 1px solid var(--line); }
.note { font-size: .84rem; color: var(--ink-soft); background: var(--sun-50); border-radius: 12px; padding: 12px 14px; margin: 10px; display: flex; gap: 10px; }
.note svg { width: 18px; height: 18px; flex: none; color: #b98500; margin-top: 2px; }

.calc { padding: 30px 28px; position: sticky; top: calc(var(--header-h) + 20px); }
.calc h3 { font-size: 1.45rem; }
.calc-result { margin-top: 20px; }
.calc-empty { text-align: center; padding: 18px 10px 6px; font-size: .92rem; }
.next-due { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); color: #fff; border-radius: 18px; padding: 18px 20px; margin-bottom: 14px; }
.next-due small { text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: .72rem; opacity: .85; }
.next-due strong { display: block; font-family: var(--font-display); font-size: 1.35rem; margin: 4px 0 2px; }
.next-due .when { font-weight: 700; color: var(--sun); }
.timeline { list-style: none; margin: 0; padding: 0; max-height: 300px; overflow-y: auto; }
.timeline li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.timeline li span:first-child { color: var(--ink); font-weight: 700; }
.timeline .past { opacity: .5; }
.timeline .soon span:last-child { color: #d45c43; font-weight: 800; }

/* ---------- Forms ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 800; color: var(--ink); font-size: .9rem; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  font: 600 1rem var(--font-body); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(23, 162, 166, .15); }
.field .err { color: #c2412c; font-size: .82rem; font-weight: 700; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid select { border-color: #e0715b; }
.field.invalid .err { display: block; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.slot-group { display: flex; gap: 10px; flex-wrap: wrap; }
.slot-group input { position: absolute; opacity: 0; pointer-events: none; }
.slot-group label { margin: 0; flex: 1; text-align: center; padding: 12px 10px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 700; color: var(--ink-soft); transition: all .2s; min-width: 120px; }
.slot-group input:checked + label { border-color: var(--teal); background: var(--teal-50); color: var(--teal-dark); }
.slot-group input:focus-visible + label { outline: 3px solid var(--sun); outline-offset: 2px; }
.form-note { font-size: .82rem; margin: 12px 0 0; text-align: center; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 28px; }
.why .num { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--sun); margin-bottom: 14px; }
.why h3 { margin-bottom: 8px; }
.why p { margin: 0; font-size: .96rem; }
.section--teal .eyebrow { color: var(--sun); }
.section--teal .section-head p { color: #b9dadd; }

/* ---------- Visit steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { text-align: center; padding: 0 10px; position: relative; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 36px; left: calc(50% + 46px); right: calc(-50% + 46px); border-top: 2px dashed #cfe2e3; }
.step .bubble { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow); position: relative; }
.step .bubble svg { width: 30px; height: 30px; color: var(--teal-dark); }
.step .bubble::after { counter-increment: step; content: counter(step); position: absolute; top: -4px; right: -4px; width: 26px; height: 26px; border-radius: 50%; background: var(--coral); color: #fff; font-weight: 800; font-size: .8rem; display: grid; place-items: center; }
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { font-size: .93rem; margin: 0; }

/* ---------- Appointment ---------- */
.appt-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: stretch; }
.appt-info { background: linear-gradient(160deg, var(--teal) 0%, var(--teal-dark) 100%); color: #e5f6f6; border-radius: var(--radius-lg); padding: 36px 32px; position: relative; overflow: hidden; }
.appt-info h2, .appt-info h3 { color: #fff; }
.appt-info h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.appt-info::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .08); }
.info-list { list-style: none; padding: 0; margin: 24px 0 26px; display: grid; gap: 18px; position: relative; z-index: 1; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .ico { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .15); display: grid; place-items: center; flex: none; }
.info-list .ico svg { width: 20px; height: 20px; color: #fff; }
.info-list strong { display: block; color: #fff; }
.info-list a { color: #fff; font-weight: 800; }
.hours { width: 100%; border-collapse: collapse; font-size: .92rem; }
.hours td { padding: 3px 0; }
.hours td:last-child { text-align: right; font-weight: 700; color: #fff; }
.hours tr.today td { color: var(--sun); }
.emergency { position: relative; z-index: 1; background: rgba(0, 0, 0, .14); border-radius: 14px; padding: 14px 16px; font-size: .88rem; display: flex; gap: 10px; }
.emergency svg { width: 20px; height: 20px; flex: none; color: var(--sun); margin-top: 2px; }
.appt-form { padding: 34px 32px; }
.appt-form h3 { font-size: 1.5rem; margin-bottom: 4px; }
.appt-form > p { margin-bottom: 22px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; overflow: hidden; transition: box-shadow .2s; }
.faq[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; font-weight: 800; color: var(--ink); font-size: 1.04rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--teal-50); color: var(--teal-dark); display: grid; place-items: center; font-size: 1.3rem; font-weight: 600; transition: transform .25s, background .25s; }
.faq[open] summary::after { content: "–"; background: var(--teal); color: #fff; }
.faq .faq-body { padding: 0 24px 22px; }
.faq .faq-body p:last-child { margin: 0; }

/* ---------- Contact / map ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; gap: 16px; align-items: flex-start; }
.contact-card .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.contact-card .ico svg { width: 24px; height: 24px; }
.contact-card h3 { font-family: var(--font-body); font-weight: 800; font-size: 1rem; margin-bottom: 4px; }
.contact-card p { margin: 0; font-size: .95rem; }
.map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; background: var(--teal-50); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--sun-50); border-radius: var(--radius-lg); padding: 44px 48px; display: flex; align-items: center; justify-content: space-between; gap: 28px; position: relative; overflow: hidden; }
.cta-band img { width: 110px; flex: none; }
.cta-band h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: 6px; }
.cta-band p { margin: 0; }
.cta-band .txt { flex: 1; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: #163f50; color: #a9c8cc; padding: 72px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { background: #fff; border-radius: 18px; padding: 12px 16px; display: inline-block; margin-bottom: 18px; }
.footer-logo img { height: 64px; width: auto; }
.site-footer h4 { font-family: var(--font-body); color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #d7eaec; }
.site-footer a:hover { color: var(--sun); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 56px; padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.disclaimer { font-size: .8rem; opacity: .75; max-width: 760px; }

/* ---------- Floating & mobile bar ---------- */
.fab-wa { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7); transition: transform .2s; }
.fab-wa:hover { transform: scale(1.08); color: #fff; }
.fab-wa svg { width: 30px; height: 30px; }
.to-top { position: fixed; right: 30px; bottom: 96px; z-index: 90; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); box-shadow: var(--shadow); cursor: pointer; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }
.mobile-bar { display: none; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* ---------- Toast ---------- */
.toast { visibility: hidden; position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 120px); background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 14px; font-weight: 700; z-index: 200; box-shadow: var(--shadow-lg); transition: transform .35s ease; max-width: calc(100% - 32px); }
.toast.show { visibility: visible; transform: translate(-50%, 0); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight:nth-child(2) { border-right: 0; }
  .highlight:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links a { padding: 10px 10px; font-size: .92rem; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .brand img { height: 50px; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn--primary { display: none; }
  .nav-links {
    position: fixed; inset: calc(var(--header-h) + 0px) 0 auto 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 12px 20px 24px; gap: 2px; box-shadow: var(--shadow); border-top: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s ease;
  }
  .nav-open .nav-links { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: 14px 12px; font-size: 1.05rem; border-radius: 12px; }
  .topbar-right .hide-sm { display: none; }

  .hero-grid, .about-grid, .vax-wrap, .appt-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 400px; margin-top: 20px; }
  .about-media { max-width: 440px; margin: 0 auto; }
  .calc { position: static; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .step::after { display: none; }
  .cta-band { flex-direction: column; text-align: center; padding: 36px 24px; }
  .cta-band .actions { justify-content: center; }
}

@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .topbar-left .hide-xs { display: none; }
  .topbar .container { justify-content: center; }
  .topbar-right { display: none; }
  .hero-points { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; }
  .float-card--1 { left: -8px; top: 22%; }
  .float-card--2 { right: -8px; }
  .float-card { padding: 10px 12px; font-size: .8rem; }
  .highlights-grid, .services-grid, .why-grid, .quals, .row-2 { grid-template-columns: 1fr; }
  .highlight { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .highlight:last-child { border-bottom: 0; }
  .steps { grid-template-columns: 1fr; }
  .vax-row { grid-template-columns: 1fr; gap: 8px; }
  .cred-badge { right: 8px; }
  .about-media::before { inset: 20px -10px -14px 20px; }
  .appt-info, .appt-form, .calc { padding: 26px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .fab-wa, .to-top { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(29, 90, 114, .25);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
  }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px; border-radius: 12px; font-size: .76rem; font-weight: 800; color: var(--ink); }
  .mobile-bar a svg { width: 22px; height: 22px; }
  .mobile-bar a.primary { background: var(--teal); color: #fff; }
  .mobile-bar a.wa svg { color: #25d366; }
  .toast { bottom: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Grid children must be allowed to shrink (prevents horizontal overflow) */
.hero-grid > *, .about-grid > *, .vax-wrap > *, .appt-grid > *, .contact-grid > *, .services-grid > *, .why-grid > *, .row-2 > * { min-width: 0; }
.hero { overflow: hidden; }
.hero-visual { overflow: visible; }
.field input, .field select, .field textarea { min-width: 0; max-width: 100%; }
.field input[type="date"] { -webkit-appearance: none; appearance: none; min-height: 50px; display: block; }
.slot-group { position: relative; }
.slot-group input { left: 0; top: 0; width: 1px; height: 1px; margin: 0; }
.contact-card > div, .info-list li > div, .site-footer li { min-width: 0; overflow-wrap: anywhere; }

/* ===== Brand refresh (new logo) ===== */
h1, h2, h3, h4 { font-weight: 600; letter-spacing: 0; }
.accent { font-style: normal; }
.brand img { height: 64px; width: auto; }
.tagline { font-family: "Courgette", cursive; color: var(--ink); font-size: 1.15rem; margin: 0; }
.hero-tagline { font-size: 1.35rem; color: var(--teal-dark); margin-bottom: 10px; }
.footer-logo { text-align: center; }
.footer-logo img { height: 72px; margin: 0 auto; }
.footer-logo .tagline { display: block; font-size: 1rem; margin-top: 4px; }
.btn--coral { box-shadow: 0 10px 24px -10px rgba(243, 101, 123, .8); }
.btn--coral:hover { background: #e24f67; }
.why .num { color: var(--sun); }
@media (max-width: 960px) { .brand img { height: 48px; } }

/* Tablet & mobile: keep the badges below the photo instead of over it */
@media (max-width: 960px) {
  .hero-visual { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
  .hero-photo { flex: 0 0 100%; }
  .float-card, .float-card--1, .float-card--2 { position: static; animation: none; margin-top: 8px; flex: 1 1 0; min-width: 0; padding: 10px 12px; font-size: .8rem; }
  .float-card .ico { width: 34px; height: 34px; }
  .float-card strong { font-size: .9rem; }
  .hero-visual { gap: 10px; flex-wrap: wrap; }
}
