/* =====================================================================
   Rama Quality Nursing Services – design system (mobile-first, no framework)
   Editorial look: plum + teal on warm cream, serif headings, square-ish shapes.
   Sections: tokens · base · layout · buttons · header · hero · sections/cards ·
   service pages · faq · forms · footer · widgets (chat, modal, fab) · motion
   ===================================================================== */
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  /* brand (from the RQNS logo) */
  --blue: #9c1259;          /* primary plum-magenta: links, buttons, accents */
  --blue-700: #7d0e47;
  --blue-900: #35102a;      /* deep plum: dark surfaces */
  --blue-100: #f3d8e6;
  --blue-50: #fbf0f5;
  --teal: #16867d;
  --teal-700: #0f6b63;
  --teal-50: #e2f3f1;
  --navy: #14507f;
  --orange: #14507f;        /* secondary action colour (navy) – kept name for widget CSS */
  --orange-700: #0f3f65;
  --orange-50: #e8f0f7;
  --green: #1f7a3a;
  --green-700: #17602d;
  --gold: #e9b44c;
  --ink: #26161f;
  --ink-2: #4a3942;
  --muted: #6f5f67;
  --line: #eaded6;
  --soft: #f8f1ea;          /* cream tint for alternate sections */
  --cream: #fdf9f5;
  --white: #fff;

  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(53, 16, 42, .06), 0 2px 8px rgba(53, 16, 42, .05);
  --shadow: 0 14px 34px rgba(53, 16, 42, .11);
  --shadow-lg: 0 26px 60px rgba(53, 16, 42, .22);

  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --container: 1200px;
  --gutter: 18px;
  --header-h: 72px;
}

