/* ============================================================
   Afyacon — Marketing layer v3 "Evergreen Paper"
   Editorial serif display, flat premium surfaces, photographic
   overlays only where light needs taming.
   ============================================================ */
.container-wide { max-width: 1240px; margin: 0 auto; padding: 0 1.4rem; }

.eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .42rem .95rem; border-radius: 999px;
    background: var(--accent-faint); color: var(--accent-dark); font-weight: 700; font-size: .72rem;
    letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--accent-soft); }
.eyebrow.on-dark { background: rgba(14,138,102,.2); color: #cdeadd; border-color: rgba(188,224,208,.3); }
.display { font-family: var(--font-display); font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.02;
    letter-spacing: -.015em; font-weight: 560; font-variation-settings: 'opsz' 120; }
.display em, h1 em.hl, h2 em.hl { font-style: italic; font-weight: 540; color: var(--accent-dark); }
.lead-lg { font-size: clamp(1.04rem, 1.5vw, 1.22rem); color: var(--ink-soft); line-height: 1.65; }
/* legacy alias — solid accent italic instead of a gradient */
.grad-text { font-style: italic; color: var(--accent-dark); }
.cta-row { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }

/* ============================================================
   SITE HEADER — utility bar + brand bar scroll away, nav sticks
   ============================================================ */
.site-header { position: relative; z-index: 900; }

/* Top utility bar */
.topbar { background: var(--primary-deep); color: #9db0a5; font-size: .8rem; }
.topbar .tb-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem 0; }
.topbar a { color: #b7c6bd; }
.topbar a:hover { color: #fff; text-decoration: none; }
.tb-left { display: flex; gap: 1.6rem; align-items: center; }
.tb-left span, .tb-left a { display: inline-flex; align-items: center; gap: .45rem; }
.tb-left i { color: var(--accent-soft); font-size: .75rem; }
.tb-right { display: flex; align-items: center; gap: 1.1rem; }
.tb-note { color: #7e928a; }
.tb-note strong { color: #f0e9d8; font-weight: 600; }
.tb-social { display: flex; gap: .45rem; }
.tb-social a { width: 27px; height: 27px; border-radius: 8px; background: rgba(255,255,255,.08); display: grid; place-items: center; font-size: .78rem; transition: background .15s, transform .15s; }
.tb-social a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }

/* Middle brand bar */
.midbar { background: var(--bg); border-bottom: 1px solid var(--line-soft); }
.midbar .mb-row { display: flex; align-items: center; gap: 1.5rem; padding: 1.05rem 0; }
.brand-lg { display: flex; align-items: center; gap: .85rem; }
.brand-lg:hover { text-decoration: none; }
.brand-lg .logo { width: 50px; height: 50px; border-radius: 15px; background: var(--primary-dark);
    display: grid; place-items: center; color: #f0e9d8; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem;
    box-shadow: 0 6px 16px rgba(10,24,21,.25); }
.brand-lg .bt { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; color: var(--primary-dark); letter-spacing: -.01em; line-height: 1; }
.brand-lg .bs { font-size: .66rem; color: var(--ink-mute); letter-spacing: .22em; text-transform: uppercase; font-weight: 600; margin-top: .3rem; display: block; }
.mb-right { margin-left: auto; display: flex; align-items: center; gap: 1.4rem; }
.mb-call { display: flex; align-items: center; gap: .7rem; }
.mb-call:hover { text-decoration: none; }
.mb-call .mc-ic { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-faint); border: 1px solid var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; font-size: 1rem; }
.mb-call .mc-l { font-size: .7rem; color: var(--ink-mute); letter-spacing: .04em; }
.mb-call .mc-n { font-weight: 700; color: var(--primary-dark); font-size: 1rem; line-height: 1.1; letter-spacing: .01em; }
.mb-burger { display: none; margin-left: auto; background: none; border: 0; font-size: 1.5rem; color: var(--primary-dark); cursor: pointer; }

/* Main nav (sticky, evergreen) */
.mainnav { position: sticky; top: 0; z-index: 1000; background: var(--primary-dark);
    box-shadow: 0 1px 0 rgba(255,255,255,.06) inset; transition: box-shadow .25s; }
.mainnav.stuck { box-shadow: 0 14px 34px rgba(10,24,21,.3); }
.mainnav .nav-row { display: flex; align-items: center; gap: .1rem; }
.mainnav .nav-brand { display: flex; align-items: center; gap: .55rem; color: #f4f1e8; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
    max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; transition: max-width .35s var(--ease), opacity .3s, margin .3s; }
.mainnav .nav-brand:hover { text-decoration: none; color: #fff; }
.mainnav .nav-brand .logo { width: 32px; height: 32px; border-radius: 10px; background: var(--accent); display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .95rem; flex-shrink: 0; }
.mainnav.stuck .nav-brand { max-width: 190px; opacity: 1; margin-right: 1.1rem; }
.mainnav .nav-links { display: flex; align-items: center; gap: .05rem; }
.mainnav .nav-links > a, .mainnav .drop > a { display: inline-flex; align-items: center; gap: .4rem;
    padding: 1.05rem 1.05rem; font-weight: 500; font-size: .92rem; color: #a9bbb1; letter-spacing: .01em;
    border-bottom: 2px solid transparent; cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
.mainnav .nav-links > a:hover, .mainnav .drop:hover > a { color: #fff; text-decoration: none; background: rgba(255,255,255,.05); border-bottom-color: var(--accent); }
.mainnav .nav-links > a.active { color: #fff; border-bottom-color: #2fbd8f; background: rgba(14,138,102,.16); }
.mainnav .drop { position: relative; }
.mainnav .drop-menu { position: absolute; top: 100%; left: 0; min-width: 310px; background: var(--surface);
    border: 1px solid var(--line-soft); border-radius: 18px; box-shadow: var(--shadow-lg); padding: .6rem;
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s var(--ease); }
.mainnav .drop:hover .drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mainnav .drop-menu a { display: flex; gap: .85rem; align-items: flex-start; padding: .75rem .85rem; border-radius: 12px; color: var(--ink); }
.mainnav .drop-menu a:hover { background: var(--bg-alt); text-decoration: none; }
.mainnav .drop-menu .di { width: 38px; height: 38px; border-radius: 11px; background: var(--accent-faint); border: 1px solid rgba(14,138,102,.14); color: var(--accent-dark); display: grid; place-items: center; flex-shrink: 0; }
.mainnav .drop-menu .dt { font-weight: 700; color: var(--primary-dark); font-size: .9rem; line-height: 1.2; display: block; }
.mainnav .drop-menu .dd { font-size: .77rem; color: var(--ink-mute); }

/* Register CTA in the nav */
.btn-register { margin-left: auto; display: inline-flex; align-items: center; gap: .55rem; padding: .62rem 1.3rem; border-radius: 999px;
    font-weight: 600; font-size: .88rem; color: #08110e; white-space: nowrap; letter-spacing: .01em;
    background: #efe7d2; box-shadow: 0 6px 18px rgba(0,0,0,.25);
    border: 1px solid rgba(255,255,255,.2); transition: transform .16s var(--ease), box-shadow .2s, background .2s; }
.btn-register:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.35); color: #08110e; background: #fff; text-decoration: none; }
.btn-register .fa-hospital { color: var(--accent-dark); }
.btn-register .fa-arrow-right { transition: transform .2s var(--ease); font-size: .78rem; }
.btn-register:hover .fa-arrow-right { transform: translateX(4px); }

/* Nav hamburger (mobile only) */
.nav-burger { display: none; margin-left: auto; background: none; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; padding: .4rem .3rem; line-height: 1; }
.mainnav .nav-links .mob-only { display: none; }

@media (max-width: 1080px) {
    .midbar { display: none; }
    .nav-burger { display: block; }
    .mainnav .nav-row { position: relative; padding: .15rem 0; }
    .mainnav .nav-brand { max-width: 210px; opacity: 1; margin-right: auto; }
    .mainnav .nav-brand .logo { width: 34px; height: 34px; }
    .mainnav .nav-links { display: none; position: absolute; top: 100%; left: -1.4rem; right: -1.4rem; background: var(--surface);
        flex-direction: column; align-items: stretch; padding: .6rem; box-shadow: var(--shadow-lg); border-bottom: 1px solid var(--line);
        max-height: 78vh; overflow-y: auto; z-index: 60; }
    .mainnav .nav-links.open { display: flex; }
    .mainnav .nav-links > a, .mainnav .drop > a { color: var(--ink-soft); border-bottom: 0; border-radius: 12px; padding: .8rem 1rem; }
    .mainnav .nav-links > a:hover, .mainnav .drop:hover > a { background: var(--bg-alt); border-bottom: 0; color: var(--accent-dark); }
    .mainnav .nav-links > a.active { background: var(--accent-faint); color: var(--accent-dark); }
    .mainnav .drop-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: .1rem 0 .3rem 1rem; }
    .btn-register { display: none; }
    .topbar .tb-note { display: none; }
    .tb-left { gap: 1rem; }
    .mainnav .nav-links .mob-only { display: flex !important; align-items: center; gap: .5rem; color: var(--accent-dark); font-weight: 700; }
    .mainnav .nav-links .mob-register { justify-content: center; color: #fff !important; background: var(--accent-dark); margin-top: .4rem; }
    .mainnav .nav-links .mob-register:hover { color: #fff !important; }
}
@media (max-width: 640px) { .tb-left a:last-of-type, .tb-left span { display: none; } }

/* ============================================================
   HERO — editorial, warm paper, layered visual
   ============================================================ */
.hero2 { position: relative; overflow: hidden; padding: 5rem 0 5.5rem; background: var(--bg); }
.hero2::before { content: ''; position: absolute; inset: 0; background-image: var(--grid-tex); opacity: .45; pointer-events: none;
    -webkit-mask-image: radial-gradient(900px 600px at 30% 20%, #000, transparent 75%); mask-image: radial-gradient(900px 600px at 30% 20%, #000, transparent 75%); }
.hero2::after { content: ''; position: absolute; width: 720px; height: 720px; right: -240px; top: -280px; border-radius: 50%;
    background: radial-gradient(circle, rgba(14,138,102,.1), transparent 62%); pointer-events: none; }
.hero2 .grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.04fr .96fr; gap: 3.5rem; align-items: center; }
.hero2 h1 { margin: 1.4rem 0 1.2rem; }
.hero2 .cta-row { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }
.hero2 .trust { display: flex; align-items: center; gap: .95rem; margin-top: 2rem; flex-wrap: wrap; }
.hero2 .avatars { display: flex; }
.hero2 .avatars img { width: 42px; height: 42px; border-radius: 50%; border: 2.5px solid var(--bg); object-fit: cover; margin-left: -12px; box-shadow: var(--shadow-sm); }
.hero2 .avatars img:first-child { margin-left: 0; }
.hero2 .trust .t-txt { font-size: .86rem; color: var(--ink-soft); line-height: 1.5; }
.hero2 .trust .t-txt strong { color: var(--primary-dark); }

/* Inline hero metrics */
.hero-metrics { display: flex; gap: 2.2rem; margin-top: 2.4rem; padding-top: 1.8rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-metrics .hm .n { font-family: var(--font-display); font-weight: 600; font-size: 1.85rem; color: var(--primary-dark); line-height: 1; }
.hero-metrics .hm .n .u { color: var(--accent-dark); }
.hero-metrics .hm .l { font-size: .8rem; color: var(--ink-mute); margin-top: .4rem; }

/* Hero auth card (home) */
.hero-auth { position: relative; max-width: 470px; margin-left: auto; width: 100%; }
.hero-auth::before { content: ''; position: absolute; inset: 22px -22px -22px 22px; border-radius: 30px;
    background: var(--accent-faint); border: 1px solid var(--accent-soft); z-index: 0; }
.hero-auth .ha-card { position: relative; z-index: 1; background: var(--surface); border: 1px solid var(--line-soft);
    border-radius: 26px; box-shadow: var(--shadow-lg); padding: 1.9rem 1.9rem 1.5rem; }
.hero-auth .ha-head { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1.3rem; }
.hero-auth .ha-head .ha-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--accent-faint); border: 1px solid var(--accent-soft);
    color: var(--accent-dark); display: grid; place-items: center; font-size: 1.05rem; flex-shrink: 0; }
.hero-auth .ha-head h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; margin: 0 0 .15rem; letter-spacing: -.01em; }
.hero-auth .ha-head p { margin: 0; font-size: .85rem; color: var(--ink-mute); }
.hero-auth .ha-links { display: flex; justify-content: space-between; gap: .6rem; flex-wrap: wrap; margin-top: .9rem; font-size: .84rem; font-weight: 600; }
.hero-auth .ha-divider { display: flex; align-items: center; gap: .8rem; margin: 1.15rem 0 .9rem; color: var(--ink-mute);
    font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; white-space: nowrap; }
.hero-auth .ha-divider::before, .hero-auth .ha-divider::after { content: ''; height: 1px; background: var(--line-soft); flex: 1; }
.hero-auth .ha-reg { display: grid; gap: .5rem; }
.hero-auth .ha-reg a { display: flex; align-items: center; gap: .8rem; padding: .62rem .8rem; border: 1px solid var(--line-soft);
    border-radius: 14px; color: var(--ink); background: var(--surface); transition: border-color .16s, background .16s, transform .16s var(--ease); }
.hero-auth .ha-reg a:hover { border-color: var(--accent-soft); background: var(--accent-faint); text-decoration: none; transform: translateX(3px); }
.hero-auth .ha-reg .ri { width: 38px; height: 38px; border-radius: 11px; background: var(--accent-faint); border: 1px solid rgba(14,138,102,.14);
    color: var(--accent-dark); display: grid; place-items: center; font-size: .95rem; flex-shrink: 0; }
.hero-auth .ha-reg .ri.r2 { background: #e7edfb; border-color: rgba(29,78,216,.12); color: var(--info); }
.hero-auth .ha-reg .ri.r3 { background: #f3e9f7; border-color: rgba(126,34,166,.12); color: #7e22a6; }
.hero-auth .ha-reg strong { display: block; font-size: .88rem; color: var(--primary-dark); line-height: 1.25; }
.hero-auth .ha-reg small { display: block; font-size: .74rem; color: var(--ink-mute); line-height: 1.3; }
.hero-auth .ha-reg .ra { margin-left: auto; color: var(--accent-dark); font-size: .78rem; opacity: 0; transform: translateX(-4px); transition: opacity .16s, transform .16s var(--ease); }
.hero-auth .ha-reg a:hover .ra { opacity: 1; transform: none; }
.hero-auth .ha-foot { display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap;
    margin-top: 1.15rem; padding-top: .95rem; border-top: 1px dashed var(--line); font-size: .8rem; color: var(--ink-soft); }
.hero-auth .ha-foot strong { color: var(--primary-dark); }
.hero-auth .ha-foot a { font-weight: 600; }
@media (max-width: 980px) { .hero-auth { margin: 0 auto; } .hero-auth::before { inset: 16px -12px -16px 12px; } }

/* Layered hero visual */
.hero-visual { position: relative; }
.hero-visual .frame { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line-soft); }
.hero-visual .frame::after { content: ''; position: absolute; inset: 0; border-radius: 28px; box-shadow: inset 0 0 0 1px rgba(10,24,21,.08); pointer-events: none; }
.hero-visual .main-img { width: 100%; height: 540px; object-fit: cover; display: block; background: var(--bg-alt);
    transform: scale(1.02); transition: transform 8s ease; }
.hero-visual:hover .main-img { transform: scale(1.08); }
.hero-visual .frame-sm { position: absolute; right: -1.6rem; bottom: -2rem; width: 210px; border-radius: 20px; overflow: hidden;
    border: 5px solid var(--bg); box-shadow: var(--shadow-lg); z-index: 3; }
.hero-visual .frame-sm img { display: block; width: 100%; height: 170px; object-fit: cover; }
.hero-visual .float { position: absolute; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); z-index: 4;
    border: 1px solid var(--line-soft); border-radius: 16px; padding: .85rem 1.1rem; box-shadow: var(--shadow-lg); display: flex; gap: .75rem; align-items: center; }
.hero-visual .float .fi { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.05rem; flex-shrink: 0; }
.hero-visual .f1 { top: 1.6rem; left: -1.6rem; animation: floaty 5.5s ease-in-out infinite; }
.hero-visual .f2 { bottom: 4.5rem; left: -2rem; animation: floaty 6.5s ease-in-out infinite .7s; }
.hero-visual .float .fk { font-family: var(--font-display); font-weight: 600; color: var(--primary-dark); font-size: 1.08rem; line-height: 1.1; }
.hero-visual .float .fl { font-size: .72rem; color: var(--ink-mute); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 980px) {
    .hero2 { padding: 3.5rem 0 4.5rem; }
    .hero2 .grid { grid-template-columns: 1fr; gap: 3rem; }
    .hero-visual .main-img { height: 400px; }
    .hero-visual .f1 { left: .6rem; } .hero-visual .f2 { left: .6rem; bottom: 3rem; }
    .hero-visual .frame-sm { right: .6rem; bottom: -1.4rem; }
}

/* ============================================================
   Marquee — facility types ticker
   ============================================================ */
.marquee { background: var(--primary-dark); border-top: 1px solid rgba(255,255,255,.06); overflow: hidden; padding: 1.05rem 0; position: relative; }
.marquee::before, .marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--primary-dark), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--primary-dark), transparent); }
.marquee .mq-track { display: flex; gap: 3rem; width: max-content; animation: mq 34s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
.marquee .mq-item { display: inline-flex; align-items: center; gap: .65rem; color: #b7c6bd; font-weight: 600; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.marquee .mq-item i { color: #3ec498; font-size: .95rem; }
.marquee .mq-item .dot-sep { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.22); display: inline-block; margin-left: 3rem; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee .mq-track { animation: none; } }

/* Legacy type band (kept for other pages) */
.type-band { background: var(--surface); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.type-band .tb-inner { padding: 2.2rem 0; }
.type-band .tb-lbl { text-align: center; font-size: .74rem; text-transform: uppercase; letter-spacing: .18em; color: var(--ink-mute); font-weight: 700; margin-bottom: 1.4rem; }
.type-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.type-chip { display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: 1.1rem .5rem; border-radius: 16px;
    border: 1px solid var(--line-soft); background: var(--surface); transition: transform .18s var(--ease), box-shadow .18s, border-color .18s; text-align: center; }
.type-chip:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent-soft); text-decoration: none; }
.type-chip .tc-ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 1.3rem;
    background: var(--accent-faint); color: var(--accent-dark); border: 1px solid var(--accent-soft); transition: transform .3s var(--ease); }
.type-chip:hover .tc-ic { transform: scale(1.08) rotate(-4deg); }
.type-chip .tc-l { font-weight: 700; color: var(--primary-dark); font-size: .87rem; }
@media (max-width: 900px) { .type-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .type-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   Sections
   ============================================================ */
.sec { padding: 6rem 0; }
.sec-sm { padding: 3.75rem 0; }
.sec-head2 { max-width: 720px; margin: 0 auto 3.5rem; text-align: center; }
.sec-head2 h2 { margin: 1rem 0 .7rem; font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.sec-head2.left { text-align: left; margin-left: 0; }

/* Framed image utility */
.img-frame { position: relative; }
.img-frame::before { content: ''; position: absolute; inset: 14px -14px -14px 14px; border-radius: 24px; background: var(--accent-faint); z-index: 0; }
.img-frame img { position: relative; z-index: 1; border-radius: 20px; box-shadow: var(--shadow-lg); border: 4px solid var(--surface); }
.img-frame.rev::before { inset: 14px 14px -14px -14px; }

/* Feature rows */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.frow + .frow { margin-top: 6rem; }
.frow.rev .fr-media { order: 2; }
.frow .fr-media { position: relative; }
.frow .fr-media > img { width: 100%; height: 450px; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-lg); border: 6px solid var(--surface); background: var(--bg-alt); transition: transform .5s var(--ease); }
.frow .fr-media::before { content: ''; position: absolute; inset: 20px -20px -20px 20px; border-radius: 26px; background: var(--bg-alt); border: 1px solid var(--line-soft); z-index: -1; transition: inset .4s var(--ease); }
.frow.rev .fr-media::before { inset: 20px 20px -20px -20px; }
.frow .fr-media:hover > img { transform: translateY(-6px); }
.frow .fr-media:hover::before { inset: 26px -26px -26px 26px; }
.frow.rev .fr-media:hover::before { inset: 26px 26px -26px -26px; }
.frow .fr-media .tag { position: absolute; left: 1.2rem; bottom: 1.2rem; z-index: 2; background: rgba(255,255,255,.97); border-radius: 12px; padding: .6rem 1rem; font-weight: 700; font-size: .84rem; color: var(--primary-dark); box-shadow: var(--shadow); display: flex; gap: .5rem; align-items: center; }
.frow h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.15; margin-bottom: .9rem; letter-spacing: -.01em; }
.frow ul.checks { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .75rem; }
.frow ul.checks li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink-soft); }
.frow ul.checks li i { color: var(--accent); margin-top: .22rem; }
@media (max-width: 900px) { .frow { grid-template-columns: 1fr; gap: 2.5rem; } .frow.rev .fr-media { order: 0; } .frow .fr-media > img { height: 320px; } }

