/* SFCM Finance — standalone site stylesheet (v2: clean banking layout)
   tokens → base → chrome → banner → components → pages → responsive */

:root {
  --red: #a31f1f;
  --red-d: #7a1825;
  --red-950: #2e0910;
  --red-soft: #fbeaea;
  --dark: #212529;
  --dark-2: #2b3035;
  --ink: #212529;
  --muted: #6c757d;
  --gray: #f2f2f2;
  --gray-2: #f8f8f8;
  --line: #e3e3e3;
  --line-2: #cfcfcf;
  --green: #116c37;
  --green-soft: #e5f1ea;
  --amber-soft: #fff4d6;
  --amber: #c98a00;
  --focus: #0b57d0;
  --sans: Roboto, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --w: 1140px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-xl: 28px;
  --r-lg: 18px;
  --r: 12px;
  --shadow: 0 2px 4px rgba(0, 0, 0, .05), 0 10px 30px rgba(0, 0, 0, .08);
  --shadow-lg: 0 4px 8px rgba(0, 0, 0, .06), 0 24px 56px rgba(0, 0, 0, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body { margin: 0; font-family: var(--sans); font-size: 1rem; line-height: 1.6; color: var(--ink); background: #fff; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-d); }
h1, h2, h3, h4 { font-family: var(--sans); line-height: 1.2; margin: 0 0 .5em; color: var(--dark); text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 300; letter-spacing: -.01em; }
h1 b, h2 b { font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 300; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
::selection { background: var(--red-soft); color: var(--red-d); }

.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--dark); color: #fff; padding: 10px 16px; z-index: 300; border-radius: 8px; }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: 100%; max-width: calc(var(--w) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: calc(820px + var(--gutter) * 2); }

/* ---------- Ticker bar ---------- */
.topbar { background: var(--dark); color: #d6d9dc; font-size: .8125rem; position: relative; z-index: 60; }
.topbar .wrap { max-width: none; display: flex; align-items: center; gap: 24px; min-height: 38px; }
.ticker { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.ticker-track { display: flex; width: max-content; gap: 40px; animation: tick 48s linear infinite; padding-block: 9px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { white-space: nowrap; display: inline-flex; gap: 8px; align-items: baseline; }
.ticker-item b { color: #fff; font-weight: 500; font-variant-numeric: tabular-nums; }
.ticker-item .lbl { color: #9aa0a6; letter-spacing: .04em; font-size: .75rem; }
.ticker-item .up { color: #ff8a80; }
@keyframes tick { to { transform: translateX(calc(-50% - 20px)); } }
.topbar-call { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 500; white-space: nowrap; padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .2); }
.topbar-call:hover { color: #ff8a80; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { max-width: none; display: flex; align-items: center; gap: 14px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--dark); margin-right: auto; }
.brand svg { width: 44px; height: 44px; border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 1.6rem; font-weight: 700; letter-spacing: .01em; color: var(--red-d); }
.brand-text span { font-size: .625rem; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); margin-top: 5px; font-weight: 500; }
.pill-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 20px; border: 1.5px solid var(--dark); border-radius: 999px; font-size: .875rem; font-weight: 500; text-decoration: none; color: var(--dark); background: #fff; transition: background .2s, color .2s, border-color .2s; cursor: pointer; }
.pill-btn:hover { background: var(--dark); color: #fff; }
.pill-btn.solid { background: var(--red); border-color: var(--red); color: #fff; }
.pill-btn.solid:hover { background: var(--red-d); border-color: var(--red-d); }
.hamburger { width: 46px; height: 46px; border: 0; background: none; display: grid; place-items: center; cursor: pointer; color: var(--dark); border-radius: 50%; transition: background .2s; }
.hamburger:hover { background: var(--gray); }
.hamburger .icon { width: 28px; height: 28px; stroke-width: 2.2; }

/* ---------- Full menu panel ---------- */
.menu-panel { position: fixed; inset: 0; z-index: 200; background: #fff; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-14px); transition: opacity .25s, transform .35s var(--ease), visibility 0s linear .35s; }
.menu-panel[data-open="true"] { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .35s var(--ease), visibility 0s; }
.menu-panel .mp-head { display: flex; align-items: center; justify-content: space-between; min-height: 76px; border-bottom: 1px solid var(--line); padding-inline: var(--gutter); }
.mp-grid { max-width: calc(var(--w) + var(--gutter) * 2); margin: 0 auto; padding: clamp(28px, 5vw, 64px) var(--gutter); display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
.mp-grid .mp-h { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 18px; font-weight: 700; margin-top: 0; }
.mp-big a { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--dark); font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 300; transition: color .2s, padding .25s var(--ease); }
.mp-big a .ico { width: 44px; height: 44px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); border-radius: 12px; flex: none; transition: background .2s, color .2s; }
.mp-big a small { display: block; font-size: .85rem; color: var(--muted); font-weight: 400; margin-top: 2px; }
.mp-big a:hover { color: var(--red); padding-left: 8px; }
.mp-big a:hover .ico { background: var(--red); color: #fff; }
.mp-list a { display: block; padding: 10px 0; color: var(--dark); text-decoration: none; font-size: 1.05rem; }
.mp-list a:hover, .mp-list a[aria-current="page"] { color: var(--red); }
.mp-list a[aria-current="page"] { font-weight: 700; }
.mp-contact { background: var(--gray); border-radius: var(--r-lg); padding: 26px; margin-top: 28px; }
.mp-contact a { display: flex; gap: 10px; align-items: center; color: var(--dark); text-decoration: none; font-weight: 500; padding: 5px 0; }
.mp-contact a:hover { color: var(--red); }

/* ---------- Floating rails ---------- */
.rail { position: fixed; right: 0; top: 34%; z-index: 40; display: flex; flex-direction: column; gap: 4px; }
.rail a { width: 46px; height: 46px; background: #000; display: grid; place-items: center; border-radius: 10px 0 0 10px; text-decoration: none; transition: width .25s var(--ease), background .2s; position: relative; }
.rail a span.dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--red); }
.rail a .icon { width: 17px; height: 17px; }
.rail a:hover { width: 54px; }
.rail a .tip { position: absolute; right: 100%; margin-right: 10px; background: #000; color: #fff; font-size: .78rem; padding: 5px 10px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transform: translateX(6px); transition: opacity .2s, transform .2s; }
.rail a:hover .tip, .rail a:focus-visible .tip { opacity: 1; transform: none; }
.fab-calc { position: fixed; left: 0; top: 22%; z-index: 40; width: 44px; height: 44px; background: #000; border-radius: 0 10px 10px 0; display: grid; place-items: center; text-decoration: none; transition: width .25s var(--ease); }
.fab-calc span { width: 30px; height: 30px; border-radius: 8px; background: var(--red); color: #fff; display: grid; place-items: center; }
.fab-calc .icon { width: 17px; height: 17px; }
.fab-calc:hover { width: 52px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 28px; font-weight: 500; font-size: .95rem; text-decoration: none; border: 1.5px solid transparent; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s var(--ease); line-height: 1.2; }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover .icon.arrow { transform: translateX(4px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-d); color: #fff; box-shadow: 0 8px 22px rgba(163, 31, 31, .35); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-outline { border-color: var(--dark); color: var(--dark); background: transparent; }
.btn-outline:hover { background: var(--dark); color: #fff; }
.btn-white { background: #fff; color: var(--dark); }
.btn-white:hover { background: var(--red-soft); color: var(--red-d); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .15); color: #fff; border-color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; color: var(--red); }
.link-arrow .icon { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Banner ---------- */
.banner { position: relative; margin: 16px var(--gutter) 0; border-radius: var(--r-xl); overflow: hidden; background: var(--red-950); color: #fff; min-height: clamp(380px, 46vw, 500px); display: flex; align-items: center; isolation: isolate; }
.banner.tall { min-height: clamp(440px, 52vw, 580px); }
.banner > svg.art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(74, 14, 23, .96) 0%, rgba(122, 24, 37, .82) 38%, rgba(122, 24, 37, .25) 72%, rgba(46, 9, 16, .05) 100%); }
.banner-in { width: 100%; max-width: calc(var(--w) + var(--gutter) * 2); margin-inline: auto; padding: clamp(40px, 6vw, 72px) clamp(24px, 6vw, 80px); }
.banner h1 { color: #fff; margin-bottom: 18px; max-width: 16ch; }
.banner h1.wide { max-width: 20ch; }
.banner .sub { font-size: clamp(1.05rem, 1.8vw, 1.3rem); max-width: 36ch; color: #f3dcdc; margin-bottom: 8px; font-weight: 300; }
.banner .intro { max-width: 52ch; color: #f3dcdc; font-size: 1rem; }
.banner .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: .875rem; margin-bottom: 26px; color: #f0cfcf; padding: 0; }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.crumbs li + li::before { content: "›"; opacity: .8; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.banner-chip { position: absolute; right: clamp(20px, 5vw, 64px); bottom: clamp(20px, 4vw, 44px); background: #fff; color: var(--dark); border-radius: var(--r-lg); padding: 18px 24px; box-shadow: var(--shadow-lg); z-index: 1; min-width: 220px; animation: float 7s ease-in-out infinite; border-left: 5px solid var(--red); }
.banner-chip small { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.banner-chip strong { display: block; font-size: 2.4rem; font-weight: 300; color: var(--red); line-height: 1.15; }
.banner-chip span { font-size: .82rem; color: var(--muted); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(48px, 7vw, 88px); }
.section.gray { background: var(--gray-2); }
.section.tight { padding-block: clamp(32px, 4vw, 52px); }
.title { text-align: center; margin-bottom: clamp(28px, 4vw, 48px); }
.title h2 { margin-bottom: 14px; }
.title p { max-width: 62ch; margin: 0 auto; color: var(--muted); }
.title.left { text-align: left; }
.title.left p { margin: 0; }
.eyebrow { display: block; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); font-weight: 500; margin-bottom: 12px; }

/* tiles — quick access, dark arrow panel */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { display: grid; grid-template-columns: 1fr 64px; background: #fff; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--dark); box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; min-height: 150px; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--dark); }
.tile .tb { padding: 22px 22px 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.tile .tb .icon { width: 42px; height: 42px; color: var(--red); stroke-width: 1.3; }
.tile .tb strong { font-weight: 500; font-size: 1.05rem; line-height: 1.3; }
.tile .ta { background: var(--dark); color: #fff; display: grid; place-items: start center; padding-top: 22px; transition: background .25s; }
.tile .ta .icon { width: 26px; height: 26px; transition: transform .3s var(--ease); }
.tile:hover .ta { background: var(--red); }
.tile:hover .ta .icon { transform: translateX(5px); }

/* outline product cards */
.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pcard { border: 1.5px solid var(--line-2); border-radius: var(--r-lg); padding: 30px 24px 26px; text-align: center; text-decoration: none; color: var(--dark); display: flex; flex-direction: column; align-items: center; background: #fff; transition: border-color .25s, box-shadow .3s, transform .3s var(--ease); }
.pcard:hover { border-color: var(--red); box-shadow: var(--shadow-lg); transform: translateY(-4px); color: var(--dark); }
.pcard .pi { width: 64px; height: 64px; border-radius: 16px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; margin-bottom: 18px; transition: background .25s, color .25s; }
.pcard .pi .icon { width: 30px; height: 30px; }
.pcard:hover .pi { background: var(--red); color: #fff; }
.pcard h3 { margin-bottom: 8px; }
.pcard p { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.pcard .more { margin-top: auto; color: var(--red); font-weight: 500; font-size: .92rem; display: inline-flex; gap: 6px; align-items: center; }
.pcard .more .icon { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.pcard:hover .more .icon { transform: translateX(4px); }

/* image band */
.band-img { border-radius: var(--r-xl); overflow: hidden; position: relative; aspect-ratio: 16 / 6; background: var(--red-950); }
.band-img svg { width: 100%; height: 100%; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.split.top { align-items: start; }
.split .art { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 1 / 1; max-height: 520px; background: var(--red-950); box-shadow: var(--shadow); }
.split .art svg { width: 100%; height: 100%; }
.ticks li { display: flex; gap: 14px; padding: 12px 0; align-items: flex-start; }
.ticks .tk { width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; flex: none; margin-top: 2px; }
.ticks .tk .icon { width: 14px; height: 14px; stroke-width: 3; }
.ticks strong { display: block; font-weight: 700; }
.ticks span { color: var(--muted); font-size: .95rem; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; position: relative; }
.steps.four { grid-template-columns: repeat(4, 1fr); }
.steps li { text-align: center; padding: 0 8px; position: relative; counter-increment: s; }
.steps li .sn { width: 72px; height: 72px; border-radius: 50%; background: #fff; border: 2px solid var(--red); color: var(--red); display: grid; place-items: center; margin: 0 auto 20px; position: relative; z-index: 1; font-size: 1.6rem; font-weight: 300; box-shadow: 0 0 0 8px #fff; }
.steps li .sn::before { content: counter(s); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 36px; left: calc(50% + 44px); right: calc(-50% + 44px); border-top: 2px dashed var(--line-2); }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }
.gray .steps li .sn { box-shadow: 0 0 0 8px var(--gray-2); }

/* faq */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; font-weight: 700; font-size: 1.05rem; color: var(--dark); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--gray); display: grid; place-items: center; font-size: 1.3rem; font-weight: 400; line-height: 1; transition: background .2s, color .2s; }
.faq details[open] summary::after { content: "–"; background: var(--red); color: #fff; }
.faq summary:hover { color: var(--red); }
.faq .ans { padding: 0 44px 22px 0; color: var(--muted); max-width: 70ch; animation: drop .3s var(--ease); }
.faq .ans p { margin: 0; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.faq-art { display: grid; place-items: center; background: var(--red-soft); border-radius: var(--r-xl); aspect-ratio: 1; max-height: 420px; color: var(--red); }
.faq-art .icon { width: 42%; height: 42%; stroke-width: .9; }

/* callouts + notices */
.cta2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cta2 a { display: flex; align-items: center; gap: 22px; padding: 30px 32px; border-radius: var(--r-xl); background: var(--gray); text-decoration: none; color: var(--dark); transition: background .25s, color .25s, transform .3s var(--ease); }
.cta2 a:hover { background: var(--dark); color: #fff; transform: translateY(-3px); }
.cta2 a:hover h3 { color: #fff; }
.cta2 a .ci { width: 64px; height: 64px; border-radius: 16px; background: #fff; color: var(--red); display: grid; place-items: center; flex: none; }
.cta2 a .ci .icon { width: 30px; height: 30px; }
.cta2 a h3 { margin-bottom: 4px; }
.cta2 a span.go { color: var(--red); font-weight: 500; font-size: .92rem; display: inline-flex; gap: 6px; align-items: center; }
.cta2 a:hover span.go { color: #ff8a80; }
.cta2 a span.go .icon { width: 1em; height: 1em; }
.notice { border-radius: var(--r-lg); padding: 20px 24px; background: var(--amber-soft); border-left: 5px solid var(--amber); font-size: .95rem; }
.notice strong { display: block; margin-bottom: 2px; }
.notice p { margin: 0; }
.notice.green { background: var(--green-soft); border-color: var(--green); }
.notice.red { background: var(--red-soft); border-color: var(--red); }

/* call band */
.callband { text-align: center; padding-block: clamp(44px, 6vw, 72px); background: var(--gray); }
.callband p { margin: 0 0 6px; font-size: 1.1rem; color: var(--muted); font-weight: 300; }
.callband a.num { display: inline-flex; align-items: center; gap: 14px; font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 300; color: var(--red); text-decoration: none; letter-spacing: .01em; }
.callband a.num b { font-weight: 700; }
.callband a.num:hover { color: var(--red-d); }
.callband small { display: block; color: var(--muted); margin-top: 6px; }

/* ---------- Calculators ---------- */
.calc { background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.tabs { display: flex; gap: 8px; padding: 14px; background: var(--gray); overflow-x: auto; }
.tabs button { flex: 1; min-width: max-content; padding: 13px 22px; background: transparent; border: 0; border-radius: 999px; font-weight: 500; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: color .2s, background .2s, box-shadow .2s; }
.tabs button:hover { color: var(--red); }
.tabs button[aria-selected="true"] { background: #fff; color: var(--red); box-shadow: 0 2px 8px rgba(0, 0, 0, .1); font-weight: 700; }
.calc-panel { display: grid; grid-template-columns: 1fr 1fr; }
.calc-panel[hidden] { display: none; }
.calc-in { padding: clamp(24px, 3vw, 40px); }
.calc-in h3 { font-size: 1.4rem; font-weight: 700; }
.calc-out { padding: clamp(24px, 3vw, 40px); background: linear-gradient(160deg, var(--red-d), var(--red-950)); color: #f3dcdc; position: relative; overflow: hidden; }
.calc-out::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, .05); }
.calc-out > * { position: relative; }
.calc-out .lbl { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: #e5bcbc; font-weight: 500; }
.calc-out .result { font-size: clamp(2.3rem, 4.4vw, 3.4rem); font-weight: 300; color: #fff; line-height: 1.1; margin: 8px 0 4px; font-variant-numeric: tabular-nums; }
.calc-out .result small { font-size: 1rem; color: #ffb4a8; margin-right: 8px; letter-spacing: .08em; font-weight: 500; }
.calc-out dl { margin: 26px 0 0; }
.calc-out dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .95rem; }
.calc-out dt { color: #e5bcbc; }
.calc-out dd { margin: 0; font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; text-align: right; }
.calc-out .bar { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .15); margin-top: 22px; display: flex; overflow: hidden; }
.calc-out .bar i { display: block; height: 100%; transition: width .5s var(--ease); }
.calc-out .bar .p { background: #fff; }
.calc-out .bar .i { background: #ff8a80; }
.calc-out .legend { display: flex; gap: 18px; font-size: .8rem; color: #e5bcbc; margin-top: 10px; }
.calc-out .legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; background: #fff; }
.calc-out .legend span + span::before { background: #ff8a80; }
.calc-out .note { font-size: .8rem; color: #dba9a9; margin: 22px 0 0; }

.field { margin-bottom: 22px; }
.field label, .field .lab { display: flex; justify-content: space-between; font-weight: 500; font-size: .9rem; margin-bottom: 8px; color: var(--dark); }
.field label output { color: var(--red); font-variant-numeric: tabular-nums; font-weight: 700; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="number"], .field select, .field textarea { width: 100%; padding: 13px 16px; border: 1.5px solid var(--line-2); background: #fff; border-radius: var(--r); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(163, 31, 31, .12); }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.field .err { font-size: .82rem; color: var(--red); margin-top: 6px; display: none; font-weight: 500; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); }
.input-pre { position: relative; }
.input-pre > span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: .85rem; color: var(--muted); font-weight: 500; pointer-events: none; }
.input-pre input { padding-left: 56px !important; }
input[type="range"] { width: 100%; accent-color: var(--red); height: 28px; cursor: pointer; margin: 0; }
.seg { display: flex; gap: 6px; padding: 5px; background: var(--gray); border-radius: 999px; }
.seg button { flex: 1; padding: 10px 8px; background: transparent; border: 0; border-radius: 999px; cursor: pointer; font-weight: 500; color: var(--muted); transition: background .2s, color .2s, box-shadow .2s; }
.seg button:hover { color: var(--red); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--red); font-weight: 700; box-shadow: 0 2px 8px rgba(0, 0, 0, .1); }
.checkrow { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--dark); font-weight: 400 !important; justify-content: flex-start !important; }
.checkrow input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); flex: none; }

/* ---------- Table / chips ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: .96rem; }
table.data th { text-align: left; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 16px 22px; background: var(--gray); font-weight: 500; white-space: nowrap; }
table.data td { padding: 18px 22px; border-top: 1px solid var(--line); vertical-align: middle; }
table.data tbody tr { transition: background .15s; }
table.data tbody tr:hover { background: var(--gray-2); }
table.data .num { font-variant-numeric: tabular-nums; font-weight: 500; text-align: right; }
.pill { display: inline-block; padding: 4px 12px; background: var(--red-soft); color: var(--red-d); font-size: .75rem; font-weight: 700; letter-spacing: .04em; border-radius: 999px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chips button { padding: 9px 18px; border: 1.5px solid var(--line-2); background: #fff; cursor: pointer; font-weight: 500; font-size: .88rem; color: var(--dark); transition: all .2s; border-radius: 999px; }
.chips button:hover { border-color: var(--red); color: var(--red); }
.chips button[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.dl-link { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; text-decoration: none; padding: 9px 18px; border: 1.5px solid var(--dark); color: var(--dark); white-space: nowrap; transition: all .2s; border-radius: 999px; }
.dl-link:hover { background: var(--dark); color: #fff; }

/* ---------- Contact / forms ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.contact-list li { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.contact-list li:first-child { border-top: 1px solid var(--line); }
.contact-list .ico { width: 46px; height: 46px; display: grid; place-items: center; background: var(--red); color: #fff; flex: none; border-radius: 12px; }
.contact-list small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 2px; }
.contact-list a, .contact-list strong { font-size: 1.2rem; color: var(--dark); text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--red); }
.contact-list address { font-style: normal; color: var(--dark); font-size: 1.05rem; }
.open-badge { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 500; margin-top: 8px; padding: 5px 14px; background: var(--gray); color: var(--dark); border-radius: 999px; }
.open-badge::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.open-badge[data-open="true"] { background: var(--green-soft); color: var(--green); }
.open-badge[data-open="true"]::before { background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(17, 108, 55, .5); } 70%, 100% { box-shadow: 0 0 0 8px rgba(17, 108, 55, 0); } }
.form-card { background: #fff; border: 1px solid var(--line); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); border-radius: var(--r-xl); }
.form-card h3 { font-size: 1.6rem; font-weight: 300; margin-bottom: 6px; }
.form-card h3 b { font-weight: 700; }
.form-card > p { color: var(--muted); font-size: .95rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-status { margin-top: 18px; display: none; }
.form-status.show { display: block; }
.secure-card { background: #fff; border: 1px solid var(--line); padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow); border-radius: var(--r-xl); }
.secure-card h2 { display: flex; align-items: center; gap: 12px; font-size: 1.6rem; }
.secure-card h2 .icon { color: var(--red); width: 28px; height: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #b8bdc2; font-size: .92rem; }
.f-top { padding-block: clamp(36px, 5vw, 56px); border-bottom: 1px solid rgba(255, 255, 255, .12); display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; }
.site-footer .brand { margin: 0 0 16px; }
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text span { color: #9aa0a6; }
.site-footer p { margin: 0 0 14px; max-width: 38ch; }
.f-contact { display: flex; flex-direction: column; gap: 8px; }
.f-contact a { display: inline-flex; gap: 10px; align-items: center; color: #fff; text-decoration: none; font-weight: 500; }
.f-contact a:hover { color: #ff8a80; }
.f-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.site-footer .fh { color: #fff; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; font-weight: 500; margin-top: 0; }
.site-footer li + li { margin-top: 9px; }
.site-footer a { color: #b8bdc2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.f-links { padding-block: 22px; border-bottom: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: .88rem; }
.f-reg { padding-block: 22px; font-size: .82rem; color: #8d949a; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; }
.f-reg .badges { display: flex; gap: 20px; flex-wrap: wrap; }
.f-reg .badges span { display: inline-flex; align-items: center; gap: 8px; color: #b8bdc2; }
.f-reg .badges .icon { color: #ff8a80; width: 1.1em; height: 1.1em; }

/* 404 */
.nf .big { font-size: clamp(6rem, 18vw, 12rem); line-height: .9; color: var(--red); font-weight: 300; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .tiles, .pcards { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split .art { max-height: 360px; aspect-ratio: 16 / 9; }
  .calc-panel { grid-template-columns: 1fr; }
  .mp-grid { grid-template-columns: 1fr; }
  .f-top { grid-template-columns: 1fr; }
  .steps.four { grid-template-columns: 1fr 1fr; }
  .steps.four li:nth-child(2)::after { display: none; }
  .banner-chip { display: none; }
  .rail { display: none; }
}
@media (max-width: 720px) {
  .topbar-call span { display: none; }
  .site-header .pill-btn.hide-sm { display: none; }
  .tiles, .pcards, .cta2 { grid-template-columns: 1fr; }
  .steps, .steps.four { grid-template-columns: 1fr; gap: 36px; }
  .steps li::after { display: none !important; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .f-cols { grid-template-columns: 1fr 1fr; }
  .banner { margin-inline: 10px; border-radius: 22px; }
  .banner::before { background: linear-gradient(180deg, rgba(74, 14, 23, .94), rgba(122, 24, 37, .78)); }
  .band-img { aspect-ratio: 16 / 9; }
  .fab-calc { top: auto; bottom: 18px; }
  .cta2 a { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .ticker { overflow-x: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .topbar, .site-header, .rail, .fab-calc, .menu-panel, .callband { display: none; }
}

/* extras */
.pcards.two { grid-template-columns: repeat(2, 1fr); max-width: 780px; margin-inline: auto; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.stats > div { background: var(--gray); border-radius: var(--r-lg); padding: 26px 16px; }
.stats b { display: block; font-size: 1.7rem; font-weight: 300; color: var(--red); line-height: 1.2; margin-bottom: 4px; }
.stats span { font-size: .9rem; color: var(--muted); }
@media (max-width: 1000px) { .stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .pcards.two, .stats { grid-template-columns: 1fr; } }

/* ===== v3 additions: header tools, social rail, accessibility, quick help, image-style hero ===== */
.tb-tools { display: flex; align-items: center; gap: 6px; }
.tb-tools .topbar-call { padding-left: 0; border-left: 0; margin-right: 8px; }
.tb-btn { position: relative; width: 36px; height: 36px; display: inline-grid; place-items: center; border: 0; background: transparent; color: #fff; border-radius: 50%; cursor: pointer; transition: background .2s; font-size: .8rem; }
.tb-btn:hover { background: rgba(255, 255, 255, .14); }
.tb-btn .icon { width: 19px; height: 19px; }
.tb-btn.lang { width: auto; padding: 0 10px; border-radius: 999px; font-weight: 500; gap: 4px; display: inline-flex; align-items: center; }
.tb-btn.lang .icon { width: 13px; height: 13px; }
.tb-btn.dark { color: var(--dark); }
.tb-btn.dark:hover { background: var(--gray); }
.badge-dot { position: absolute; top: 6px; right: 7px; width: 10px; height: 10px; border-radius: 50%; background: #ff5a4d; border: 2px solid var(--dark); }
.badge-dot[hidden] { display: none; }
.tb-pop { position: relative; }
.pop { position: absolute; right: 0; top: calc(100% + 8px); width: min(340px, 86vw); background: #fff; color: var(--dark); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 18px; z-index: 80; animation: drop .2s var(--ease); border: 1px solid var(--line); }
.pop[hidden] { display: none; }
.pop-sm { width: 200px; padding: 8px; }
.pop-h { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); font-weight: 700; margin: 0 0 10px; }
.notices li { padding: 10px 0; border-top: 1px solid var(--line); font-size: .9rem; }
.notices li:first-child { border-top: 0; }
.notices b { display: block; font-weight: 700; }
.notices span { color: var(--muted); }
.lang-opt { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 10px 12px; border: 0; background: none; border-radius: 10px; cursor: pointer; font-size: .95rem; color: var(--dark); text-align: left; }
.lang-opt:hover:not(:disabled) { background: var(--gray); }
.lang-opt.on { font-weight: 700; color: var(--red); }
.lang-opt:disabled { color: var(--muted); cursor: not-allowed; }
.lang-opt small { font-size: .7rem; background: var(--gray); padding: 2px 8px; border-radius: 999px; }

/* header badge */
.hd-left { display: flex; align-items: center; gap: 18px; margin-right: auto; }
.hd-left .brand { margin-right: 0; }
.hd-badge { display: inline-flex; align-items: stretch; border: 2px solid var(--red); border-radius: 12px; overflow: hidden; background: #fff; line-height: 1.2; }
.hb-i { background: var(--red); color: #fff; display: grid; place-items: center; width: 38px; }
.hb-t { padding: 5px 12px; display: flex; flex-direction: column; justify-content: center; }
.hb-t b { font-size: .75rem; color: var(--dark); }
.hb-t small { font-size: .68rem; color: var(--muted); }

/* search */
.search-panel { position: fixed; inset: 0; z-index: 210; background: rgba(33, 37, 41, .55); backdrop-filter: blur(3px); display: flex; justify-content: center; align-items: flex-start; padding: min(14vh, 120px) var(--gutter) 24px; opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s linear .2s; }
.search-panel[data-open="true"] { opacity: 1; visibility: visible; transition: opacity .2s, visibility 0s; }
.sp-box { width: 100%; max-width: 640px; background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); padding: 18px 18px 14px; transform: translateY(-10px); transition: transform .3s var(--ease); }
.search-panel[data-open="true"] .sp-box { transform: none; }
.sp-form { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 4px 6px 4px 18px; color: var(--muted); }
.sp-form:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px rgba(163, 31, 31, .12); }
.sp-form input { flex: 1; border: 0; outline: 0; font-size: 1.05rem; padding: 10px 0; background: none; min-width: 0; color: var(--dark); }
.sp-results { margin: 12px 0 4px; max-height: 50vh; overflow: auto; }
.sp-results a { display: block; padding: 12px 14px; border-radius: 12px; text-decoration: none; color: var(--dark); }
.sp-results a:hover, .sp-results a:focus-visible { background: var(--red-soft); }
.sp-results strong { display: block; }
.sp-results span { color: var(--muted); font-size: .88rem; }
.sp-results .none { padding: 14px; color: var(--muted); }
.sp-hint { font-size: .78rem; color: var(--muted); margin: 6px 8px 0; }

/* social rail */
.rail { top: 28%; gap: 5px; }
.rail a { width: 44px; height: 44px; border-radius: 12px 0 0 12px; }
.rail a.fb .dot { background: #1877f2; color: #fff; }
.rail a.x .dot { background: #fff; color: #000; }
.rail a.in .dot { background: #0a66c2; color: #fff; }
.rail a.yt .dot { background: #f00; color: #fff; }
.rail a.ig .dot { background: linear-gradient(45deg, #f9a03f, #e1306c 55%, #833ab4); color: #fff; }
.rail a.wa .dot { background: #25d366; color: #fff; }
.rail a.tt .dot { background: #fff; color: #000; }
.rail a .icon { width: 18px; height: 18px; }

/* accessibility */
.a11y-fab { position: fixed; left: 18px; bottom: 18px; z-index: 70; width: 56px; height: 56px; border-radius: 50%; border: 3px solid #fff; background: #0b57d0; color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); transition: transform .25s var(--ease); }
.a11y-fab:hover { transform: scale(1.07); }
.a11y-fab .icon { width: 28px; height: 28px; stroke-width: 2; }
.a11y-panel { position: fixed; left: 18px; bottom: 88px; z-index: 75; width: min(320px, calc(100vw - 36px)); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 18px; border: 1px solid var(--line); animation: drop .25s var(--ease); }
.a11y-panel[hidden] { display: none; }
.ap-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.ap-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-weight: 500; }
.ap-ctrl { display: flex; align-items: center; gap: 8px; }
.ap-ctrl button { width: 40px; height: 36px; border-radius: 10px; border: 1.5px solid var(--line-2); background: #fff; cursor: pointer; font-weight: 700; }
.ap-ctrl button:hover { border-color: var(--red); color: var(--red); }
.ap-ctrl output { min-width: 46px; text-align: center; font-variant-numeric: tabular-nums; }
.ap-switch { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); cursor: pointer; font-weight: 500; }
.ap-switch input { width: 20px; height: 20px; accent-color: var(--red); }
.a11y-panel .btn { margin-top: 10px; width: 100%; }
html.a11y-contrast { --red: #8a0f0f; --red-d: #5c0b0b; --muted: #2b2f33; --line: #8b8b8b; --line-2: #555; --gray: #e9e9e9; --gray-2: #f1f1f1; }
html.a11y-contrast body { color: #000; }
html.a11y-contrast .banner::before { background: linear-gradient(90deg, rgba(30, 4, 8, .97), rgba(60, 8, 14, .9) 45%, rgba(30, 4, 8, .55)); }
html.a11y-contrast .ticker-item .lbl, html.a11y-contrast .calc-out .note { color: #fff; }
html.a11y-links a { text-decoration: underline !important; }
html.a11y-font { --sans: Arial, Verdana, sans-serif; }
html.a11y-font body { letter-spacing: .02em; word-spacing: .1em; line-height: 1.8; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition-duration: .01ms !important; }
html.a11y-motion .js .reveal { opacity: 1; transform: none; }

/* quick help */
.chat-fab { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: flex; align-items: center; gap: 10px; border: 0; background: none; cursor: pointer; padding: 0; }
.av { display: block; overflow: hidden; border-radius: 50%; background: #fff; }
.av svg { width: 100%; height: 100%; }
.chat-fab .av { width: 62px; height: 62px; border: 3px solid var(--red); box-shadow: 0 6px 18px rgba(0, 0, 0, .3); transition: transform .25s var(--ease); }
.chat-fab:hover .av { transform: scale(1.07); }
.chat-badge { order: -1; background: #fff; color: var(--dark); font-weight: 500; font-size: .85rem; padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow); animation: float 4s ease-in-out infinite; }
.chat-badge[hidden] { display: none; }
.chat-panel { position: fixed; right: 18px; bottom: 96px; z-index: 75; width: min(370px, calc(100vw - 36px)); max-height: min(560px, calc(100vh - 130px)); display: flex; flex-direction: column; background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); animation: drop .25s var(--ease); }
.chat-panel[hidden] { display: none; }
.cp-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(120deg, var(--red-d), var(--red)); color: #fff; }
.cp-head .av { width: 44px; height: 44px; border: 2px solid #fff; flex: none; }
.cp-head strong { display: block; }
.cp-head small { opacity: .85; font-size: .78rem; }
.cp-head .tb-btn { margin-left: auto; color: #fff; }
.cp-head .tb-btn:hover { background: rgba(255, 255, 255, .18); }
.cp-log { padding: 16px; overflow: auto; flex: 1; display: flex; flex-direction: column; gap: 10px; background: var(--gray-2); min-height: 120px; }
.bub { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: .92rem; line-height: 1.45; }
.bub.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.bub.me { background: var(--red); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.bub-link { display: block; margin-top: 8px; font-weight: 700; text-decoration: none; }
.bub.typing { display: flex; gap: 4px; padding: 14px; }
.bub.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.bub.typing i:nth-child(2) { animation-delay: .15s; }
.bub.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }
.cp-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px; border-top: 1px solid var(--line); flex: none; }
.cp-chips button, .cp-chips a { padding: 7px 13px; border: 1.5px solid var(--red); border-radius: 999px; background: #fff; color: var(--red); font-size: .82rem; font-weight: 500; cursor: pointer; text-decoration: none; }
.cp-chips button:hover { background: var(--red); color: #fff; }
.cp-chips a.chip-call { background: var(--dark); border-color: var(--dark); color: #fff; }
.cp-foot { margin: 0; padding: 8px 14px 12px; font-size: .76rem; color: var(--muted); }

/* image-style hero */
.banner { min-height: clamp(420px, 50vw, 540px); }
.banner > img.art-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::before { background: linear-gradient(90deg, rgba(122, 24, 37, .97) 0%, rgba(122, 24, 37, .86) 30%, rgba(74, 14, 23, .4) 62%, rgba(46, 9, 16, 0) 100%); }

@media (max-width: 1100px) { .hd-badge { display: none; } }
@media (max-width: 1000px) { .rail { display: flex; } }
@media (max-width: 720px) {
  .rail { display: none; }
  .chat-badge { display: none; }
  .fab-calc { top: 30%; bottom: auto; }
  .tb-tools .topbar-call { margin-right: 0; }
  .a11y-fab { width: 50px; height: 50px; left: 12px; bottom: 12px; }
  .chat-fab { right: 12px; bottom: 12px; }
  .chat-fab .av { width: 54px; height: 54px; }
  .a11y-panel { left: 12px; bottom: 74px; }
  .chat-panel { right: 12px; bottom: 80px; }
}

/* ===== v4: photography + real logo ===== */
:root { --red: #97051d; --red-d: #6f0a18; --red-soft: #fdeae6; }
.brand img { display: block; height: 44px; width: auto; border-radius: 0; }
.site-footer .brand img { height: 48px; }
.menu-panel .brand img { height: 40px; }
.av img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* photo banners: image sits right and fades into maroon */
.banner.has-photo { background: linear-gradient(110deg, #4a0e17, #6f0a18 55%, #97051d); }
.banner.has-photo > img.art-img { left: auto; right: 0; width: 72%; object-position: var(--pos, 50% 40%); -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .55) 18%, #000 44%); mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .55) 18%, #000 44%); }
.banner.has-photo::before { background: linear-gradient(90deg, rgba(74, 14, 23, .7) 0%, rgba(74, 14, 23, .35) 40%, rgba(74, 14, 23, 0) 72%); }
.banner.has-photo .banner-chip { z-index: 2; }

/* service cards with photos */
.pcard.has-img { padding: 0; overflow: hidden; }
.pcard .ph { display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray); }
.pcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pcard.has-img:hover .ph img { transform: scale(1.06); }
.pcard.has-img .pi { margin-top: -32px; border: 4px solid #fff; position: relative; box-shadow: 0 4px 12px rgba(0, 0, 0, .12); }
.pcard.has-img h3, .pcard.has-img p { padding-inline: 24px; }
.pcard.has-img .more { margin-bottom: 26px; }

/* content photos */
.band-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split .art { background: var(--gray); }
.split .art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split .art.wide { aspect-ratio: 16 / 10; max-height: none; }
.photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow); background: var(--gray); }

@media (max-width: 720px) {
  .banner.has-photo > img.art-img { width: 100%; -webkit-mask-image: none; mask-image: none; }
  .banner.has-photo::before { background: linear-gradient(180deg, rgba(74, 14, 23, .9), rgba(74, 14, 23, .72)); }
  .brand img { height: 38px; }
}

/* ===== v5: motion + new sections ===== */
@keyframes up { from { opacity: 0; transform: translateY(22px); } }
@keyframes pagein { from { opacity: 0; } }
@keyframes kb { from { scale: 1.05; } to { scale: 1.15; } }
@keyframes drift1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(46px, -34px); } }
@keyframes drift2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-50px, 30px); } }
@keyframes ringpulse { 0% { box-shadow: 0 0 0 0 rgba(151, 5, 29, .45); } 100% { box-shadow: 0 0 0 22px rgba(151, 5, 29, 0); } }
@keyframes chatring { 0% { box-shadow: 0 6px 18px rgba(0, 0, 0, .3), 0 0 0 0 rgba(151, 5, 29, .5); } 100% { box-shadow: 0 6px 18px rgba(0, 0, 0, .3), 0 0 0 18px rgba(151, 5, 29, 0); } }
@keyframes shine { to { transform: translateX(120%); } }
@keyframes diaf { 0%, 100% { transform: rotate(45deg) translateY(0); } 50% { transform: rotate(135deg) translateY(-22px); } }

body { animation: pagein .6s ease both; }

/* hero entrance, photo drift, glowing orbs */
.banner-in > * { animation: up .9s var(--ease) both; }
.banner-in > :nth-child(1) { animation-delay: .1s; }
.banner-in > :nth-child(2) { animation-delay: .2s; }
.banner-in > :nth-child(3) { animation-delay: .3s; }
.banner-in > :nth-child(4) { animation-delay: .4s; }
.banner-in > :nth-child(5) { animation-delay: .5s; }
.banner.has-photo > img.art-img { animation: kb 26s ease-in-out infinite alternate; will-change: transform, scale; }
.banner .orb { position: absolute; border-radius: 50%; filter: blur(42px); pointer-events: none; z-index: -1; }
.banner .o1 { width: 300px; height: 300px; left: -70px; bottom: -90px; background: rgba(255, 180, 168, .3); animation: drift1 16s ease-in-out infinite; }
.banner .o2 { width: 210px; height: 210px; left: 36%; top: -70px; background: rgba(255, 255, 255, .14); animation: drift2 21s ease-in-out infinite; }
.banner .o3 { width: 170px; height: 170px; right: 6%; bottom: 8%; background: rgba(207, 144, 42, .28); animation: drift1 19s ease-in-out infinite reverse; }

/* scroll progress + header shadow */
.progress { position: fixed; left: 0; top: 0; right: 0; height: 3px; z-index: 300; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--red), #cf902a); transform-origin: left; transform: scaleX(0); }
.site-header { transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 8px 28px rgba(0, 0, 0, .09); }

/* reveal uses the `translate` property so card hovers and tilt can use `transform` */
.js .reveal { transform: none; translate: 0 24px; transition: opacity .7s var(--ease), translate .7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; translate: 0 0; }
.js .reveal.pcard, .js .reveal.tile { transition: opacity .7s var(--ease), translate .7s var(--ease), transform .3s var(--ease), box-shadow .3s, border-color .25s; transition-delay: var(--d, 0s), var(--d, 0s), 0s, 0s, 0s; }

/* section title underline draws in */
.title h2::after { content: ""; display: block; width: 64px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--red), #cf902a); margin: 16px auto 0; transform: scaleX(0); transition: transform .8s var(--ease) .3s; }
.title.in h2::after, html:not(.js) .title h2::after { transform: scaleX(1); }
.title.left h2::after { margin-left: 0; transform-origin: left; }

/* steps + ticks pop in */
.js .steps li .sn { transform: scale(.5); opacity: 0; transition: transform .7s cubic-bezier(.34, 1.56, .64, 1) .1s, opacity .5s .1s; }
.js .steps li.in .sn { transform: none; opacity: 1; }
.js .steps li::after { transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) .45s; }
.js .steps li.in::after { transform: scaleX(1); }
.js .ticks .tk { transform: scale(0); }
.js .ticks li.in .tk { transform: scale(1); transition: transform .55s cubic-bezier(.34, 1.56, .64, 1) .25s; }

/* tilt + lift on cards and tiles */
.pcard, .tile { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.pcard:hover, .tile:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-5px); }
.pcard.tilting, .tile.tilting, .js .reveal.pcard.tilting, .js .reveal.tile.tilting { transition: opacity .7s var(--ease), translate .7s var(--ease), transform .1s linear, box-shadow .3s, border-color .25s; }
.photo { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .4s var(--ease); }
.photo.tilting { transition: transform .1s linear; }
.pcard.has-img .ph::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .28), transparent 55%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.pcard.has-img .ph { position: relative; }
.pcard.has-img:hover .ph::after { opacity: 1; }

/* parallax images */
.band-img img, .split .art img { scale: 1.1; }
[data-parallax] { will-change: transform; }

/* button shine */
.btn-primary, .btn-white { position: relative; overflow: hidden; }
.btn-primary::after, .btn-white::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); pointer-events: none; }
.btn-primary:hover::after, .btn-white:hover::after { animation: shine .8s; }

/* call band motion */
.callband { position: relative; overflow: hidden; }
.callband .wrap { position: relative; }
.callband .dia { position: absolute; width: 90px; height: 90px; border: 2px solid rgba(151, 5, 29, .18); border-radius: 10px; transform: rotate(45deg); pointer-events: none; animation: diaf 14s ease-in-out infinite; }
.callband .d1 { left: 6%; top: 16%; }
.callband .d2 { right: 8%; bottom: 12%; width: 60px; height: 60px; border-color: rgba(207, 144, 42, .4); animation-delay: -5s; }
.callband .d3 { left: 26%; bottom: -26px; width: 50px; height: 50px; animation-delay: -9s; }
.callband .ring { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--red); color: #fff; animation: ringpulse 2.2s infinite; }
.callband .ring .icon { width: 26px; height: 26px; }

/* chat avatar ring */
.chat-fab .av { animation: chatring 3.4s 2s infinite; }

/* about intro + counters */
.eyebrow.center { text-align: center; }
.lead-big { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 300; line-height: 1.65; text-align: center; max-width: 64ch; margin: 0 auto 40px; color: var(--dark); }
.lead-big b { font-weight: 700; }
.count { font-variant-numeric: tabular-nums; }
.about-intro .stats b { font-size: 2.3rem; }
.about-intro .stats > div { transition: transform .35s var(--ease), box-shadow .35s; }
.about-intro .stats > div:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

/* FAQ photo */
.faq-photo { margin: 0; position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 1; max-height: 420px; box-shadow: var(--shadow); background: var(--gray); }
.faq-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.faq-photo figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; background: rgba(255, 255, 255, .95); backdrop-filter: blur(6px); border-radius: var(--r-lg); padding: 12px 16px; display: flex; flex-direction: column; }
.faq-photo small { color: var(--muted); font-size: .78rem; }
.faq-photo a { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; text-decoration: none; font-size: 1.1rem; }

/* respect reduced-motion and the Pause animations option */
@media (prefers-reduced-motion: reduce) {
  .js .reveal { translate: none; }
  .js .steps li .sn, .js .steps li::after, .js .ticks .tk { transform: none; opacity: 1; }
  .title h2::after { transform: scaleX(1); }
  .banner .orb { display: none; }
  .band-img img, .split .art img { scale: 1; }
}
html.a11y-motion .js .reveal { translate: none; }
html.a11y-motion .js .steps li .sn, html.a11y-motion .js .steps li::after, html.a11y-motion .js .ticks .tk { transform: none; opacity: 1; }
html.a11y-motion .title h2::after { transform: scaleX(1); }
html.a11y-motion .banner .orb { display: none; }
html.a11y-motion .band-img img, html.a11y-motion .split .art img { scale: 1; }
html.a11y-motion .progress { display: none; }
.stats b .count { font-size: inherit; color: inherit; display: inline; }

/* ===== v6: customer mosaic + crisp diagonal hero edge ===== */
.mosaic { display: flex; gap: 12px; height: clamp(300px, 34vw, 430px); }
.mz { position: relative; flex: 1; margin: 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow); background: var(--gray); transition: flex .7s var(--ease); outline-offset: 3px; }
.mz img { width: 100%; height: 100%; object-fit: cover; display: block; scale: 1.1; transition: scale 1s var(--ease); }
.mz:hover, .mz:focus-visible, .mz.on { flex: 2.6; }
.mz:hover img, .mz:focus-visible img, .mz.on img { scale: 1; }
.mz figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 20px 18px; background: linear-gradient(0deg, rgba(46, 9, 16, .88), rgba(46, 9, 16, 0)); color: #fff; display: flex; flex-direction: column; }
.mz figcaption b { font-size: 1.1rem; line-height: 1.2; }
.mz figcaption span { font-size: .88rem; opacity: 0; max-height: 0; overflow: hidden; transition: opacity .5s var(--ease) .1s, max-height .5s var(--ease); }
.mz:hover figcaption span, .mz:focus-visible figcaption span, .mz.on figcaption span { opacity: .92; max-height: 3em; margin-top: 4px; }
.mz figcaption::before { content: ""; width: 34px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #cf902a, #ffb4a8); margin-bottom: 10px; transition: width .6s var(--ease); }
.mz:hover figcaption::before, .mz.on figcaption::before { width: 64px; }

/* hero: photo meets a solid maroon panel along a diagonal edge with a gold stripe */
.banner .edge { display: none; position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; animation: edgein 1.2s var(--ease) both .2s; }
@keyframes edgein { from { opacity: 0; transform: translateX(-60px); } }
@media (min-width: 1001px) {
  .banner.has-photo { background: linear-gradient(115deg, #3b0a12 0%, #5f0f1b 40%, #7a0b1c 100%); }
  .banner.has-photo > img.art-img { left: auto; right: 0; width: 74%; -webkit-mask-image: none; mask-image: none; clip-path: polygon(17% 0, 100% 0, 100% 100%, 0 100%); object-position: var(--pos, 50% 40%); }
  .banner.has-photo::before { background: linear-gradient(0deg, rgba(46, 9, 16, .55) 0%, rgba(46, 9, 16, 0) 40%); }
  .banner.has-photo .edge { display: block; }
  .banner.has-photo .banner-in > :not(h1):not(.crumbs) { max-width: min(43%, 520px); }
}
@media (max-width: 1000px) {
  .banner.has-photo > img.art-img { width: 100%; -webkit-mask-image: none; mask-image: none; }
  .banner.has-photo::before { background: linear-gradient(90deg, rgba(59, 10, 18, .92) 0%, rgba(59, 10, 18, .7) 45%, rgba(59, 10, 18, .22) 100%); }
}
@media (max-width: 720px) {
  .mosaic { display: grid; grid-template-columns: 1fr 1fr; height: auto; }
  .mz { aspect-ratio: 3 / 4; flex: none; }
  .mz figcaption span { opacity: .9; max-height: 3em; margin-top: 4px; }
  .banner.has-photo::before { background: linear-gradient(180deg, rgba(59, 10, 18, .9), rgba(59, 10, 18, .7)); }
}
html.a11y-motion .banner .edge { animation: none; }
@media (prefers-reduced-motion: reduce) { .mz, .mz img, .mz figcaption span { transition: none; } }

/* ===== v6b: photo wrapper geometry (diagonal edge only on wide screens) ===== */
.banner > .photo-wrap { position: absolute; inset: 0; z-index: -2; }
.photo-wrap > img.art-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 40%); -webkit-mask-image: none; mask-image: none; animation: kb 26s ease-in-out infinite alternate; will-change: transform, scale; z-index: auto; }
.photo-wrap > .edge { display: none; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; animation: edgein 1.2s var(--ease) both .2s; }
.banner.has-photo > .edge { display: none !important; }
@media (min-width: 1001px) and (max-width: 1199px) {
  .banner.has-photo::before { background: linear-gradient(90deg, rgba(59, 10, 18, .92) 0%, rgba(59, 10, 18, .7) 45%, rgba(59, 10, 18, .22) 100%); }
  .banner.has-photo .banner-in > :not(h1):not(.crumbs) { max-width: none; }
}
@media (min-width: 1200px) {
  .banner.has-photo { background: linear-gradient(115deg, #3b0a12 0%, #5f0f1b 45%, #7a0b1c 100%); }
  .banner > .photo-wrap { inset: 0 0 0 auto; width: min(62%, 880px); }
  .photo-wrap > img.art-img { clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%); }
  .photo-wrap > .edge { display: block; }
  .banner.has-photo::before { background: linear-gradient(0deg, rgba(46, 9, 16, .5) 0%, rgba(46, 9, 16, 0) 38%); }
  .banner.has-photo .banner-in > :not(h1):not(.crumbs) { max-width: clamp(280px, 27vw, 520px); }
  .banner.has-photo h1 { max-width: min(16ch, 34vw); }
  .banner.has-photo .banner-in { text-shadow: 0 2px 16px rgba(30, 4, 8, .35); }
  .banner.has-photo .btns, .banner.has-photo .btn { text-shadow: none; }
}
@media (max-width: 1000px) {
  .photo-wrap > img.art-img { width: 100%; }
}
html.a11y-motion .photo-wrap > .edge, html.a11y-motion .photo-wrap > img.art-img { animation: none; }

.mz img { object-position: var(--op, 50% 50%); }

/* ===== v6c: crisp layouts at every width (no muddy gradient blend) ===== */
@media (min-width: 900px) {
  .banner.has-photo { background: linear-gradient(115deg, #3b0a12 0%, #5f0f1b 45%, #7a0b1c 100%); }
  .banner > .photo-wrap { inset: 0 0 0 auto; width: min(62%, 880px); }
  .photo-wrap > img.art-img { clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%); }
  .photo-wrap > .edge { display: block; }
  .banner.has-photo::before { background: linear-gradient(0deg, rgba(46, 9, 16, .5) 0%, rgba(46, 9, 16, 0) 38%); }
  .banner.has-photo .banner-in > :not(h1):not(.crumbs) { max-width: clamp(240px, 28vw, 520px); }
  .banner.has-photo h1 { max-width: min(16ch, 34vw); }
  .banner.has-photo .banner-in { text-shadow: 0 2px 16px rgba(30, 4, 8, .35); }
  .banner.has-photo .btns, .banner.has-photo .btn { text-shadow: none; }
}
@media (max-width: 899px) {
  .banner.has-photo { display: block; background: linear-gradient(160deg, #3b0a12, #6f0a18); }
  .banner.has-photo::before, .banner.has-photo .orb { display: none; }
  .banner.has-photo > .photo-wrap { position: relative; inset: auto; width: 100%; height: clamp(210px, 52vw, 340px); z-index: 0; }
  .photo-wrap > img.art-img { clip-path: none; }
  .photo-wrap > .edge { display: none; }
  .banner.has-photo .banner-in { padding: 28px 24px 34px; text-shadow: none; }
  .banner.has-photo .banner-in > * { max-width: none; }
  .banner.has-photo h1 { max-width: none; }
  .banner.has-photo { min-height: 0; }
}
