@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@400;500;700&display=swap");

/* East Africa Gate Automation — site styles (built on design-system/tokens.json) */
:root {
  --brand-red: #e9202a;
  --brand-red-deep: #b8141d;
  --navy: #061348;
  --navy-soft: #0d1d5c;
  --surface: #f8faff;
  --white: #ffffff;
  --ink: #0b0d14;
  --ink-muted: #565d70;
  --on-navy-muted: #b9c1dc;
  --line: #dfe4f0;
  --line-on-dark: rgba(255,255,255,0.18);
  --outline-text: rgba(233,32,42,0.35);
  --whatsapp: #128c4a;

  --font-display: "Space Grotesk", "Arial Narrow", Arial, sans-serif;
  --font-body: Inter, "Helvetica Neue", Arial, sans-serif;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px;
  --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px; --space-10: 128px;
  --container: 1200px; --control-h: 48px; --icon-tile: 50px; --icon-btn: 36px;
  --gutter: var(--space-7);
}
@media (max-width: 760px) { :root { --gutter: var(--space-4); } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: var(--white); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--space-9) 0; }
.section--surface { background: var(--surface); }
.section--navy { background: var(--navy); color: var(--white); }
.section--tight { padding: var(--space-8) 0; }
@media (max-width: 760px) { .section { padding: var(--space-8) 0; } }