/* ============================================================
   Bento value grid (home)
   ============================================================ */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.4rem; }
.bento .bx { position: relative; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
    overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
    transition: transform .24s var(--ease), box-shadow .24s, border-color .24s; }
.bento .bx:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--accent-soft); }
.bento .bx-7 { grid-column: span 7; }
.bento .bx-5 { grid-column: span 5; }
.bento .bx-4 { grid-column: span 4; }
.bento .bimg { height: 240px; overflow: hidden; position: relative; background: var(--bg-alt); }
.bento .bimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); display: block; }
.bento .bx:hover .bimg img { transform: scale(1.06); }
.bento .bimg .bflag { position: absolute; top: 1rem; left: 1rem; background: rgba(255,255,255,.95); border-radius: 999px; padding: .35rem .85rem; font-size: .74rem; font-weight: 700; color: var(--primary-dark); box-shadow: var(--shadow-sm); display: inline-flex; gap: .45rem; align-items: center; }
.bento .bbody { padding: 1.7rem 1.8rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.bento .bbody h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; letter-spacing: -.01em; margin-bottom: .55rem; }
.bento .bbody p { font-size: .95rem; margin-bottom: 1.1rem; }
.bento .blink { margin-top: auto; display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .9rem; color: var(--accent-dark); }
.bento .blink i { transition: transform .2s var(--ease); font-size: .8rem; }
.bento .bx:hover .blink i { transform: translateX(5px); }
.bento .bx.dark { background: var(--primary-dark); border-color: var(--primary-deep); color: #b7c6bd; background-image: var(--paper-tex); }
.bento .bx.dark h3 { color: #f4f1e8; }
.bento .bx.dark p { color: #9db0a5; }
.bento .bx.dark .bnum { font-family: var(--font-display); font-weight: 560; font-size: clamp(3rem, 5vw, 4.2rem); line-height: 1; color: #f4f1e8; }
.bento .bx.dark .bnum .u { color: #3ec498; }
.bento .bx.accent-tile { background: var(--accent-faint); border-color: var(--accent-soft); }
.bento .blist { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.bento .blist li { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); }
.bento .blist li i { color: var(--accent-dark); margin-top: .2rem; font-size: .85rem; }
@media (max-width: 980px) { .bento .bx-7, .bento .bx-5, .bento .bx-4 { grid-column: span 12; } .bento .bimg { height: 200px; } }

/* Pillars (used on imports & solutions pages) */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.pillar { position: relative; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; transition: transform .22s var(--ease), box-shadow .22s, border-color .22s; box-shadow: var(--shadow-sm); }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--accent-soft); }
.pillar .pimg { height: 195px; overflow: hidden; position: relative; background: var(--bg-alt); }
.pillar .pimg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,24,21,.35)); }
.pillar .pimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pillar:hover .pimg img { transform: scale(1.07); }
.pillar .pico { position: absolute; top: 170px; left: 1.4rem; z-index: 3; width: 52px; height: 52px; border-radius: 15px;
    background: var(--surface); display: grid; place-items: center; color: var(--accent-dark); font-size: 1.2rem; box-shadow: var(--shadow-lg); border: 1px solid var(--accent-soft); }
