/* =============================================================
   Cancer Care 24 — Homepage styles (cancertreatmentinindia.com)
   Layout follows the AmalCure homepage; colours come from the
   Cancer Care 24 Brand Identity Manual (navy / purple / green).
   Mobile-first. Breakpoints: 640px, 900px, 1140px.
   To adjust the brand, change only the tokens in :root.
   ============================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand manual colours */
  --navy: #1f4468;           /* "Cancer" / "Care" wordmark */
  --navy-900: #163450;
  --navy-950: #0f2539;
  --purple: #9b3491;         /* ribbon & "24" */
  --purple-700: #7d2775;
  --purple-900: #521a52;     /* ribbon shadow */
  --green: #37b873;          /* palette tile green — accents */
  --green-700: #27985b;
  --pink: #e72f8a;           /* ribbon highlight — sparing use */
  --wa: #9b3491;             /* WhatsApp buttons use the brand purple */
  --wa-700: #7d2775;

  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --bg-tint: #f4f6fa;        /* AmalCure-style light section */
  --bg-purple: #fbf2fa;      /* #fff4fd family from the CC24 site */
  --bg-navy: #e9eff5;
  --line: #e4e8ef;

  --text: #3d4451;
  --text-strong: #1f4468;
  --muted: #6b7280;

  --radius-sm: 9px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(15, 37, 57, .06);
  --shadow: 0 12px 30px rgba(15, 37, 57, .10);
  --shadow-lg: 0 24px 60px rgba(15, 37, 57, .18);

  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --container: 1200px;
  --header-h: 72px;
}

