/* ==========================================================================
   CurioCo — shared design system
   Tokens, base, layout, components, header/footer, WhatsApp CTAs.
   Page-specific styles live in assets/css/pages/<page>.css
   ========================================================================== */

:root {
  /* Ink & neutrals */
  --ink: #121212;
  --ink-2: #3B3631;
  --text-2: #4A443E;      /* body secondary */
  --text-3: #5A544E;      /* captions, meta */
  --line: #E8E1D8;
  --line-2: #D9D1C6;
  --line-soft: #F0EAE2;
  --input-border: #8A8178;
  --cream: #FAF7F2;
  --cream-2: #EFE9E1;
  --white: #FFFFFF;

  /* Brand */
  --blue: #1F4FD8;
  --blue-dark: #14348F;
  --blue-soft: #EAF0FD;
  --blue-pale: #DCE6FF;
  --orange: #E8650F;
  --orange-text: #B5470B;
  --orange-bright: #F97316;
  --orange-light: #F9A15A;
  --orange-soft: #FEF0E4;
  --brown: #8A4513;
  --brown-soft: #F5ECE4;
  --red: #B42318;
  --green: #0E7A43;        /* WhatsApp */
  --green-dark: #0B6236;

  /* Dark surfaces */
  --dark: #121212;
  --dark-2: #2A2521;
  --dark-line: #34302C;
  --on-dark-2: #CFC8BF;
  --on-dark-3: #B5ADA3;

  /* OutletOne sub-brand */
  --o1-navy: #0E1F45;
  --o1-blue: #0047D6;
  --o1-orange: #F25C1F;
  --o1-orange-text: #B8460F;
  --o1-brown: #7A4324;
  --o1-surface-alt: #F6F8FC;
  --o1-line: #E3E7EF;
  --o1-muted: #5B6478;
  --o1-on-deep-muted: #C9D2E6;
  --o1-blue-soft: #E8EFFD;

  /* AgentWorks accent */
  --purple: #5B2DBF;
  --purple-soft: #EFEAFB;

  /* Type */
  --font-display: "Bricolage Grotesque", "Noto Sans SC", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Noto Sans SC", "Segoe UI", system-ui, sans-serif;
  --font-o1-display: "Lexend", "Noto Sans SC", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-o1-body: "Figtree", "Noto Sans SC", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --container: 1240px;
  --gutter: 32px;
  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-card: 0 18px 40px rgba(18, 18, 18, 0.12);
  --header-h: 77px;
}