/* ---------- Type ---------- */
.display, .h1, .h2, .h3, .h4, .stat { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; margin: 0; text-wrap: balance; }
.display { font-size: clamp(44px, 8vw, 96px); line-height: .92; letter-spacing: -.03em; }
.h1 { font-size: clamp(38px, 6vw, 64px); line-height: .95; letter-spacing: -.03em; }
.h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.05; letter-spacing: -.02em; }
.h3 { font-size: clamp(20px, 2.4vw, 24px); line-height: 1.12; letter-spacing: -.01em; }
.h4 { font-size: 19px; line-height: 1.25; letter-spacing: -.01em; }
.stat { font-size: clamp(48px, 6vw, 72px); line-height: 1; letter-spacing: -.04em; }
.lead { font-size: clamp(19px, 2vw, 22px); line-height: 1.5; }
.muted { color: var(--ink-muted); }
.small { font-size: 15px; line-height: 1.6; }
.caption { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.red { color: var(--brand-red); }
.section--navy .muted, .on-dark .muted { color: var(--on-navy-muted); }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--brand-red); }
.eyebrow::before { content: ""; width: 11px; height: 12px; flex: none; background: linear-gradient(var(--brand-red), var(--brand-red)) 0 0/4px 12px no-repeat, linear-gradient(var(--brand-red), var(--brand-red)) 6px 0/4px 12px no-repeat; transform: skewX(-18deg); }
.section--navy .eyebrow, .on-dark .eyebrow { color: #ff5a62; }
.section--navy .eyebrow::before, .on-dark .eyebrow::before { background: linear-gradient(#ff5a62, #ff5a62) 0 0/4px 12px no-repeat, linear-gradient(#ff5a62, #ff5a62) 6px 0/4px 12px no-repeat; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap; margin-bottom: var(--space-8); }
.section-head__text { display: grid; gap: var(--space-4); max-width: 640px; }
@media (max-width: 760px) { .section-head { margin-bottom: var(--space-6); } }

/* ---------- Buttons ---------- */
.arrow { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; flex: none; transition: transform .15s; }
.btn { display: inline-flex; align-items: stretch; min-height: var(--control-h); border: 1px solid var(--ink); color: var(--ink); background: transparent; font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; cursor: pointer; padding: 0; transition: background .15s, color .15s, border-color .15s; }
.btn__label { display: flex; align-items: center; gap: 10px; padding: 0 22px; white-space: nowrap; }
.btn__icon { display: flex; align-items: center; justify-content: center; width: var(--control-h); border-left: 1px solid currentColor; }
.btn:hover { background: var(--ink); color: var(--white); }
.btn:hover .arrow { transform: translateX(3px); }
.btn--light { border-color: var(--white); color: var(--white); }
.btn--light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--solid { background: var(--brand-red); border-color: var(--brand-red); color: var(--white); }
.btn--solid .btn__icon { border-left-color: var(--line-on-dark); }
.btn--solid:hover { background: var(--brand-red-deep); border-color: var(--brand-red-deep); color: var(--white); }
.btn--wa { background: var(--whatsapp); border-color: var(--whatsapp); color: var(--white); }
.btn--wa .btn__icon { border-left-color: var(--line-on-dark); }
.btn--wa:hover { background: #0d6e3a; border-color: #0d6e3a; color: var(--white); }
.btn--navy { background: var(--navy); border-color: var(--navy); color: var(--white); }
.btn--navy .btn__icon { border-left-color: var(--line-on-dark); }
.btn--navy:hover { background: var(--navy-soft); border-color: var(--navy-soft); }
.btn--block { width: 100%; justify-content: space-between; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
/* Call button: navy on light sections, outlined white on dark ones. */
.btn--call { background: var(--navy); border-color: var(--navy); color: var(--white); }
.btn--call:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.section--navy .btn--call, .hero .btn--call, .page-hero .btn--call, .on-dark .btn--call { background: transparent; border-color: var(--white); color: var(--white); }
.section--navy .btn--call:hover, .hero .btn--call:hover, .page-hero .btn--call:hover, .on-dark .btn--call:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
/* Call + WhatsApp strip closing a section. */
.cta-strip { grid-column: 1 / -1; order: 99; margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
.cta-strip__text { margin: 0; font-size: 19px; line-height: 1.45; max-width: 560px; }
.section--navy .cta-strip { border-top-color: var(--line-on-dark); }
.page-hero .btn-row { margin-top: var(--space-2); }
@media (max-width: 560px) { .btn-row > .btn { flex: 1 1 100%; } .btn-row > .btn .btn__label { justify-content: center; flex: 1; } }
.ico { width: 16px; height: 16px; flex: none; fill: currentColor; }
.link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .03em; text-transform: uppercase; color: var(--brand-red); text-decoration: none; }
.link:hover .arrow { transform: translateX(3px); }
.section--navy .link { color: #ff5a62; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.section--navy :focus-visible, .hero :focus-visible, .cta :focus-visible, .footer :focus-visible { outline-color: var(--white); }

/* ---------- Logo wordmark ---------- */
.logo { display: inline-grid; justify-items: center; text-decoration: none; color: var(--navy); line-height: 1; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; }
.logo__top, .logo__bottom { font-size: 9.5px; letter-spacing: .32em; margin-right: -.32em; }
.logo__mid { font-size: 30px; letter-spacing: .06em; margin-right: -.06em; color: var(--brand-red); line-height: .95; }
.logo--light { color: var(--white); }
.logo--light .logo__mid { color: var(--white); }
.logo__img { display: block; height: 40px; width: auto; max-width: 100%; }
@media (max-width: 600px) { .logo__img { height: 30px; } }

/* ---------- Header ---------- */
.topbar { background: var(--navy); color: var(--on-navy-muted); font-family: var(--font-display); font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); min-height: 38px; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { color: #ff5a62; }
.topbar__group { display: flex; gap: var(--space-5); align-items: center; }
.topbar__group span { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 760px) { .topbar__hide { display: none !important; } }

.header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; gap: var(--space-6); min-height: 76px; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover { color: var(--brand-red); }
@media (min-width: 1181px) and (max-width: 1300px) { .header .container { gap: var(--space-5); } .nav { gap: 20px; } }
.nav a[aria-current="page"] { color: var(--brand-red); border-bottom-color: var(--brand-red); }
.header__cta { display: flex; gap: var(--space-2); }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--ink); background: none; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: transform .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1180px) {
  .menu-btn { display: inline-flex; }
  .header__cta { display: none; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: var(--space-2) var(--gutter) var(--space-5); border-bottom: 1px solid var(--line); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .nav .btn { margin-top: var(--space-4); justify-content: space-between; border-bottom: 1px solid; padding: 0; }
  .menu-open .nav { display: flex; }
}
@media (min-width: 1181px) { .nav .btn { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--white); background: var(--navy); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,19,72,.96) 0%, rgba(6,19,72,.82) 45%, rgba(6,19,72,.45) 100%), repeating-linear-gradient(90deg, transparent 0 239px, var(--line-on-dark) 239px 240px); }
.hero .container { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: var(--space-8); align-items: center; padding-top: var(--space-8); padding-bottom: var(--space-8); min-height: min(84vh, 780px); }
.hero .display { font-size: clamp(44px, 6.4vw, 84px); }
.hero__phone video { max-height: 70vh; }
.hero__text { display: grid; gap: var(--space-5); justify-items: start; }
.hero__text .lead { color: #dfe4f6; max-width: 560px; }
.hero__checks { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; font-family: var(--font-display); font-size: 15px; font-weight: 500; }
.hero__checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero__checks svg { width: 14px; height: 14px; stroke: #ff5a62; stroke-width: 2.2; fill: none; }
.hero__phone { position: relative; justify-self: end; width: min(100%, 330px); }
.hero__phone video { width: 100%; aspect-ratio: 9/16; object-fit: cover; background: var(--navy-soft); border: 1px solid var(--line-on-dark); }
.hero__badge { position: absolute; left: -36px; bottom: 40px; display: grid; gap: 4px; padding: var(--space-4) var(--space-5); background: var(--brand-red); max-width: 190px; }
.hero__badge .stat { font-size: 44px; }
.hero__badge .caption { font-size: 12px; letter-spacing: .02em; line-height: 1.3; }
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; padding-top: var(--space-8); padding-bottom: var(--space-8); min-height: 0; }
  .hero__phone { justify-self: center; width: min(78%, 300px); }
  .hero__badge { left: -20px; }
}

.page-hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,19,72,.97), rgba(6,19,72,.75)), repeating-linear-gradient(90deg, transparent 0 239px, var(--line-on-dark) 239px 240px); }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero .container { padding-top: var(--space-9); padding-bottom: var(--space-9); display: grid; gap: var(--space-4); justify-items: start; }
.page-hero .lead { color: #dfe4f6; max-width: 640px; }
.crumbs { font-family: var(--font-display); font-size: 13px; color: var(--on-navy-muted); }
.crumbs a { color: var(--white); text-decoration: none; }

/* ---------- Trust strip ---------- */
.trust { background: var(--brand-red); color: var(--white); }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-5) var(--space-4); border-left: 1px solid var(--line-on-dark); font-family: var(--font-display); font-weight: 700; font-size: 14px; text-transform: uppercase; line-height: 1.25; }
.trust__item:first-child { border-left: 0; padding-left: 0; }
.trust__item svg { width: 30px; height: 30px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; }
@media (max-width: 900px) { .trust .container { grid-template-columns: repeat(2, 1fr); } .trust__item:nth-child(3) { border-left: 0; padding-left: 0; } .trust__item:nth-child(n+3) { border-top: 1px solid var(--line-on-dark); } }
@media (max-width: 420px) { .trust .container { grid-template-columns: 1fr; } .trust__item { border-left: 0; padding-left: 0; } .trust__item + .trust__item { border-top: 1px solid var(--line-on-dark); } }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.icon-tile { display: inline-flex; align-items: center; justify-content: center; width: var(--icon-tile); height: var(--icon-tile); background: var(--brand-red); color: var(--white); flex: none; }
.icon-tile svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; }
.icon-tile--navy { background: var(--navy); }

