/* ==========================================================================
   Caring Hands Clinic — Design System (v2, blue, reference-matched)
   Visual language adapted from the reference design for a clean, smooth,
   trustworthy medical clinic. Content © Caring Hands Clinic.
   ========================================================================== */

:root {
  /* Brand — bright medical blue */
  --blue:        #29ABE2;
  --blue-deep:   #1B8FC4;
  --blue-dark:   #0E6C9A;
  --navy:        #0B1F33;
  --navy-soft:   #14304B;
  --accent:      #8FD6F4;
  --accent-soft: #E2F4FC;

  --ink:        #15212E;
  --muted:      #6B7886;
  --line:       #E6ECF1;
  --bg-cool:    #F4F6F8;
  --bg-warm:    #F6FBFE;
  --white:      #FFFFFF;

  --blue-tint:  #EAF6FC;
  --blue-tint2: #CDEAF8;

  --shadow-sm: 0 4px 14px rgba(11,31,51,.06);
  --shadow:    0 16px 40px rgba(11,31,51,.10);
  --shadow-lg: 0 30px 70px rgba(11,31,51,.16);
  --radius:    18px;
  --radius-lg: 30px;
  --radius-pill: 999px;

  --container: 1220px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ff-head: "Poppins", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body); color: var(--ink); background: #EFF6FC;
  line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1,h2,h3,h4,h5 { font-family: var(--ff-head); color: var(--ink); line-height: 1.12; font-weight: 700; letter-spacing: -.01em; }

/* ----------------------------- Layout ----------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(60px, 8vw, 110px); }
.section--cool { background: #E3EDF7; } /* on-brand alt band: deeper soft-blue so white cards pop + rhythm reads (was grey --bg-cool) */
.section--warm { background: var(--bg-warm); }
.section--tight { padding-block: clamp(44px, 5vw, 72px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ff-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--blue-deep);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--blue); border-radius: 3px; }
.eyebrow--center { justify-content: center; }

.h-display { font-size: clamp(2.1rem, 5vw, 3.8rem); text-transform: uppercase; font-weight: 800; }
.h-section { font-size: clamp(1.85rem, 3.6vw, 2.9rem); text-transform: uppercase; font-weight: 800; }
.lead { font-size: clamp(1.04rem, 1.3vw, 1.2rem); color: var(--muted); }
.text-accent { color: var(--blue); }

.section-head { max-width: 720px; margin: 0 auto clamp(38px, 5vw, 60px); text-align: center; }
.section-head .lead { margin-top: 16px; }

