/* Public website — builds on the tokens in app.css (blue / white / red brand).
   Motion: entrance (.h-in), scroll reveal (.reveal → .in, set by site.js), hover depth, view transitions.
   Everything respects prefers-reduced-motion. */
:root {
    --ease: cubic-bezier(.22, .61, .36, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --site-max: 1200px;
    --gutter: 20px;
    --section-y: clamp(3.5rem, 6vw, 6.5rem);
}
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body.site { background: #fff; font-size: clamp(15px, .35vw + 13.8px, 17px); overflow-x: hidden; }
.site-wrap { width: 100%; max-width: var(--site-max); margin: 0 auto; padding: 0 var(--gutter); }
.site h1, .site h2, .site h3 { font-family: var(--font-display); color: var(--n900); }
.site a { transition: color .2s var(--ease); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--primary-700); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* page transitions */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .22s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .38s var(--ease-out) both; }
.site-header { view-transition-name: site-header; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }
body.site main { transition: opacity .18s var(--ease), transform .18s var(--ease); }
body.site.leaving main { opacity: 0; transform: translateY(-6px); }

/* reading progress */
.site-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--brand-red), var(--primary)); pointer-events: none; }

/* ---------- buttons ---------- */
.site-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: .5rem; padding: .78rem 1.35rem; border-radius: 12px; font-weight: 700; font-size: .95rem; border: 2px solid transparent; text-decoration: none !important; line-height: 1.2; white-space: nowrap; isolation: isolate;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease); }
.site-btn .icon { transition: transform .25s var(--ease); }
.site-btn:hover { transform: translateY(-2px); }
.site-btn:hover .icon:last-child { transform: translateX(3px); }
.site-btn:active { transform: translateY(0) scale(.98); }
.site-btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.site-btn:hover::after { transform: translateX(120%); }
.site-btn-red { background: var(--brand-red); color: #fff; box-shadow: 0 8px 20px -6px rgba(217, 75, 75, .55); }
.site-btn-red:hover { background: #C63F3F; box-shadow: 0 14px 28px -8px rgba(217, 75, 75, .6); }
.site-btn-blue { background: var(--primary-700); color: #fff; box-shadow: 0 8px 20px -6px rgba(15, 79, 138, .5); }
.site-btn-blue:hover { background: #0B3A66; box-shadow: 0 14px 28px -8px rgba(15, 79, 138, .55); }
.site-btn-outline { background: #fff; color: var(--primary-700); border-color: var(--primary-100); }
.site-btn-outline:hover { border-color: var(--primary); box-shadow: 0 10px 22px -10px rgba(22, 119, 200, .45); }
.site-btn-white { background: #fff; color: var(--primary-700); box-shadow: 0 10px 24px -10px rgba(0,0,0,.35); }
.site-btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.45); backdrop-filter: blur(4px); }
.site-btn-ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }

/* ---------- top bar + header ---------- */
.site-topbar { background: var(--primary-700); color: #DCEBFA; font-size: .8rem; }
.site-topbar .site-wrap { display: flex; justify-content: space-between; gap: 1rem; padding-top: .5rem; padding-bottom: .5rem; flex-wrap: wrap; }
.site-topbar span, .site-topbar a { display: inline-flex; align-items: center; gap: .4rem; color: inherit; }
.site-topbar a:hover { color: #fff; text-decoration: none; }
.site-topbar .tb-right { gap: 1.4rem; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease); }
.site-header .site-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 80px; transition: min-height .3s var(--ease); }
.site-header.scrolled { background: rgba(255,255,255,.94); border-bottom-color: var(--border-soft); box-shadow: 0 10px 30px -18px rgba(15, 40, 80, .35); }
.site-header.scrolled .site-wrap { min-height: 64px; }
.site-logo img { height: 48px; width: auto; display: block; transition: height .3s var(--ease), transform .3s var(--ease); }
.site-header.scrolled .site-logo img { height: 40px; }
.site-logo:hover img { transform: scale(1.02); }
.site-nav { display: flex; align-items: center; gap: .2rem; }
.site-nav > a:not(.site-btn) { position: relative; padding: .55rem .8rem; border-radius: 10px; color: var(--n700); font-weight: 600; font-size: .94rem; text-decoration: none; }
.site-nav > a:not(.site-btn)::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .25rem; height: 2px; border-radius: 2px; background: var(--brand-red); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--ease); }
.site-nav > a:not(.site-btn):hover { color: var(--primary); }
.site-nav > a:not(.site-btn):hover::after, .site-nav > a.active::after { transform: scaleX(1); }
.site-nav > a.active { color: var(--primary); }
.site-nav .site-btn { margin-left: .45rem; padding: .62rem 1.05rem; font-size: .9rem; }
.site-menu-btn { display: none; background: #fff; border: 1px solid var(--border); border-radius: 12px; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--n700); cursor: pointer; }

/* ---------- entrance (hero + banners) ---------- */
.h-in { animation: rise .9s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 110ms + 60ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #F2F8FE 0%, #FBFDFF 70%, #fff 100%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 60%, transparent 100%); }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.hero-bg .b1 { width: 520px; height: 520px; background: radial-gradient(circle, #CFE5FA 0%, transparent 70%); top: -160px; left: -120px; }
.hero-bg .b2 { width: 460px; height: 460px; background: radial-gradient(circle, #FBD9D9 0%, transparent 70%); top: 35%; right: 4%; animation-delay: -6s; opacity: .45; }
.hero-grid {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 35%, rgba(22, 119, 200, .09) 0%, rgba(255, 255, 255, 0) 55%),
                radial-gradient(circle at 18% 25%, rgba(217, 75, 75, .05) 0%, rgba(255, 255, 255, 0) 45%);
    pointer-events: none;
}
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }
.hero .site-wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; padding-top: clamp(2.5rem, 5vw, 5rem); padding-bottom: clamp(3.5rem, 6vw, 6rem); }
.hero-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.2rem; }
.hero-tags span { font-size: .78rem; font-weight: 600; color: var(--primary-700); background: rgba(255,255,255,.85); border: 1px solid var(--primary-100); padding: .3rem .75rem; border-radius: 999px; }
.hero-tags span:first-child { background: var(--brand-red-50); color: var(--brand-red); border-color: #F8CFCF; }
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 4.4rem); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; margin-bottom: 1.1rem; }
.hero-highlight, .hero h1 em {
    font-style: normal;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, #0F4F8A 55%, var(--brand-red) 115%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.hero p.lead { font-size: clamp(1rem, .3vw + .95rem, 1.18rem); color: var(--n700); max-width: 36rem; line-height: 1.7; margin: 0 0 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--border); }
.trust-item { display: flex; align-items: center; gap: .65rem; font-size: .8rem; line-height: 1.35; color: var(--n500); }
.trust-item strong { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--primary-700); line-height: 1; }
.trust-item img { width: 40px; height: auto; }
.trust-item .icon { width: 30px; height: 30px; color: var(--primary); }
.hero-visual { position: relative; }
.hero-visual::before {
    content: "";
    position: absolute;
    inset: -25px;
    background: radial-gradient(circle at 65% 45%, rgba(22, 119, 200, .2), transparent 70%);
    filter: blur(36px);
    z-index: 0;
    pointer-events: none;
}
.hero-photo {
    position: relative;
    z-index: 1;
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 4 / 3.15;
    border: 4px solid #fff;
    box-shadow: 0 36px 75px -25px rgba(15, 79, 138, .42), 0 0 0 1px rgba(15, 79, 138, .08);
    transform: translateY(var(--py, 0));
}
.hero-photo-img {
    position: absolute;
    inset: -4%;
    background: var(--primary-50) center 18% / cover no-repeat;
    animation: kenburns 24s ease-in-out infinite alternate;
}
.hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 65%, rgba(11, 58, 102, .25));
    pointer-events: none;
}
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.08) translate(-1.5%, -1%); } }
.float-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: .75rem;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .95);
    border-radius: 18px;
    padding: .8rem 1.15rem;
    box-shadow: 0 24px 48px -18px rgba(15, 40, 80, .35), 0 0 0 1px rgba(15, 79, 138, .06);
    animation: float 6s ease-in-out infinite;
    pointer-events: auto;
}
.float-card strong { display: block; font-size: .92rem; font-family: var(--font-display); color: var(--n900); font-weight: 700; line-height: 1.25; }
.float-card small { color: var(--primary-700); font-size: .78rem; font-weight: 600; display: block; margin-top: 2px; }
.fc-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--primary-50); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fc-icon .icon { width: 22px; height: 22px; }
.fc-icon-pulse { background: #EBF8FF; color: var(--primary-700); }
.fc-icon-verified { background: #FEF3C7; color: #B45309; }
.fc-1 { left: -24px; bottom: 30px; }
.fc-2 { right: -20px; top: 24px; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- highlight cards ---------- */
.highlights { margin-top: -2.2rem; position: relative; z-index: 3; }
.highlights .site-wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.hl-card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--border-soft); border-radius: 18px; padding: 1.1rem 1.2rem; display: flex; gap: .9rem; align-items: center; box-shadow: 0 18px 40px -24px rgba(15, 40, 80, .35); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.hl-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -24px rgba(15, 40, 80, .45); }
.hl-card .hl-icon { width: 50px; height: 50px; border-radius: 14px; background: var(--primary-50); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease); }
.hl-card:hover .hl-icon { transform: rotate(-6deg) scale(1.06); background: var(--primary); color: #fff; }
.hl-card:nth-child(3) .hl-icon { background: var(--brand-red-50); color: var(--brand-red); }
.hl-card:nth-child(3):hover .hl-icon { background: var(--brand-red); color: #fff; }
.hl-card .hl-icon .icon { width: 24px; height: 24px; }
.hl-card strong { display: block; font-family: var(--font-display); font-size: .98rem; }
.hl-card small { color: var(--muted); }

/* pointer spotlight (site.js sets --mx/--my) */
.svc-card::before, .hl-card::before, .info-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s var(--ease); background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(22, 119, 200, .09), transparent 70%); }
.svc-card:hover::before, .hl-card:hover::before, .info-card:hover::before { opacity: 1; }