.service-card { position: relative; display: flex; flex-direction: column; gap: var(--space-3); min-height: 260px; padding: var(--space-5) var(--space-5) 80px; border: 1px solid var(--line-on-dark); color: var(--white); text-decoration: none; transition: background .2s, border-color .2s; }
.service-card p { color: var(--on-navy-muted); font-size: 15px; line-height: 1.6; }
.service-card .icon-tile { position: absolute; left: -1px; bottom: -1px; }
.service-card .arrow { position: absolute; right: var(--space-5); bottom: 18px; }
.service-card:hover { background: var(--brand-red); border-color: var(--brand-red); }
.service-card:hover p { color: var(--white); }
.service-card:hover .icon-tile { background: var(--navy); }

.feature { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); padding: 8px var(--space-5) var(--space-5) 8px; border: 1px solid var(--line); background: var(--white); }
.feature__text { display: grid; gap: var(--space-2); padding-top: 12px; align-content: start; }
.feature__text p { color: var(--ink-muted); font-size: 16px; }

.stat-tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-5); min-height: 190px; padding: var(--space-5); background: var(--surface); overflow: hidden; }
.stat-tile .caption { font-size: 15px; letter-spacing: 0; max-width: 220px; }
.stat-tile--red { background: var(--brand-red); color: var(--white); }
.stat-tile--navy { background: var(--navy); color: var(--white); }
.stat-tile small { font-size: 13px; color: inherit; opacity: .8; font-family: var(--font-display); }

