/* Brancley — site styles */
:root {
  --brand: #1aa3e0;          /* logo cyan */
  --brand-600: #0c86c0;
  --brand-700: #0a6a99;      /* AA text on white */
  --brand-50: #e9f6fd;
  --ink: #0b1a2b;            /* deep navy-black */
  --ink-2: #23344a;
  --muted: #5a6878;
  --line: #e2e8ef;
  --bg: #ffffff;
  --alt: #f4f7fa;
  --dark: #0b1a2b;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11,26,43,.06), 0 8px 24px rgba(11,26,43,.06);
  --shadow-lg: 0 2px 4px rgba(11,26,43,.06), 0 18px 40px rgba(11,26,43,.12);
  --head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.65 var(--body); color: var(--ink-2); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { color: var(--brand-600); }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.35rem); font-weight: 700; }
h3, .h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
address { font-style: normal; }
button { font: inherit; cursor: pointer; }
.i { flex-shrink: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.eyebrow { font: 600 .78rem/1.2 var(--body); text-transform: uppercase; letter-spacing: .14em; color: var(--brand-700); margin: 0 0 .9rem; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px;
  font: 600 .95rem/1 var(--body); border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand-600); color: #fff; box-shadow: 0 6px 16px rgba(12,134,192,.28); }
.btn--primary:hover { background: var(--brand-700); color: #fff; }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--brand-50); color: var(--ink); }
.btn--ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; color: #fff; }

/* Top bar */
.topbar { background: var(--dark); color: #b7c3d1; font-size: .82rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar__links { display: flex; gap: 22px; }
.topbar a { color: #dfe7ef; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(11,26,43,.06); }
.header__in { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav__list > li > a, .nav__btn { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-weight: 500; font-size: .95rem; background: none; border: 0; }
.nav__list > li > a:hover, .nav__btn:hover, .nav__list a[aria-current="page"], .nav__btn[data-active] { color: var(--brand-700); }
.nav__list a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.nav__cat { display: none; }
.nav__drop { position: relative; }
.nav__btn .i { transition: transform .2s; }
.nav__drop.is-open .nav__btn .i { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px); width: 360px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; }
.mega::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav__drop.is-open .mega, .nav__drop:hover .mega, .nav__drop:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega a { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 10px; color: var(--ink); }
.mega a:hover { background: var(--alt); }
.mega img { width: 44px; height: 44px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 3px; }
.mega span { display: flex; flex-direction: column; line-height: 1.3; }
.mega small { color: var(--muted); font-size: .8rem; }
.burger { display: none; margin-left: auto; background: none; border: 0; color: var(--ink); padding: 8px; }

/* Hero */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(900px 500px at 85% 20%, rgba(26,163,224,.12), transparent 60%),
  linear-gradient(180deg, #f7fafc 0%, #fff 100%); }
.hero__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero h1 { text-transform: none; max-width: 18ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.hero__stats { list-style: none; padding: 24px 0 0; margin: 0; display: flex; gap: 40px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero__stats strong { display: block; font: 800 1.7rem/1 var(--head); color: var(--ink); }
.hero__stats span { font-size: .85rem; color: var(--muted); }
.hero__media { position: relative; }
.hero__frame { position: relative; aspect-ratio: 4/5; border-radius: 24px; background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.hero__frame::after { content: ""; position: absolute; inset: auto -30% -40% auto; width: 80%; height: 60%; border-radius: 50%; border: 18px solid var(--brand); opacity: .14; }
.hero__frame img { width: 100%; height: 100%; object-fit: contain; padding: 24px 24px 0; }
.hero__chip { position: absolute; left: -24px; bottom: 32px; display: flex; align-items: center; gap: 12px; background: var(--ink); color: #dce6f0; padding: 14px 18px;
  border-radius: 14px; box-shadow: var(--shadow-lg); max-width: 260px; font-size: .88rem; line-height: 1.35; }
.hero__chip .i { color: var(--brand); }
.hero__chip strong { color: #fff; display: block; }

/* Trust strip */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__in > div { display: flex; align-items: center; gap: 14px; padding: 26px 20px; border-left: 1px solid var(--line); font-size: .86rem; color: var(--muted); line-height: 1.35; }
.trust__in > div:first-child { border-left: 0; padding-left: 0; }
.trust__in .i { color: var(--brand-600); }
.trust strong { display: block; color: var(--ink); font-size: .95rem; }

/* Sections */
.section { padding: 88px 0; }
.section--tight { padding: 48px 0 80px; }
.section--alt { background: var(--alt); }
.section--dark { background: var(--dark); color: #b7c3d1; }
.sechead { max-width: 680px; margin-bottom: 44px; }
.sechead p:not(.eyebrow) { color: var(--muted); }
.sechead--light h2 { color: #fff; }
.sechead--light .eyebrow { color: var(--brand); }
.sechead--row { display: flex; justify-content: space-between; align-items: end; max-width: none; margin-bottom: 28px; gap: 16px; }
.sechead--row h2 { margin: 0; font-size: 1.6rem; }

/* Category cards */
.cgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.ccard { grid-column: span 2; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; transition: box-shadow .2s, transform .2s, border-color .2s; }
.ccard:nth-child(4), .ccard:nth-child(5) { grid-column: span 3; }
.ccard:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; color: inherit; }
.ccard__img { background: linear-gradient(180deg, #fff, var(--alt)); aspect-ratio: 16/10; display: grid; place-items: center; overflow: hidden; }
.ccard__img img { width: 62%; height: 100%; object-fit: contain; padding: 18px 0; transition: transform .35s; mix-blend-mode: multiply; }
.ccard:hover .ccard__img img { transform: scale(1.05); }
.ccard__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.ccard__body p { color: var(--muted); font-size: .94rem; }
.ccard__link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand-700); font-size: .9rem; }

/* Featured */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 420px; border-radius: var(--radius); overflow: hidden; color: #fff; background: #fff; isolation: isolate; }
.feat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 24px 24px 120px; z-index: -2; transition: transform .4s; }
.feat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgba(11,26,43,.92) 78%); }
.feat:hover img { transform: scale(1.04); }
.feat > span { padding: 0 26px; }
.feat__n { font: 600 .8rem var(--body); letter-spacing: .14em; color: var(--brand); }
.feat__name { font: 700 1.5rem/1.2 var(--head); margin: 6px 0 10px; }
.feat__go { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; color: #cfe1ee; padding-bottom: 26px !important; text-transform: uppercase; letter-spacing: .08em; }
.feat:hover { color: #fff; }
.feat:hover .feat__go { color: #fff; }

/* Split */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.split--top { grid-template-columns: 1.2fr .8fr; align-items: start; }
.split__media { background: var(--alt); border-radius: 20px; overflow: hidden; aspect-ratio: 1; display: grid; place-items: center; }
.split__media img { width: 100%; height: 100%; object-fit: contain; padding: 28px; mix-blend-mode: multiply; }
.split--top .split__media { aspect-ratio: 3/4; background: #fff; border: 1px solid var(--line); }
.split__copy p { color: var(--muted); }
.split__copy .btn { margin-top: 8px; }
.prose p { font-size: 1.08rem; color: var(--ink-2); }
.prose p:first-child::first-letter { font: 800 3.4rem/.9 var(--head); float: left; margin: 6px 10px 0 0; color: var(--brand-600); }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.values > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.values .i { color: var(--brand-600); margin-bottom: 18px; }
.values p { color: var(--muted); font-size: .94rem; margin: 0; }

/* Docs */
.docs { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.docs__certs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cert { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; text-align: center; color: var(--ink); font-weight: 600; font-size: .9rem; transition: box-shadow .2s, transform .2s; }
.cert:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.cert img { width: 100%; aspect-ratio: 425/585; object-fit: cover; object-position: top; border-radius: 6px; margin-bottom: 12px; border: 1px solid var(--line); }
.docs__list { display: flex; flex-direction: column; gap: 16px; }
.doc { display: flex; align-items: center; gap: 18px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.doc:hover { border-color: var(--brand); box-shadow: var(--shadow); color: var(--ink); }
.doc__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--brand-50); color: var(--brand-700); }
.doc__txt { flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.doc__txt strong { font-family: var(--head); font-size: 1.05rem; }
.doc__txt small { color: var(--muted); }
.doc > .i { color: var(--brand-700); }

/* CTA band */
.ctaband { background: linear-gradient(120deg, var(--brand-700), var(--brand-600) 55%, var(--brand)); color: #e8f6fd; }
.ctaband__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; }
.ctaband h2 { color: #fff; margin-bottom: .3em; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.ctaband p { margin: 0; max-width: 56ch; }
.ctaband__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Page head */
.phead { background: linear-gradient(180deg, #f4f8fb, #fff); padding: 48px 0 40px; border-bottom: 1px solid var(--line); }
.phead h1 { max-width: 24ch; font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); }
.phead .lead { margin: 0; }
.phead--slim { padding: 18px 0; background: var(--alt); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 20px; }
.phead--slim .crumbs { margin: 0; }
.crumbs i { font-style: normal; opacity: .5; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand-700); }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }

/* Category page */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-size: .9rem; font-weight: 500; background: #fff; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip--on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip--on:hover { color: #fff; }
.count { color: var(--muted); font-size: .9rem; margin-bottom: 24px; }

.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; transition: box-shadow .2s, transform .2s, border-color .2s; }
.pcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; color: inherit; }
.pcard__img { aspect-ratio: 1; background: #fff; display: grid; place-items: center; border-bottom: 1px solid var(--line); overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .35s; }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.pcard__cat { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-700); margin-bottom: 6px; }
.pcard h3 { font-size: 1.02rem; margin-bottom: 4px; }
.pcard__code { font: 600 .85rem var(--body); color: var(--muted); margin-bottom: 16px; }
.pcard__meta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--ink); font-weight: 500; padding-top: 14px; border-top: 1px dashed var(--line); }
.pcard__meta .i { color: var(--brand-700); transition: transform .2s; }
.pcard:hover .pcard__meta .i { transform: translateX(3px); }

/* Product page */
.product { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.product > *, .contact > *, .split > *, .hero__in > * { min-width: 0; }
.product__media { position: sticky; top: 104px; }
.product__zoom { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 20px; background: #fff; cursor: zoom-in; overflow: hidden; }
.product__zoom img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 28px; }
.product__info h1 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.5rem); margin: 8px 0 8px; }
.product__info > .pcard__cat { display: inline-block; }
.product__code { color: var(--muted); font-size: 1.02rem; }
.product__code strong { color: var(--ink); }
.product__hl { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.product__hl li { display: inline-flex; align-items: center; gap: 6px; background: var(--brand-50); color: var(--brand-700); padding: 6px 12px; border-radius: 999px; font-size: .86rem; font-weight: 600; }
.product .h3 { margin: 28px 0 12px; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.spec { width: 100%; border-collapse: collapse; font-size: .92rem; }
.spec th { background: var(--ink); color: #fff; font-weight: 600; text-align: left; padding: 12px 14px; white-space: nowrap; font-size: .82rem; letter-spacing: .02em; }
.spec td { padding: 11px 14px; border-top: 1px solid var(--line); white-space: nowrap; }
.spec td:first-child { font-weight: 600; color: var(--ink); }
.spec tbody tr:nth-child(even) { background: var(--alt); }
.note { display: flex; gap: 14px; align-items: flex-start; background: var(--alt); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; margin-top: 24px; }
.note .i { color: var(--brand-700); margin-top: 2px; }
.note p { margin: 0; color: var(--muted); }
.product__actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 14px; }
.product__call { font-size: .92rem; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: 16px; }
.infocard { display: flex; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.infocard__ico { display: grid; place-items: center; flex: 0 0 48px; height: 48px; border-radius: 12px; background: var(--brand-50); color: var(--brand-700); }
.infocard .eyebrow { margin-bottom: 8px; }
.infocard p:not(.eyebrow) { margin: 0 0 8px; color: var(--ink); }
.infocard a:not(.link) { color: var(--ink); }
.infocard a:not(.link):hover { color: var(--brand-700); }
.form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 110px; }
.form h2 { margin-bottom: 4px; font-size: 1.7rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { font: 400 1rem var(--body); color: var(--ink); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; width: 100%; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(26,163,224,.15); }
.form .is-invalid { border-color: #d14343; }
.form button { align-self: flex-start; }
.form__note { font-size: .85rem; color: var(--muted); margin: 0; }
.map iframe { display: block; width: 100%; height: 380px; border: 0; filter: grayscale(.3); }

/* Footer */
.footer { background: var(--dark); color: #9fb0c2; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 72px; padding-bottom: 48px; }
.footer__logo { display: inline-block; background: #fff; border-radius: 12px; padding: 10px 14px; margin-bottom: 18px; }
.footer__logo img { height: 50px; width: auto; }
.footer__brand p { max-width: 34ch; }
.footer__certs { display: flex; gap: 10px; flex-wrap: wrap; }
.footer__certs span { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255,255,255,.14); padding: 6px 12px; border-radius: 999px; font-size: .8rem; color: #d6e1ea; }
.footer__certs .i { color: var(--brand); }
.footer h3 { color: #fff; font-size: .95rem; letter-spacing: .02em; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: #c9d5e0; }
.footer a:hover { color: #fff; }
.footer address p { display: flex; gap: 12px; margin-bottom: 16px; line-height: 1.6; }
.footer address .i { color: var(--brand); margin-top: 4px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: .84rem; flex-wrap: wrap; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6,14,24,.88); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; max-width: min(92vw, 900px); width: auto; border-radius: 10px; background: #fff; }
.lightbox button { position: absolute; top: 16px; right: 16px; background: rgba(255,255,255,.1); border: 0; color: #fff; border-radius: 50%; width: 48px; height: 48px; display: grid; place-items: center; }

.notfound { text-align: center; padding: 120px 0; }
.notfound .lead { margin: 0 auto; }
.notfound .hero__actions { justify-content: center; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1100px) {
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .burger { display: inline-flex; }
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 88px 20px 24px;
    box-shadow: -20px 0 40px rgba(11,26,43,.18); transform: translateX(100%); transition: transform .28s ease, visibility .28s; overflow-y: auto; z-index: 60; visibility: hidden; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li > a, .nav__btn { width: 100%; padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1rem; }
  .nav__list a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--brand); padding-left: 14px; }
  .nav__drop { display: none; }
  .nav__cat { display: block; }
  .nav__cat a { padding-left: 20px !important; color: var(--muted) !important; font-size: .95rem !important; }
  .nav__cta { margin-top: 20px; }
  .burger { position: relative; z-index: 70; }
  body.nav-open { overflow: hidden; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(11,26,43,.4); z-index: 40; }
  .hero__in, .split, .split--top, .product, .contact, .docs { grid-template-columns: 1fr; }
  .hero__in { gap: 40px; padding-top: 40px; }
  .hero__media { max-width: 460px; }
  .hero__chip { left: 12px; }
  .trust__in { grid-template-columns: 1fr 1fr; }
  .trust__in > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust__in > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cgrid { grid-template-columns: 1fr 1fr; }
  .ccard, .ccard:nth-child(4), .ccard:nth-child(5) { grid-column: span 1; }
  .ccard:nth-child(5) { grid-column: span 2; }
  .feats { grid-template-columns: 1fr; }
  .feat { min-height: 360px; }
  .product__media { position: static; max-width: 520px; }
  .section { padding: 64px 0; }
  .topbar__tag { display: none; }
  .topbar__in { justify-content: center; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .topbar__links { gap: 14px; font-size: .78rem; }
  .topbar__links a:nth-child(2) { display: none; }
  .header__in { min-height: 68px; }
  .brand img { height: 44px; }
  .pgrid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pcard__body { padding: 14px; }
  .pcard h3 { font-size: .94rem; }
  .cgrid { grid-template-columns: 1fr; }
  .ccard:nth-child(5) { grid-column: span 1; }
  .trust__in { grid-template-columns: 1fr; }
  .trust__in > div { border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--line); padding: 18px 0; }
  .trust__in > div:first-child { border-top: 0; }
  .values, .form__row, .footer__grid { grid-template-columns: 1fr; }
  .docs__certs { grid-template-columns: 1fr 1fr; gap: 12px; }
  .form { padding: 24px 18px; }
  .hero__stats { gap: 24px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .ctaband__actions .btn { flex: 1 1 100%; }
  .sechead--row { flex-direction: column; align-items: flex-start; }
}

/* ===================================================================
   v2 — modernized components
   =================================================================== */
@view-transition { navigation: auto; }
::selection { background: rgba(26,163,224,.22); }
kbd { font: 600 .72rem/1 var(--body); padding: 3px 6px; border-radius: 5px; border: 1px solid var(--line); background: var(--alt); color: var(--muted); }

/* Header tools */
.tools { display: flex; align-items: center; gap: 6px; }
.tool { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: border-color .2s, background .2s; }
.tool:hover { border-color: var(--ink); }
.tool__badge { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--brand-600); color: #fff; font: 700 .7rem/20px var(--body); text-align: center; font-style: normal; }
.tool__badge.bump { animation: bump .4s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }
.btn--text { padding-left: 8px; padding-right: 8px; color: var(--ink); }
.btn--text:hover { color: var(--brand-700); transform: none; }
.btn--glass { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.btn--glass:hover { background: rgba(255,255,255,.16); color: #fff; }

/* Dark hero */
.hero--dark { background: radial-gradient(1200px 600px at 80% -10%, #12406a 0%, transparent 60%), linear-gradient(180deg, #0a1726, #0b1a2b 60%, #0d2036); color: #b9c8d8; padding-bottom: 8px; }
.hero--dark::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 70% at 60% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 30%, #000 30%, transparent 75%); }
.hero__glow { position: absolute; width: 520px; height: 520px; right: 6%; top: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(26,163,224,.45), transparent 65%); filter: blur(40px); animation: float 12s ease-in-out infinite; pointer-events: none; }
@keyframes float { 50% { transform: translate(-40px, 30px) scale(1.08); } }
.hero--dark .hero__in { position: relative; padding-top: 72px; padding-bottom: 48px; }
.hero--dark h1 { color: #fff; font-size: clamp(2.1rem, 1.2rem + 3.2vw, 3.7rem); letter-spacing: -.02em; max-width: 17ch; }
.hero--dark .lead { color: #b9c8d8; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(26,163,224,.12); border: 1px solid rgba(26,163,224,.35); color: #8fd6f7; font-size: .82rem; font-weight: 600; margin-bottom: 22px; }
.hero__search { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 460px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #9fb2c6; text-align: left; transition: background .2s, border-color .2s; }
.hero__search:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
.hero__search span { flex: 1; }
.hero__search kbd { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #cfdbe7; }
.hero--dark .hero__actions { margin: 30px 0 22px; }
.showcase { position: relative; aspect-ratio: 1; border-radius: 28px; background: linear-gradient(160deg, #fff, #eaf3f9); box-shadow: 0 40px 80px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.08); overflow: hidden; }
.showcase img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 36px 36px 52px; opacity: 0; transform: scale(.96) translateY(10px); transition: opacity .8s ease, transform 1.2s ease; mix-blend-mode: multiply; }
.showcase img.is-on { opacity: 1; transform: none; }
.showcase__dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 6px; }
.showcase__dots i { width: 7px; height: 7px; border-radius: 99px; background: rgba(11,26,43,.18); transition: width .3s, background .3s; }
.showcase__dots i.is-on { width: 22px; background: var(--brand-600); }
.hero--dark .hero__chip { background: rgba(11,26,43,.85); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.12); }
.hero--dark .hero__stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(255,255,255,.03); padding: 0; margin: 8px 0 48px; }
.hero--dark .hero__stats li { padding: 22px 26px; border-left: 1px solid rgba(255,255,255,.08); }
.hero--dark .hero__stats li:first-child { border-left: 0; }
.hero--dark .hero__stats strong { color: #fff; font-size: 2rem; }
.hero--dark .hero__stats span { color: #93a6ba; }

/* Marquee */
.marquee { overflow: hidden; background: var(--brand-600); color: #fff; padding: 14px 0; }
.marquee__track { display: flex; gap: 28px; width: max-content; animation: marquee 40s linear infinite; font: 700 1rem/1 var(--head); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; align-items: center; }
.marquee a, .marquee span { color: #fff; }
.marquee span { opacity: .75; font-weight: 600; }
.marquee i { font-style: normal; opacity: .55; font-size: .7rem; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Bento categories */
.sechead--row .btn { flex-shrink: 0; }
.sechead--row p:not(.eyebrow) { margin: 0; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 18px; }
.bento__tile { position: relative; display: flex; border-radius: 20px; background: var(--alt); border: 1px solid var(--line); overflow: hidden; color: var(--ink); isolation: isolate; transition: transform .25s, box-shadow .25s, border-color .25s; }
.bento__tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.bento__tile--big { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, #eaf5fc, #f7fafc 60%); }
.bento__tile:nth-child(2) { grid-column: span 2; }
.bento__txt { position: relative; z-index: 1; padding: 24px; display: flex; flex-direction: column; max-width: 62%; }
.bento__tile--big .bento__txt { max-width: 60%; padding: 32px; }
.bento__count { font: 800 .85rem var(--head); color: var(--brand-700); letter-spacing: .1em; margin-bottom: 10px; }
.bento__txt h3 { font-size: 1.3rem; margin-bottom: 6px; }
.bento__tile--big h3 { font-size: 2rem; }
.bento__txt p { font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.bento__codes { list-style: none; padding: 0; margin: 4px 0 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.bento__codes li { font: 600 .78rem var(--body); padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.bento__go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--brand-700); }
.bento__go .i { transition: transform .2s; }
.bento__tile:hover .bento__go .i { transform: translateX(4px); }
.bento__tile img { position: absolute; right: -4%; bottom: -4%; width: 52%; height: 100%; object-fit: contain; padding: 18px 0; mix-blend-mode: multiply; transition: transform .5s ease; z-index: 0; }
.bento__tile--big img { width: 58%; right: -2%; }
.bento__tile:hover img { transform: scale(1.06) rotate(-1deg); }

/* Ladder finder */
.finder__in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.finder__copy p:not(.eyebrow) { color: var(--muted); }
.finder__ctrl { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px 18px; margin: 26px 0 16px; box-shadow: var(--shadow); }
.finder__ctrl label { font-weight: 600; color: var(--ink); font-size: .9rem; }
.finder__ctrl output { position: absolute; right: 24px; top: 16px; font: 800 1.9rem/1 var(--head); color: var(--brand-700); }
.finder__ctrl input[type=range] { width: 100%; margin: 22px 0 6px; -webkit-appearance: none; appearance: none; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--brand-600) var(--p, 20%), var(--line) var(--p, 20%)); outline-offset: 6px; }
.finder__ctrl input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--brand-600); box-shadow: 0 4px 10px rgba(12,134,192,.35); cursor: grab; }
.finder__ctrl input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--brand-600); cursor: grab; }
.finder__scale { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); }
.finder__note { font-size: .85rem; }
.finder__results { display: flex; flex-direction: column; gap: 14px; min-height: 200px; }
.fgroup { display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px 14px 14px; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s; animation: pop .35s ease both; }
.fgroup:hover { border-color: var(--brand); box-shadow: var(--shadow); color: var(--ink); transform: translateX(3px); }
.fgroup img { width: 76px; height: 76px; object-fit: contain; border-radius: 10px; background: var(--alt); padding: 6px; flex-shrink: 0; mix-blend-mode: multiply; }
.fgroup__txt { flex: 1; min-width: 0; }
.fgroup__txt strong { display: block; font-family: var(--head); font-size: 1.02rem; }
.fgroup__models { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.fgroup__models span { font-size: .76rem; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); }
.fgroup > .i { color: var(--brand-700); }
.finder__empty { padding: 28px; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); text-align: center; background: #fff; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }

/* Process */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; position: relative; }
.step { position: relative; padding: 30px 26px; border-radius: 20px; border: 1px solid var(--line); background: #fff; transition: border-color .25s, box-shadow .25s; }
.step:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.step__n { position: absolute; top: 22px; right: 24px; font: 800 2.4rem/1 var(--head); color: transparent; -webkit-text-stroke: 1.5px #cfdbe6; }
.step .i { color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-700)); padding: 12px; width: 50px; height: 50px; border-radius: 14px; margin-bottom: 20px; box-shadow: 0 8px 18px rgba(12,134,192,.3); }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Product cards: quick add */
.pcard__img { position: relative; }
.pcard__add { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; transform: scale(.85); transition: opacity .2s, transform .2s, background .2s, color .2s; cursor: pointer; }
.pcard:hover .pcard__add, .pcard__add:focus-visible, .pcard__add.is-added { opacity: 1; transform: none; }
.pcard__add:hover { background: var(--ink); color: #fff; }
.pcard__add.is-added { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }
@media (hover: none) { .pcard__add { opacity: 1; transform: none; } }
[data-quote-add].is-added.btn--primary { background: #12805c; box-shadow: 0 6px 16px rgba(18,128,92,.28); }

/* Search dialog */
.search { width: min(640px, calc(100vw - 32px)); max-height: min(70vh, 620px); margin: 12vh auto auto; padding: 0; border: 0; border-radius: 18px; background: #fff; box-shadow: 0 30px 80px rgba(6,14,24,.4); overflow: hidden; }
.search::backdrop { background: rgba(6,14,24,.55); backdrop-filter: blur(4px); }
.search[open] { animation: dlg .2s ease; }
@keyframes dlg { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.search__box { display: flex; flex-direction: column; max-height: inherit; }
.search__bar { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); color: var(--muted); }
.search__bar input { flex: 1; border: 0; outline: 0; font: 500 1.08rem var(--body); color: var(--ink); background: none; min-width: 0; }
.search__esc { border: 1px solid var(--line); background: var(--alt); border-radius: 6px; font-size: .75rem; padding: 4px 8px; color: var(--muted); }
.search__results { overflow-y: auto; padding: 8px; flex: 1; }
.search__group { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); padding: 12px 10px 6px; }
.sr { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 12px; color: var(--ink); }
.sr img { width: 48px; height: 48px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; padding: 3px; background: #fff; flex-shrink: 0; }
.sr span { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.sr small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr mark { background: rgba(26,163,224,.2); color: inherit; border-radius: 3px; padding: 0 1px; }
.sr[aria-selected="true"], .sr:hover { background: var(--brand-50); color: var(--ink); }
.sr .i { color: var(--brand-700); opacity: 0; }
.sr[aria-selected="true"] .i { opacity: 1; }
.search__none { padding: 28px; text-align: center; color: var(--muted); }
.search__foot { display: flex; gap: 18px; padding: 10px 18px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); background: var(--alt); }
.search__foot kbd { margin-right: 3px; }

/* Quote drawer */
.drawer { position: fixed; inset: 0; z-index: 90; background: rgba(6,14,24,.45); display: flex; justify-content: flex-end; }
.drawer[hidden] { display: none; }
.drawer__panel { width: min(420px, 100vw); height: 100%; background: #fff; display: flex; flex-direction: column; box-shadow: -20px 0 50px rgba(6,14,24,.25); animation: slidein .28s ease; }
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.25rem; margin: 0; }
.drawer__head button { background: none; border: 0; color: var(--ink); padding: 6px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 12px 24px; }
.qi { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.qi img { width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; padding: 4px; }
.qi a { flex: 1; color: var(--ink); font-weight: 600; font-size: .93rem; line-height: 1.35; }
.qi button { background: none; border: 0; color: var(--muted); padding: 6px; border-radius: 8px; }
.qi button:hover { color: #c0392b; background: #fdf0ee; }
.drawer__empty { text-align: center; color: var(--muted); padding: 48px 12px; }
.drawer__empty .i { color: var(--line); margin: 0 auto 14px; display: block; }
.drawer__foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.drawer__foot .btn { width: 100%; }
.drawer__clear { background: none; border: 0; color: var(--muted); font-size: .88rem; text-decoration: underline; }
.drawer.is-empty .drawer__foot { display: none; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 95; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: .92rem; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; display: flex; gap: 12px; align-items: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { background: none; border: 0; color: #8fd6f7; font-weight: 600; padding: 0; }

/* Mobile action bar */
.mbar { display: none; }

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--brand), var(--brand-700)); z-index: 99; }

/* Footer polish */
.footer { background: radial-gradient(800px 300px at 10% 0%, rgba(26,163,224,.12), transparent 60%), var(--dark); }

/* Responsive v2 */
@media (max-width: 1100px) {
  .tool kbd { display: none; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__tile--big { grid-column: span 2; grid-row: span 1; }
  .bento__tile:nth-child(2) { grid-column: span 1; }
  .bento__tile:last-child { grid-column: span 2; }
}
@media (max-width: 960px) {
  .tools { margin-left: auto; }
  .burger { margin-left: 0; }
  .hero--dark .hero__in { padding-top: 44px; }
  .hero--dark .hero__stats { grid-template-columns: 1fr 1fr; }
  .hero--dark .hero__stats li:nth-child(3) { border-left: 0; }
  .hero--dark .hero__stats li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); }
  .hero__glow { width: 320px; height: 320px; }
  .finder__in { grid-template-columns: 1fr; gap: 24px; }
  .mbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 45; background: rgba(11,26,43,.94); backdrop-filter: blur(10px); border-radius: 18px; box-shadow: 0 12px 30px rgba(6,14,24,.35); padding: 6px; }
  .mbar a, .mbar button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 0; color: #dfe7ef; background: none; border: 0; font-size: .72rem; font-weight: 600; border-radius: 12px; }
  .mbar a:first-child { background: var(--brand-600); color: #fff; }
  .mbar .tool__badge { top: 2px; right: calc(50% - 22px); }
  body { padding-bottom: 84px; }
  .toast { bottom: 96px; }
  .tool[data-quote-open], .tool[data-search-open] { display: none; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .bento__tile, .bento__tile--big, .bento__tile:nth-child(2), .bento__tile:last-child { grid-column: span 1; grid-row: span 1; }
  .bento__tile--big { grid-auto-rows: auto; min-height: 300px; }
  .bento__tile--big h3 { font-size: 1.5rem; }
  .bento__tile--big .bento__txt { padding: 24px; max-width: 64%; }
  .bento__codes { display: none; }
  .process { grid-template-columns: 1fr; }
  .hero--dark .hero__stats li { padding: 16px 18px; }
  .hero--dark .hero__stats strong { font-size: 1.6rem; }
  .showcase img { padding: 24px 24px 44px; }
  .fgroup img { width: 60px; height: 60px; }
  .search { margin-top: 16px; max-height: 80vh; }
  .search__foot { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track, .hero__glow { animation: none; }
  @view-transition { navigation: none; }
}

/* Bento v2.1 — big tile + 2x2 small tiles */
.bento { grid-auto-rows: 290px; }
.bento__tile:nth-child(2) { grid-column: auto; }
.bento__tile:not(.bento__tile--big) { flex-direction: column; justify-content: flex-end; }
.bento__tile:not(.bento__tile--big) .bento__txt { max-width: none; padding: 0 22px 20px; }
.bento__tile:not(.bento__tile--big) img { top: 14px; right: 14px; left: auto; bottom: auto; width: 46%; height: 48%; padding: 0; }
.bento__tile:not(.bento__tile--big) .bento__count { position: absolute; top: 22px; left: 22px; }
.bento__tile:not(.bento__tile--big) p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bento__tile:not(.bento__tile--big) h3 { font-size: 1.2rem; }
@media (max-width: 1100px) {
  .bento__tile--big { grid-row: span 1; }
  .bento__tile:last-child { grid-column: auto; }
}
@media (max-width: 640px) {
  .bento { grid-auto-rows: 250px; }
  .bento__tile--big { min-height: 320px; }
}
.bento__tile:not(.bento__tile--big) .bento__txt { position: static; }
.bento__tile img { z-index: -1; }