/* ---------- sections ---------- */
.section { padding: var(--section-y) 0; position: relative; }
.section.alt { background: linear-gradient(180deg, var(--bg) 0%, #F3F7FB 100%); }
.section-head { max-width: 680px; margin: 0 auto clamp(2rem, 3.5vw, 3rem); text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--brand-red); margin-bottom: .7rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head h2, .section h2 { font-size: clamp(1.7rem, 2.6vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin-bottom: .7rem; }
.section-head p { color: var(--n500); font-size: 1.02rem; line-height: 1.7; margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4.5vw, 5rem); align-items: center; }
.split img.rounded { width: 100%; height: auto; border-radius: 24px; box-shadow: var(--shadow-lg); display: block; }
.prose p { color: var(--n700); line-height: 1.8; }
.pull-quote { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--primary-700) !important; border-left: 3px solid var(--brand-red); padding-left: 1rem; }
.brand-panel { position: relative; overflow: hidden; background: radial-gradient(circle at 30% 20%, #fff 0%, var(--primary-50) 75%); border: 1px solid var(--primary-100); border-radius: 28px; padding: 2.5rem; display: flex; align-items: center; justify-content: center; min-height: 360px; }
.brand-panel::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(217, 75, 75, .06); right: -90px; bottom: -110px; }
.brand-panel img { position: relative; z-index: 1; width: 100%; max-width: 380px; height: auto; transition: transform .6s var(--ease); }
.brand-panel:hover img { transform: scale(1.03); }

/* ---------- service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.svc-card { position: relative; overflow: hidden; display: block; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 1.6rem; color: inherit; text-decoration: none !important; scroll-margin-top: 110px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.svc-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--brand-red)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease); }
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(15, 40, 80, .4); border-color: var(--primary-100); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-card .svc-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--primary-50); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; transition: transform .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease); }
.svc-card:hover .svc-icon { background: var(--primary); color: #fff; transform: scale(1.06) rotate(-4deg); }
.svc-card .svc-icon .icon { width: 27px; height: 27px; }
.svc-card h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.svc-card p { color: var(--n500); margin: 0; font-size: .94rem; line-height: 1.65; }
.svc-more { display: inline-flex; align-items: center; gap: .3rem; margin-top: 1rem; font-weight: 700; font-size: .88rem; color: var(--primary); }
.svc-more .icon { transition: transform .3s var(--ease); }
.svc-card:hover .svc-more .icon { transform: translateX(4px); }
.svc-card.emergency .svc-icon { background: var(--brand-red-50); color: var(--brand-red); }
.svc-card.emergency:hover .svc-icon { background: var(--brand-red); color: #fff; }
.svc-card:target { border-color: var(--primary); box-shadow: 0 0 0 4px var(--focus); }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 2.15rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; position: relative; perspective: 1200px; isolation: isolate; }
.steps::before, .steps::after { content: ""; position: absolute; z-index: -1; top: 33px; left: 12%; right: 12%; height: 4px; border-radius: 999px; transform-origin: left center; }
.steps::before { background: repeating-linear-gradient(90deg, #D2E8F8 0 12px, rgba(210,232,248,.15) 12px 20px); box-shadow: 0 8px 18px rgba(15,79,138,.12); transform: rotateX(58deg); }
.steps::after { background: linear-gradient(90deg, var(--primary), #54A8DE 68%, var(--brand-red)); box-shadow: 0 0 18px rgba(22,119,200,.38); transform: rotateX(58deg) scaleX(0); }
.process-flow.flow-active::after { animation: process-track 2.4s .15s var(--ease-out) forwards; }
@keyframes process-track { to { transform: rotateX(58deg) scaleX(1); } }

.step { --flow-rx: 0deg; --flow-ry: 0deg; --flow-lift: 0px; position: relative; min-height: 218px; text-align: center; padding: 3.2rem 1.15rem 1.35rem; border: 1px solid rgba(196,216,232,.85); border-radius: 24px; background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(242,248,253,.9)); box-shadow: 0 24px 46px -32px rgba(15,48,78,.55), inset 0 1px 0 #fff; transform-style: preserve-3d; transform: rotateX(var(--flow-rx)) rotateY(var(--flow-ry)) translateY(var(--flow-lift)); transition: opacity .72s var(--ease-out), transform .42s var(--ease-out), box-shadow .42s var(--ease-out), border-color .42s var(--ease-out); }
.step:nth-child(1) { --flow-i: 0; }
.step:nth-child(2) { --flow-i: 1; }
.step:nth-child(3) { --flow-i: 2; }
.step:nth-child(4) { --flow-i: 3; }
.js .process-flow:not(.flow-active) .step { opacity: 0; transform: translateY(48px) rotateX(-17deg) scale(.92); }
.js .process-flow.flow-active:not(.flow-ready) .step { transition-delay: calc(var(--flow-i) * 150ms + 120ms); }
.step:hover { --flow-lift: -9px; border-color: rgba(22,119,200,.32); box-shadow: 0 36px 58px -30px rgba(15,79,138,.42), inset 0 1px 0 #fff; }
.step::after { content: ""; position: absolute; inset: 12px; z-index: -1; border-radius: 17px; background: radial-gradient(circle at 50% 0%, rgba(84,168,222,.13), transparent 62%); transform: translateZ(-18px); pointer-events: none; }
.step-n { position: absolute; z-index: 2; top: -34px; left: 50%; width: 68px; height: 68px; border-radius: 50%; background: linear-gradient(145deg, #fff, #EAF5FD); border: 2px solid #CBE5F7; color: var(--primary-700); font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 18px 28px -14px rgba(15,79,138,.48), inset 0 0 0 6px rgba(255,255,255,.72); transform: translateX(-50%) translateZ(42px); transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
.step-n::before { content: ""; position: absolute; inset: -7px; border-radius: inherit; border: 1px solid rgba(22,119,200,.18); opacity: 0; transform: scale(.75); }
.flow-active .step-n { animation: process-node .75s calc(var(--flow-i) * 560ms + .45s) var(--ease-out) both; }
@keyframes process-node {
    0% { box-shadow: 0 18px 28px -14px rgba(15,79,138,.48), 0 0 0 0 rgba(22,119,200,.35); }
    50% { box-shadow: 0 22px 34px -12px rgba(15,79,138,.58), 0 0 0 12px rgba(22,119,200,0); }
}
.step:hover .step-n { background: linear-gradient(145deg, #2588C9, var(--primary-700)); color: #fff; border-color: var(--primary); }
.step:last-child { background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(255,245,245,.92)); }
.step:last-child .step-n { border-color: #F8CFCF; color: var(--brand-red); background: linear-gradient(145deg, #fff, #FFF0F0); }
.step:last-child:hover { border-color: rgba(217,75,75,.3); box-shadow: 0 36px 58px -30px rgba(160,52,52,.35), inset 0 1px 0 #fff; }
.step:last-child:hover .step-n { background: linear-gradient(145deg, #E45C5C, #B92F3E); color: #fff; border-color: var(--brand-red); }
.step h3 { position: relative; font-size: 1.08rem; margin: 0 0 .45rem; transform: translateZ(28px); }
.step p { position: relative; color: var(--n500); font-size: .93rem; line-height: 1.6; margin: 0; transform: translateZ(18px); }

/* ---------- mission / values / quote ---------- */
.mvv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.mvv-card { position: relative; background: #fff; border-radius: 20px; padding: 1.7rem; border-top: 4px solid var(--primary); box-shadow: 0 18px 40px -28px rgba(15, 40, 80, .4); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.mvv-card:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -28px rgba(15, 40, 80, .5); }
.mvv-card:nth-child(2) { border-top-color: var(--brand-red); }
.mvv-card h3 { font-size: 1.08rem; display: flex; align-items: center; gap: .5rem; }
.mvv-card p { color: var(--n700); line-height: 1.75; margin: 0; }
.values-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.values-row span { display: inline-flex; align-items: center; gap: .35rem; background: var(--primary-50); color: var(--primary-700); padding: .45rem .95rem; border-radius: 999px; font-weight: 700; font-size: .88rem; transition: transform .25s var(--ease), background-color .25s var(--ease); }
.values-row span:hover { transform: translateY(-2px); background: var(--primary-100); }
.quote-card { background: linear-gradient(135deg, var(--primary-700), #0B3A66 70%); color: #fff; border-radius: 28px; padding: clamp(1.8rem, 3vw, 2.8rem); position: relative; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(11, 58, 102, .8); }
.quote-card::before { content: "“"; position: absolute; right: 22px; top: -30px; font-size: 11rem; font-family: Georgia, serif; color: rgba(255,255,255,.07); }
.quote-card::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(217, 75, 75, .35), transparent 70%); left: -120px; bottom: -160px; }
.quote-card > * { position: relative; z-index: 1; }
.quote-card p { color: #E5F0FB; font-size: 1.12rem; line-height: 1.75; }
.quote-card .who { display: flex; align-items: center; gap: .8rem; margin-top: 1.4rem; }
.quote-card .who .av { width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.quote-card .who strong { display: block; color: #fff; }
.quote-card .who small { color: #BFD7EF; }

/* ---------- insurance ---------- */
.ins-band { position: relative; overflow: hidden; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 2.2rem; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 26px; padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: 0 24px 60px -36px rgba(15, 40, 80, .45); }
.ins-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, var(--primary-50), transparent 70%); }
.ins-band > * { position: relative; z-index: 1; }
.ins-band img { width: 100%; max-width: 200px; height: auto; transition: transform .6s var(--ease); }
.ins-band:hover img { transform: rotate(-3deg) scale(1.03); }
.check-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; color: var(--n700); line-height: 1.6; }
.check-list li .icon { color: var(--success); margin-top: .18rem; flex-shrink: 0; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.faq { display: grid; gap: .7rem; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 0 1.25rem; transition: box-shadow .3s var(--ease), border-color .3s var(--ease); }
.faq details[open] { border-color: var(--primary-100); box-shadow: 0 18px 40px -28px rgba(15, 40, 80, .45); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 0; font-weight: 700; font-family: var(--font-display); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--primary-50); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 700; transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq details p { margin: 0 0 1.1rem; color: var(--n700); line-height: 1.7; animation: faq-open .35s var(--ease-out); }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- page banner (inner pages) ---------- */
.page-banner { position: relative; overflow: hidden; background: var(--primary-700); color: #fff; }
.page-banner-img { position: absolute; inset: -12% 0; background: center / cover no-repeat; transform: translateY(var(--py, 0)) scale(1.05); }
.page-banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11, 58, 102, .96) 0%, rgba(15, 79, 138, .82) 50%, rgba(15, 79, 138, .45) 100%); }
.page-banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 2; background: linear-gradient(90deg, var(--brand-red) 0 18%, transparent 18%); }
.page-banner .site-wrap { position: relative; z-index: 2; padding-top: clamp(3rem, 6vw, 5.5rem); padding-bottom: clamp(3rem, 6vw, 5.5rem); }
.page-banner h1 { color: #fff; font-size: clamp(2rem, 3.6vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: .5rem; }
.page-banner p { color: #DCEBFA; margin: 0; max-width: 680px; font-size: 1.05rem; line-height: 1.65; }
.crumbs { font-size: .82rem; color: #BFD7EF; margin-bottom: .8rem; display: inline-flex; gap: .4rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: .3rem .8rem; border-radius: 999px; }
.crumbs a { color: #fff; }

/* ---------- gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.gallery-grid figure { position: relative; margin: 0; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.gallery-grid figure a { display: block; overflow: hidden; }
.gallery-grid img { width: 100%; height: 280px; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.06); }
.gallery-grid figcaption { padding: .8rem 1rem; font-size: .9rem; color: var(--n700); font-weight: 600; }
.gallery-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 1.6rem; }

/* ---------- contact + booking ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1.6rem; align-items: start; }
.info-card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 1.5rem; box-shadow: 0 18px 40px -30px rgba(15, 40, 80, .45); }
.info-card > * { position: relative; }
.info-row { display: flex; gap: .95rem; padding: 1rem 0; border-bottom: 1px solid var(--border-soft); }
.info-row:last-of-type { border-bottom: 0; }
.info-row .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--primary-50); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .3s var(--ease); }
.info-row:hover .ic { transform: scale(1.08); }
.info-row strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .2rem; }
.info-row a, .info-row span { color: var(--n900); font-weight: 600; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: clamp(1.25rem, 2.5vw, 2rem); box-shadow: 0 40px 80px -46px rgba(15, 40, 80, .55); border-top: 4px solid var(--brand-red); }
.form-card h2 { font-size: 1.45rem; }
.form-card input, .form-card select, .form-card textarea { border-radius: 10px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease); }
.form-card input:hover, .form-card select:hover, .form-card textarea:hover { border-color: var(--primary-100); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.success-card { text-align: center; padding: 2.5rem 1.5rem; }
.success-card .ok { width: 80px; height: 80px; border-radius: 50%; background: var(--success-50); color: var(--success); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; animation: pop .6s var(--ease-out) both; }
.success-card .ok .icon { width: 40px; height: 40px; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }
.ref { font-family: var(--font-mono); font-size: 1.4rem; font-weight: 700; color: var(--primary-700); background: var(--primary-50); padding: .45rem 1.1rem; border-radius: 12px; display: inline-block; margin: .5rem 0 1rem; letter-spacing: .06em; }
.map-link { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 170px; border-radius: 16px; background: linear-gradient(135deg, var(--primary-50), #fff); border: 1px dashed var(--primary-100); color: var(--primary-700); font-weight: 700; margin-top: 1rem; transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.map-link:hover { border-color: var(--primary); text-decoration: none; }

/* ---------- CTA + footer ---------- */
.site-cta { position: relative; overflow: hidden; background: linear-gradient(110deg, var(--primary-700) 0%, var(--primary) 100%); color: #fff; }
.site-cta::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -120px; top: -220px; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%); }
.site-cta::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; left: -100px; bottom: -200px; background: radial-gradient(circle, rgba(217, 75, 75, .35), transparent 70%); }
.site-cta .site-wrap { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-top: clamp(2.4rem, 4vw, 3.5rem); padding-bottom: clamp(2.4rem, 4vw, 3.5rem); }
.site-cta h2 { color: #fff; font-size: clamp(1.5rem, 2.2vw, 2.1rem); margin-bottom: .35rem; }
.site-cta p { margin: 0; color: #DCEBFA; }
.site-cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.site-footer { background: #0A2540; color: #B9C8D8; padding-top: clamp(2.5rem, 4vw, 4rem); font-size: .9rem; }
.site-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr; gap: 2rem; padding-bottom: 2.4rem; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin: .7rem 0; }
.site-footer h4 { color: #fff; font-size: .92rem; margin: 0 0 .9rem; font-family: var(--font-display); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { color: #B9C8D8; }
.site-footer ul a { display: inline-block; transition: color .2s var(--ease), transform .2s var(--ease); }
.site-footer ul a:hover { color: #fff; transform: translateX(3px); text-decoration: none; }
.site-footer-mark { width: 54px; background: #fff; border-radius: 14px; padding: 4px; }
.site-footer-purpose { font-style: italic; line-height: 1.65; }
.site-footer-contact li { display: flex; gap: .5rem; align-items: flex-start; }
.site-footer-contact .icon { margin-top: .2rem; color: #93C5FD; flex-shrink: 0; }
.site-footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.1rem; padding-bottom: 1.3rem; font-size: .8rem; }

/* back to top */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 45; width: 48px; height: 48px; border-radius: 14px; border: 0; background: var(--primary-700); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 16px 30px -12px rgba(15, 79, 138, .6); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .2s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--brand-red); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
    .site-menu-btn { display: inline-flex; }
    .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: .8rem var(--gutter) 1.2rem; border-bottom: 1px solid var(--border); box-shadow: 0 30px 40px -30px rgba(15, 40, 80, .4);
        opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
    .site-nav.open { opacity: 1; transform: none; visibility: visible; }
    .site-nav > a:not(.site-btn)::after { display: none; }
    .site-nav .site-btn { margin: .35rem 0 0; justify-content: center; }
    .highlights .site-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-footer-grid { grid-template-columns: 1fr 1fr; }
    .fc-1 { left: 10px; } .fc-2 { right: 10px; }
}
@media (max-width: 900px) {
    .hero .site-wrap, .split, .contact-grid, .ins-band, .faq-wrap { grid-template-columns: 1fr; }
    .highlights { margin-top: 1.2rem; }
    .svc-grid, .mvv, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem 1rem; }
    .steps::before { display: none; }
    .steps::after { display: none; }
    .site-topbar .site-wrap > span:first-child { display: none; }
    .book-grid .form-card { order: -1; }
}
@media (max-width: 560px) {
    :root { --gutter: 16px; }
    .site-logo img, .site-header.scrolled .site-logo img { height: 36px; }
    .highlights .site-wrap, .svc-grid, .mvv, .gallery-grid, .site-footer-grid, .steps { grid-template-columns: 1fr; }
    .steps { gap: 3.5rem; }
    .step { min-height: 0; padding-left: 1.3rem; padding-right: 1.3rem; }
    .site-topbar .tb-right a:last-child { display: none; }
    .hero-actions .site-btn, .site-cta-actions .site-btn { width: 100%; justify-content: center; }
    .hero-trust { gap: 1rem; }
    .float-card { padding: .55rem .75rem; }
    .fc-2 { display: none; }
    .to-top { right: 14px; bottom: 14px; }
}

/* large & ultra-wide: expansive scaling so 21:9 and wide monitors use screen width naturally without large empty margins */
@media (min-width: 1440px) {
    :root { --site-max: min(94vw, 1500px); --gutter: 2rem; }
    .hero p.lead { max-width: 42rem; }
}

@media (min-width: 1680px) {
    html.site-root { font-size: calc(10.5px + .3vw); }   /* 1680 → 15.5px · 2560 → 18.2px · 3440 → 20.8px */
    :root { --site-max: min(95vw, 1850px); --gutter: 2.25rem; }
    body.site { font-size: 1rem; }
    .site-header .site-wrap { min-height: 5rem; }
    .site-header.scrolled .site-wrap { min-height: 4rem; }
    .site-logo img { height: 3rem; }
    .site-header.scrolled .site-logo img { height: 2.5rem; }
    .hero h1 { font-size: 4.2rem; }
    .hero p.lead { font-size: 1.2rem; max-width: 48rem; }
    .section-head { max-width: 820px; }
    .hero-photo { aspect-ratio: auto; height: clamp(26rem, 58vh, 48rem); }
    .trust-item img { width: 2.5rem; } .trust-item .icon { width: 1.9rem; height: 1.9rem; }
    .float-card img { width: 2.1rem; } .fc-icon { width: 2.5rem; height: 2.5rem; }
    .hl-card .hl-icon { width: 3.1rem; height: 3.1rem; } .hl-card .hl-icon .icon { width: 1.5rem; height: 1.5rem; }
    .svc-card .svc-icon { width: 3.5rem; height: 3.5rem; } .svc-card .svc-icon .icon { width: 1.7rem; height: 1.7rem; }
    .step-n { width: 4.25rem; height: 4.25rem; } .steps::before { top: 2.1rem; }
    .icon { width: 1.15rem; height: 1.15rem; } .icon-sm { width: .95rem; height: .95rem; }
    .info-row .ic { width: 2.9rem; height: 2.9rem; }
    .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .gallery-grid img { height: 18rem; }
    .ins-band { grid-template-columns: 16rem minmax(0, 1fr); } .ins-band img { max-width: 15rem; }
    .brand-panel { min-height: 22rem; } .brand-panel img { max-width: 24rem; }
    .site-footer-mark { width: 3.4rem; }
    .to-top { width: 3rem; height: 3rem; }
    .hero-bg .b1 { width: 34vw; height: 34vw; } .hero-bg .b2 { width: 28vw; height: 28vw; }
}

/* ultra-wide displays (21:9 monitors, 2560px, 3440px, 3840px, 5120px) */
@media (min-width: 2100px), (min-width: 1700px) and (min-aspect-ratio: 1.85 / 1) {
    :root { --site-max: min(96vw, 2400px); --gutter: 2.5rem; }
    .hero .site-wrap { min-height: calc(100vh - 8rem); grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 4rem; }
    .hero p.lead { font-size: 1.25rem; max-width: 52rem; }
    .section-head { max-width: 920px; }
    .hero-photo { height: clamp(28rem, 62vh, 52rem); }
    .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
    .brand-panel { min-height: 26rem; } .brand-panel img { max-width: 28rem; }
}

/* ---------- header v2: compact logo, call button, animated burger, full-height mobile menu ---------- */
.site-logo { display: flex; align-items: center; text-decoration: none !important; }
.logo-compact, .site-call, .nav-chev, .site-nav-contact { display: none; }
.site-nav-ctas { display: contents; }
.site-header-actions { display: none; align-items: center; gap: .5rem; }
.site-menu-btn { position: relative; flex-direction: column; gap: 5px; padding: 0; }
.site-menu-btn span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--n900); transition: transform .3s var(--ease), opacity .2s var(--ease); }
.site-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-call { width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; background: var(--brand-red-50); color: var(--brand-red); border: 1px solid #F8CFCF; }
.site-call:hover { background: var(--brand-red); color: #fff; }
body.menu-open { overflow: hidden; }

@media (max-width: 1180px) {
    /* a backdrop-filter would make the header the containing block of the fixed menu panel */
    .site-header, .site-header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
    .site-header-actions { display: flex; }
    .site-menu-btn { display: inline-flex; }
    .site-nav { position: fixed; top: var(--hdr, 72px); left: 0; right: 0; bottom: 0; height: auto; overflow-y: auto; gap: 0;
        padding: .6rem var(--gutter) calc(1.4rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--border-soft); box-shadow: none;
        opacity: 0; transform: translateY(-10px); visibility: hidden; }
    .site-nav.open { opacity: 1; transform: none; visibility: visible; }
    .site-nav > a:not(.site-btn) { display: flex; align-items: center; justify-content: space-between; padding: 1rem .25rem; border-radius: 0; border-bottom: 1px solid var(--border-soft); font-size: 1.05rem; color: var(--n900); }
    .site-nav > a.active { color: var(--primary); }
    .site-nav > a:not(.site-btn):hover { background: none; }
    .nav-chev { display: inline-block; color: var(--n400); }
    .site-nav-ctas { display: grid; gap: .6rem; margin-top: 1.2rem; }
    .site-nav-ctas .site-btn { margin: 0; justify-content: center; padding: .9rem 1rem; font-size: .98rem; }
    .site-nav-contact { display: grid; gap: .6rem; margin-top: 1.4rem; padding: 1rem; border-radius: 14px; background: var(--bg); font-size: .9rem; color: var(--n700); }
    .site-nav-contact a, .site-nav-contact span { display: flex; align-items: center; gap: .5rem; color: inherit; }
    .site-nav-contact .icon { color: var(--primary); }
}
@media (max-width: 760px) {
    .site-topbar { display: none; }
    .site-call { display: inline-flex; }
    .site-logo .logo-wide { display: none; }
    .logo-compact { display: flex; align-items: center; gap: .6rem; }
    .site-header .logo-compact img, .site-header.scrolled .logo-compact img { width: 38px; height: auto; flex-shrink: 0; }
    .logo-compact strong { display: block; font-family: var(--font-display); font-size: 1.02rem; font-weight: 800; color: var(--primary-700); line-height: 1.1; letter-spacing: .01em; }
    .logo-compact small { display: block; font-size: .72rem; font-weight: 600; color: var(--brand-red); line-height: 1.2; letter-spacing: .01em; }
    .site-header .site-wrap, .site-header.scrolled .site-wrap { min-height: 64px; }
    .site-header { background: rgba(255,255,255,.96); border-bottom-color: var(--border-soft); }
    /* hero: tighter top, one row of tags */
    .hero .site-wrap { padding-top: 1.5rem; }
    .hero-tags { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 1rem; padding: 0 var(--gutter); }
    .hero-tags::-webkit-scrollbar { display: none; }
    .hero-tags { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
    .hero-tags span { flex-shrink: 0; font-size: .72rem; padding: .28rem .65rem; }
    .hero h1 { font-size: clamp(2rem, 8.6vw, 2.6rem); }
    .hero p.lead { font-size: 1rem; margin-bottom: 1.4rem; }
    .hero-photo { transform: none !important; aspect-ratio: 4 / 3; }
    .hero-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin-top: 1.6rem; padding-top: 1.2rem; }
    .trust-item { flex-direction: column; align-items: flex-start; gap: .35rem; font-size: .72rem; }
    .trust-item strong { font-size: 1.6rem; }
    .trust-item img { width: 30px; } .trust-item .icon { width: 26px; height: 26px; }
    .fc-1 { left: 10px; bottom: 12px; }
    .page-banner .site-wrap { padding-top: 2.4rem; padding-bottom: 2.4rem; }
}

/* ---------- phones & small tablets: clean, image-led hero ---------- */
.hero-mobile-bg, .lead-short, .hero-name { display: none; }
@media (max-width: 900px) {
    .hero { background: #0A3157; color: #fff; }
    .hero-bg, .hero-visual, .hero-tags, .hero-trust { display: none; }
    /* photo on top (no text over it), fading into solid navy where the text sits */
    .hero-mobile-bg { display: block; position: absolute; left: 0; right: 0; top: 0; height: clamp(220px, 40svh, 380px); overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
    .hero-mobile-bg > div { position: absolute; inset: -4%; background: center 30% / cover no-repeat; animation: kenburns 22s ease-in-out infinite alternate; }
    .hero-mobile-bg::after { content: ""; position: absolute; inset: 0;
        background: linear-gradient(180deg, rgba(10, 49, 87, 0) 0%, rgba(10, 49, 87, 0) 55%, rgba(10, 49, 87, .75) 82%, #0A3157 100%); }
    .hero .site-wrap { min-height: 0; display: block; padding-top: calc(clamp(220px, 40svh, 380px) - 1.4rem); padding-bottom: 2rem; }
    .hero-name { display: block; margin-bottom: .6rem; }
    .hero-name img, .hero-name small { display: none; }
    .hero-name strong { font-family: var(--font-body, inherit); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #FCA5A5; }
    .hero h1 { color: #fff; font-size: clamp(1.95rem, 8.4vw, 2.6rem); line-height: 1.1; margin-bottom: .75rem; }
    .hero h1 em { background: linear-gradient(90deg, #9FD0FF, #fff 75%); -webkit-background-clip: text; background-clip: text; color: transparent; }
    .hero p.lead { color: #D6E6F6; font-size: 1.02rem; line-height: 1.6; margin-bottom: 1.4rem; max-width: 30rem; }
    .lead-full { display: none; } .lead-short { display: inline; }
    .hero-actions { display: flex; flex-direction: column; align-items: stretch; gap: .35rem; }
    .hero-actions .site-btn-red { width: 100%; justify-content: center; padding: .95rem 1rem; font-size: 1rem; }
    .hero-actions .site-btn-outline { align-self: center; width: auto !important; background: none; border: 0; box-shadow: none; color: #DCEBFA; padding: .6rem .8rem; font-weight: 600; }
    .hero-actions .site-btn-outline::after { display: none; }
    .hero-actions .site-btn-outline:hover { color: #fff; transform: none; }
    /* highlights: compact 2 x 2 grid under the hero */
    .highlights { margin-top: 1.2rem; }
    .highlights .site-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
    .hl-card { flex-direction: column; align-items: flex-start; gap: .55rem; padding: .9rem; border-radius: 16px; }
    .hl-card .hl-icon { width: 40px; height: 40px; border-radius: 12px; }
    .hl-card .hl-icon .icon { width: 20px; height: 20px; }
    .hl-card strong { font-size: .9rem; line-height: 1.25; }
    .hl-card small { font-size: .76rem; }
}
/* facility showcase grid */
.facility-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}
.facility-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 14px 32px -16px rgba(15, 40, 80, 0.22);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}
.facility-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 28px 60px -20px rgba(15, 40, 80, 0.35);
    border-color: rgba(22, 119, 200, 0.35);
}
.facility-img {
    height: 210px;
    background: center / cover no-repeat;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.facility-card:hover .facility-img {
    transform: scale(1.07);
}
.facility-info {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.facility-info h3 {
    font-size: 1.05rem;
    margin: 0.5rem 0 0.35rem;
}
.facility-info p {
    color: var(--n500);
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0;
}
@media (max-width: 1100px) {
    .facility-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .facility-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) { .highlights .site-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- 3D card physics, glowing ECG monitor, and sweet transitions ---------- */
.tilt-card {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.4, 1), box-shadow 0.25s ease;
    will-change: transform;
}
.tilt-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(circle 240px at var(--lx, 50%) var(--ly, 50%), rgba(255, 255, 255, 0.45), transparent 70%);
    opacity: var(--sheen, 0);
    transition: opacity 0.3s ease;
    z-index: 6;
}

/* live ECG vital monitor badge */
.ecg-monitor {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(22, 119, 200, 0.22);
    border-radius: 999px;
    padding: 0.35rem 1rem 0.35rem 0.8rem;
    box-shadow: 0 8px 24px -8px rgba(15, 79, 138, 0.22);
    margin-bottom: 1rem;
    width: fit-content;
}
.live-status {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-700);
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.pulse-dot-wrap {
    position: relative;
    display: inline-flex;
    width: 10px;
    height: 10px;
}
.pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #16A34A;
    box-shadow: 0 0 8px #16A34A;
}
.pulse-ring {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid #16A34A;
    animation: radar-ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes radar-ping {
    0% { transform: scale(0.8); opacity: 1; }
    70%, 100% { transform: scale(2.4); opacity: 0; }
}
.ecg-svg {
    width: 90px;
    height: 20px;
    overflow: visible;
    flex-shrink: 0;
}
.ecg-wave {
    fill: none;
    stroke: #16A34A;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: ecg-sweep 2.2s linear infinite;
    filter: drop-shadow(0 0 4px rgba(22, 163, 74, 0.6));
}
@keyframes ecg-sweep {
    0% { stroke-dashoffset: 200; }
    50% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -200; }
}

/* enhanced 3D cards & hover responsiveness */
.hl-card, .svc-card, .mvv-card {
    transform-style: preserve-3d;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}
.hl-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 24px 50px -18px rgba(15, 40, 80, 0.38);
    border-color: rgba(22, 119, 200, 0.25);
}
.svc-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 32px 64px -22px rgba(15, 40, 80, 0.35);
    border-color: rgba(22, 119, 200, 0.35);
}
.svc-card:hover .svc-icon {
    transform: scale(1.12) rotate(-6deg);
    box-shadow: 0 10px 24px -6px rgba(22, 119, 200, 0.35);
}
.hero-visual {
    transform-style: preserve-3d;
}
.hero-visual:hover .float-card.fc-1 {
    transform: translateY(-16px) translateZ(40px) scale(1.05);
}
.hero-visual:hover .float-card.fc-2 {
    transform: translateY(-12px) translateZ(35px) scale(1.04);
}

/* magnetic button sweet feedback */
.site-btn {
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.4, 1), box-shadow 0.25s ease, background-color 0.2s ease;
}
.site-btn:hover {
    transform: translateY(-3px) scale(1.02);
}

/* reduced motion: no transforms, no loops, content always visible */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js .h-in, .js .reveal { opacity: 1 !important; transform: none !important; }
    .hero-photo, .page-banner-img { transform: none !important; }
    .process-flow .step { opacity: 1 !important; transform: none !important; }
    .process-flow::after { transform: rotateX(58deg) scaleX(1) !important; }
}