/* Split content block */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: var(--space-8); align-items: center; }
.split--wide-left { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); }
.split__text { display: grid; gap: var(--space-5); justify-items: start; }
@media (max-width: 900px) { .split, .split--wide-left { grid-template-columns: 1fr; gap: var(--space-6); } }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.checklist li::before { content: ""; width: 14px; height: 14px; margin-top: 5px; background: var(--brand-red); clip-path: polygon(14% 44%, 0 59%, 40% 100%, 100% 22%, 86% 8%, 40% 70%); }
.checklist--2 { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px var(--space-5); }
@media (max-width: 560px) { .checklist--2 { grid-template-columns: 1fr; } }

/* Product card */
.product { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); background: var(--white); border: 1px solid var(--line); }
.product__media { position: relative; background: var(--surface); }
.product__media { display: flex; align-items: center; background: var(--white); border-right: 1px solid var(--line); }
.product__media img { width: 100%; height: auto; object-fit: contain; }
.product__tag { position: absolute; top: 0; left: 0; background: var(--brand-red); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 12px; text-transform: uppercase; padding: 8px 12px; letter-spacing: .03em; }
.product__body { display: grid; gap: var(--space-4); padding: var(--space-6); align-content: start; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid var(--line); margin: 0; }
.specs div { padding: 10px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.specs div:nth-child(odd) { padding-right: var(--space-4); }
.specs dt { font-size: 12px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-muted); }
.specs dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 17px; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; }  .product__body { padding: var(--space-5); } }