/* ---------- 2. Base ---------- */
*, *::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); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); padding-bottom: 60px; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--purple-700); }
h1, h2, h3 { color: var(--text-strong); line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 860px; }
.ico { width: 1.1em; height: 1.1em; flex: none; display: inline-block; vertical-align: -.15em; }
.flip { transform: scaleX(-1); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; color: #fff; }

/* ---------- 3. Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.6em; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: .95rem; line-height: 1.2; text-align: center; white-space: nowrap; transition: transform .15s ease, background-color .2s, box-shadow .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--purple); color: #fff; box-shadow: 0 6px 18px rgba(155, 52, 145, .3); }
.btn--primary:hover { background: var(--purple-700); color: #fff; }
.btn--light { background: #fff; color: var(--navy); box-shadow: 0 6px 18px rgba(0,0,0,.15); }
.btn--light:hover { background: var(--bg-purple); color: var(--purple); }
.btn--outline { border-color: var(--purple); color: var(--purple); background: #fff; }
.btn--outline:hover { background: var(--purple); color: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-700); color: #fff; }
/* On doctor cards the WhatsApp button sits next to a purple primary button, so it is outlined */
.doc-card__actions .btn--wa { background: #fff; color: var(--purple); border-color: var(--purple); }
.doc-card__actions .btn--wa:hover { background: var(--purple); color: #fff; }
.btn--block { width: 100%; }
.btn--sm { padding: .6em 1.1em; font-size: .85rem; }

/* ---------- 4. Section scaffolding ---------- */
.section { padding: 64px 0; }
.section--tint { background: var(--bg-tint); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head h2 { position: relative; padding-bottom: 14px; }
.section-head h2::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 56px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--purple), var(--green)); }
.section-head p { color: var(--muted); font-size: 1.05rem; margin-top: 12px; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; text-align: left; max-width: none; }
.section-head--row h2 { margin-bottom: 0; }
.section-head--row h2::after { left: 0; transform: none; }

.eyebrow { display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--purple); background: var(--bg-purple); padding: .45em 1em; border-radius: 999px; margin-bottom: 14px; }
.eyebrow--light { color: #fff; background: rgba(255,255,255,.16); backdrop-filter: blur(4px); }

/* ---------- 5. Top bar ---------- */
.topbar { display: none; background: var(--navy); color: #cfe0ee; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; }
.topbar__note { margin: 0; display: flex; align-items: center; gap: 6px; }
.topbar__note .ico { color: var(--green); }
.topbar__links { display: flex; gap: 22px; }
.topbar__links a { color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.topbar__links a:hover { color: #9ff0c3; }

/* ---------- 6. Header & nav ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.logo img { height: 50px; width: auto; }

.nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; padding: 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-120%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
.nav.is-open { transform: none; visibility: visible; }
.nav__list a { display: block; padding: 12px 4px; font-weight: 500; color: var(--navy); border-bottom: 1px solid var(--line); }
.nav__list a:hover { color: var(--purple); }
.nav__cta-mobile { margin-top: 16px; width: 100%; }

.header__actions { display: flex; align-items: center; gap: 14px; }
.header__phone { display: none; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.header__phone small { display: block; font-weight: 400; font-size: .72rem; color: var(--muted); }
.header__phone-icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #e6f6ee; color: var(--green-700); }
.header__cta { display: none; }
.nav-toggle { width: 44px; height: 44px; border: 0; background: var(--bg-tint); border-radius: 10px; display: grid; place-content: center; gap: 5px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 7. Hero slider ---------- */
.hs { position: relative; color: #fff; overflow: hidden; background: var(--navy-950); }
.hs__track { display: grid; }
.hs__slide { grid-area: 1 / 1; position: relative; isolation: isolate; min-height: 520px; display: flex; align-items: center; padding: 48px 0 104px; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.hs__slide.is-active { opacity: 1; visibility: visible; }
.hs__slide::before { /* photo */ content: ""; position: absolute; inset: 0; z-index: -2; background: var(--bg, none) center / cover no-repeat; transform: scale(1.04); transition: transform 6s ease; }
.hs__slide.is-active::before { transform: scale(1); }
.hs__slide::after { /* brand overlay for legibility */ content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(15,37,57,.92) 0%, rgba(31,68,104,.82) 45%, rgba(155,52,145,.35) 100%); }
.hs__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
/* Portrait photos: shown whole on the right (desktop) instead of zoomed to fill */
.hs__slide--portrait { background: var(--navy-950); }
.hs__slide--portrait::before { background-position: center 20%; }
.hs__slide--plain::after { background: radial-gradient(520px 360px at 90% 10%, rgba(155,52,145,.55), transparent 65%), radial-gradient(420px 300px at 0% 100%, rgba(55,184,115,.25), transparent 60%), linear-gradient(120deg, var(--navy-950), var(--navy)); }
.hs__inner { width: 100%; }
.hs__panel { max-width: 640px; }
.hs h1, .hs__title { color: #fff; font-size: clamp(2rem, 5.2vw, 3.3rem); font-weight: 800; }
.hs__panel p { font-size: 1.1rem; color: #dce7f1; max-width: 560px; }
.hs__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hs__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); background: rgba(255,255,255,.1); color: #fff; display: none; place-items: center; transition: background .2s; }
.hs__arrow:hover { background: var(--purple); border-color: var(--purple); }
.hs__arrow--prev { left: 16px; }
.hs__arrow--next { right: 16px; }
.hs__dots { position: absolute; left: 0; right: 0; bottom: 60px; /* sits above the overlapping appointment card */ z-index: 3; display: flex; justify-content: center; gap: 8px; }
.hs__dot { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; background: rgba(255,255,255,.45); transition: width .3s, background .3s; }
.hs__dot.is-active { width: 30px; background: var(--green); }

/* ---------- 8. Book Your Appointment ---------- */
.appt { position: relative; z-index: 2; margin-top: -40px; padding-bottom: 24px; }
.appt__card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; display: grid; }
.appt__intro { padding: 28px 24px; background: linear-gradient(160deg, var(--bg-purple), #fff 70%); border-bottom: 1px solid var(--line); }
.appt__intro p { color: var(--muted); }
.appt__points { display: grid; gap: 10px; margin: 18px 0 22px; }
.appt__points li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--navy); }
.appt__points .ico { color: #fff; background: var(--green); border-radius: 50%; padding: 3px; width: 20px; height: 20px; margin-top: 2px; }
.appt__call { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.15rem; color: var(--navy); line-height: 1.2; }
.appt__call small { display: block; font-weight: 400; font-size: .78rem; color: var(--muted); }
.appt__call-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--purple); color: #fff; display: grid; place-items: center; }
.appt__form { padding: 24px; display: grid; gap: 14px; align-content: start; }

.field { display: grid; gap: 6px; }
.field label { font-size: .85rem; font-weight: 500; color: var(--navy); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--navy); padding: .75em .9em; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-soft); transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { resize: vertical; min-height: 84px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231f4468' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 22px; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(55,184,115,.15); }
.field .is-invalid, .field input.is-invalid, .field select.is-invalid { border-color: #d64545; }
.field-row { display: grid; gap: 14px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--muted); }
.consent input { margin-top: 3px; accent-color: var(--purple); width: 16px; height: 16px; flex: none; }
.consent--light { color: #d3dfeb; }
.consent.is-invalid span { color: #d64545; }
.consent--light.is-invalid span { color: #ffb4b4; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: .9rem; min-height: 1.2em; }
.form-status.is-success { color: var(--green-700); font-weight: 500; }
.form-status.is-error { color: #c43c3c; }
.opinion .form-status.is-success { color: #9ff0c3; }
.opinion .form-status.is-error { color: #ffb4b4; }

/* ---------- 9. Achievements ---------- */
.stats { padding: 40px 0 8px; }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 12px; text-align: center; transition: box-shadow .2s, transform .2s; }
.stat:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.stat__icon { width: 50px; height: 50px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: #e6f6ee; color: var(--green-700); }
.stat__icon svg { width: 24px; height: 24px; }
.stat__num { display: block; font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; color: var(--purple); line-height: 1.1; }
.stat__label { font-size: .92rem; color: var(--navy); font-weight: 500; }

/* ---------- 10. Cancer specialties ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.spec { display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 14px; color: var(--text); transition: transform .2s, box-shadow .2s, border-color .2s; }
.spec:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.spec__icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-purple); margin-bottom: 14px; transition: background .2s; }
.spec__icon img { width: 42px; height: 42px; transition: filter .2s; }
.spec:hover .spec__icon { background: var(--purple); }
.spec:hover .spec__icon img { filter: brightness(0) invert(1); }
.spec h3 { font-size: 1rem; margin-bottom: 4px; }
.spec p { font-size: .84rem; color: var(--muted); margin: 0 0 10px; }
.spec__more { margin-top: auto; font-size: .85rem; font-weight: 700; color: var(--purple); display: inline-flex; align-items: center; gap: 4px; }

/* ---------- 11. Treatment packages ---------- */
.pkg-grid { display: grid; gap: 18px; }
.pkg { position: relative; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 26px 22px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.pkg:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pkg--featured { border: 2px solid var(--purple); box-shadow: var(--shadow); }
.pkg__badge { position: absolute; top: -12px; left: 22px; background: var(--green); color: #fff; font-size: .72rem; font-weight: 700; padding: .3em .9em; border-radius: 999px; letter-spacing: .03em; }
.pkg__icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--purple)); color: #fff; margin-bottom: 16px; }
.pkg__icon svg { width: 28px; height: 28px; }
.pkg > p { color: var(--muted); font-size: .93rem; }
.pkg__list { display: grid; gap: 8px; margin-bottom: 18px; }
.pkg__list li { display: flex; gap: 8px; align-items: center; font-size: .9rem; color: var(--navy); }
.pkg__list .ico { color: var(--green); }
.pkg__price { margin-top: auto !important; font-weight: 700; color: var(--purple) !important; font-size: .95rem !important; margin-bottom: 14px !important; }

/* ---------- 12. Need assistance strip ---------- */
.assist { background: linear-gradient(100deg, var(--navy-950) 0%, var(--navy) 45%, var(--purple) 100%); color: #fff; padding: 36px 0; }
.assist__inner { display: grid; gap: 18px; justify-items: center; text-align: center; }
.assist__icon { width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--purple); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(255,255,255,.18); }
.assist__icon svg { width: 34px; height: 34px; }
.assist h2 { color: #fff; margin-bottom: 4px; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.assist p { margin: 0; color: #e4dcef; }
.assist .btn--wa { background: #fff; color: var(--purple); }
.assist .btn--wa:hover { background: var(--purple-900); color: #fff; }

/* ---------- 13. Doctor carousel ---------- */
.carousel-nav { display: none; gap: 8px; }
.carousel-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; transition: all .2s; }
.carousel-btn:hover { background: var(--purple); color: #fff; border-color: var(--purple); }
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; padding: 4px 16px 20px; margin: 0 -16px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.carousel > * { scroll-snap-align: start; }
.filters { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px 22px; padding: 2px 16px 6px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter { flex: none; border: 1.5px solid var(--line); background: #fff; color: var(--navy); padding: .55em 1.15em; border-radius: 999px; font-weight: 500; font-size: .88rem; transition: all .2s; }
.filter:hover { border-color: var(--purple); color: var(--purple); }
.filter.is-active { background: var(--purple); border-color: var(--purple); color: #fff; }
.carousel-count { margin: 4px 0 0; font-size: .85rem; color: var(--muted); }
.doc-card.is-hidden { display: none; }
.doc-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.doc-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.doc-card__photo { aspect-ratio: 1 / 1; background: var(--bg-navy); overflow: hidden; }
.doc-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; transition: transform .4s; }
.doc-card:hover .doc-card__photo img { transform: scale(1.04); }
.doc-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.doc-card__body h3 { margin-bottom: 4px; }
.doc-card__role { color: var(--purple); font-weight: 500; font-size: .88rem; line-height: 1.4; margin-bottom: 10px; }
.doc-card__meta { display: grid; gap: 4px; font-size: .84rem; color: var(--muted); margin-bottom: 16px; }
.doc-card__meta li { display: flex; gap: 6px; align-items: flex-start; }
.doc-card__meta .ico { margin-top: 3px; color: var(--green); }
.doc-card__actions { display: flex; gap: 8px; margin-top: auto; }
.doc-card__actions .btn--primary { flex: 1; }

/* ---------- 14. Hospitals ---------- */
.hosp-grid { display: grid; gap: 18px; }
.hosp { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.hosp:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.hosp__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-navy); }
.hosp__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hosp:hover .hosp__img img { transform: scale(1.05); }
.hosp__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.hosp__body h3 { margin: 10px 0 4px; }
.hosp__body p { margin: 0 0 12px; color: var(--muted); font-size: .9rem; display: flex; gap: 6px; align-items: center; }
.hosp__body p .ico { color: var(--green); }
.hosp__body .hosp__line { display: block; font-size: .86rem; color: var(--text); margin-bottom: 14px; }
.hosp__link { margin-top: auto; font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.tag { align-self: flex-start; display: inline-block; font-size: .72rem; font-weight: 700; color: var(--purple); background: var(--bg-purple); padding: .3em .8em; border-radius: 999px; }

/* ---------- 15. Second-opinion banner ---------- */
.opinion { color: #fff; padding: 64px 0; background: radial-gradient(520px 320px at 100% 0%, rgba(155,52,145,.55), transparent 60%), radial-gradient(420px 300px at 0% 100%, rgba(55,184,115,.2), transparent 60%), linear-gradient(120deg, var(--navy-950), var(--navy)); }
.opinion__grid { display: grid; gap: 32px; align-items: center; }
.opinion h2 { color: #fff; }
.opinion__copy p { color: #d3dfeb; font-size: 1.05rem; }
.opinion__points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; }
.opinion__points li { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; }
.opinion__points .ico { color: var(--green); }
.opinion__form { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-lg); padding: 24px; display: grid; gap: 14px; }
.opinion__form .field label { color: #e3ecf5; }
.opinion__form .field input { background: #fff; border-color: transparent; }
.upload { display: flex !important; align-items: center; gap: 12px; border: 2px dashed rgba(255,255,255,.45); border-radius: var(--radius); padding: 16px; cursor: pointer; transition: border-color .2s, background .2s; }
.upload:hover, .upload.has-file { border-color: var(--green); background: rgba(55,184,115,.1); }
.upload .ico { width: 32px; height: 32px; color: var(--green); }
.upload__text { font-size: .85rem; color: #d3dfeb; font-weight: 400; }
.upload__text strong { display: block; color: #fff; font-size: 1rem; }
.upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload:focus-within { outline: 3px solid var(--green); outline-offset: 2px; }
.opinion__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 16. About + USPs ---------- */
.about { display: grid; gap: 32px; align-items: center; margin-bottom: 48px; }
.about__media { position: relative; }
.about__media > img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about__badge { position: absolute; right: 12px; bottom: -18px; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: var(--radius); padding: 10px 16px 10px 12px; box-shadow: var(--shadow); }
.about__badge img { width: 26px; height: auto; }
.about__badge span { font-size: .78rem; color: var(--muted); line-height: 1.3; }
.about__badge strong { display: block; color: var(--navy); font-size: .95rem; }
.about__copy p { color: var(--muted); font-size: 1.02rem; }
.usp-grid { display: grid; gap: 18px; }
.usp { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.usp:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.usp__icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: #e6f6ee; color: var(--green-700); margin-bottom: 16px; transition: background .2s, color .2s; }
.usp:hover .usp__icon { background: var(--green); color: #fff; }
.usp__icon svg { width: 27px; height: 27px; }
.usp p { color: var(--muted); margin: 0; font-size: .94rem; }

/* ---------- 17. How it works ---------- */
.steps { display: grid; gap: 16px; }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 24px 22px 22px; border: 1px solid var(--line); }
.step__num { position: absolute; top: 14px; right: 18px; font-size: 2.6rem; font-weight: 800; color: var(--bg-purple); line-height: 1; -webkit-text-stroke: 1px #ecd2e8; }
.step__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-items: center; margin-bottom: 14px; }
.step__icon svg { width: 24px; height: 24px; }
.step p { margin: 0; color: var(--muted); font-size: .93rem; }

/* ---------- 18. FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); transition: background .2s, border-color .2s; }
.faq details[open] { background: #fff; border-color: #e7c9e3; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; font-weight: 700; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--bg-purple); color: var(--purple); display: grid; place-items: center; font-size: 1.3rem; font-weight: 400; }
.faq details[open] summary::after { content: "−"; background: var(--purple); color: #fff; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* ---------- 19. Patient stories ---------- */
.story-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.story { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.story__media { position: relative; aspect-ratio: 4 / 3; border: 0; padding: 0; width: 100%; display: grid; place-items: center; background: var(--navy); overflow: hidden; }
.story__media:disabled { cursor: default; }
.story__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.story__play { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--purple); display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(255,255,255,.25); transition: transform .2s; }
.story__media:disabled .story__play { display: none; }
.story__media:not(:disabled):hover .story__play { transform: scale(1.08); }
.story__play svg { width: 24px; height: 24px; margin-left: 3px; }
.story__body { padding: 14px 16px; }
.story__who { margin: 0; font-size: .85rem; color: var(--muted); }
.story__who strong { display: block; color: var(--navy); font-size: 1rem; }
.badges { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
.badges li { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; font-size: .85rem; font-weight: 500; color: var(--navy); }
.badges .ico { color: var(--green); width: 22px; height: 22px; }

/* ---------- 20. Footer ---------- */
.footer { background: var(--navy-950); color: #b3c3d3; font-size: .93rem; }
.footer__cta { background: linear-gradient(90deg, var(--purple-900), var(--purple)); }
.footer__cta-inner { display: grid; gap: 18px; padding-top: 32px; padding-bottom: 32px; }
.footer__cta h2 { color: #fff; font-size: clamp(1.3rem, 3vw, 1.8rem); margin-bottom: 4px; }
.footer__cta p { margin: 0; color: #f3dcf0; }
.footer__cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer__cta .btn--wa { background: var(--navy-950); }
.footer__cta .btn--wa:hover { background: var(--navy); }
.footer__grid { display: grid; gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer a { color: #b3c3d3; }
.footer a:hover { color: #9ff0c3; }
.footer__col ul { display: grid; gap: 10px; }
.footer__brand img { width: 170px; height: auto; }
.footer__about p { margin: 16px 0 20px; }
.social { display: flex !important; gap: 10px; }
.social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: background .2s; }
.social a:hover { background: var(--purple); color: #fff; }
.social svg { width: 18px; height: 18px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .ico { color: var(--green); margin-top: 3px; }
.footer__emergency { margin-top: 16px; font-size: .82rem; padding: 10px 12px; border-left: 3px solid var(--green); background: rgba(255,255,255,.04); border-radius: 0 6px 6px 0; }
.footer__disclaimer { padding-bottom: 28px; }
.footer__disclaimer p { font-size: .8rem; color: #8397ab; margin: 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); }
.footer__bottom { background: #0a1a29; padding: 16px 0; font-size: .82rem; }
.footer__bottom-inner { display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; }
.footer__bottom p { margin: 0; }
.footer__bottom ul { display: flex; gap: 18px; }

/* ---------- 21. Floating WhatsApp + mobile bar ---------- */
.wa-float { position: fixed; right: 16px; bottom: 76px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--purple), var(--purple-900)); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(155,52,145,.45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); animation: pulse 2.2s infinite; z-index: -1; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: 1fr 1fr 1.6fr; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(15,37,57,.08); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 14px 6px; font-weight: 700; font-size: .88rem; color: var(--navy); }
.mobile-bar a + a { border-left: 1px solid var(--line); }
.mobile-bar a[href*="wa.me"] .ico { color: var(--purple); }
.mobile-bar__cta { background: var(--purple); color: #fff !important; }

/* ---------- 22. Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .usp-grid, .hosp-grid, .pkg-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .carousel { grid-auto-columns: calc((100% - 16px) / 2); }
  .badges { grid-template-columns: repeat(4, 1fr); }
  .assist__inner { grid-template-columns: auto 1fr auto; justify-items: start; text-align: left; align-items: center; gap: 24px; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom-inner { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 900px) {
  :root { --header-h: 84px; }
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .wa-float { bottom: 24px; right: 24px; }
  .topbar { display: block; }
  .logo img { height: 60px; }

  .nav { position: static; transform: none; visibility: visible; background: none; padding: 0; border: 0; box-shadow: none; }
  .nav__list { display: flex; gap: 26px; }
  .nav__list a { border: 0; padding: 6px 0; position: relative; }
  .nav__list a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--purple); transition: width .2s; }
  .nav__list a:hover::after { width: 100%; }
  .nav__cta-mobile, .nav-toggle { display: none; }
  .header__cta { display: inline-flex; }

  .section { padding: 88px 0; }
  .hs__slide { min-height: 600px; padding: 72px 0 120px; }
  .hs__arrow { display: grid; }
  .hs__dots { bottom: 96px; }
  .hs__slide--portrait::before { left: auto; width: min(46%, 640px); background-size: cover; background-position: center 15%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%); mask-image: linear-gradient(90deg, transparent 0, #000 38%); }
  .hs__slide--portrait::after { background: linear-gradient(90deg, rgba(15,37,57,.96) 0%, rgba(31,68,104,.9) 50%, rgba(31,68,104,.25) 75%, rgba(155,52,145,.15) 100%); }
  .hs__inner { padding: 0 56px; }
  .appt { margin-top: -72px; }
  .appt__card { grid-template-columns: .9fr 1.1fr; }
  .appt__intro { padding: 40px 36px; border-bottom: 0; border-right: 1px solid var(--line); }
  .appt__form { padding: 36px; }
  .stats__grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .spec-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .pkg-grid { grid-template-columns: repeat(4, 1fr); }
  .hosp-grid { grid-template-columns: repeat(4, 1fr); }
  .usp-grid { grid-template-columns: repeat(3, 1fr); }
  .story-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .steps { grid-template-columns: repeat(5, 1fr); }
  .about { grid-template-columns: 1fr 1fr; gap: 56px; margin-bottom: 64px; }
  .carousel-nav { display: flex; }
  .carousel { grid-auto-columns: calc((100% - 32px) / 3); scrollbar-width: none; }
  .carousel::-webkit-scrollbar { display: none; }
  .opinion { padding: 88px 0; }
  .opinion__grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .opinion__form { padding: 32px; }
  .footer__cta-inner { grid-template-columns: 1fr auto; align-items: center; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.5fr; }
}

@media (min-width: 1140px) {
  .header__phone { display: inline-flex; }
  .carousel { grid-auto-columns: calc((100% - 48px) / 4); }
}