/* base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.7; color: var(--ink); background: var(--cream); overflow-x: hidden; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.16; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; font-weight: 600; }
h1 { font-size: clamp(2rem, 6.6vw, 3.5rem); font-weight: 650; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 4.8vw, 2.45rem); }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--blue-100); }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.22em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; transition: top .15s; }
.skip-link:focus { top: 12px; color: #fff; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* layout -------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.section { padding-block: 56px; }
.section-soft { background: var(--soft); }
.section-head { max-width: 760px; margin: 0 0 32px; text-align: left; }
.section-head.center-head { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-2); font-size: 1.05rem; margin-bottom: 0; }
.eyebrow-sm { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.eyebrow-sm::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow-sm.on-dark { color: var(--gold); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 5px 12px; border-radius: 4px; background: rgba(255, 255, 255, .14); color: #fff; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.lead { font-size: clamp(1.05rem, 2.6vw, 1.22rem); color: var(--ink-2); max-width: 62ch; }
.center { text-align: center; }
.muted { color: var(--muted); }
.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.split { display: grid; gap: 30px; align-items: center; grid-template-columns: 1fr; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: var(--pos, 50% 20%); border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 90px; box-shadow: var(--shadow); }
.ph { object-position: var(--pos, 50% 18%); }
.pos-top { --pos: 50% 12%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center-row { justify-content: center; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 18px 0; }
.pill-list a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; background: #fff; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); font-weight: 700; text-decoration: none; transition: border-color .15s, color .15s, background .15s; }
.pill-list a:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-50); }
.pill-list .icon { color: var(--teal); }
.center-list { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow .icon { transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.breadcrumb { margin-bottom: 16px; font-size: .86rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; list-style: none; gap: 2px 4px; color: rgba(255, 255, 255, .7); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 4px; }
.breadcrumb a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb .icon { width: 1em; height: 1em; }
.breadcrumb [aria-current] { color: #fff; font-weight: 700; }

/* buttons ------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 2px solid transparent; border-radius: 8px; font: inherit; font-weight: 800; font-size: .95rem; letter-spacing: .01em; line-height: 1.1; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s; -webkit-tap-highlight-color: transparent; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-cta { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(156, 18, 89, .3); }
.btn-cta:hover { background: var(--blue-700); color: #fff; }
.btn-wa { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(22, 134, 125, .28); }
.btn-wa:hover { background: var(--teal-700); color: #fff; }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-light { background: #fff; color: var(--blue-900); }
.btn-light:hover { background: var(--blue-50); color: var(--blue-900); }
.on-dark .btn-outline, .hero-x .btn-outline, .page-hero .btn-outline, .cta-band .btn-outline, .final-cta .btn-outline, .site-footer .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .7); }
.hero-x .btn-outline:hover, .page-hero .btn-outline:hover, .cta-band .btn-outline:hover, .site-footer .btn-outline:hover { background: #fff; color: var(--blue-900); border-color: #fff; }
.btn-lg { min-height: 54px; padding-inline: 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn-row .btn { flex: 1 1 calc(50% - 6px); }
.btn-row .btn:first-child { flex-basis: 100%; }

/* header -------------------------------------------------------------- */
.topbar { display: none; background: var(--blue-900); color: #e9d3df; font-size: .84rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar-links { gap: 22px !important; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }
.topbar .icon { color: var(--gold); }
.site-header { position: sticky; top: 0; z-index: 100; background: var(--cream); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 8px 26px rgba(53, 16, 42, .1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 12px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 50px; width: auto; max-width: 62vw; }
.nav-toggle { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid var(--ink); background: transparent; border-radius: 8px; color: var(--ink); cursor: pointer; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.primary-nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 90; background: var(--cream); padding: 12px var(--gutter) 28px; overflow-y: auto; overscroll-behavior: contain; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .18s, transform .18s, visibility .18s; }
.primary-nav.is-open { visibility: visible; opacity: 1; transform: none; }
body.nav-lock { overflow: hidden; }
.nav-list { list-style: none; display: block; }
.nav-list > li { border-bottom: 1px solid var(--line); }
.nav-list a, .nav-link-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 0 4px; font: inherit; font-size: 1.05rem; font-weight: 700; color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left; }
.nav-list a[aria-current="page"] { color: var(--blue); }
.nav-link-btn .caret { transition: transform .2s; }
.has-mega.open .caret { transform: rotate(180deg); }
.mega { display: none; padding: 4px 0 16px; }
.has-mega.open .mega { display: block; }
.mega-col { margin-bottom: 14px; }
.mega-title { display: flex; align-items: center; gap: 8px; margin: 10px 0 4px; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.mega ul { list-style: none; }
.mega li a { min-height: 42px; font-size: .98rem; font-weight: 500; padding-left: 14px; border-left: 2px solid var(--line); }
.mega li a:hover { color: var(--blue); border-left-color: var(--blue); }
.mega-all { display: inline-flex; align-items: center; gap: 6px; padding: 8px 4px; font-weight: 800; text-decoration: none; }
.nav-cta { margin-top: 18px; width: 100%; }

/* hero (home) --------------------------------------------------------- */
.hero-x { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding-block: 30px 90px; background: radial-gradient(700px 420px at 90% 10%, rgba(22, 134, 125, .55), transparent 70%), radial-gradient(600px 400px at 0% 100%, rgba(156, 18, 89, .5), transparent 70%), linear-gradient(160deg, #3a1230 0%, #2a0d24 100%); }
.hero-x::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 58px; background: var(--cream); clip-path: ellipse(75% 100% at 50% 100%); z-index: 1; }
.hero-x .container { position: relative; z-index: 2; }
.hero-grid { display: grid; gap: 36px; align-items: center; grid-template-columns: 1fr; }
.hero-x h1 { color: #fff; text-wrap: balance; margin-bottom: .4em; }
.hero-x h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
.hero-x .lead { color: #ecd9e3; margin-bottom: 24px; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; font-size: .82rem; font-weight: 700; letter-spacing: .04em; }
.hero-tag .icon { color: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin-top: 24px; color: #ecd9e3; font-weight: 600; font-size: .92rem; }
.chips li { display: inline-flex; align-items: center; gap: 6px; }
.chips .icon { color: var(--gold); }
.hero-visual { position: relative; max-width: 440px; width: 100%; margin-inline: auto; }
.hero-arch { margin: 0; padding: 10px; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 999px 999px 24px 24px; }
.hero-arch img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: var(--pos, 50% 20%); border-radius: 999px 999px 16px 16px; }
.hero-badge { position: absolute; left: -8px; bottom: 28px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #fff; color: var(--ink); border-radius: 10px; box-shadow: var(--shadow); font-size: .82rem; line-height: 1.3; }
.hero-badge strong { display: block; font-size: .95rem; font-family: var(--serif); }
.hero-badge .icon { width: 28px; height: 28px; color: var(--blue); }
.hero-badge.b2 { left: auto; right: -6px; bottom: auto; top: 46px; }
.hero-badge.b2 .icon { color: var(--teal); }
.hero-x .art { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* page hero (inner pages) */
.page-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding-block: 26px 46px; background: radial-gradient(520px 320px at 92% 0%, rgba(22, 134, 125, .5), transparent 70%), linear-gradient(150deg, #3d1332, #2a0d24); }
.page-hero-simple { padding-block: 26px 44px; }
.page-hero > .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; text-wrap: balance; font-size: clamp(1.9rem, 5.6vw, 3rem); }
.page-hero .lead { color: #ecd9e3; }
.page-hero-grid { display: grid; gap: 28px; align-items: center; grid-template-columns: 1fr; }
.page-hero-photo { margin: 0; }
.page-hero-photo img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: var(--pos, 50% 20%); border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 80px; border: 4px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow-lg); }
.hero-split { display: grid; gap: 26px; align-items: center; }
.hero-side-photo { max-width: 360px; margin-inline: auto; width: 100%; }
.hero-side-photo img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: 999px 999px 16px 16px; border: 4px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow-lg); }
.big-check { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--teal-50); color: var(--teal); margin-bottom: 18px; }
.big-check .icon { width: 46px; height: 46px; }
.page-hero.thanks, .page-hero .big-check + h1 { color: #fff; }

/* decorative art (SVG) */
.art { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.art svg { width: 100%; height: 100%; display: block; }
.art-line { fill: none; stroke: #fff; stroke-opacity: .09; stroke-width: 1.3; }
.art-fill { fill: #fff; fill-opacity: .05; }
.art-ico { color: #fff; opacity: .07; fill: none; stroke: currentColor; stroke-width: .9; stroke-linecap: round; stroke-linejoin: round; }
.art-cross { fill: var(--gold); opacity: .35; animation: bob 8s ease-in-out infinite; }
.art-cross.c2, .art-cross.c4 { animation-duration: 10s; animation-delay: -3s; fill: #fff; opacity: .2; }
.art-ecg { fill: none; stroke: var(--teal); stroke-opacity: .5; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 4.5s ease-out .3s forwards; }
.art-ring { fill: none; stroke: #fff; stroke-opacity: .12; stroke-width: 1.4; stroke-dasharray: 3 9; transform-box: fill-box; transform-origin: center; animation: spin 120s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* location strip (home) */
.loc-strip { position: relative; z-index: 3; margin-top: -46px; }
.loc-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.loc-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--r); box-shadow: var(--shadow); }
.loc-card:nth-child(2) { border-top-color: var(--teal); }
.loc-card h2 { font-size: 1.35rem; margin-bottom: .2em; }
.loc-card p { margin: 0 0 .5em; color: var(--ink-2); font-size: .95rem; }
.loc-ic { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 8px; background: var(--blue-50); color: var(--blue); }
.loc-card:nth-child(2) .loc-ic { background: var(--teal-50); color: var(--teal); }
.loc-ic .icon { width: 26px; height: 26px; }

/* category panels (home) */
.cat-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.cat-panel { position: relative; display: flex; flex-direction: column; padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); overflow: hidden; }
.cat-panel::before { content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: var(--blue-50); }
.cat-panel:nth-child(2n)::before { background: var(--teal-50); }
.cat-panel > * { position: relative; }
.cat-num { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--blue-100); font-weight: 700; margin-bottom: 6px; }
.cat-panel h3 { font-size: 1.35rem; margin-bottom: .3em; }
.cat-panel p { color: var(--ink-2); font-size: .96rem; }
.cat-links { list-style: none; margin: 4px 0 18px; display: grid; gap: 0; }
.cat-links a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: .96rem; text-decoration: none; }
.cat-links a .icon { color: var(--blue); transition: transform .15s; width: 1em; height: 1em; }
.cat-links a:hover { color: var(--blue); }
.cat-links a:hover .icon { transform: translateX(4px); }
.cat-panel .link-arrow { margin-top: auto; }

/* sections / cards ---------------------------------------------------- */
.card { position: relative; display: block; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue-100); border-radius: var(--r); padding: 24px 22px; box-shadow: var(--shadow-sm); color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-top-color: var(--blue); color: inherit; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--ink-2); font-size: .96rem; margin-bottom: .8em; }
.sc-icon { display: inline-grid; place-items: center; width: 50px; height: 50px; margin-bottom: 14px; border-radius: 8px; background: var(--blue-50); color: var(--blue); }
.sc-icon .icon { width: 26px; height: 26px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .92rem; color: var(--blue); }
a.card:hover .card-link .icon { transform: translateX(3px); }
.card-link .icon { transition: transform .15s; }
.service-card:nth-child(3n+2) .sc-icon { background: var(--teal-50); color: var(--teal); }
.service-card:nth-child(3n+3) .sc-icon { background: var(--orange-50); color: var(--navy); }
.info-card { padding-top: 60px; }
.tick { position: absolute; left: 22px; top: 22px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; background: var(--teal-50); color: var(--teal); }
.tick .icon { width: 16px; height: 16px; stroke-width: 2.6; }
.benefit-card .sc-icon { background: var(--gold); background: #fbeccb; color: #8a5a00; }
.why-card .sc-icon { background: var(--teal-50); color: var(--teal); }
.feature-list { list-style: none; display: grid; gap: 20px; counter-reset: f; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; }
.feature-list h3 { margin-bottom: .2em; font-size: 1.08rem; }
.feature-list p { margin: 0; color: var(--ink-2); font-size: .96rem; }
.fi { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; background: var(--teal-50); color: var(--teal); }
.fi .icon { width: 22px; height: 22px; }
.check-list { list-style: none; display: grid; gap: 8px; margin: 18px 0 24px; }
.check-list li { display: flex; gap: 10px; align-items: center; }
.check-list .icon { color: var(--gold); }
.check-list.dark .icon { color: var(--teal); }
.steps { list-style: none; display: grid; gap: 16px; }
.step { position: relative; padding: 20px 20px 20px 78px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.step h3 { margin-bottom: .25em; }
.step p { margin: 0; color: var(--ink-2); font-size: .96rem; }
.step-n { position: absolute; left: 18px; top: 18px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; box-shadow: 0 0 0 5px var(--blue-50); }
.note { display: flex; gap: 10px; align-items: flex-start; margin: 24px 0 0; padding: 14px 16px; border-left: 4px solid var(--teal); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--teal-50); color: var(--ink-2); font-size: .94rem; }
.note .icon { margin-top: 3px; color: var(--teal); }
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(120deg, var(--blue-900), var(--blue-700) 70%, var(--blue)); color: #fff; padding-block: 44px; }
.cta-band::before { content: ""; position: absolute; right: -60px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .18); z-index: -1; }
.cta-band-inner { display: grid; gap: 22px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #f0dbe6; margin: 0; }
.final-cta { position: relative; background: linear-gradient(140deg, var(--blue-900), #4a1339); color: #fff; overflow: hidden; }
.final-cta h2 { color: #fff; }
.final-cta-grid { display: grid; gap: 30px; align-items: start; }
.final-cta-copy p { color: #f0dbe6; }
.form-card { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 24px 20px; box-shadow: var(--shadow-lg); }

/* service / area pages ----------------------------------------------- */
.intro-grid { display: grid; gap: 28px; align-items: start; }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.4em; font-size: clamp(1.3rem, 3.6vw, 1.6rem); }
.prose > h2:first-child { margin-top: 0; font-size: clamp(1.6rem, 4.8vw, 2.4rem); }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { margin: 0 0 1em 1.2em; padding: 0; }
.prose li { margin-bottom: .5em; }
.legal h2 { margin-top: 1.6em; }
.glance { background: var(--blue-900); color: #fff; border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.glance-h { font-size: 1.15rem; color: #fff; margin-bottom: 8px; }
.glance dl { margin: 0 0 16px; }
.glance dl > div { padding: 10px 0; border-bottom: 1px dashed rgba(255, 255, 255, .22); }
.glance dt { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); }
.glance dd { margin: 2px 0 0; font-weight: 600; }
.glance .btn-cta { background: #fff; color: var(--blue-900); box-shadow: none; }
.glance .btn-cta:hover { background: var(--blue-50); }
.provide-grid { gap: 14px 22px; }
.provide-item { display: flex; gap: 14px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.provide-item h3 { margin-bottom: .2em; font-size: 1.05rem; }
.provide-item p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.section-soft .provide-item { border-color: transparent; box-shadow: var(--shadow-sm); }
.coverage-card { padding: 22px; background: #fff; border-radius: var(--r); border: 1px solid var(--line); border-left: 4px solid var(--teal); }
.coverage-card p { display: flex; gap: 10px; margin-bottom: 12px; }
.coverage-card .icon { margin-top: 4px; color: var(--teal); }
.map-wrap { overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--soft); }
.map-wrap iframe { display: block; width: 100%; height: 320px; border: 0; }
.contact-lines p { display: flex; gap: 10px; margin-bottom: 12px; }
.contact-lines .icon { margin-top: 4px; color: var(--teal); }
.who-card .card-link { margin-top: 4px; }

/* faq ------------------------------------------------------------------ */
.faq-list { display: grid; gap: 10px; margin-bottom: 20px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.faq-item[open] { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; min-height: 58px; font-weight: 750; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-caret { color: var(--blue); transition: transform .2s; }
.faq-item[open] .faq-caret { transform: rotate(180deg); }
.faq-a { padding: 0 18px 4px; color: var(--ink-2); }
.faq-a p { margin-bottom: 1em; }

/* forms ---------------------------------------------------------------- */
.form-grid { display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: 14px; }
.field label { display: block; margin-bottom: 6px; font-weight: 750; font-size: .92rem; }
.req { color: var(--blue); }
.opt { color: var(--muted); font-weight: 500; font-size: .8rem; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="date"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid #d9c9c0; border-radius: 8px; transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236f5f67' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field textarea { min-height: 116px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(156, 18, 89, .15); }
.field [aria-invalid="true"] { border-color: #c62828; background: #fff8f8; }
.field-error { margin: 6px 0 0; color: #b3261e; font-size: .875rem; font-weight: 700; }
.field-split { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.field-check { display: grid; grid-template-columns: 24px 1fr; gap: 4px 10px; align-items: start; margin-bottom: 18px; }
.field-check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--blue); }
.field-check label { font-weight: 500; font-size: .9rem; margin: 0; color: var(--ink-2); }
.field-check .field-error { grid-column: 2; }
.form-note { margin: 14px 0 0; font-size: .875rem; color: var(--muted); }
.enquiry-form .btn { width: 100%; }
.flash { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; padding: 14px 16px; border-radius: 8px; font-weight: 700; }
.flash p { margin: 0; }
.flash[hidden] { display: none; }
.flash-success { background: #e4f4e9; color: #0b5a2f; }
.flash-error { background: #fdecea; color: #8a1c14; }
.flash .icon { margin-top: 3px; flex: none; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.contact-card > span:last-child, .contact-card address { min-width: 0; overflow-wrap: anywhere; }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 16px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--r); color: inherit; text-decoration: none; box-shadow: var(--shadow-sm); }
a.contact-card:hover { box-shadow: var(--shadow); color: inherit; }
.contact-card strong { display: block; }
.contact-card small { display: block; color: var(--ink-2); font-size: .94rem; }
.cc-icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 8px; background: var(--blue-50); color: var(--blue); }
.cc-call { border-left-color: var(--navy); } .cc-call .cc-icon { background: var(--orange-50); color: var(--navy); }
.cc-wa { border-left-color: var(--teal); } .cc-wa .cc-icon { background: var(--teal-50); color: var(--teal); }
.contact-grid .form-card { border: 1px solid var(--line); box-shadow: var(--shadow); }

/* footer --------------------------------------------------------------- */
.site-footer { position: relative; isolation: isolate; overflow: hidden; background: #241019; color: #d9c4cf; }
.site-footer > *:not(.art):not(.footer-word) { position: relative; z-index: 1; }
.footer-cta { background: linear-gradient(110deg, var(--blue-700), var(--blue)); color: #fff; }
.footer-cta-inner { display: grid; gap: 18px; padding-block: 34px; align-items: center; }
.footer-cta-title { margin: 0 0 4px; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1.2; }
.footer-cta-sub { margin: 0; color: #f6e2ec; }
.site-footer .footer-cta .btn-cta { background: #fff; color: var(--blue-700); box-shadow: none; }
.site-footer .btn-light { background: #fff; color: var(--blue-900); }
.site-footer .btn-wa { color: #fff; }
.site-footer .btn-outline { color: #fff; }
.site-footer .footer-cta .btn-cta:hover, .site-footer .btn-light:hover { background: var(--blue-50); text-decoration: none; }
.footer-cta .btn-wa { background: var(--teal); }
.footer-grid { display: grid; gap: 32px; padding-block: 48px 30px; grid-template-columns: 1fr; }
.footer-brand p { max-width: 42ch; font-size: .94rem; }
.footer-logo { display: inline-block; padding: 10px 14px; margin-bottom: 14px; background: #fff; border-radius: 8px; }
.footer-logo img { width: 190px; height: auto; }
.footer-h { margin: 0 0 12px; color: #fff; font-family: var(--font); font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.footer-h-sub { margin-top: 22px; }
.footer-col ul { list-style: none; display: grid; gap: 2px; }
.site-footer a { color: #ead7e1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-col li a { display: inline-block; padding: 5px 0; }
.footer-contact address p { display: flex; gap: 10px; margin-bottom: 12px; font-size: .94rem; }
.footer-contact .icon { margin-top: 4px; color: var(--gold); }
.social { display: flex; gap: 10px; list-style: none; margin-top: 14px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 8px; background: rgba(255, 255, 255, .08); color: #fff; }
.social a:hover { background: var(--blue); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom-inner { display: grid; gap: 6px; padding-block: 18px; font-size: .86rem; grid-template-columns: 1fr; }
.footer-bottom p { margin: 0; }
.footer-dev { color: #b79faf; }
.footer-dev a { color: #fff; font-weight: 700; }
.social-light a { background: var(--blue-50); color: var(--blue); }
.social-light a:hover { background: var(--blue); color: #fff; }
.footer-word { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); z-index: 0; white-space: nowrap; font-family: var(--serif); font-weight: 700; font-size: clamp(3rem, 14vw, 11rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .06); pointer-events: none; user-select: none; }

/* breakpoints ---------------------------------------------------------- */
@media (min-width: 480px) { .hero-badge { left: -16px; } .hero-badge.b2 { right: -14px; } }
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .section { padding-block: 76px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field-wide, .field-split { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .btn-row .btn { flex: 0 1 auto; }
  .btn-row .btn:first-child { flex-basis: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 32px 30px; }
  .map-wrap iframe { height: 380px; }
  .loc-grid, .cat-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  :root { --header-h: 86px; }
  .topbar { display: block; }
  .site-header { background: rgba(253, 249, 245, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
  .brand img { height: 60px; }
  .nav-toggle { display: none; }
  .primary-nav { position: static; inset: auto; z-index: auto; display: flex; align-items: center; gap: 18px; padding: 0; overflow: visible; visibility: visible; opacity: 1; transform: none; background: transparent; }
  .nav-list { display: flex; align-items: center; gap: 4px; }
  .nav-list > li { border: 0; position: static; }
  .nav-list a, .nav-link-btn { position: relative; width: auto; min-height: 44px; padding: 0 12px; font-size: .94rem; justify-content: center; gap: 4px; }
  .nav-list > li > a::after, .nav-link-btn::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .22s; }
  .nav-list > li > a:hover::after, .nav-link-btn:hover::after, .has-mega.open > .nav-link-btn::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-list a:hover, .nav-link-btn:hover { color: var(--blue); }
  .nav-cta { margin: 0; width: auto; min-height: 46px; white-space: nowrap; }
  .nav-cta::after { display: none !important; }
  .site-header .header-inner { position: relative; }
  .has-mega .mega { position: absolute; left: 50%; top: calc(100% - 2px); transform: translateX(-50%); width: min(1040px, calc(100vw - 48px)); padding: 24px 28px 16px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 0 0 var(--r) var(--r); box-shadow: var(--shadow-lg); display: none; }
  .has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.open .mega { display: block; }
  .mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .mega li a { min-height: 34px; padding: 0 0 0 12px; font-size: .9rem; justify-content: flex-start; border-radius: 0; text-align: left; }
  .mega li a::after { display: none; }
  .mega-all { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); width: 100%; justify-content: flex-start; }
  .section { padding-block: 92px; }
  .section-head { margin-bottom: 44px; }
  .hero-x { padding-block: 64px 120px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .hero-visual { margin-inline: 0 auto; max-width: 470px; }
  .page-hero { padding-block: 34px 66px; }
  .page-hero-simple { padding-block: 34px 56px; }
  .page-hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .page-hero-photo img { aspect-ratio: 4 / 4.2; max-height: 520px; }
  .hero-split { grid-template-columns: 1.2fr .8fr; gap: 56px; }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split-media img { aspect-ratio: 4 / 4.4; }
  .split-rev > :first-child { order: 1; }
  .intro-grid { grid-template-columns: 1.6fr 1fr; gap: 56px; }
  .glance { position: sticky; top: calc(var(--header-h) + 20px); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .step { padding: 80px 22px 24px; }
  .step-n { left: 22px; top: 22px; width: 48px; height: 48px; }
  .cta-band-inner { grid-template-columns: 1.4fr 1fr; }
  .cta-band .btn-row { justify-content: flex-end; }
  .final-cta-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .contact-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 44px; }
  .footer-cta-inner { grid-template-columns: 1.4fr 1fr; }
  .footer-cta .btn-row { justify-content: flex-end; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px; padding-block: 64px 44px; }
  .footer-bottom-inner { grid-template-columns: 1fr auto; align-items: center; }
}
@media (min-width: 960px) and (max-width: 1199px) {
  .nav-list a, .nav-link-btn { padding: 0 8px; font-size: .86rem; }
  .brand img { height: 52px; }
  .nav-cta { padding-inline: 14px; font-size: .86rem; }
  .primary-nav { gap: 8px; }
  .mega-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 360px) { .field-split { grid-template-columns: 1fr; } .brand img { height: 38px; } .hero-badge small { display: none; } }
@media print { .site-header, .fab-stack, .chat-panel, .site-footer .footer-cta, .cta-band, .final-cta { display: none !important; } }

/* ===== widgets: floating buttons, chat, modal, careers, video, motion ===== */
/* floating call / WhatsApp / chat */
.fab-stack { position: fixed; right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); z-index: 96; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab { position: relative; display: grid; place-items: center; width: 54px; height: 54px; border: 0; border-radius: 50%; color: #fff; cursor: pointer; text-decoration: none; box-shadow: 0 8px 22px rgba(16, 35, 58, .28); transition: transform .18s, opacity .2s, box-shadow .2s; -webkit-tap-highlight-color: transparent; }
.fab:hover { transform: translateY(-2px) scale(1.04); color: #fff; }
.fab .icon { width: 26px; height: 26px; }
.fab-call { background: var(--orange); }
.fab-wa { background: #1ba653; }
.fab-chat { background: var(--blue); width: 58px; height: 58px; }
.fab-ic { display: grid; place-items: center; transition: opacity .18s, transform .2s; }
.fab-ic-close { position: absolute; opacity: 0; transform: rotate(-90deg); }
.fab-chat[aria-expanded="true"] .fab-ic-open { opacity: 0; transform: rotate(90deg); }
.fab-chat[aria-expanded="true"] .fab-ic-close { opacity: 1; transform: none; }
.fab-tip { position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%) translateX(6px); padding: 6px 12px; border-radius: 8px; background: var(--ink); color: #fff; font-size: .8125rem; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; }
@media (hover: hover) { .fab:hover .fab-tip, .fab:focus-visible .fab-tip { opacity: 1; transform: translateY(-50%); } }
.fab-chat:not([aria-expanded="true"])::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--blue); animation: ping 3s ease-out 2s 3; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
body.chat-open .fab-call, body.chat-open .fab-wa { opacity: 0; pointer-events: none; transform: scale(.6); position: absolute; }
@media (max-width: 599px) { body.chat-open .fab-stack { z-index: 96; } body.chat-open .fab-chat { display: none; } }

/* chat window */
.chat-panel { position: fixed; z-index: 97; right: max(14px, env(safe-area-inset-right)); bottom: calc(max(14px, env(safe-area-inset-bottom)) + 70px); width: min(380px, calc(100vw - 28px)); height: min(560px, calc(100dvh - 130px)); display: flex; flex-direction: column; background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 24px 70px rgba(16, 35, 58, .32); overflow: hidden; animation: pop .22s ease-out; }
.chat-panel[hidden] { display: none; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; background: linear-gradient(120deg, var(--blue-900), var(--blue)); color: #fff; }
.chat-avatar { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.chat-head-text { flex: 1; min-width: 0; }
.chat-head h2 { margin: 0; color: #fff; font-size: 1rem; letter-spacing: 0; }
.chat-head p { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .75rem; color: #cfe0f3; }
.chat-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; flex: none; }
.chat-btn { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: #fff; cursor: pointer; }
.chat-btn:hover { background: rgba(255, 255, 255, .16); }
.chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--soft); overscroll-behavior: contain; }
.msg { display: flex; flex-direction: column; max-width: 88%; animation: pop .2s ease-out; }
.msg-bot { align-self: flex-start; }
.msg-user { align-self: flex-end; align-items: flex-end; }
.bubble { padding: 10px 14px; border-radius: 16px; font-size: .9375rem; line-height: 1.5; overflow-wrap: anywhere; white-space: pre-line; }
.msg-bot .bubble { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--ink); }
.msg-user .bubble { background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.bubble a { font-weight: 700; }
.msg-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 14px; border: 1.5px solid var(--blue-100); border-radius: 999px; background: #fff; color: var(--blue); font: inherit; font-size: .875rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.chip-btn:hover, .chip-btn.is-active { background: var(--blue); color: #fff; border-color: var(--blue); }
.chip-call { border-color: #f3c3ae; color: var(--orange-700); }
.chip-call:hover { background: var(--orange); border-color: var(--orange); }
.chip-wa { border-color: #b7e2c8; color: var(--green-700); }
.chip-wa:hover { background: var(--green); border-color: var(--green); }
.chip-request { background: var(--orange); border-color: var(--orange); color: #fff; }
.chip-request:hover { background: var(--orange-700); }
.dots { display: inline-flex; gap: 4px; padding: 4px 0; }
.dots i, .dots span { width: 7px; height: 7px; border-radius: 50%; background: #9db3c9; animation: blink 1.2s infinite; }
.dots i:nth-child(2), .dots span:nth-child(2) { animation-delay: .2s; }
.dots i:nth-child(3), .dots span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.chat-suggest { display: flex; gap: 8px; padding: 10px 12px; overflow-x: auto; border-top: 1px solid var(--line); background: #fff; scrollbar-width: thin; }
.chat-suggest[hidden] { display: none; }
.chat-suggest .chip-btn { flex: none; white-space: nowrap; }
.chat-form { display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: #fff; }
.chat-form input { flex: 1; min-width: 0; min-height: 44px; padding: 0 14px; border: 1.5px solid #c4d3e2; border-radius: 999px; font: inherit; font-size: 1rem; }
.chat-form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11, 92, 171, .16); }
.chat-send { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--blue); color: #fff; cursor: pointer; }
.chat-send:hover { background: var(--blue-700); }
@media (max-width: 599px) {
  .chat-panel { inset: auto 0 0 0; width: 100%; height: min(78dvh, 640px); border-radius: 20px 20px 0 0; border-inline: 0; border-bottom: 0; }
}

/* Request Care modal */
.modal { border: 0; padding: 0; background: transparent; width: min(640px, calc(100vw - 20px)); max-width: none; max-height: calc(100dvh - 20px); color: var(--ink); overflow: visible; }
.modal::backdrop { background: rgba(8, 29, 56, .62); backdrop-filter: blur(3px); }
.modal[open] { animation: pop .22s ease-out; }
.modal-card { display: flex; flex-direction: column; max-height: calc(100dvh - 20px); background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 20px 14px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--blue-50), #fff); }
.modal-head h2 { margin: 0 0 4px; font-size: 1.35rem; }
.modal-sub { margin: 0; color: var(--ink-2); font-size: .9375rem; }
.modal-close { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer; }
.modal-close:hover { background: var(--blue-50); }
.modal-body { padding: 18px 20px 22px; overflow-y: auto; overscroll-behavior: contain; }
.modal-loading { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--blue-100); border-top-color: var(--blue); animation: spin .8s linear infinite; }
body.modal-open { overflow: hidden; }
.narrow-form { max-width: 820px; margin-inline: auto; padding-inline: var(--gutter); }

/* forms: captcha, hints, file input */
.captcha-field { margin: 4px 0 16px; padding: 14px; background: var(--soft); border: 1px dashed #b8cbe0; border-radius: 12px; }
.captcha-field input { max-width: 140px; }
.captcha-note, .field-hint { margin: 6px 0 0; font-size: .8125rem; color: var(--muted); }
.captcha-note a { color: inherit; }
.g-recaptcha-slot { min-height: 78px; overflow-x: auto; }
.field input[type="file"] { width: 100%; padding: 10px; font: inherit; font-size: .9375rem; background: #fff; border: 1.5px dashed #9db8d3; border-radius: 12px; }
.field input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; cursor: pointer; }
.field datalist { display: none; }

/* careers */
.position-card .sc-icon { background: var(--teal-50); color: var(--teal); }
.position-card .card-link { margin-top: auto; }
.tick-list { list-style: none; display: grid; gap: 12px; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.tick-list .icon { margin-top: 3px; color: var(--teal); }
.mini-steps { list-style: none; display: grid; gap: 14px; }
.mini-steps li { display: flex; gap: 14px; align-items: flex-start; }
.mini-steps .step-n { position: static; flex: none; width: 38px; height: 38px; font-size: 1rem; }
.mini-steps h3 { margin-bottom: .15em; }
.mini-steps p { margin: 0; color: var(--ink-2); font-size: .9688rem; }

/* video */
.video-section { background: linear-gradient(180deg, #fff, var(--blue-50)); }
.video-split { gap: 30px; }
.video-frame { margin: 0; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); border: 5px solid #fff; background: #0a2340; aspect-ratio: 16 / 9; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }


/* scroll reveal (progressive enhancement: only when JS marks the page) */
html.js-reveal [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
html.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }
.hero-copy > * { animation: rise .6s ease-out both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html.js-reveal [data-reveal] { opacity: 1; transform: none; }
  .art-ecg { stroke-dashoffset: 0; }
}
@media (max-width: 599px) {
  .modal { width: 100vw; max-height: 100dvh; margin: auto 0 0; }
  .modal-card { border-radius: 22px 22px 0 0; max-height: 94dvh; }
  .fab { width: 50px; height: 50px; }
  .fab-chat { width: 54px; height: 54px; }
  