.mini-product { display: grid; gap: var(--space-3); padding: var(--space-5); border: 1px solid var(--line); background: var(--white); align-content: start; }
.mini-product p { color: var(--ink-muted); font-size: 16px; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); counter-reset: step; border-top: 1px solid var(--line-on-dark); }
.step { padding: var(--space-5) var(--space-5) var(--space-5) 0; display: grid; gap: var(--space-3); align-content: start; }
.step + .step { padding-left: var(--space-5); border-left: 1px solid var(--line-on-dark); }
.step__num { font-family: var(--font-display); font-size: 40px; font-weight: 700; color: var(--brand-red); line-height: 1; letter-spacing: -.03em; }
.section--navy .step__num { color: #ff5a62; }
.step p { font-size: 16px; color: var(--on-navy-muted); }
.section--surface .steps, .section--white .steps { border-top-color: var(--line); }
.section--surface .step + .step { border-left-color: var(--line); }
.section--surface .step p { color: var(--ink-muted); }
.section--surface .step__num { color: var(--brand-red); }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } .step, .step + .step { padding: var(--space-5) var(--space-4) var(--space-5) 0; border-left: 0; border-bottom: 1px solid var(--line-on-dark); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Video cards ---------- */
.video-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--space-5); }
@media (max-width: 1000px) { .video-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 760px) { .video-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--space-3); } }
.vcard { display: grid; gap: var(--space-3); align-content: start; }
.vcard__frame { position: relative; aspect-ratio: 9/16; background: var(--navy-soft); overflow: hidden; cursor: pointer; border: 0; padding: 0; width: 100%; color: var(--white); text-align: left; }
.vcard__frame img, .vcard__frame video { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.vcard__frame:hover img { transform: scale(1.04); }
.vcard__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,19,72,0) 50%, rgba(6,19,72,.85) 100%); pointer-events: none; }
.vcard__play { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; background: var(--brand-red); display: flex; align-items: center; justify-content: center; z-index: 1; transition: transform .15s, background .15s; }
.vcard__play svg { width: 20px; height: 20px; fill: var(--white); margin-left: 3px; }
.vcard__frame:hover .vcard__play { transform: scale(1.08); background: var(--brand-red-deep); }
.vcard__views { position: absolute; left: 10px; bottom: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 700; font-size: 13px; }
.vcard__views svg { width: 13px; height: 13px; fill: currentColor; }
.vcard__loc { position: absolute; top: 0; left: 0; z-index: 1; background: var(--navy); font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; padding: 6px 9px; }
.vcard__title { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.25; text-transform: uppercase; letter-spacing: -.005em; }
.vcard__meta { font-family: var(--font-display); font-size: 14px; color: var(--ink-muted); margin-top: -6px; }
.section--navy .vcard__meta { color: var(--on-navy-muted); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--space-6); }
.filter { border: 1px solid var(--line); background: var(--white); padding: 10px 16px; font-family: var(--font-display); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; cursor: pointer; color: var(--ink); }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Video modal */
.vmodal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(6,19,72,.92); padding: var(--space-5); }
.vmodal.is-open { display: flex; }
.vmodal__inner { display: grid; grid-template-columns: auto minmax(0, 360px); gap: var(--space-6); align-items: center; max-height: 100%; }
.vmodal__media { position: relative; }
.vmodal video { display: block; height: min(calc(100vh - 150px), 760px); width: auto; aspect-ratio: 9/16; background: #000; }
.vmodal__info { color: var(--white); display: grid; gap: var(--space-4); align-content: start; max-height: 84vh; overflow: auto; }
.vmodal__info p { color: var(--on-navy-muted); font-size: 16px; white-space: pre-line; }
/* Sits on the video's top-right corner, just above it, so it is always right next to the video. */
.vmodal__close { position: absolute; bottom: 100%; right: 0; width: 46px; height: 46px; background: var(--brand-red); border: 0; color: var(--white); cursor: pointer; font-size: 26px; line-height: 1; }
@media (max-width: 860px) {
  .vmodal { padding: 60px 12px 12px; align-items: flex-start; overflow: auto; }
  .vmodal__inner { grid-template-columns: 1fr; gap: var(--space-4); justify-items: center; }
  .vmodal__media { width: min(100%, 420px); }
  .vmodal video { height: auto; width: 100%; max-height: 72vh; }
  .vmodal__info { max-height: none; }
}

/* ---------- Areas ---------- */
.areas { display: flex; flex-wrap: wrap; gap: 10px; }
.area { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line-on-dark); font-family: var(--font-display); font-weight: 500; font-size: 15px; }
.area svg { width: 14px; height: 14px; fill: #ff5a62; }
.area--hq { background: var(--brand-red); border-color: var(--brand-red); font-weight: 700; }
.area--hq svg { fill: var(--white); }

/* ---------- Social proof ---------- */
.social { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: var(--space-5); }
.social-card { display: grid; grid-template-columns: 64px 1fr; gap: var(--space-4); align-items: center; padding: var(--space-5); border: 1px solid var(--line); background: var(--white); text-decoration: none; transition: border-color .15s; }
.social-card:hover { border-color: var(--ink); }
.social-card img { width: 64px; height: 64px; border-radius: 9999px; object-fit: cover; }
.social-card__nums { display: flex; gap: var(--space-5); flex-wrap: wrap; margin-top: 6px; font-family: var(--font-display); font-size: 14px; color: var(--ink-muted); }
.social-card__nums b { color: var(--ink); font-size: 16px; }
@media (max-width: 760px) { .social { grid-template-columns: 1fr; } }

.quote-strip { display: grid; gap: var(--space-4); padding: var(--space-6); border-left: 4px solid var(--brand-red); background: var(--surface); }
.quote-strip blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(19px, 2.4vw, 24px); line-height: 1.35; font-weight: 500; letter-spacing: -.01em; }