.pillar .pbody { padding: 2.3rem 1.5rem 1.7rem; }
.pillar h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -.01em; }
@media (max-width: 900px) { .pillar-grid { grid-template-columns: 1fr; } }

/* Steps — connected rail */
.steps2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: s2; position: relative; }
.step2 { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 18px; padding: 1.8rem 1.5rem; position: relative;
    box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), box-shadow .18s, border-color .18s; }
.step2:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent-soft); }
.step2 .sn { font-family: var(--font-display); font-weight: 560; font-size: 2.2rem; line-height: 1; color: var(--accent-dark); opacity: .9; }
.step2 h4 { margin: .8rem 0 .5rem; font-size: 1.06rem; }
.step2 p { margin: 0; font-size: .9rem; }
.step2::after { content: '\2192'; position: absolute; right: -1.25rem; top: 50%; transform: translateY(-50%); color: var(--line); font-size: 1.3rem; z-index: 1; }
.step2:last-child::after { content: none; }
@media (max-width: 900px) { .steps2 { grid-template-columns: 1fr 1fr; } .step2::after { content: none; } }
@media (max-width: 560px) { .steps2 { grid-template-columns: 1fr; } }

/* Stat band */
.statband { background: var(--primary-dark); color: #fff; position: relative; overflow: hidden; }
.statband::before { content: ''; position: absolute; inset: 0; background-image: var(--paper-tex); opacity: .6; }
.statband::after { content: ''; position: absolute; width: 560px; height: 560px; border-radius: 50%; right: -180px; top: -240px; background: radial-gradient(circle, rgba(14,138,102,.28), transparent 65%); }
.statband .grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.statband .stat { padding: .5rem; }
.statband .n { font-family: var(--font-display); font-weight: 560; font-size: clamp(2.4rem, 4.2vw, 3.6rem); line-height: 1; color: #f4f1e8; }
.statband .n .u { color: #3ec498; }
.statband .l { color: #93a89c; margin-top: .6rem; font-size: .9rem; font-weight: 500; }
.statband .div { width: 42px; height: 2px; border-radius: 2px; background: var(--accent); margin: .8rem auto 0; opacity: .85; }
@media (max-width: 760px) { .statband .grid { grid-template-columns: 1fr 1fr; gap: 2.2rem; } }

/* Parallax band (photographic overlay — gradient permitted) */
.parallax { position: relative; overflow: hidden; }
.parallax .px-bg { position: absolute; inset: -12% 0; background-size: cover; background-position: center; will-change: transform; z-index: 0; }
.parallax::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(8,17,14,.93), rgba(10,54,40,.78)); z-index: 1; }
.parallax .px-inner { position: relative; z-index: 2; }
.parallax h2 { font-family: var(--font-display); font-weight: 560; }
@media (hover: none) { .parallax .px-bg { transform: none !important; } }

/* Testimonials */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.tcard { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 20px; padding: 2rem 1.8rem; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), box-shadow .18s, border-color .18s; }
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent-soft); }
.tcard .stars { color: var(--gold); margin-bottom: 1rem; letter-spacing: .14em; font-size: .9rem; }
.tcard blockquote { margin: 0 0 1.4rem; font-family: var(--font-display); font-weight: 480; font-size: 1.12rem; color: var(--ink); line-height: 1.55; flex: 1; }
.tcard .who { display: flex; gap: .8rem; align-items: center; }
.tcard .who .av { width: 46px; height: 46px; border-radius: 14px; background: var(--primary-dark); color: #f0e9d8; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; }
.tcard .who .wn { font-weight: 700; color: var(--primary-dark); font-size: .92rem; }
.tcard .who .wr { font-size: .78rem; color: var(--ink-mute); }
.tcard.featured { grid-column: span 3; flex-direction: row; align-items: center; gap: 2.5rem; padding: 2.8rem 3rem; background: var(--primary-dark); border-color: var(--primary-deep); background-image: var(--paper-tex); }
.tcard.featured blockquote { color: #f4f1e8; font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin: 0; }
.tcard.featured .stars { margin: 0 0 1rem; }
.tcard.featured .who .wn { color: #f4f1e8; }
.tcard.featured .who .wr { color: #93a89c; }
.tcard.featured .who .av { background: var(--accent); color: #fff; }
@media (max-width: 900px) { .tgrid { grid-template-columns: 1fr; } .tcard.featured { grid-column: span 1; flex-direction: column; align-items: flex-start; gap: 1.4rem; padding: 2rem 1.8rem; } }

/* CTA band (photographic overlay — gradient permitted) */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: 4.2rem; color: #fff; box-shadow: var(--shadow-lg); }
.cta-band::before { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(8,17,14,.95) 30%, rgba(10,84,62,.82)); z-index: 1; }
.cta-band .bgimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band .inner { position: relative; z-index: 2; max-width: 660px; }
.cta-band h2 { color: #f4f1e8; font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.cta-band p { color: #c3d2c9; }
@media (max-width: 640px) { .cta-band { padding: 2.4rem; } }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; align-items: stretch; }
.price-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 2.3rem 1.9rem; display: flex; flex-direction: column; position: relative; box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), box-shadow .18s, border-color .18s; }
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.price-card.pop { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.price-card .badge-pop { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: .32rem .95rem; border-radius: 999px; }
.price-card h3 { font-size: 1.1rem; }
.price-card .amount { font-family: var(--font-display); font-weight: 600; font-size: 2.6rem; color: var(--primary-dark); margin: .5rem 0 .2rem; letter-spacing: -.01em; }
.price-card .amount small { font-size: .9rem; font-weight: 500; color: var(--ink-mute); font-family: var(--font-sans); }
.price-card ul { list-style: none; padding: 0; margin: 1.3rem 0; display: grid; gap: .7rem; flex: 1; }
.price-card ul li { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); }
.price-card ul li i { color: var(--accent); margin-top: .22rem; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }

/* Contact */
.contact-split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 0; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line-soft); background: var(--surface); }
.contact-aside { position: relative; padding: 2.8rem; color: #fff; overflow: hidden; }
.contact-aside .ca-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-aside::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(8,17,14,.94), rgba(10,64,48,.82)); }
.contact-aside .ca-inner { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; }
.contact-aside h3 { color: #f4f1e8; font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; }
.ci2 { display: flex; gap: .95rem; align-items: flex-start; padding: .9rem 0; }
.ci2 .ic { width: 44px; height: 44px; border-radius: 13px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; font-size: 1rem; flex-shrink: 0; }
.ci2 .lbl { font-size: .72rem; color: #8fd5b9; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.ci2 .val { font-weight: 600; color: #fff; }
.ci2 .val a { color: #fff; }
.contact-form-wrap { padding: 2.8rem; }
@media (max-width: 860px) { .contact-split { grid-template-columns: 1fr; } }

/* Page hero (sub-pages) */
.page-hero { position: relative; overflow: hidden; padding: 4.6rem 0 4.2rem; color: #fff;
    background-color: var(--primary-dark); background-image: var(--paper-tex); }
.page-hero::before { content: ''; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='44' height='44'><path d='M0 43.5h44M43.5 0v44' stroke='%23ffffff' stroke-width='1' opacity='.05'/></svg>"); }
.page-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(820px 420px at 88% -10%, rgba(14,138,102,.35), transparent 62%); }
.page-hero .inner { position: relative; z-index: 2; max-width: 780px; }
.page-hero h1 { color: #f4f1e8; margin: 1.1rem 0 .9rem; font-family: var(--font-display); font-weight: 560; }
.page-hero p { color: #b7c6bd; font-size: 1.12rem; line-height: 1.65; }
.page-hero .crumb { display: flex; width: fit-content; align-items: center; gap: .45rem; font-size: .78rem; color: #cfdad2; font-weight: 600;
    background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16); padding: .35rem .9rem; border-radius: 999px; margin-bottom: 1.2rem; letter-spacing: .03em; }
.page-hero .crumb a { color: #fff; }
.page-hero .crumb a:hover { color: var(--accent-soft); }
.page-hero .crumb .sep { opacity: .5; }

/* Split card */
.split-card { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s; }
.split-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.split-card img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; background: var(--bg-alt); }
.split-card .sc-body { padding: 2.4rem; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 800px) { .split-card { grid-template-columns: 1fr; } }

/* Prose / legal */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.55rem; margin: 2.4rem 0 .8rem; }
.prose h3 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; }
.prose p, .prose li { color: var(--ink-soft); line-height: 1.8; }
.prose ul { padding-left: 1.2rem; }
.prose ul li { margin-bottom: .5rem; }
.faq2 { max-width: 820px; margin: 0 auto; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--primary-dark); background-image: var(--paper-tex); color: #a4b6ac; position: relative; }
.footer-cta { background: var(--accent-dark); position: relative; overflow: hidden; }
.footer-cta::after { content: ''; position: absolute; width: 480px; height: 480px; border-radius: 50%; right: -140px; top: -220px; background: radial-gradient(circle, rgba(255,255,255,.1), transparent 65%); pointer-events: none; }
.footer-cta .fc-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 2.5rem 0; flex-wrap: wrap; position: relative; z-index: 1; }
.footer-cta h3 { color: #fff; margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; letter-spacing: -.01em; }
.footer-cta p { color: rgba(255,255,255,.82); margin: .35rem 0 0; }
.footer-main { padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.site-footer h4 { color: #f4f1e8; font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 1.2rem; }
.site-footer .fdesc { color: #93a89c; max-width: 330px; line-height: 1.7; }
.site-footer .flink { display: block; color: #b7c6bd; padding: .34rem 0; font-size: .93rem; transition: color .15s, padding-left .15s; }
.site-footer .flink:hover { color: #fff; padding-left: .3rem; text-decoration: none; }
.site-footer .fcontact { display: flex; gap: .7rem; align-items: flex-start; color: #b7c6bd; padding: .35rem 0; font-size: .93rem; }
.site-footer .fcontact i { color: #3ec498; margin-top: .28rem; width: 16px; text-align: center; }
.site-footer .fcontact a { color: #b7c6bd; }
.site-footer .fcontact a:hover { color: #fff; }
.footer-social { display: flex; gap: .55rem; margin-top: 1.2rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); display: grid; place-items: center; color: #cfdad2; font-size: .95rem; transition: background .18s, transform .18s, border-color .18s; }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-3px); text-decoration: none; }
.footer-bottom { margin-top: 3.2rem; border-top: 1px solid rgba(255,255,255,.09); padding: 1.6rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .84rem; color: #7e928a; }
.footer-bottom a { color: #b7c6bd; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .legal { display: flex; gap: 1.4rem; flex-wrap: wrap; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } .footer-cta .fc-row { flex-direction: column; align-items: flex-start; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Reveal variants
   ============================================================ */
.reveal, .reveal-l, .reveal-r, .reveal-z { opacity: 0; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal { transform: translateY(26px); }
.reveal-l { transform: translateX(-34px); }
.reveal-r { transform: translateX(34px); }
.reveal-z { transform: scale(.94); }
.reveal.in, .reveal-l.in, .reveal-r.in, .reveal-z.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-l, .reveal-r, .reveal-z { opacity: 1; transform: none; }
    .hero-visual .main-img, .hero-visual:hover .main-img { transform: none; }
}