/* ----------------------------- Buttons ---------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--ff-head); font-weight: 600; font-size: .96rem;
  padding: 14px 28px; border-radius: var(--radius-pill);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 12px 26px rgba(41,171,226,.34); }
.btn--primary:hover { background: var(--blue-deep); transform: translateY(-3px); box-shadow: 0 18px 34px rgba(27,143,196,.42); }
.btn--ghost { background: transparent; color: var(--blue-deep); box-shadow: inset 0 0 0 2px var(--blue-tint2); }
.btn--ghost:hover { background: var(--blue-tint); transform: translateY(-3px); }
.btn--white { background: #fff; color: var(--blue-deep); box-shadow: var(--shadow-sm); }
.btn--white:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn--lg { padding: 16px 34px; font-size: 1rem; }
.btn--badge { padding: 7px 26px 7px 7px; }
.btn--badge .badge { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.22); flex: none; }
.btn--badge.btn--white .badge, .btn--badge.btn--primary .badge { background: rgba(255,255,255,.2); }
.btn--badge.btn--white .badge { background: var(--blue-tint); }
.btn--badge .badge svg { width: 20px; height: 20px; }

/* ----------------------------- Header ----------------------------------- */
.topbar { background: #fff; border-bottom: 1px solid var(--line); overflow: visible; }
.topbar__inner { display: flex; align-items: center; gap: 24px; padding-block: 5px; }
.brand { display: flex; align-items: center; height: 38px; position: relative; z-index: 3; }
.brand img { height: 84px; width: auto; }
.topbar__info { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.pill-info { display: flex; align-items: center; gap: 12px; }
.pill-info .circ { width: 44px; height: 44px; border-radius: 50%; background: var(--blue-tint); color: var(--blue-deep); display: grid; place-items: center; flex: none; }
.pill-info .circ svg { width: 20px; height: 20px; }
.pill-info small { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.pill-info b { font-family: var(--ff-head); font-weight: 600; font-size: .96rem; color: var(--ink); }

.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: transparent; box-shadow: none; transition: transform .45s var(--ease), opacity .45s var(--ease), visibility .45s var(--ease), background .3s, box-shadow .3s; }
.navbar.solid { background: #fff; box-shadow: 0 6px 22px rgba(11,31,51,.08); }
.navbar.hide { transform: translateY(-100%); }
.navbar__inner { display: flex; align-items: center; gap: 8px; padding-block: 6px; max-width: 100%; padding-inline: 40px; }
.navbar .brand-mini { display: flex; align-items: center; margin-right: 30px; }
.navbar .brand-mini img { height: 96px; width: auto; }

.nav__menu { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__menu a { font-family: var(--ff-head); font-weight: 600; font-size: .92rem; color: var(--ink); padding: 22px 16px; position: relative; transition: color .2s; }
.nav__menu > a::after, .nav__item > a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 14px; height: 3px; border-radius: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__menu > a:hover::after, .nav__menu > a.active::after, .nav__item:hover > a::after, .nav__item > a.active::after { transform: scaleX(1); }
.nav__menu a:hover, .nav__menu a.active { color: var(--blue-deep); }

.nav__item { position: relative; }
.nav__item > a .caret { width: 13px; height: 13px; margin-left: 2px; transition: transform .3s; vertical-align: -1px; }
.nav__item:hover > a .caret { transform: rotate(180deg); }
.nav__drop { position: absolute; top: 100%; left: 0; padding-top: 4px; min-width: 250px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .28s var(--ease); }
.nav__item:hover .nav__drop { opacity: 1; visibility: visible; transform: none; }
.nav__drop ul { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 10px; }
.nav__drop a { display: flex; gap: 12px; align-items: center; padding: 11px 14px; border-radius: 11px; font-size: .92rem; color: var(--ink); }
.nav__drop a::after { display: none; }
.nav__drop a .di { width: 32px; height: 32px; border-radius: 9px; background: var(--blue-tint); color: var(--blue-deep); display: grid; place-items: center; flex: none; }
.nav__drop a .di svg { width: 17px; height: 17px; }
.nav__drop a:hover { background: var(--blue-tint); color: var(--blue-deep); }

.navbar__cta { margin-left: 28px; }
.nav__burger { display: none; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-tint); place-items: center; }
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; transition: .3s; }
.nav__burger span::before, .nav__burger span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }
.nav__burger span::before { top: -7px; }
.nav__burger span::after { top: 7px; }
body.menu-open .nav__burger span { background: transparent; }
body.menu-open .nav__burger span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav__burger span::after { top: 0; transform: rotate(-45deg); }

/* ------------------------------ Hero ------------------------------------ */
.hero { position: relative; overflow: clip; background: var(--bg-cool); min-height: clamp(520px, 70vh, 700px); display: flex; }
.hero__photo { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__shape { position: absolute; top: 0; right: 0; width: 64%; height: 100%; z-index: 1; opacity: .9; }
.hero__shape svg { width: 100%; height: 100%; display: block; }
.hero__content { position: relative; z-index: 2; margin-left: auto; width: 47%; min-height: inherit; display: flex; flex-direction: column; justify-content: center; padding: clamp(40px,5vw,72px) clamp(28px,4.5vw,68px) clamp(40px,5vw,72px) 0; color: #fff; }
.hero__content .eyebrow { color: #fff; }
.hero__content .eyebrow::before { background: var(--accent); }
.hero__content h1 { color: #fff; font-size: clamp(2rem, 3.4vw, 3.3rem); text-transform: uppercase; line-height: 1.08; font-weight: 800; }
.hero__content p { color: rgba(255,255,255,.95); margin-top: 18px; font-size: 1.08rem; max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.28); }
.hero__trust div { font-size: .84rem; color: rgba(255,255,255,.9); }
.hero__trust strong { display: block; font-family: var(--ff-head); font-weight: 600; font-size: 1rem; color: #fff; }

/* page hero (inner pages) */
.phero { position: relative; padding: 78px 0 88px; background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff; overflow: clip; }
.phero::after { content: ""; position: absolute; right: -120px; top: -140px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle at center, rgba(255,255,255,.22), transparent 70%); }
.phero::before { content: ""; position: absolute; left: -80px; bottom: -160px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle at center, rgba(255,255,255,.14), transparent 70%); }
.phero__inner { position: relative; z-index: 2; max-width: 780px; }
.phero .eyebrow { color: #fff; }
.phero .eyebrow::before { background: var(--accent); }
.phero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); text-transform: uppercase; font-weight: 800; }
.phero p { color: rgba(255,255,255,.92); margin-top: 16px; font-size: 1.1rem; max-width: 60ch; }
.crumbs { display: flex; gap: 8px; font-size: .85rem; color: rgba(255,255,255,.75); margin-bottom: 20px; font-weight: 500; }
.crumbs a:hover { color: #fff; }
/* inner-page hero background video */
.phero--video { background: var(--navy); }
.phero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.phero__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(115deg, rgba(11,31,51,.9) 0%, rgba(14,108,154,.82) 55%, rgba(41,171,226,.72) 100%); }
.phero--video::after, .phero--video::before { z-index: 1; }
.phero--video .phero__inner { position: relative; z-index: 2; }

/* --------------------------- Service cards ------------------------------ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 30px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  position: relative; overflow: hidden;
}
.card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card__ic { width: 76px; height: 76px; border-radius: 50%; background: var(--blue-tint); color: var(--blue-deep); display: grid; place-items: center; margin-bottom: 22px; transition: background .4s, color .4s, transform .4s var(--ease); }
.card:hover .card__ic { background: var(--blue); color: #fff; transform: translateY(-4px); }
.card__ic svg { width: 36px; height: 36px; }
.card h3 { font-size: 1.26rem; margin-bottom: 10px; font-weight: 700; }
.card p { color: var(--muted); font-size: .98rem; }
.card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-family: var(--ff-head); font-weight: 600; font-size: .88rem; letter-spacing: .03em; text-transform: uppercase; color: var(--blue-deep); }
.card__link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.card:hover .card__link svg { transform: translateX(5px); }
.card .tag { position: absolute; top: 22px; right: 22px; font-family: var(--ff-head); font-weight: 600; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-deep); background: var(--blue-tint); padding: 5px 11px; border-radius: var(--radius-pill); }

/* ----------------------- Why choose (blue band) ------------------------- */
.why { background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff; position: relative; overflow: clip; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.why .eyebrow { color: #fff; } .why .eyebrow::before { background: #fff; }
.why h2 { color: #fff; }
.why__list { margin-top: 28px; display: grid; gap: 22px; }
.why__item { display: flex; gap: 18px; }
.why__item .ic { width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; flex: none; }
.why__item .ic svg { width: 26px; height: 26px; color: #fff; }
.why__item h4 { color: #fff; font-size: 1.12rem; margin-bottom: 4px; font-weight: 600; }
.why__item p { color: rgba(255,255,255,.86); font-size: .96rem; }
.why__media { position: relative; }
.why__media img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 50% 50% 50% 14px / 50% 50% 14px 50%; box-shadow: var(--shadow-lg); }
.why__media .float { position: absolute; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 15px 19px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; }
.why__media .float.tr { top: 22px; right: -8px; } .why__media .float.bl { bottom: 22px; left: -8px; }
.why__media .float .dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-tint); color: var(--blue-deep); flex: none; }
.why__media .float .dot svg { width: 22px; height: 22px; }
.why__media .float b { font-family: var(--ff-head); font-weight: 600; font-size: .95rem; display: block; }
.why__media .float span { font-size: .78rem; color: var(--muted); }

/* --------------------------- Feature rows ------------------------------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 78px); align-items: center; }
.feature--rev .feature__media { order: 2; }
.feature__media { position: relative; }
.feature__media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.feature__media.rounded img { border-radius: 50% 14px 50% 14px / 14px 50% 14px 50%; }
.feature h2 { margin-bottom: 18px; }
.feature p + p { margin-top: 14px; }
.feature .lead { margin-bottom: 18px; }
.feature__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; }
.checklist { display: grid; gap: 14px; margin-top: 8px; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; color: var(--ink); }
.checklist li svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 2px; }
.checklist li b { font-family: var(--ff-head); font-weight: 600; }

/* ------------------------------ Steps ----------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; position: relative; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--ff-head); font-weight: 800; font-size: 2.4rem; color: var(--blue-tint2); line-height: 1; display: block; margin-bottom: 14px; }
.step h4 { font-size: 1.15rem; margin-bottom: 8px; font-weight: 600; }
.step p { color: var(--muted); font-size: .96rem; }

/* ------------------------------ Team ------------------------------------ */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.member { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.member .av { width: 66px; height: 66px; border-radius: 50%; background: linear-gradient(150deg, var(--blue-tint), var(--blue-tint2)); color: var(--blue-deep); display: grid; place-items: center; font-family: var(--ff-head); font-weight: 700; font-size: 1.3rem; margin-bottom: 18px; }
.member h4 { font-size: 1.12rem; font-weight: 700; }
.member .role { font-family: var(--ff-head); font-weight: 600; font-size: .85rem; color: var(--blue-deep); margin-top: 3px; }
.member p { color: var(--muted); font-size: .92rem; margin-top: 10px; }

/* ------------------------------- FAQ ------------------------------------ */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 16px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq__item.open { box-shadow: var(--shadow); border-color: transparent; }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; text-align: left; font-family: var(--ff-head); font-weight: 600; font-size: 1.04rem; color: var(--ink); }
.faq__q .pm { width: 30px; height: 30px; border-radius: 50%; background: var(--blue-tint); color: var(--blue-deep); display: grid; place-items: center; flex: none; transition: transform .35s var(--ease), background .3s, color .3s; }
.faq__q .pm svg { width: 16px; height: 16px; }
.faq__item.open .pm { background: var(--blue); color: #fff; transform: rotate(135deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__a p { padding: 0 26px 24px; color: var(--muted); }

/* ----------------------- Journey (light band) --------------------------- */
.journey { background: var(--blue-tint); position: relative; overflow: clip; }
.journey__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.journey__text { padding: clamp(48px,6vw,96px) clamp(24px,4vw,56px) clamp(48px,6vw,96px) 0; align-self: center; }
.journey__media { position: relative; min-height: 440px; }
.journey__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.journey__curve { position: absolute; left: -1px; top: 0; height: 100%; width: 130px; z-index: 2; }
.journey__curve svg { height: 100%; width: 100%; display: block; }

/* ------------------------------ CTA band -------------------------------- */
.ctaband { position: relative; overflow: clip; }
.ctaband__inner { background: linear-gradient(155deg, var(--navy) 0%, var(--navy-soft) 100%); border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); color: #fff; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.ctaband__inner::before { content: ""; position: absolute; right: -80px; bottom: -80px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(41,171,226,.5), transparent 70%); }
.ctaband h2 { color: #fff; position: relative; z-index: 2; }
.ctaband p { color: rgba(255,255,255,.85); margin-top: 16px; position: relative; z-index: 2; }
.ctaband__actions { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 2; }
.ctaband__actions .btn { justify-content: center; }

/* ------------------------------ Contact --------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 60px); align-items: start; }
.info-list { display: grid; gap: 16px; margin-top: 8px; }
.info-row { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .3s, transform .3s; }
.info-row:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.info-row .ic { width: 48px; height: 48px; border-radius: 50%; background: var(--blue-tint); color: var(--blue-deep); display: grid; place-items: center; flex: none; }
.info-row .ic svg { width: 23px; height: 23px; }
.info-row h4 { font-size: 1.02rem; font-weight: 600; }
.info-row p, .info-row a { color: var(--muted); font-size: .98rem; }
.info-row a:hover { color: var(--blue-deep); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { font-family: var(--ff-head); font-weight: 600; font-size: .9rem; display: block; margin-bottom: 7px; }
.field input, .field textarea { width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink); padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg-cool); transition: border-color .25s, background .25s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form__note { font-size: .82rem; color: var(--muted); margin-top: 14px; text-align: center; }

.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ------------------------------ Notice ---------------------------------- */
.notice { background: var(--blue-tint); border: 1px solid var(--blue-tint2); border-radius: var(--radius); padding: 22px 26px; display: flex; gap: 16px; align-items: flex-start; }
.notice .ic { color: var(--blue-deep); flex: none; }
.notice .ic svg { width: 24px; height: 24px; }
.notice p { color: var(--navy-soft); font-size: .96rem; }
.notice b { font-family: var(--ff-head); font-weight: 600; }

/* ------------------------------ Footer ---------------------------------- */
.footer { background: var(--navy); color: rgba(255,255,255,.72); padding: clamp(56px,7vw,84px) 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand img { height: 64px; background: #fff; padding: 8px 10px; border-radius: 12px; margin-bottom: 18px; }
.footer__brand p { font-size: .96rem; max-width: 36ch; }
.footer h5 { color: #fff; font-family: var(--ff-head); font-weight: 600; font-size: .92rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; }
.footer__links { display: grid; gap: 11px; }
.footer__links a { font-size: .96rem; transition: color .2s, padding .2s; display: inline-flex; align-items: center; gap: 8px; }
.footer__links a:hover { color: #fff; padding-left: 5px; }
.footer__contact { display: grid; gap: 14px; }
.footer__contact .r { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; }
.footer__contact .r svg { width: 18px; height: 18px; color: var(--blue); flex: none; margin-top: 3px; }
.footer__contact a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .3s, transform .3s; }
.socials a:hover { background: var(--blue); transform: translateY(-3px); }
.socials a svg { width: 19px; height: 19px; color: #fff; }
.footer__bottom { margin-top: clamp(40px,5vw,60px); border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer__bottom a:hover { color: #fff; }

/* --------------------------- Animations --------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } html { scroll-behavior: auto; } }

/* --------------------------- Responsive --------------------------------- */
@media (max-width: 1024px) {
  .topbar__info { gap: 18px; }
  .pill-info small { display: none; }
  .cards, .steps, .team { grid-template-columns: repeat(2, 1fr); }
  .why__grid, .feature, .contact-grid, .ctaband__inner, .journey__grid { grid-template-columns: 1fr; }
  .feature--rev .feature__media { order: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .journey__media { min-height: 320px; } .journey__curve { display: none; }
  .journey__text { padding: clamp(40px,6vw,72px) 0; }
}
@media (max-width: 900px) {
  .hero { flex-direction: column; min-height: 0; }
  .hero__photo { position: relative; width: 100%; height: 280px; }
  .hero__shape { display: none; }
  .hero__content { width: 100%; background: linear-gradient(160deg, var(--blue), var(--blue-deep)); padding: 44px 24px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .topbar__info .pill-info { display: none; }
  .brand img { height: 54px; }
  .navbar .brand-mini img { height: 56px; }
  .navbar .brand-mini { margin-right: auto; }
  .navbar__inner { padding-inline: 20px; }
  .nav__menu { margin-left: 0; }
  .nav__menu {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); background: #fff;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 90px 20px 32px; gap: 4px; transform: translateX(105%);
    transition: transform .4s var(--ease); box-shadow: var(--shadow-lg); z-index: 105;
  }
  body.menu-open .nav__menu { transform: none; }
  .nav__menu > a, .nav__item > a { font-size: 1.05rem; padding: 14px 16px; }
  .nav__menu > a::after, .nav__item > a::after { display: none; }
  .nav__item { width: 100%; }
  .nav__item > a .caret { display: none; }
  .nav__drop { position: static; opacity: 1; visibility: visible; transform: none; padding-top: 0; min-width: 0; }
  .nav__drop ul { border: none; box-shadow: none; padding: 0 0 0 12px; }
  .nav__burger { display: grid; margin-left: auto; }
  .navbar__cta { display: none; }
  .nav-overlay { position: fixed; inset: 0; background: rgba(11,31,51,.45); opacity: 0; visibility: hidden; transition: .3s; z-index: 104; }
  body.menu-open .nav-overlay { opacity: 1; visibility: visible; }
  .cards, .cards--2, .steps, .team { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; }
}

/* ===== Soft Medical (Mockup C) — home + inner heroes & components ===== */
.cHero{position:relative;overflow:hidden;background:#F7FBFE;padding:148px 0 clamp(46px,6vw,82px);text-align:center;}
.cHero--inner{padding:132px 0 clamp(38px,5vw,62px);}
.cHero .mesh{position:absolute;inset:0;z-index:0;}
.cHero .mesh::before{content:"";position:absolute;width:560px;height:560px;border-radius:50%;background:radial-gradient(circle,#29ABE2,transparent 60%);opacity:.22;filter:blur(20px);top:-160px;left:-120px;}
.cHero .mesh::after{content:"";position:absolute;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,#8FD6F4,transparent 60%);opacity:.3;filter:blur(20px);top:-120px;right:-100px;}
.cHero__in{position:relative;z-index:1;max-width:840px;margin:0 auto;}
.cHero .crumbs{justify-content:center;color:var(--muted);margin-bottom:16px;}
.cHero .crumbs a:hover{color:var(--blue-deep);}
.cHero .pill{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-sm);border-radius:999px;padding:8px 18px;font-family:var(--ff-head);font-weight:600;font-size:.84rem;color:var(--blue-deep);margin-bottom:20px;}
.cHero h1{font-size:clamp(2.2rem,5vw,4rem);line-height:1.06;text-transform:none;letter-spacing:-.025em;color:var(--ink);}
.cHero--inner h1{font-size:clamp(2rem,4vw,3.2rem);}
.cHero h1 .text-accent{color:var(--blue);}
.cHero p{font-size:1.16rem;color:var(--muted);margin:20px auto 0;max-width:60ch;}
.cHero__actions{display:flex;gap:14px;justify-content:center;margin-top:30px;flex-wrap:wrap;}
.cHero__media{position:relative;z-index:1;max-width:1000px;margin:clamp(36px,5vw,60px) auto 0;}
.cHero__media video{width:100%;height:clamp(280px,38vw,440px);object-fit:cover;border-radius:28px 28px 0 0;box-shadow:0 -10px 60px rgba(11,31,51,.16);border:10px solid #fff;border-bottom:none;}
.cHero__badges{display:flex;gap:24px;justify-content:center;flex-wrap:wrap;margin-top:26px;}
.cHero__badges span{color:var(--muted);font-size:.9rem;display:inline-flex;align-items:center;gap:8px;}
.cHero__badges svg{width:18px;height:18px;color:var(--blue);}
.zoomin{opacity:0;transform:scale(.6);animation:zoomIn .7s var(--ease) both;}
@keyframes zoomIn{to{opacity:1;transform:scale(1);}}
/* tall video-background hero (home + any page that opts in) */
.cHero--media{min-height:90vh;background:var(--navy);display:flex;align-items:center;justify-content:center;padding-block:clamp(110px,14vh,150px);}
.cHero--media.cHero--top{align-items:flex-start;}
.cHero--media .cHero__in{position:relative;z-index:2;}
.cHero__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;}
.cHero__overlay{position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(9,27,45,.6) 0%,rgba(12,82,132,.66) 100%);}
.cHero--media h1{color:#fff;text-shadow:0 2px 22px rgba(0,0,0,.45);}
.cHero--media h1 .text-accent,.cHero--media .pulse{color:var(--blue);}
.cHero--media p{color:rgba(255,255,255,.95);text-shadow:0 1px 12px rgba(0,0,0,.4);}
.cHero--media .crumbs{color:rgba(255,255,255,.82);}
.cHero--media .crumbs a:hover{color:#fff;}
.cHero--media .cHero__badges span{color:#fff;}
.cHero--media .cHero__badges svg{color:var(--blue);}
.darkhero .navbar:not(.solid) .nav__menu a{color:#fff;}
.darkhero .navbar:not(.solid) .nav__menu > a::after,.darkhero .navbar:not(.solid) .nav__item > a::after{background:#fff;}
.darkhero .navbar:not(.solid) .brand-mini img{filter:drop-shadow(0 2px 8px rgba(0,0,0,.5));}
.hero-scroll{position:absolute;left:50%;bottom:26px;z-index:3;display:flex;flex-direction:column;align-items:center;gap:7px;color:rgba(255,255,255,.85);font-family:var(--ff-head);font-weight:600;font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;animation:bobble 1.8s ease-in-out infinite;}
.hero-scroll svg{width:24px;height:24px;}
@keyframes bobble{0%,100%{transform:translate(-50%,0);}50%{transform:translate(-50%,9px);}}
.soft{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.scard{background:#fff;border-radius:24px;padding:34px 30px;box-shadow:0 10px 40px rgba(11,31,51,.06);border:1px solid #eef3f7;transition:transform .4s var(--ease),box-shadow .4s;}
.scard:hover{transform:translateY(-8px);box-shadow:0 24px 60px rgba(11,31,51,.12);}
.scard .ic{width:64px;height:64px;border-radius:18px;display:grid;place-items:center;color:#fff;margin-bottom:20px;background:linear-gradient(150deg,#3DB6EC,#1B8FC4);box-shadow:0 10px 22px rgba(41,171,226,.35);}
.scard .ic svg{width:32px;height:32px;}
.scard h3{font-size:1.22rem;}
.scard p{color:var(--muted);margin-top:8px;font-size:.96rem;}
.scard a{display:inline-flex;align-items:center;gap:8px;margin-top:16px;font-family:var(--ff-head);font-weight:600;color:var(--blue-deep);font-size:.9rem;}
.scard a svg{width:16px;height:16px;}
.glass{background:linear-gradient(160deg,#EAF6FC,#F7FBFE);}
.glassrow{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.gcard{background:rgba(255,255,255,.7);backdrop-filter:blur(10px);border:1px solid #fff;border-radius:22px;padding:30px;}
.gcard .n{font-family:var(--ff-head);font-weight:800;font-size:2.4rem;color:var(--blue);line-height:1;}
.gcard h4{margin-top:6px;}
.gcard p{color:var(--muted);font-size:.92rem;margin-top:4px;}
.softcta{background:linear-gradient(150deg,#29ABE2,#0E6C9A);border-radius:32px;color:#fff;text-align:center;padding:clamp(40px,6vw,72px);position:relative;overflow:hidden;}
.softcta::before{content:"";position:absolute;width:300px;height:300px;border-radius:50%;background:rgba(255,255,255,.12);top:-100px;left:-60px;}
.softcta::after{content:"";position:absolute;width:300px;height:300px;border-radius:50%;background:rgba(255,255,255,.1);bottom:-120px;right:-60px;}
.softcta h2{color:#fff;position:relative;z-index:1;}
.softcta p{color:rgba(255,255,255,.9);position:relative;z-index:1;margin:14px auto 0;max-width:54ch;}
.softcta .cHero__actions{margin-top:26px;}
@media(max-width:900px){.soft,.glassrow{grid-template-columns:1fr;}}
@media(max-width:760px){.cHero{padding-top:104px;}.cHero--inner{padding-top:100px;}}

/* ===========================================================
   SECTION POLISH — depth & premium feel across all pages
   =========================================================== */
.section { position: relative; }
.container { position: relative; z-index: 1; }

/* curved wave dividers between solid-color sections (inserted by JS) */
.secwave { position: absolute; left: 0; top: 0; width: 100%; height: 54px; transform: translateY(-98%); z-index: 2; line-height: 0; pointer-events: none; }
.secwave svg { display: block; width: 100%; height: 54px; }
@media (max-width: 760px) { .secwave, .secwave svg { height: 32px; } }

/* soft decorative glows behind light sections */
.section--cool::before, .section--warm::before { content:""; position:absolute; width:460px; height:460px; border-radius:50%; background:radial-gradient(circle, rgba(41,171,226,.10), transparent 70%); top:-150px; right:-130px; z-index:0; pointer-events:none; }
.section--cool::after, .section--warm::after { content:""; position:absolute; width:380px; height:380px; border-radius:50%; background:radial-gradient(circle, rgba(143,214,244,.16), transparent 70%); bottom:-160px; left:-130px; z-index:0; pointer-events:none; }

/* cards: gradient icon badge + deeper hover */
.card { box-shadow: 0 6px 26px rgba(11,31,51,.05); }
.card__ic { background: linear-gradient(150deg, #3DB6EC, #1B8FC4); color: #fff; border-radius: 18px; box-shadow: 0 10px 24px rgba(41,171,226,.32); }
.card:hover .card__ic { background: linear-gradient(150deg, #2BA3E0, #0E6C9A); color: #fff; transform: translateY(-5px) rotate(-5deg) scale(1.04); }
.card:hover { transform: translateY(-10px); box-shadow: 0 30px 64px rgba(11,31,51,.16); }
.card .tag { background: linear-gradient(150deg, var(--blue), var(--blue-deep)); color: #fff; box-shadow: 0 6px 14px rgba(41,171,226,.35); }

/* step numbers as gradient text + connector dots */
.step { box-shadow: 0 6px 26px rgba(11,31,51,.05); }
.step::before { background: linear-gradient(135deg, #34B6EC, #0E6C9A); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.step:hover { box-shadow: 0 26px 56px rgba(11,31,51,.14); }

/* member + info cards: subtle lift consistency */
.member { box-shadow: 0 6px 26px rgba(11,31,51,.05); }
.member:hover { box-shadow: 0 26px 56px rgba(11,31,51,.14); }

/* stacked gradient panel behind feature images (premium framed look) */
.feature__media { position: relative; }
.feature__media::before { content:""; position:absolute; right:-22px; bottom:-22px; width:78%; height:82%; border-radius:var(--radius-lg); background:linear-gradient(150deg, var(--blue), var(--accent)); opacity:.20; z-index:0; }
.feature__media::after { content:""; position:absolute; left:-16px; top:-16px; width:88px; height:88px; border-radius:18px; background:linear-gradient(150deg, var(--accent), transparent); opacity:.5; z-index:0; }
.feature__media img { position: relative; z-index: 1; box-shadow: 0 26px 64px rgba(11,31,51,.18); }

/* gradient underline accent under centered section headings */
.section-head h2 { position: relative; display: inline-block; padding-bottom: 20px; }
.section-head h2::after { content:""; position:absolute; left:50%; bottom:0; transform:translateX(-50%); width:66px; height:4px; border-radius:4px; background:linear-gradient(90deg, var(--blue), var(--accent)); }

/* soft hover tint on cards */
.card::before { content:""; position:absolute; inset:0; border-radius:inherit; background:linear-gradient(160deg, rgba(41,171,226,.06), transparent 60%); opacity:0; transition:opacity .4s var(--ease); z-index:0; }
.card:hover::before { opacity:1; }
.card > * { position: relative; z-index: 1; }

/* dotted connector linking the steps (desktop) */
@media (min-width: 761px) {
  .steps { position: relative; }
  .steps::before { content:""; position:absolute; top:56px; left:18%; right:18%; height:2px; background:repeating-linear-gradient(90deg, var(--blue-tint2) 0 7px, transparent 7px 15px); z-index:0; }
  .step { z-index: 1; }
}

/* section eyebrow accent — gradient pill dot */
.eyebrow::before { background: linear-gradient(90deg, var(--blue), var(--accent)); }

/* feature-row heading (image+text service rows) */
.feature .feat-h { font-size: clamp(1.45rem, 2.4vw, 2.05rem); font-weight: 800; letter-spacing: -.01em; margin-bottom: 6px; text-transform: none; }
.feature .feat-h + .lead { margin-bottom: 10px; color: var(--blue-deep); font-weight: 600; }

/* notice block: softer, premium */
.notice { background: linear-gradient(135deg, var(--blue-tint), #F4FbFe); box-shadow: 0 8px 26px rgba(11,31,51,.05); }