/* ---------- FAQ ---------- */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details[open] { border-bottom-color: var(--brand-red); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 20px 0; font-family: var(--font-display); font-weight: 500; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: ""; width: 14px; height: 14px; flex: none; background: var(--brand-red); clip-path: polygon(40% 0, 60% 0, 60% 40%, 100% 40%, 100% 60%, 60% 60%, 60% 100%, 40% 100%, 40% 60%, 0 60%, 0 40%, 40% 40%); transition: transform .2s; }
.faq details[open] summary::before { transform: rotate(45deg); }
.faq .faq__body { padding: 0 0 22px 28px; color: var(--ink-muted); max-width: 760px; }

/* ---------- Outline text ---------- */
.outline-text { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(56px, 11vw, 150px); line-height: 1; letter-spacing: -.02em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px var(--outline-text); overflow: hidden; margin: 0; user-select: none; }
.marquee { overflow: hidden; }
.marquee__track { display: inline-flex; gap: 60px; animation: marquee 40s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- CTA ---------- */
.cta { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap; padding: var(--space-8) var(--space-7); background: var(--brand-red); color: var(--white); background-image: linear-gradient(90deg, var(--line-on-dark) 1px, transparent 1px), linear-gradient(var(--line-on-dark) 1px, transparent 1px); background-size: 120px 120px; }
.cta__aside { display: grid; gap: var(--space-4); justify-items: start; max-width: 380px; }
.cta__aside p { font-size: 17px; }
.cta__phone { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3vw, 34px); text-decoration: none; letter-spacing: -.02em; }
@media (max-width: 760px) { .cta { padding: var(--space-6) var(--space-5); } }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--space-4); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-display); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; padding: 13px 14px; border: 1px solid #b7bfd3; background: var(--white); color: var(--ink); border-radius: 0; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--navy); outline-offset: 0; border-color: var(--navy); }
.form__note { font-size: 15px; color: var(--ink-muted); }

.contact-card { display: grid; gap: var(--space-5); padding: var(--space-6); background: var(--navy); color: var(--white); align-content: start; }
.contact-line { display: grid; grid-template-columns: var(--icon-tile) 1fr; gap: var(--space-4); align-items: center; text-decoration: none; }
.contact-line b { font-family: var(--font-display); font-size: 20px; display: block; letter-spacing: -.01em; }
.contact-line span { font-size: 15px; color: var(--on-navy-muted); }
.map { width: 100%; aspect-ratio: 16/10; border: 0; filter: grayscale(.2); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: var(--white); padding: 0 0 var(--space-6); margin-top: 0; }
.footer__panel { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--space-6); padding: var(--space-7) var(--space-6) var(--space-5); background: var(--brand-red); }
.footer__logo { grid-column: 1 / -1; justify-self: start; display: block; padding-bottom: var(--space-5); }
.footer__logo img { display: block; height: 48px; width: auto; max-width: 100%; }
@media (max-width: 600px) { .footer__logo img { height: 32px; } }
.footer__panel h2 { margin: 0 0 var(--space-4); font-family: var(--font-display); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.footer__panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-family: var(--font-display); font-size: 15px; }
.footer__panel a { text-decoration: none; }
.footer__panel a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__contact { font-family: var(--font-display); font-size: 22px; line-height: 1.4; font-weight: 500; display: grid; gap: 4px; }
.footer__social { display: flex; gap: 8px; margin-top: var(--space-4); }
.footer__social a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-on-dark); }
.footer__social a:hover { background: var(--navy); border-color: var(--navy); }
.footer__social svg { width: 18px; height: 18px; fill: currentColor; }
.footer__legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer__legal a:hover { color: var(--white); }
.footer__legal { grid-column: 1 / -1; border-top: 1px solid var(--line-on-dark); padding-top: var(--space-4); display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; font-size: 13px; font-family: var(--font-display); }
.footer__giant { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(48px, 10.5vw, 132px); line-height: .9; letter-spacing: -.04em; margin: 0; padding-top: var(--space-4); white-space: nowrap; overflow: hidden; color: var(--white); }
.footer__top { padding-top: var(--space-9); }
@media (max-width: 900px) { .footer__panel { grid-template-columns: 1fr 1fr; padding: var(--space-6) var(--space-5) var(--space-5); } }
@media (max-width: 520px) { .footer__panel { grid-template-columns: 1fr; } }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 0 18px 0 14px; height: 54px; background: var(--whatsapp); color: var(--white); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 14px; text-transform: uppercase; box-shadow: 0 6px 24px rgba(6,19,72,.3); }
.wa-float svg { width: 24px; height: 24px; fill: currentColor; }
.wa-float:hover { background: #0d6e3a; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: 0; width: 56px; justify-content: center; } }

/* Utilities */
.stack-2 { display: grid; gap: var(--space-2); } .stack-3 { display: grid; gap: var(--space-3); } .stack-4 { display: grid; gap: var(--space-4); } .stack-5 { display: grid; gap: var(--space-5); } .stack-6 { display: grid; gap: var(--space-6); }
.mt-6 { margin-top: var(--space-6); } .mt-8 { margin-top: var(--space-8); }
.center { text-align: center; justify-items: center; }
.frame-img { width: 100%; height: 100%; object-fit: cover; }
.img-stack { position: relative; }
.img-stack__badge { position: absolute; right: -1px; bottom: -1px; background: var(--brand-red); color: var(--white); padding: var(--space-5); display: grid; gap: 4px; max-width: 220px; }
.play-badge { border: 0; cursor: pointer; text-align: left; color: var(--white); font: inherit; display: flex; align-items: center; gap: 10px; transition: background .15s; }
.play-badge::before { content: ""; width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; flex: none; }
.play-badge:hover { background: var(--brand-red-deep); }
@media (min-width: 901px) { .split--rev > :first-child { order: 2; } }
[id] { scroll-margin-top: 90px; }
a.filter { text-decoration: none; }
.reveal { opacity: 0; transform: translateY(18px); 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; }
}