@media (max-width: 720px) {
  :root { --gutter: 20px; --header-h: 65px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (max-width: 720px) { body { font-size: 16px; } }

img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure { margin: 0; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.num { font-variant-numeric: tabular-nums; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { left: 8px; color: #fff; }
.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;
}

/* ---------- Typography ---------- */
.display, .h1, .h2, .h3 { font-family: var(--font-display); font-weight: 800; }
.display {
  font-size: clamp(42px, 5.6vw, 68px);
  line-height: 1.03; letter-spacing: -0.03em; text-wrap: balance;
}
.h1 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
.h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.h3 { font-size: clamp(22px, 2vw, 26px); line-height: 1.2; font-weight: 700; }
.h-card { font-family: var(--font-body); font-size: 22px; line-height: 1.25; font-weight: 700; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--text-2); max-width: 560px; }
.muted { color: var(--text-2); }
.meta { color: var(--text-3); font-size: 15px; }
.small { font-size: 14px; }

.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--orange-text);
}
.eyebrow.blue { color: var(--blue); }
.eyebrow.light { color: var(--orange-light); }
@media (max-width: 720px) { .eyebrow { font-size: 12px; } }

.kicker {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; color: var(--brown);
}
.kicker svg { width: 14px; height: 14px; flex-shrink: 0; }

.text-blue { color: var(--blue); }
.text-orange { color: var(--orange); }
.text-brown { color: var(--brown); }
.text-red { color: var(--red); }

/* ---------- Layout helpers ---------- */
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section-sm { padding: clamp(40px, 5vw, 64px) 0; }
.bg-cream { background: var(--cream); }
.bg-dark { background: var(--dark); color: #fff; }
.bg-blue { background: var(--blue); color: #fff; }
.border-b { border-bottom: 1px solid var(--line); }

.stack { display: flex; flex-direction: column; }
.gap-4 { gap: 4px; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-20 { gap: 20px; }
.gap-24 { gap: 24px; } .gap-28 { gap: 28px; } .gap-36 { gap: 36px; } .gap-40 { gap: 40px; }

.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.section-head-row {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
}
.link-arrow { font-weight: 600; font-size: 16px; }

.show-mobile, .show-mobile-inline, .show-mobile-block { display: none !important; }
@media (max-width: 720px) {
  .hide-mobile { display: none !important; }
  .show-mobile { display: flex !important; }
  .show-mobile-inline { display: inline !important; }
  .show-mobile-block { display: block !important; }
}

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 56px; align-items: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 14px 22px;
  border-radius: var(--radius); border: 1.5px solid transparent;
  font-size: 17px; font-weight: 600; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn:hover { transform: translateY(-1px); }
.btn-wa { background: var(--green); color: #fff; }
.btn-wa:hover { background: var(--green-dark); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--cream); color: var(--ink); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-orange { background: var(--orange-bright); color: var(--ink); font-weight: 700; }
.btn-orange:hover { background: var(--orange-light); color: var(--ink); }
.btn-lg { min-height: 56px; padding: 16px 26px; font-size: 18px; }
.btn-sm { min-height: 44px; padding: 10px 16px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
@media (max-width: 720px) {
  .btn-row.stack-mobile { flex-direction: column; align-items: stretch; }
  .btn-row.stack-mobile .btn { width: 100%; }
}

/* ---------- Cards & chips ---------- */
.card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff; color: var(--ink);
}
a.card { text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.card:hover { border-color: var(--line-2); box-shadow: 0 10px 28px rgba(18,18,18,0.08); transform: translateY(-2px); color: var(--ink); }
@media (max-width: 720px) { .card { padding: 22px 20px; } }

.icon-tile {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.icon-tile svg { width: 22px; height: 22px; }
.icon-tile.blue { background: var(--blue-soft); color: var(--blue); }
.icon-tile.orange { background: var(--orange-soft); color: var(--orange-text); }
.icon-tile.brown { background: var(--brown-soft); color: var(--brown); }
.icon-tile.purple { background: var(--purple-soft); color: var(--purple); }
.text-purple { color: var(--purple); }

.big-num { font-family: var(--font-display); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }

.tag {
  display: inline-flex; align-items: center; align-self: flex-start;
  font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: var(--radius-sm);
}
.tag-brown { color: var(--brown); background: var(--brown-soft); }
.tag-blue { color: var(--blue-dark); background: var(--blue-soft); }
.tag-orange { color: var(--orange-text); background: var(--orange-soft); }

/* "Sample figure" warnings — remove once real numbers are in */
.sample-badge {
  display: inline-block; align-self: flex-start;
  font-size: 12px; font-weight: 700; color: var(--ink);
  background: var(--orange-light); padding: 4px 10px; border-radius: var(--radius-sm);
}

/* Photo placeholder (swap for <img> when real photos arrive) */
.photo-ph {
  position: relative; border-radius: var(--radius-lg);
  display: flex; align-items: flex-end; padding: 18px;
  background-color: #E9DED0;
  background-image: repeating-linear-gradient(135deg, rgba(138,69,19,0.06) 0 12px, transparent 12px 24px);
}
.photo-ph > .ph-label {
  font-size: 13px; font-weight: 600; color: #5C3A1E;
  background: rgba(255,255,255,0.85); padding: 6px 10px; border-radius: 8px;
}
.photo-ph.orange { background-color: #F6E3D2; background-image: repeating-linear-gradient(135deg, rgba(232,101,15,0.07) 0 12px, transparent 12px 24px); }
.photo-ph.orange > .ph-label { color: #7A3408; }
.photo-ph.blue { background-color: #DDE6FA; background-image: repeating-linear-gradient(135deg, rgba(31,79,216,0.06) 0 12px, transparent 12px 24px); }
.photo-ph.blue > .ph-label { color: var(--blue-dark); }
.photo-ph.dark { background-color: var(--dark-2); background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 12px, transparent 12px 24px); }
.photo-ph.dark > .ph-label { color: #E8E1D8; background: transparent; padding: 0; font-weight: 400; font-size: 12px; }

/* Video tile (Boss Reviews) */
.video-thumb {
  position: relative; aspect-ratio: 16 / 10; border-radius: 18px;
  background-color: var(--dark-2);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 12px, transparent 12px 24px);
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.play-btn {
  width: 64px; height: 64px; border-radius: 999px; background: var(--orange-bright);
  display: flex; align-items: center; justify-content: center;
}
.play-btn svg { width: 24px; height: 24px; fill: var(--ink); }
.video-thumb .duration {
  position: absolute; left: 14px; bottom: 14px;
  font-size: 13px; font-weight: 700; background: var(--ink); padding: 4px 8px; border-radius: 6px;
}
.video-thumb .ph-caption { position: absolute; left: 14px; top: 14px; font-size: 12px; color: #E8E1D8; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .field > .label, fieldset > legend { font-size: 15px; font-weight: 600; }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 0 14px;
  font-size: 16px; color: var(--ink); background: #fff;
  border: 1.5px solid var(--input-border); border-radius: 12px;
}
.textarea { padding: 12px 14px; min-height: 96px; resize: vertical; }
.select { padding: 0 12px; }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.prefix-input { display: flex; gap: 8px; }
.prefix-input > span {
  display: flex; align-items: center; min-height: 50px; padding: 0 12px;
  border-radius: 12px; background: var(--cream-2); font-weight: 600;
}
.prefix-input > .input { flex: 1; min-width: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.check-pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font-size: 15px; cursor: pointer;
}
.check-pill input, .check-row input { width: 18px; height: 18px; accent-color: var(--blue); margin: 0; }
.check-row { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-2); }
.check-row input { margin-top: 2px; flex-shrink: 0; }
.form-note { font-size: 14px; color: var(--text-3); }
.form-status { font-size: 15px; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--red); }

/* Green-tick list */
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px;
  background: no-repeat center / 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E7A43' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
}

/* Filter pills */
.pill-group { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  flex-shrink: 0; min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: #fff; color: var(--ink);
  font-size: 14px; font-weight: 600; cursor: pointer;
}
.pill[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 720px) {
  .pill-group.scroll-mobile { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: none; }
}

/* FAQ (details/summary) */
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; font-weight: 600; font-size: 18px;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--text-3); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; color: var(--text-2); font-size: 16px; }

/* ==========================================================================
   Header + mega menu
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: #fff; border-bottom: 1px solid var(--line);
}
.site-header .bar {
  max-width: var(--container); margin: 0 auto; height: 72px; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 32px; width: auto; }
.nav-main { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-trigger, .nav-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px;
  border: 0; border-radius: 10px; background: transparent; color: var(--ink);
  font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
}
.nav-trigger svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-trigger:hover, .nav-link:hover { background: var(--cream); color: var(--ink); }
.nav-trigger.is-open { background: var(--blue-soft); color: var(--blue); }
.nav-trigger.is-open svg { transform: rotate(180deg); }
.nav-trigger.is-current, .nav-link[aria-current="page"] { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-login { font-size: 15px; font-weight: 600; color: var(--blue); text-decoration: none; padding: 12px 8px; }
.lang-btn {
  min-height: 40px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 10px;
  background: #fff; font-size: 14px; font-weight: 600; cursor: pointer;
}
.header-mobile { display: none; align-items: center; gap: 8px; margin-left: auto; }
.menu-btn {
  width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--ink); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .i-close { display: none; }
.menu-open .menu-btn .i-open { display: none; }
.menu-open .menu-btn .i-close { display: block; }

.mega-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(18,18,18,0.12);
}
.mega-panel[hidden] { display: none; }
.mega-inner {
  max-width: var(--container); margin: 0 auto; padding: 32px var(--gutter) 36px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 300px; gap: 28px;
}
.mm-main { grid-column: span 3; display: flex; flex-direction: column; gap: 18px; }
.mm-brand { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-3); }
.mm-brand img { height: 34px; width: auto; }
.mm-links { display: grid; gap: 6px 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mm-span-3 { grid-column: span 3; }
.mm-links a, .mm-card {
  display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 12px;
  color: var(--ink); text-decoration: none;
}
.mm-links a:hover { background: var(--cream); color: var(--ink); }
.mm-links a.is-feature { background: var(--o1-surface-alt); }
.mm-links strong, .mm-card strong { font-weight: 700; }
.mm-links span, .mm-card span { font-size: 14px; color: var(--text-3); }
.mm-card { gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; }
.mm-card strong { font-size: 18px; }
.mm-card em { font-style: normal; font-size: 14px; font-weight: 700; color: var(--blue); margin-top: auto; }
.mm-card:hover { border-color: var(--line-2); box-shadow: 0 8px 20px rgba(18,18,18,0.06); color: var(--ink); }
.mm-promo { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 16px; text-decoration: none; }
.mm-promo strong { font-size: 17px; font-weight: 700; line-height: 1.3; }
.mm-promo span { font-size: 14px; }
.mm-promo .btn { align-self: flex-start; }
.mm-promo-o1 { background: var(--o1-navy); color: #fff; }
.mm-promo-o1:hover { color: #fff; }
.mm-promo-o1 strong { font-family: var(--font-o1-display); font-weight: 600; }
.mm-promo-o1 > span:last-child { color: var(--o1-on-deep-muted); }
.mm-promo-video { aspect-ratio: 16 / 10; border-radius: 10px; background: #1C2F5E; display: flex; align-items: center; justify-content: center; }
.mm-play {
  width: 52px; height: 52px; border-radius: 999px; background: var(--o1-orange); color: var(--o1-navy);
  display: flex; align-items: center; justify-content: center;
}
.mm-play svg { width: 20px; height: 20px; }
.mm-promo-cream { background: var(--cream); color: var(--ink); }
.mm-promo-cream:hover { color: var(--ink); }
.mm-promo-cream > span { color: var(--text-2); }
.mm-promo-cream .eyebrow { margin: 0; font-size: 12px; color: var(--orange-text); }
.mm-promo-cream .mm-more { font-weight: 600; color: var(--blue); }

/* Mobile menu */
.mobile-menu {
  position: absolute; left: 0; right: 0; top: 100%;
  height: calc(100vh - 72px); height: calc(100dvh - 72px);
  background: #fff; display: flex; flex-direction: column;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { flex: 1; overflow-y: auto; padding: 4px var(--gutter); }
.mnav-group { border-bottom: 1px solid var(--line-soft); }
.mnav-toggle, .mnav-item {
  width: 100%; min-height: 56px; display: flex; justify-content: space-between; align-items: center;
  border: 0; background: transparent; padding: 0; font-size: 19px; font-weight: 600; color: var(--ink);
  text-decoration: none; cursor: pointer; text-align: left;
}
.mnav-item { border-bottom: 1px solid var(--line-soft); }
.mnav-toggle span { font-size: 22px; color: var(--text-3); }
.mnav-links { display: flex; flex-direction: column; padding: 0 0 12px; }
.mnav-links[hidden] { display: none; }
.mnav-links a {
  display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 0 12px;
  border-radius: 10px; font-size: 16px; color: var(--ink); text-decoration: none;
}
.mnav-links a em { font-style: normal; font-size: 13px; color: var(--text-3); }
.mnav-login { color: var(--blue); font-size: 17px; }
.mnav-lang { font-size: 17px; border-bottom: 0; }
.mnav-ctas { padding: 12px var(--gutter) 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
html.no-scroll { overflow: hidden; }

@media (max-width: 1080px) {
  .nav-main, .header-actions { display: none; }
  .header-mobile { display: flex; }
  .brand img { height: 28px; }
  .mega-panel { display: none !important; }
}

/* ---------- WhatsApp chat bubble ---------- */
.wa-bubble {
  position: fixed; right: 20px; bottom: 20px; z-index: 55;
  display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 20px 0 16px;
  border-radius: 999px; background: var(--green); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none;
  box-shadow: 0 10px 28px rgba(18,18,18,0.22);
}
.wa-bubble:hover { background: var(--green-dark); color: #fff; }
.wa-bubble svg { width: 24px; height: 24px; }
@media (max-width: 720px) {
  .wa-bubble { right: 16px; bottom: 16px; width: 56px; padding: 0; justify-content: center; }
  .wa-bubble-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
html.no-scroll .wa-bubble { display: none; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 80; transform: translate(-50%, 12px);
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px;
  font-size: 15px; font-weight: 500; opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Demo video player (placeholder until a video ID is set) + lightbox ---------- */
.video-frame { position: relative; margin: 0; border-radius: 24px; background: var(--o1-navy); padding: 12px; box-shadow: 0 24px 60px rgba(14,31,69,0.25); }
.video-screen { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--o1-surface-alt); }
.video-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; border: 0; border-radius: 999px; background: var(--o1-orange); color: var(--o1-navy);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 12px 30px rgba(242,92,31,0.45); transition: transform .15s;
}
.video-play:hover { transform: translate(-50%, -50%) scale(1.06); }
.video-play svg { width: 30px; height: 30px; margin-left: 3px; }
.video-label {
  position: absolute; left: 14px; bottom: 12px; font-size: 12px; font-weight: 600; color: #fff;
  background: rgba(14,31,69,0.85); padding: 4px 10px; border-radius: 999px;
}
.video-lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,0.8); display: flex; align-items: center; justify-content: center; padding: 20px; }
.video-lightbox[hidden] { display: none; }
.vl-frame { position: relative; width: min(1100px, 100%); aspect-ratio: 16 / 9; }
.vl-player, .vl-player iframe { width: 100%; height: 100%; border: 0; border-radius: 12px; background: #000; }
.vl-close { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border: 0; border-radius: 999px; background: #fff; font-size: 26px; line-height: 1; cursor: pointer; }

/* Logo / photo placeholders */
.logo-ph {
  min-width: 120px; height: 44px; padding: 0 12px; border: 1px dashed var(--line-2); border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: var(--text-3);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--dark); color: #fff; }
.site-footer .inner {
  max-width: var(--container); margin: 0 auto; padding: 64px var(--gutter) 36px;
  display: flex; flex-direction: column; gap: 44px;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); gap: 36px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand img { height: 36px; width: auto; align-self: flex-start; }
.footer-brand p { font-size: 15px; line-height: 1.6; color: var(--on-dark-2); max-width: 340px; }
.footer-brand .btn { align-self: flex-start; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h2 { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-light); }
.footer-col a { color: #fff; text-decoration: none; font-size: 15px; }
.footer-col a:hover { color: var(--orange-light); }
.footer-addr { font-size: 14px; line-height: 1.5; color: var(--on-dark-2); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 22px; border-top: 1px solid var(--dark-line); font-size: 13px; color: var(--on-dark-3);
}
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { color: var(--on-dark-3); }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .site-footer .inner { padding-top: 48px; padding-bottom: 96px; gap: 32px; }
  .footer-col a { min-height: 40px; display: flex; align-items: center; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Products mega menu: Platform column + Modules grid */
.mm-groups { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: 8px 28px; align-items: start; }
.mm-group { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mm-group h4 { margin: 0 0 2px 12px; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.mm-links.mm-links-1 { grid-template-columns: 1fr; }
.mm-links.mm-links-mod { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mm-group + .mm-group { border-left: 1px solid var(--line); padding-left: 28px; }
.mm-links a strong { font-size: 15px; }
.mm-links a span { font-size: 13px; }