/* ---------- Builder blocks (added from the dashboard's visual editor) ---------- */
.eb-row { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0,1fr)); gap: var(--gap, var(--space-6)); align-items: start; }
.eb-col { min-width: 0; display: flex; flex-direction: column; gap: var(--space-4); }
@media (max-width: 900px) { .eb-row[style*="--cols:3"], .eb-row[style*="--cols: 3"], .eb-row[style*="--cols:4"], .eb-row[style*="--cols: 4"], .eb-row[style*="--cols:5"], .eb-row[style*="--cols: 5"], .eb-row[style*="--cols:6"], .eb-row[style*="--cols: 6"] { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .eb-row { grid-template-columns: 1fr; } }
.eb-box { display: flex; flex-direction: column; gap: var(--space-4); }
.eb-spacer { height: 48px; }
.eb-divider { border: 0; border-top: 1px solid var(--line); margin: var(--space-5) 0; width: 100%; }
.section--navy .eb-divider { border-top-color: var(--line-on-dark); }
.eb-list { margin: 0; padding-left: 1.25em; display: grid; gap: 6px; }
.eb-quote { margin: 0; border-left: 4px solid var(--brand-red); padding: 4px 0 4px 20px; font-size: 20px; line-height: 1.6; }
.eb-quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 15px; color: var(--ink-muted); }
.eb-figure { margin: 0; display: grid; gap: var(--space-2); }
.eb-figure figcaption { font-size: 15px; color: var(--ink-muted); }
.eb-img { width: 100%; height: auto; }
.eb-gallery { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0,1fr)); gap: var(--gap, var(--space-3)); }
.eb-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 640px) { .eb-gallery { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.eb-video { width: 100%; height: auto; background: var(--ink); }
.eb-embed { position: relative; width: 100%; aspect-ratio: 16/9; background: var(--surface); }
.eb-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.eb-embed--map { aspect-ratio: auto; height: 420px; }
.eb-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.eb-table th, .eb-table td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.eb-table th { background: var(--surface); font-family: var(--font-display); font-weight: 700; }
.eb-icon-box { display: grid; gap: var(--space-3); justify-items: start; }
@media (min-width: 1001px) { .eb-hide-desktop { display: none !important; } }
@media (min-width: 761px) and (max-width: 1000px) { .eb-hide-tablet { display: none !important; } }
@media (max-width: 760px) { .eb-hide-mobile { display: none !important; } }
