/* =========================================================
   ברדלס · Bardelas — design system
   Cinematic dark canvas · cheetah gold · editorial serif accents.
   Hebrew RTL. Hand-written, no build step.
   ========================================================= */

:root {
  /* Surfaces — warm savanna black */
  --bg:        #0b0a07;
  --bg-2:      #100e0a;
  --surface:   #15120c;
  --surface-2: #1e1a12;
  --border:    rgba(240, 224, 190, 0.10);
  --border-2:  rgba(240, 224, 190, 0.20);

  /* Text — warm ivory */
  --text:   #f4eee0;
  --muted:  #b3a98f;
  --faint:  #8d8268;

  /* Accent — cheetah gold / amber */
  --accent:    #e0a44b;
  --accent-2:  #f4cc7e;
  --accent-3:  #c2853a;
  --accent-ink:#16120a;
  --grad: linear-gradient(100deg, var(--accent-3) 0%, var(--accent) 45%, var(--accent-2) 100%);

  /* Type — Hebrew */
  --font:    'Rubik', 'Assistant', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --display: 'Heebo', 'Assistant', system-ui, sans-serif;
  --serif:   'Frank Ruhl Libre', 'Heebo', Georgia, serif;
  --mono:    'Heebo', ui-monospace, monospace;

  /* Layout */
  --maxw: 1280px;
  --radius: 16px;
  --radius-lg: 26px;
  --gutter: clamp(20px, 5vw, 52px);

  --shadow: 0 30px 90px -30px rgba(0, 0, 0, .85);
  --shadow-accent: 0 18px 50px -16px rgba(224, 164, 75, .38);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 18px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Accessibility & interaction baseline ---------- */
a, button, input, select, textarea, label, [role="button"], summary { touch-action: manipulation; }
:where(a, button, input, select, textarea, [tabindex]:not([tabindex="-1"])):focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px;
}
:where(a, button):focus:not(:focus-visible) { outline: none; }
:where(section, [id]) { scroll-margin-top: 88px; }

.skip-link {
  position: fixed; top: 12px; right: 12px; z-index: 1000;
  transform: translateY(-150%); transition: transform .2s ease;
  background: var(--grad); color: var(--accent-ink);
  font-weight: 700; font-size: .92rem; padding: 10px 18px; border-radius: 100px;
  box-shadow: var(--shadow-accent);
}
.skip-link:focus { transform: translateY(0); outline: none; }

/* ---------- Ambient background ---------- */
.bg-ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-gradient {
  position: absolute; left: 50%; top: -10%; width: 130vw; height: 95vh;
  transform: translateX(-50%);
  background:
    radial-gradient(40% 50% at 22% 18%, rgba(224,164,75,.18), transparent 70%),
    radial-gradient(45% 55% at 82% 12%, rgba(194,133,58,.15), transparent 72%),
    radial-gradient(50% 50% at 60% 92%, rgba(244,204,126,.08), transparent 75%);
  filter: blur(44px);
  animation: drift 24s ease-in-out infinite alternate;
}
@keyframes drift {
  0%   { transform: translateX(-52%) translateY(0) scale(1); }
  100% { transform: translateX(-48%) translateY(4%) scale(1.08); }
}
/* Subtle cheetah-spot field */
.bg-spots {
  position: absolute; inset: 0; opacity: .5;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(224,164,75,.08) 0 6px, transparent 7px),
    radial-gradient(circle at 78% 16%, rgba(224,164,75,.06) 0 5px, transparent 6px),
    radial-gradient(circle at 34% 70%, rgba(224,164,75,.05) 0 7px, transparent 8px),
    radial-gradient(circle at 88% 64%, rgba(224,164,75,.06) 0 5px, transparent 6px),
    radial-gradient(circle at 58% 40%, rgba(224,164,75,.05) 0 4px, transparent 5px);
  background-size: 420px 420px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 10%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 10%, #000 10%, transparent 75%);
}
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(240,224,190,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,224,190,.02) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 25%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 25%, transparent 80%);
}
.bg-noise {
  position: absolute; inset: 0; opacity: .04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section-dark { background:
  linear-gradient(180deg, transparent, rgba(240,224,190,.022) 14%, rgba(240,224,190,.022) 86%, transparent); }
.section-head { max-width: 800px; margin-bottom: clamp(44px, 6vw, 76px); }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; max-width: none; flex-wrap: wrap; }
.section-head-row > div { max-width: 800px; }

/* ---------- Typography ---------- */
.section-title {
  font-family: var(--display);
  font-size: clamp(2.3rem, 5.4vw, 4.2rem);
  font-weight: 800; line-height: 1.04; letter-spacing: -0.01em;
}
.section-lead { color: var(--muted); font-size: clamp(1.2rem, 1.75vw, 1.5rem); line-height: 1.7; max-width: 60ch; margin-top: 22px; }
.section-lead strong { color: var(--text); font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: .82rem; font-weight: 600;
  letter-spacing: .04em; color: var(--accent);
  margin-bottom: 20px;
}

.accent { color: var(--accent); }

.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(224,164,75,.6); animation: pulse 2.2s infinite; flex: none; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(224,164,75,.55); }
  70%  { box-shadow: 0 0 0 10px rgba(224,164,75,0); }
  100% { box-shadow: 0 0 0 0 rgba(224,164,75,0); }
}

/* ---------- Action button ---------- */
.btn-action {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--grad); color: var(--accent-ink);
  border: 0; border-radius: 100px; padding: 7px 22px 7px 7px;
  font-weight: 700; font-size: 1rem; letter-spacing: -0.01em;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-accent);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s;
}
.btn-action::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--accent-3), var(--accent));
  opacity: 0; transition: opacity .3s;
}
.btn-action:hover { transform: translateY(-2px); box-shadow: 0 22px 60px -14px rgba(224,164,75,.62); }
.btn-action:hover::before { opacity: 1; }
.btn-action-text, .btn-action-icon { position: relative; z-index: 1; }
.btn-action-icon {
  display: grid; place-items: center; width: 34px; height: 34px; flex: none;
  border-radius: 50%; background: rgba(22,18,10,.18); color: var(--accent-ink);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.btn-action:hover .btn-action-icon { transform: rotate(-45deg); }
.btn-action-large { font-size: 1.06rem; padding: 9px 26px 9px 9px; }
.btn-action-large .btn-action-icon { width: 40px; height: 40px; }
.btn-action-xl { font-size: clamp(1.05rem, 1.7vw, 1.32rem); padding: 11px 32px 11px 11px; }
.btn-action-xl .btn-action-icon { width: 48px; height: 48px; }
.btn-action-full { width: 100%; justify-content: space-between; }
/* RTL: icon sits on the left, flip the rotation direction back */
html[dir="rtl"] .btn-action:hover .btn-action-icon { transform: rotate(45deg); }
html[dir="rtl"] .btn-action-icon svg { transform: scaleX(-1); }

.btn-text {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text); font-weight: 600; font-size: 1rem;
  padding: 12px 4px; position: relative;
}
.btn-text::after { content: ""; position: absolute; right: 4px; left: 4px; bottom: 6px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .3s; }
.btn-text:hover::after { transform: scaleX(1); }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(240,224,190,.04); color: var(--text);
  border: 1px solid var(--border-2); border-radius: 100px; padding: 13px 26px;
  font-weight: 600; font-size: .98rem; width: 100%;
  transition: background .2s, border-color .2s, transform .2s;
}
.btn-outline:hover { background: rgba(240,224,190,.09); border-color: var(--accent); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; padding: 18px 0;
  transition: padding .25s, background .25s, border-color .25s;
  border-bottom: 1px solid transparent;
  /* keep the header on its own stable compositing layer so the backdrop-blur
     doesn't tear/flicker while scrolling over the animated hero */
  transform: translateZ(0); backface-visibility: hidden;
}
.site-header.scrolled {
  /* 9px (was 11px): the logo box no longer shrinks, so the padding absorbs the difference
     and the scrolled header stays 71px tall — exactly as it measured before. */
  padding: 9px 0;
  background: rgba(11,10,7,.74);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.01em; margin-left: auto; font-family: var(--display); }
.logo-img { height: 35px; width: auto; flex: none; }
.logo-lockup-img { height: 32px; width: auto; flex: none; transition: height .25s; }
.site-header.scrolled .logo-lockup-img { height: 28px; }
.footer-logo .logo-img { height: 28px; }
.logo-word { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a {
  color: var(--muted); font-size: 1.12rem; font-weight: 600; padding: 9px 17px; border-radius: 10px;
  transition: color .18s, background .18s;
}
.nav > a:hover { color: var(--text); background: rgba(240,224,190,.05); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(11,10,7,.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.mobile-menu nav a { font-family: var(--display); font-size: 2rem; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.mobile-menu nav a:hover { color: var(--accent); }
.mobile-menu .btn-action { margin-top: 16px; }

/* ---------- Hero ---------- */
/* Hero runs UP behind the transparent header so the header blends into the video */
.hero { position: relative; display: flex; flex-direction: column; margin-top: calc(-1 * var(--header-h, 86px)); padding-top: calc(var(--header-h, 86px) + clamp(56px, 9vw, 120px)); padding-bottom: 0; overflow: hidden; min-height: min(94vh, 940px); }
.hero > .marquee { margin-top: auto; }   /* anchor the services strip to the very bottom of the hero */
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-video, .hero-media-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Mobile: the cheetah sits lower-left; bias the crop there so it stays visible on narrow screens */
@media (max-width: 640px) { .hero-video, .hero-media-fallback { object-position: 24% 58%; } }
/* Animated fallback shown until a real video is dropped in */
.hero-media-fallback {
  background:
    radial-gradient(60% 80% at 75% 10%, rgba(224,164,75,.22), transparent 60%),
    radial-gradient(70% 70% at 15% 90%, rgba(194,133,58,.18), transparent 65%),
    linear-gradient(135deg, #1a150d 0%, #0b0a07 55%, #14110b 100%);
  background-size: 200% 200%;
  animation: heroMesh 18s ease infinite;
}
@keyframes heroMesh { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero-media-overlay {
  position: absolute; inset: 0;
  background:
    /* light top scrim just for the header */
    linear-gradient(to bottom, rgba(11,10,7,.40) 0, transparent 15%),
    /* scrim on the RIGHT (physical) behind the RTL text — cheetah + sky on the left keep full color */
    linear-gradient(to left, rgba(11,10,7,.56) 0%, rgba(11,10,7,.15) 45%, transparent 68%),
    /* very soft edge vignette to protect the wordmark, much lighter than before */
    radial-gradient(140% 95% at 50% 6%, transparent 55%, rgba(11,10,7,.18) 100%),
    /* bottom fade into the page */
    linear-gradient(180deg, transparent 58%, rgba(11,10,7,.5) 86%, var(--bg) 100%);
}

.hero-inner { display: flex; flex-direction: column; align-items: flex-start; position: relative; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .84rem; font-weight: 600; letter-spacing: .02em;
  color: var(--muted);
}

/* Hero logo (English lockup) */
.hero-logo { margin: clamp(14px, 2.4vw, 30px) 0 clamp(20px, 3.5vw, 40px); width: 100%; }
.hero-logo-img {
  width: clamp(280px, 46vw, 560px); height: auto;
  filter: drop-shadow(0 14px 44px rgba(224,164,75,.20));
  animation: logoIn 1s cubic-bezier(.16,1,.3,1) both;
}
@keyframes logoIn { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-logo-img { animation: none; } }

/* Rotating statements */
.hero-statements { position: relative; min-height: 4.4em; max-width: 32ch; }
.hero-statement {
  display: block;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem); line-height: 1.32; letter-spacing: -0.005em;
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .6s; pointer-events: none;
}
.hero-statement.is-active { opacity: 1; transform: none; position: relative; pointer-events: auto; }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: clamp(28px, 4vw, 48px); }

/* Marquee */
.marquee {
  margin-top: clamp(56px, 8vw, 104px);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 22px 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: inline-flex; align-items: center; gap: 30px; white-space: nowrap; animation: scroll 36s linear infinite; }
.marquee-track span { font-family: var(--display); font-size: 1.18rem; font-weight: 600; color: var(--faint); letter-spacing: -0.01em; }
.marquee-track .sep { color: var(--accent); opacity: .6; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Trust / capability strip ---------- */
.trust { padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--border); }
.trust-label { text-align: center; font-family: var(--display); font-weight: 700;
  font-size: clamp(1.2rem, 2.8vw, 1.85rem); letter-spacing: -0.01em; line-height: 1.3;
  color: var(--text); max-width: 28ch; margin: 0 auto 34px; }
.trust-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 40px; }
.trust-logos li { display: inline-flex; align-items: center; gap: 9px; color: var(--text);
  font-size: 1.06rem; font-weight: 600; letter-spacing: -0.01em;
  transition: color .25s, transform .25s; }
.trust-logos li svg { color: var(--accent); flex: none; }
.trust-logos li:hover { transform: translateY(-2px); color: var(--accent-2); }

/* ---------- Divisions ---------- */
.div-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 1.8vw, 24px); }
.div-card {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(28px, 3.4vw, 44px);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, background .3s;
}
.div-card::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s; pointer-events: none;
  background: radial-gradient(80% 60% at 100% 0%, rgba(224,164,75,.14), transparent 60%);
}
.div-card:hover { transform: translateY(-6px); border-color: var(--border-2); }
.div-card:hover::after { opacity: 1; }
.div-num { font-family: var(--mono); font-size: .9rem; color: var(--accent); }
.div-icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 18px 0 22px;
  border-radius: 16px; color: var(--accent);
  background: rgba(224,164,75,.1); border: 1px solid rgba(224,164,75,.24); }
.div-icon svg { width: 28px; height: 28px; }
.div-card h3 { font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -0.01em; }
.div-card > p { color: #efe7d7; font-size: 1.16rem; line-height: 1.62; margin-top: 12px; max-width: 44ch; }
.div-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.div-tags li { font-family: var(--mono); font-size: .76rem; color: #e7ddc9;
  border: 1px solid var(--border-2); border-radius: 100px; padding: 6px 13px; background: rgba(11,10,7,.35); }

/* ---------- Glow border on division cards ---------- */
@property --glow-ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.div-card.glow-card .card-glow {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  border-radius: var(--radius-lg); padding: 1.6px;
  background: conic-gradient(from var(--glow-ang, 0deg),
    transparent 0 60%, var(--accent-3) 72%, var(--accent) 82%, var(--accent-2) 89%, transparent 97%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  animation: glow-spin 6s linear infinite; transition: filter .4s ease;
}
@keyframes glow-spin { to { --glow-ang: 360deg; } }
.div-card.glow-card:hover .card-glow {
  animation-duration: 3s; filter: drop-shadow(0 0 5px rgba(224,164,75,.55)) url(#unopaq);
}
@media (prefers-reduced-motion: reduce) { .div-card.glow-card .card-glow { animation: none; } }

/* ===================== Light theme ===================== */
:root[data-theme="light"] {
  --bg:#faf7ef; --bg-2:#f1ebde; --surface:#ffffff; --surface-2:#f6f1e6;
  --border:rgba(28,22,12,.12); --border-2:rgba(28,22,12,.22);
  --text:#1b160e; --muted:#5e5645; --faint:#8a8068;
  --accent:#b07d2c; --accent-2:#946420; --accent-3:#caa05a; --accent-ink:#fff8ec;
  --shadow:0 30px 90px -30px rgba(60,45,20,.28);
  --shadow-accent:0 18px 50px -16px rgba(176,125,44,.30);
}
html { transition: background-color .35s ease; }
body { transition: background-color .35s ease, color .35s ease; }
:root[data-theme="light"] body { background: var(--bg); color: var(--text); }
/* keep the cinematic hero dark even in light mode; force its text light */
:root[data-theme="light"] .hero-inner,
:root[data-theme="light"] .hero-statement { color:#f4eee0; }
:root[data-theme="light"] .hero-eyebrow { color:#cdbfa3; }
/* light mode: keep a frosted light bar even at the top so nav links stay readable
   over the (still-dark) hero — otherwise dark link text sits on a dark hero */
:root[data-theme="light"] .site-header { background: rgba(250,247,239,.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
:root[data-theme="light"] .site-header.scrolled { background: rgba(255,255,255,.86); border-bottom-color: var(--border); }
:root[data-theme="light"] .nav > a { color: #4a4234; }
:root[data-theme="light"] .nav > a:hover, :root[data-theme="light"] .nav > a.active { color: var(--text); background: rgba(28,22,12,.06); }
:root[data-theme="light"] .bg-noise { display:none; }
:root[data-theme="light"] .bg-gradient { opacity:.45; }
:root[data-theme="light"] .section-dark { background: linear-gradient(180deg,#f1ebde,#e9e1cf); }
/* division cards keep their dark photo backgrounds in light mode → keep text light so it stays readable */
:root[data-theme="light"] .div-card h3,
:root[data-theme="light"] .div-card > p { color: #f6efe0; }
:root[data-theme="light"] .div-card .div-tags li { color: #ece2cd; border-color: rgba(240,224,190,.30); }
:root[data-theme="light"] .div-card .div-num { color: var(--accent-2); }
:root[data-theme="light"] .site-footer { background: var(--bg-2); }

/* ===================== Header toggles (lang + theme) ===================== */
.site-toggles { display:inline-flex; align-items:center; gap:8px; font-family:'Space Grotesk', var(--font); }
.toggle-btn {
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  height:38px; min-width:44px; padding:0 13px; border-radius:100px;
  border:1px solid var(--border-2); background:rgba(160,140,100,.07); color:var(--text);
  font-family:'Space Grotesk', var(--font); font-weight:600; font-size:.92rem; letter-spacing:.04em; line-height:1;
  cursor:pointer; transition:background .2s, border-color .2s, color .2s, transform .12s;
}
.toggle-btn:hover { border-color:var(--accent); color:var(--accent-2); }
.toggle-btn:active { transform:scale(.93); }
.theme-toggle { padding:0; width:38px; min-width:38px; }
.theme-toggle svg { width:18px; height:18px; }
.theme-toggle .icon-sun { display:none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display:block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display:none; }

/* ===================== LTR (English) header/hero fixes ===================== */
/* English (LTR): override the RTL-tuned !important margins so the header
   reads logo-left, nav + toggles + CTA grouped on the right (not crammed) */
html[dir="ltr"] .logo { margin-left:0 !important; margin-right:auto !important; }
html[dir="ltr"] .nav { margin-left:8px; }
html[dir="ltr"] .hero-inner, html[dir="ltr"] .hero-statements { text-align:left !important; }
html[dir="ltr"] .hero-inner > * { margin-left:0 !important; margin-right:0 !important; }
html[dir="ltr"] .btn-action-icon svg { transform:none; }
/* EN is LTR → hero text moves to the LEFT, so mirror the whole hero media (cheetah + right-side scrim flip to the right, clear of the text) */
html[dir="ltr"] .hero-media { transform: scaleX(-1); }

/* ---------- Showcase / templates gallery ---------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.gf-btn {
  background: rgba(240,224,190,.04); border: 1px solid var(--border); color: var(--muted);
  border-radius: 100px; padding: 9px 18px; font-size: .9rem; font-weight: 600;
  transition: background .2s, color .2s, border-color .2s;
}
.gf-btn:hover { color: var(--text); border-color: var(--border-2); }
.gf-btn.is-active { background: var(--grad); color: var(--accent-ink); border-color: transparent; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 24px); margin-top: 8px; }
.tpl-card { display: flex; flex-direction: column; transition: opacity .4s, transform .4s; }
.tpl-card.tpl-wide { grid-column: span 2; }
.tpl-card.is-hidden { display: none; }
.tpl-frame {
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s;
}
.tpl-card:hover .tpl-frame { transform: translateY(-6px); border-color: var(--border-2); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 11px 13px; background: rgba(240,224,190,.03); border-bottom: 1px solid var(--border); }
.mc-dot { width: 9px; height: 9px; border-radius: 50%; background: #3a3326; flex: none; }
.mc-dot:nth-child(1) { background: #ff5f57; } .mc-dot:nth-child(2) { background: #febc2e; } .mc-dot:nth-child(3) { background: #28c840; }
.mock-url { margin-right: 8px; font-family: var(--mono); font-size: 10px; color: var(--faint);
  background: rgba(0,0,0,.3); border: 1px solid var(--border); border-radius: 6px; padding: 4px 10px; flex: 1; text-align: center; }

.mock-screen { padding: 20px; min-height: 230px; display: flex; flex-direction: column; }
.tpl-wide .mock-screen { min-height: 300px; }
.scr-clinic     { background: #eef5f5; --c-text: #15323a; --c-accent: #0fb5a6; --c-ink: #ffffff; --c-muted: #7fa3a8; }
.scr-restaurant { background: #1b1714; --c-text: #f3e9dc; --c-accent: #e8a23d; --c-ink: #1b1714; --c-muted: #9b8a78; }
.scr-fitness    { background: #0d0f12; --c-text: #eef2f4; --c-accent: #c7f94b; --c-ink: #0d0f12; --c-muted: #79838f; }
.scr-lux        { background: radial-gradient(120% 120% at 100% 0%, #14202a, #0a1118 70%); --c-text: #eef2f6; --c-accent: #c8a96a; --c-ink: #0a1118; --c-muted: #8295a3; }
.scr-saas       { background: radial-gradient(120% 120% at 0% 0%, #1a1530, #0c0a1a 70%); --c-text: #ece9ff; --c-accent: #8b7bff; --c-ink: #0c0a1a; --c-muted: #8a85b5; }
.scr-beauty     { background: #f3ece8; --c-text: #3a2a2a; --c-accent: #c98a86; --c-ink: #ffffff; --c-muted: #a98e8a; }
.scr-law        { background: #11161d; --c-text: #eef1f5; --c-accent: #b99155; --c-ink: #11161d; --c-muted: #7d8694; }
.scr-shop       { background: #f6f4ef; --c-text: #1f2421; --c-accent: #1f6e4c; --c-ink: #ffffff; --c-muted: #8a9089; }
.scr-cafe       { background: #f3ebdf; --c-text: #3a2c1c; --c-accent: #b5793a; --c-ink: #ffffff; --c-muted: #a8917a; }
.scr-arch       { background: #e7e5e0; --c-text: #23262a; --c-accent: #c2603a; --c-ink: #ffffff; --c-muted: #8a8780; }
.scr-fintech    { background: radial-gradient(120% 120% at 0% 0%, #103024, #0a140f 70%); --c-text: #e6f4ec; --c-accent: #34d399; --c-ink: #06120c; --c-muted: #6f897e; }
.scr-vet        { background: #eaf3ec; --c-text: #1f3a2a; --c-accent: #3f9d6b; --c-ink: #ffffff; --c-muted: #84a290; }
.scr-jewel      { background: #14110e; --c-text: #f1e6d6; --c-accent: #d8c08a; --c-ink: #14110e; --c-muted: #968a76; }
.scr-hotel      { background: radial-gradient(120% 120% at 100% 0%, #11393a, #0a2122 70%); --c-text: #eef2ef; --c-accent: #cda35a; --c-ink: #0a2122; --c-muted: #7fa0a0; }
.scr-winery     { background: radial-gradient(120% 120% at 100% 0%, #3a1620, #220d13 70%); --c-text: #f3e4dd; --c-accent: #c9a24a; --c-ink: #220d13; --c-muted: #9a7a72; }
.scr-folio      { background: #f4f2ec; --c-text: #1a1a18; --c-accent: #e2603f; --c-ink: #ffffff; --c-muted: #8d897f; }

/* Photo-hero mockups — real screenshots behind the browser chrome + UI */
.mock-screen.has-photo { position: relative; padding: 0; overflow: hidden; --c-text: #ffffff; --c-muted: rgba(255,255,255,.85); }
.mock-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.tpl-card:hover .mock-photo { transform: scale(1.06); }
.m-stack { position: relative; z-index: 1; flex: 1; width: 100%; display: flex; flex-direction: column; padding: 20px;
  background: linear-gradient(to top, rgba(8,7,5,.86) 0%, rgba(8,7,5,.16) 52%, rgba(8,7,5,.5) 100%); }
.has-photo .m-brand { text-shadow: 0 1px 10px rgba(0,0,0,.55); }
.has-photo .m-h { text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.has-photo .m-chips span { border-color: rgba(255,255,255,.5); color: #fff; opacity: .92; }
.m-nav { display: flex; align-items: center; justify-content: space-between; }
.m-brand { color: var(--c-text); font-weight: 800; font-size: 12px; letter-spacing: -0.01em; }
.m-links { display: inline-flex; gap: 5px; }
.m-links i { width: 14px; height: 4px; border-radius: 2px; background: var(--c-muted); opacity: .55; }
.m-hero { margin-top: auto; padding-top: 18px; }
.m-h { color: var(--c-text); font-family: var(--display); font-weight: 800; font-size: 21px; line-height: 1.1; letter-spacing: -0.01em; }
.m-h-serif { font-family: var(--serif); font-weight: 700; }
.m-btn { display: inline-block; margin-top: 13px; background: var(--c-accent); color: var(--c-ink);
  font-size: 10px; font-weight: 800; padding: 8px 14px; border-radius: 100px; }
.m-btn-ghost { background: transparent; color: var(--c-text); border: 1px solid currentColor; }
.m-chips { display: flex; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
.m-chips span { font-size: 9px; color: var(--c-muted); border: 1px solid currentColor; border-radius: 100px; padding: 4px 9px; opacity: .85; }

.tpl-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; }
.tpl-meta h3 { font-family: var(--display); font-size: 1.22rem; font-weight: 700; letter-spacing: -0.01em; }
.tpl-tag { font-family: var(--mono); font-size: .74rem; color: var(--accent);
  border: 1px solid rgba(224,164,75,.4); border-radius: 100px; padding: 6px 12px; white-space: nowrap; background: rgba(224,164,75,.07); flex: none; }
.work-note { text-align: center; color: var(--faint); font-size: .86rem; margin-top: 40px; }

/* ---------- Process timeline (the method) ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; top: 30px; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224,164,75,.5) 12%, rgba(224,164,75,.5) 88%, transparent); }
.tl-step { position: relative; }
.tl-node { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--surface); border: 1px solid var(--border-2); color: var(--accent); margin-bottom: 22px;
  transition: transform .25s, border-color .25s, box-shadow .25s; }
.tl-step:hover .tl-node { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow-accent); }
.tl-node-gold { background: var(--grad); color: var(--accent-ink); border-color: transparent; }
.tl-num { font-family: var(--mono); font-size: .8rem; color: var(--accent); }
.tl-step h3 { font-family: var(--display); font-size: 1.4rem; font-weight: 700; letter-spacing: -0.01em; margin: 8px 0 10px; }
.tl-step p { color: var(--muted); font-size: 1rem; max-width: 28ch; }

/* ---------- Before / after slider ---------- */
.ba {
  position: relative; --pos: 50%;
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-2);
  height: clamp(320px, 44vw, 480px); box-shadow: var(--shadow); user-select: none;
}
.ba-pane { position: absolute; inset: 0; }
.ba-after { z-index: 2; -webkit-clip-path: inset(0 calc(100% - var(--pos)) 0 0); clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.site-screen { width: 100%; height: 100%; padding: clamp(20px, 3.4vw, 40px); display: flex; flex-direction: column; overflow: hidden; }
.sc-before { background: #d9dde1; color: #2b2f36; font-family: 'Times New Roman', Georgia, serif; }
.sb-top { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; border-bottom: 2px solid #9aa1ab; padding-bottom: 8px; }
.sb-top b { color: #1e3a6e; font-size: clamp(15px, 2vw, 22px); letter-spacing: .02em; }
.sb-top span { color: #3a5fa0; font-size: clamp(9px, 1.1vw, 12px); text-decoration: underline; }
.sb-title { color: #6a2b8a; font-size: clamp(17px, 2.6vw, 30px); font-weight: 700; margin-top: 16px; }
.sb-text { color: #2b2f36; font-size: clamp(10px, 1.25vw, 14px); line-height: 1.5; margin-top: 12px; max-width: 52ch; }
.sb-link { color: #0b41c9; text-decoration: underline; font-size: clamp(11px, 1.4vw, 15px); margin-top: 14px; }
.sb-hits { margin-top: auto; font-size: clamp(9px, 1.1vw, 12px); color: #5a6068; font-family: 'Courier New', monospace; }
.sc-after { background: radial-gradient(120% 120% at 100% 0%, #221a0e, #100c07 60%); color: var(--text); }
.sa-top { display: flex; align-items: center; justify-content: space-between; }
.sa-brand { font-family: var(--display); font-weight: 800; font-size: clamp(14px, 1.7vw, 19px); }
.sa-call { font-size: clamp(10px, 1.2vw, 13px); font-weight: 800; color: var(--accent-ink); background: var(--grad); padding: 6px 13px; border-radius: 100px; }
.sa-hero { margin-top: auto; }
.sa-h { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.01em; }
.sa-btn { display: inline-block; margin-top: 16px; background: var(--grad); color: var(--accent-ink); font-weight: 800; font-size: clamp(11px, 1.3vw, 15px); padding: 10px 18px; border-radius: 100px; box-shadow: var(--shadow-accent); }
.sa-trust { margin-top: 16px; font-size: clamp(10px, 1.2vw, 13px); color: var(--accent-2); letter-spacing: .01em; }
.ba-divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--accent); z-index: 3; transform: translateX(-1px); pointer-events: none; }
.ba-knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad); border: 3px solid var(--bg); box-shadow: var(--shadow-accent); }
.ba-knob::before, .ba-knob::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border-block: 4px solid transparent; }
.ba-knob::before { left: 9px; border-right: 6px solid var(--accent-ink); transform: translateY(-50%); }
.ba-knob::after  { right: 9px; border-left: 6px solid var(--accent-ink); transform: translateY(-50%); }
.ba-tag { position: absolute; bottom: 14px; z-index: 3; font-family: var(--mono); font-size: .72rem; letter-spacing: .03em;
  padding: 5px 12px; border-radius: 100px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); pointer-events: none; }
.ba-tag-before { right: 14px; background: rgba(20,18,14,.6); color: #e9e2d2; }
.ba-tag-after { left: 14px; background: rgba(224,164,75,.18); color: var(--accent-2); border: 1px solid rgba(224,164,75,.4); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; }
.ba-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 18px; margin-top: 28px; }
.ba-stats li { display: inline-flex; align-items: baseline; gap: 8px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 100px; padding: 10px 20px; }
.ba-from { color: var(--faint); text-decoration: line-through; font-size: .95rem; }
.ba-arrow { color: var(--muted); }
.ba-to { color: var(--accent); font-weight: 800; font-size: 1.12rem; }
.ba-cap { color: var(--muted); font-size: .84rem; margin-right: 4px; }

/* ---------- Pricing / packages ---------- */
.free-build {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(224,164,75,.12), rgba(194,133,58,.05));
  border: 1px solid rgba(224,164,75,.3); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px); margin-bottom: clamp(40px, 5vw, 64px);
  position: relative; overflow: hidden;
}
.free-build::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 120% at 100% 0%, rgba(244,204,126,.16), transparent 60%); pointer-events: none; }
.free-build-main { position: relative; }
.free-build-badge { display: inline-block; font-family: var(--mono); font-size: .8rem; font-weight: 700;
  color: var(--accent-ink); background: var(--grad); border-radius: 100px; padding: 6px 14px; margin-bottom: 16px; }
.free-build h3 { font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.01em; }
.free-build p { color: var(--muted); font-size: 1.06rem; margin-top: 10px; max-width: 54ch; }
.free-build .btn-action { position: relative; flex: none; }

.pricing-sub { font-family: var(--mono); font-size: .92rem; font-weight: 600; color: var(--accent);
  margin-bottom: 24px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 24px); }
.plan-card {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 38px);
  transition: transform .3s, border-color .3s;
}
.plan-card:hover { transform: translateY(-6px); border-color: var(--border-2); }
.plan-featured { border-color: rgba(224,164,75,.45); background: linear-gradient(160deg, #1d1810, #110d08); }
.plan-featured::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(224,164,75,.25), 0 30px 80px -40px rgba(224,164,75,.4); }
.plan-badge { position: absolute; top: -13px; right: 28px; font-family: var(--mono); font-size: .74rem; font-weight: 700;
  color: var(--accent-ink); background: var(--grad); border-radius: 100px; padding: 6px 14px; box-shadow: var(--shadow-accent); }
.plan-head h3 { font-family: var(--display); font-size: 1.7rem; font-weight: 800; letter-spacing: -0.01em; }
.plan-tagline { color: var(--muted); font-size: 1.12rem; line-height: 1.5; margin-top: 8px; min-height: 2.6em; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 22px 0 6px; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.plan-from { font-size: 1.02rem; color: var(--faint); }
.plan-amount { font-family: var(--display); font-size: clamp(3rem, 4.6vw, 4.1rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.02;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.plan-per { font-size: .95rem; color: var(--muted); }
.plan-feats { display: flex; flex-direction: column; gap: 13px; margin: 24px 0 28px; flex: 1; }
.plan-feats li { position: relative; padding-right: 28px; color: var(--text); font-size: 1.1rem; line-height: 1.5; }
.plan-feats li::before { content: ""; position: absolute; right: 0; top: 4px; width: 18px; height: 18px;
  border-radius: 50%; background: rgba(224,164,75,.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0a44b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 12px; }

.addons { margin-top: clamp(44px, 6vw, 72px); }
.addons-title { margin-bottom: 22px; }
.addon-list { display: flex; flex-wrap: wrap; gap: 12px; }
.addon-list li { display: inline-flex; align-items: center; gap: 9px; color: var(--text); font-size: .98rem;
  background: rgba(240,224,190,.04); border: 1px solid var(--border); border-radius: 100px; padding: 11px 20px;
  transition: border-color .2s, transform .2s, background .2s; }
.addon-list li:hover { border-color: var(--accent); transform: translateY(-2px); background: rgba(224,164,75,.07); }
.addon-ic { color: var(--accent); }
.pricing-note { color: var(--faint); font-size: .9rem; margin-top: 26px; }

/* ---------- Stats band ---------- */
.stats-band { padding: clamp(48px, 7vw, 80px) 0; border-block: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat { display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; }
.stat-num {
  font-family: var(--display); font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.stat-label { color: var(--muted); font-size: 1.1rem; }

/* ---------- Principles slider ---------- */
.slider-controls { display: flex; gap: 10px; }
.slider-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(240,224,190,.04); border: 1px solid var(--border-2); color: var(--text);
  transition: background .2s, transform .2s, opacity .2s;
}
.slider-btn:hover { background: rgba(240,224,190,.1); }
.slider-btn:disabled { opacity: .3; cursor: default; }
.slider { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; padding: 8px 0 16px; }
.slider::-webkit-scrollbar { display: none; }
.slider-track { display: flex; gap: 20px; padding-inline: var(--gutter); width: max-content; }
.principle-card {
  scroll-snap-align: start; flex: none; width: min(360px, 80vw);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px 30px 40px; transition: transform .25s, border-color .25s, background .25s;
}
.principle-card:hover { transform: translateY(-6px); border-color: var(--border-2); background: var(--surface-2); }
.principle-num { font-family: var(--mono); font-size: .95rem; color: var(--accent); margin-bottom: 56px; }
.principle-card h3 { font-family: var(--display); font-size: 1.7rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 12px; }
.principle-card p { color: var(--muted); font-size: 1.12rem; line-height: 1.6; }

/* ---------- Testimonials / honest proof ---------- */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tcard {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 30px; display: flex; flex-direction: column; gap: 16px; margin: 0;
  transition: transform .25s, border-color .25s, background .25s;
}
.tcard:hover { transform: translateY(-5px); border-color: var(--border-2); background: var(--surface-2); }
.promise-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  color: var(--accent); background: rgba(224,164,75,.1); border: 1px solid rgba(224,164,75,.25); }
.promise-icon svg { width: 22px; height: 22px; }
.tcard.promise h3 { font-family: var(--display); font-size: 1.4rem; font-weight: 700; letter-spacing: -0.01em; }
.tcard.promise p { color: var(--muted); font-size: 1rem; line-height: 1.6; }

/* ---------- Big statement ---------- */
.statement { padding: clamp(96px, 14vw, 190px) 0; }
.statement-inner { max-width: 1040px; }
.statement-title {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(2.8rem, 8vw, 7rem); line-height: 1.02; letter-spacing: -0.01em;
  display: flex; flex-direction: column;
}
.statement-text { color: var(--muted); font-size: clamp(1.1rem, 1.7vw, 1.42rem); max-width: 62ch; margin-top: 32px; }

/* ---------- FAQ ---------- */
.grid-faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-heading { position: sticky; top: 110px; }
.faq { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); transition: border-color .2s; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: right; background: none; border: 0; color: var(--text);
  font-family: var(--display); font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 600; letter-spacing: -0.01em;
  padding: 26px 8px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  transition: color .2s;
}
.faq-q:hover { color: var(--accent); }
.faq-icon { position: relative; width: 17px; height: 17px; flex: none; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: var(--accent); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.faq-icon::before { left: 0; top: 7.5px; width: 17px; height: 2px; }
.faq-icon::after  { left: 7.5px; top: 0; width: 2px; height: 17px; }
.faq-item.open .faq-icon::after { transform: scaleY(0); }
.faq-item.open .faq-icon::before { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a p { padding: 0 8px 26px; color: var(--muted); font-size: 1.04rem; max-width: 62ch; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding-top: clamp(64px, 9vw, 120px); overflow: hidden; }
.footer-cta {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding-bottom: clamp(48px, 7vw, 80px); border-bottom: 1px solid var(--border);
}
.footer-cta-title { font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 6vw, 5rem); line-height: .98; letter-spacing: -0.01em; display: flex; flex-direction: column; }
.footer-cta-sub { color: var(--accent-2); font-size: clamp(1.05rem, 1.4vw, 1.24rem); line-height: 1.6; margin-top: 20px; }

.footer-brandmark { text-align: center; padding: clamp(40px, 6vw, 80px) 0 clamp(24px, 3vw, 40px); }
.footer-brandmark img {
  width: min(840px, 92%); height: auto; margin: 0 auto; opacity: .9;
  filter: drop-shadow(0 18px 60px rgba(224,164,75,.12));
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent);
  mask-image: linear-gradient(180deg, #000 62%, transparent);
}

.footer-info { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-top: 1px solid var(--border); padding-top: 40px; }
.footer-logo { font-size: 1.2rem; }
.footer-tagline { color: var(--muted); font-size: .98rem; margin-top: 14px; max-width: 42ch; }
.footer-label { font-family: var(--mono); font-size: .76rem; letter-spacing: .02em; color: var(--faint); display: block; margin-bottom: 16px; }
.footer-socials { display: flex; flex-direction: column; gap: 10px; }
.footer-socials a, .footer-link { color: var(--muted); font-size: .98rem; transition: color .18s; width: fit-content; }
.footer-socials a:hover, .footer-link:hover { color: var(--accent); }
.footer-info-col .footer-link { display: block; }
.footer-muted { display: block; color: var(--faint); font-size: .9rem; margin-top: 10px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding: 26px 0 36px; border-top: 1px solid var(--border);
  color: var(--faint); font-size: .86rem;
}
.footer-built { font-family: var(--mono); }

/* ---------- Contact modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  padding: 20px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(7,6,4,.74); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modal-card {
  position: relative; width: min(640px, 100%); max-height: 92vh; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow);
  transform: translateY(20px) scale(.98); transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.modal.open .modal-card { transform: none; }
.modal-close {
  position: absolute; top: 18px; left: 18px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(240,224,190,.05); border: 1px solid var(--border); color: var(--text);
  transition: background .2s, transform .2s;
}
.modal-close:hover { background: rgba(240,224,190,.12); transform: rotate(90deg); }
.modal-head { margin-bottom: 26px; max-width: 92%; }
.modal-title { font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.01em; }
.modal-sub { color: var(--muted); font-size: 1rem; margin-top: 12px; }
.modal-sub strong { color: var(--text); font-weight: 600; }
.modal-sub a { color: var(--accent); }

/* ---------- Form ---------- */
.form-row { margin-bottom: 16px; }
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row label { display: block; font-size: .85rem; font-weight: 500; color: var(--muted); margin-bottom: 8px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 12px;
  padding: 13px 15px; color: var(--text); font-family: inherit; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.form-row textarea::placeholder { color: var(--faint); }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(224,164,75,.18);
}
.form-row select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3a98f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 14px center; background-size: 16px; padding-left: 40px; }
.contact-form > .btn-action { margin-top: 8px; }
.form-note { text-align: center; font-size: .84rem; color: var(--faint); margin-top: 16px; }
.form-row label .req { color: var(--accent); margin-right: 2px; }
.form-row label .form-optional { color: var(--faint); font-weight: 400; }
.form-success { display: none; text-align: center; color: var(--accent); font-weight: 700; margin-top: 16px; }
.form-success.show { display: block; animation: success-pop .35s cubic-bezier(.2,.8,.2,1) both; }
@keyframes success-pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.form-error { display: none; text-align: center; color: #ff9b9b; font-weight: 500; margin-top: 14px; }
.form-error.show { display: block; }
.form-error a { color: var(--accent); text-decoration: underline; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* Directional reveal variety — base stays fade-up; opt in per element via data-reveal.
   Honours reduced-motion (the JS adds .in immediately, so transform resets to none). */
.reveal[data-reveal="left"]  { transform: translateX(-44px); }
.reveal[data-reveal="right"] { transform: translateX(44px); }
.reveal[data-reveal="zoom"]  { transform: scale(.93); }
.reveal[data-reveal].in      { transform: none; }

/* Tactile press feedback on primary/secondary buttons (matches .toggle-btn:active) */
.btn-action, .btn-outline { transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease; }
.btn-action:active, .btn-outline:active { transform: scale(.97); }

/* Full-bleed header (desktop): push the logo to one screen edge and the
   "דברו איתנו" CTA to the other, with the nav centered between them.
   Body sections keep their max-width — only the header goes edge-to-edge. */
@media (min-width: 761px) {
  .site-header .container { max-width: none; padding-inline: clamp(22px, 3.5vw, 52px); }
  .site-header .logo { margin-left: 0 !important; margin-right: 0 !important; }
  .site-header .nav { margin-inline: auto; }
}

/* Light-mode fix: the hero stays dark, so its secondary "ראו איך זה עובד" link
   must stay ivory (it was inheriting var(--text), which flips to dark in light mode). */
:root[data-theme="light"] .hero-actions .btn-text { color: #f4eee0; }

/* Landing form card — the .lp-* classes were never defined, so the card had no
   controlled surface and its heading/sub inherited body text (broke contrast).
   Give it a real themed surface; heading uses --text, sub-line is gold. Works in both themes. */
.lp-form-card {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow);
}
.lp-form-card > h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.01em;
  color: var(--text);
}
.lp-form-sub {
  color: var(--accent-2);
  font-weight: 700;
  margin: 8px 0 20px;
}

/* Hero breathing room — separate the wordmark from the rotating statements,
   and drop the CTA row lower so the hero doesn't feel crowded. */
.hero-statements { margin-top: clamp(10px, 2.2vw, 26px); }
.hero-actions    { margin-top: clamp(44px, 6vw, 78px); }

/* Real-work gallery — clickable cards showing the top of each live screenshot */
a.tpl-card{ text-decoration:none; color:inherit; }
.tpl-card .mock-screen.has-photo{ min-height:230px; }
.tpl-card .mock-photo{ object-position:top center; }

/* Rotating word in the "we don't build X" statement */
.stmt-rotate{ display:inline-block; transition:opacity .38s ease, transform .38s ease; }

/* Method page — interactive "cheetah hunt" image stage above the timeline */
.method-stage{ position:relative; height:clamp(300px,42vw,500px); border-radius:var(--radius-lg); overflow:hidden;
  border:1px solid var(--border-2); background:#0d0b07; margin-bottom:clamp(36px,5vw,64px); }
.ms-layer{ position:absolute; inset:0; background-size:cover; background-position:center;
  opacity:0; transform:scale(1.05); transition:opacity .7s ease, transform 7s ease; }
.ms-layer.is-active{ opacity:1; transform:scale(1); }
.method-stage::after{ content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(to top, rgba(9,8,5,.90), rgba(9,8,5,.14) 60%, transparent),
             linear-gradient(to left, rgba(9,8,5,.85), rgba(9,8,5,.28) 45%, transparent 72%); }
.ms-caption{ position:absolute; z-index:2; right:0; bottom:0; text-align:right; padding:clamp(22px,4vw,44px); max-width:46ch; }
.ms-badge{ font-family:var(--mono); font-size:.82rem; font-weight:700; color:#e0a44b; letter-spacing:.02em; }
.ms-title{ font-family:var(--display); font-size:clamp(1.7rem,3.4vw,2.6rem); font-weight:800; letter-spacing:-.01em; margin:8px 0 10px; color:#f4eee0; }
.ms-desc{ color:#f0e8d8; font-size:clamp(1rem,1.4vw,1.12rem); line-height:1.55; max-width:46ch; }
.timeline .tl-step{ cursor:pointer; transition:transform .3s ease; }
.timeline .tl-step:hover, .timeline .tl-step:focus-visible{ transform:translateY(-4px); outline:none; }
.timeline .tl-step.is-active .tl-node{ background:var(--grad); color:var(--accent-ink); border-color:transparent; box-shadow:0 8px 24px -8px rgba(224,164,75,.6); }

/* Bottom CTA — a cheetah running behind the footer, heavily scrimmed so all text stays legible */
.site-footer{ position:relative; }
.site-footer::before{
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    linear-gradient(to top, rgba(11,10,7,.26), rgba(11,10,7,.54) 48%, rgba(11,10,7,.9) 100%),
    url('../assets/sections/footer-cheetah.jpg') center bottom / cover no-repeat;
}
.site-footer > *{ position:relative; z-index:1; }
/* footer text stays light on the cheetah in BOTH themes + a shadow for legibility */
.site-footer{ text-shadow:0 1px 12px rgba(0,0,0,.6); }
:root[data-theme="light"] .site-footer,
:root[data-theme="light"] .site-footer a,
:root[data-theme="light"] .site-footer .footer-link,
:root[data-theme="light"] .site-footer .footer-muted{ color:#f4eee0; }
:root[data-theme="light"] .site-footer{ --text:#f4eee0; --muted:#cabf9f; --faint:#aba082; }

/* Contact page is a dark page (cheetah bg) — keep dark-theme styling even in light mode */
:root[data-theme="light"] body.page-contact{
  --text:#f4eee0; --muted:#b3a98f; --faint:#8d8268; --bg:#0b0a07; --bg-2:#100e0a;
  --surface:#15120c; --surface-2:#1e1a12; --border:rgba(240,224,190,.10); --border-2:rgba(240,224,190,.20);
  color:#f4eee0;
}

/* "Bubble" cards (how-it-works steps, method principle/model cards) — subtle gold glow
   + a big faint number watermark so they read premium instead of flat/empty. */
.hiw-step, .principle-card, .tcard.promise { position:relative; overflow:hidden; }
.hiw-step::before, .principle-card::before, .tcard.promise::before{
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:radial-gradient(130% 130% at 100% 0%, rgba(224,164,75,.12), transparent 52%);
}
.hiw-step > *, .principle-card > *, .tcard.promise > *{ position:relative; z-index:1; }
.hiw-grid{ counter-reset:hiw; }
.hiw-step{ counter-increment:hiw; }
.hiw-step::after{
  content:counter(hiw); position:absolute; z-index:0; pointer-events:none;
  inset-inline-start:-.03em; inset-block-end:-.32em;
  font-family:var(--display); font-weight:800; font-size:8.5rem; line-height:1;
  color:rgba(224,164,75,.07);
}
.principle-card .principle-num{ font-family:var(--display); font-size:2.6rem; font-weight:800; color:var(--accent); margin-bottom:18px; }

/* Light-mode fixes for surfaces that stay dark: featured pricing plan + landing page */
:root[data-theme="light"] .plan-featured{ --text:#f4eee0; --muted:#c2b79a; --faint:#a99e83; color:#f4eee0; }
:root[data-theme="light"] .plan-featured h3,
:root[data-theme="light"] .plan-featured .plan-tagline,
:root[data-theme="light"] .plan-featured .plan-feats li,
:root[data-theme="light"] .plan-featured .plan-feats li strong,
:root[data-theme="light"] .plan-featured .plan-from,
:root[data-theme="light"] .plan-featured .plan-per{ color:#f4eee0; }
:root[data-theme="light"] body.page-landing{
  --text:#f4eee0; --muted:#b3a98f; --faint:#8d8268; --bg:#0b0a07; --bg-2:#100e0a;
  --surface:#15120c; --surface-2:#1e1a12; --border:rgba(240,224,190,.10); --border-2:rgba(240,224,190,.20);
  color:#f4eee0; background:#0b0a07;
}
/* Contact popup modal is always a dark card (hero-poster bg) — keep dark-theme text in light mode */
:root[data-theme="light"] .modal-card{
  --text:#f4eee0; --muted:#b3a98f; --faint:#8d8268; --bg:#0b0a07; --bg-2:#100e0a;
  --surface:#15120c; --surface-2:#1e1a12; --border:rgba(240,224,190,.10); --border-2:rgba(240,224,190,.20);
  color:#f4eee0;
}

/* Contact page — full-bleed cheetah / savanna behind everything, scrimmed for form legibility */
body.page-contact::before{
  content:""; position:fixed; inset:0; z-index:-3; pointer-events:none;
  background:
    linear-gradient(rgba(11,10,7,.82), rgba(11,10,7,.9)),
    url('../assets/contact-bg.jpg') center center / cover no-repeat;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
  .grid-faq { grid-template-columns: 1fr; }
  .faq-heading { position: static; }
  .footer-info { grid-template-columns: 1fr 1fr; }
  .div-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .tpl-card.tpl-wide { grid-column: span 2; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .plan-featured { order: -1; }
  .t-grid { grid-template-columns: 1fr; max-width: 620px; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
  .timeline::before { display: none; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .header-inner > .btn-action { display: none; }
  .nav-toggle { display: flex; }
  .gallery { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .tpl-card.tpl-wide { grid-column: span 1; }
  .timeline { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; gap: 24px; }
  .tl-node { margin-bottom: 14px; }
  .form-row-split { grid-template-columns: 1fr; }
  .footer-cta { flex-direction: column; align-items: flex-start; }
  .free-build { flex-direction: column; align-items: flex-start; }
  .slider-controls { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .stats-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-info { grid-template-columns: 1fr; }
  .hero-statements { min-height: 5.4em; }
  .hero-logo-img { width: min(78%, 360px); }
  .gallery-filters { width: 100%; }
}

/* ============================================================
   RTL fine-tuning
   ============================================================ */
html[dir="rtl"] .skip-link { right: auto; left: 12px; }
html[dir="rtl"] .marquee-track { animation-direction: reverse; }
html[dir="rtl"] .timeline::before { background: linear-gradient(270deg, transparent, rgba(224,164,75,.5) 12%, rgba(224,164,75,.5) 88%, transparent); }
/* The animated wordmark letters read right-to-left naturally in Hebrew; keep row direction default */

/* ============================================================
   Multi-page: nav active state, page intros, teasers, contact
   ============================================================ */
.nav > a.active { color: var(--text); background: rgba(240,224,190,.06); }
.mobile-menu nav a.active { color: var(--accent); }

.page-intro { padding-top: clamp(64px, 10vw, 128px); padding-bottom: clamp(8px, 2vw, 24px); }
.page-intro .section-head { margin-bottom: 0; max-width: 860px; }

.teaser-cta { text-align: center; margin-top: clamp(36px, 5vw, 56px); }

/* Standalone contact form card (contact.html — uses the modal form styles) */
.contact-card { max-width: 660px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); }
.contact-methods { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.contact-methods a { display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--border-2); border-radius: 100px; padding: 12px 22px; color: var(--text);
  font-weight: 500; transition: border-color .2s, background .2s, transform .2s; }
.contact-methods a:hover { border-color: var(--accent); background: rgba(224,164,75,.07); transform: translateY(-2px); }
.contact-methods svg { color: var(--accent); flex: none; }

/* === Vector wordmark logo (Tenor Sans) — replaces raster logos === */
.logo-word{ display:inline-block; direction:ltr; }
.lw{ font-family:'Tenor Sans', sans-serif; font-weight:400; text-transform:uppercase;
     font-size:1.16rem; letter-spacing:.34em; line-height:1; padding-inline-start:.34em; }
.site-header.scrolled .lw{ font-size:1.05rem; }
.footer-logo .lw{ font-size:1.05rem; }
/* Header logo (gold monogram).
   The box height is FIXED — the scrolled state shrinks the mark with a compositor-only
   transform. Animating `height` here relaid out the sticky header on every frame of the
   transition, which made Chrome re-rasterise the PNG and re-blur the header's
   backdrop-filter ~13x per scroll toggle: that was the flicker. */
.logo-svg{ height:52px; width:auto; display:block; }
.site-header .logo-svg{ transition:transform .22s ease; will-change:transform; }
.site-header.scrolled .logo-svg{ transform:scale(.846); }   /* 44/52 — same size on screen as before */
.footer-logo .logo-svg{ height:44px; transition:none; }
@media (max-width:760px){
  .logo-svg{ height:46px; }
  .site-header.scrolled .logo-svg{ transform:scale(.87); }  /* 40/46 */
}
@media (prefers-reduced-motion:reduce){ .site-header .logo-svg{ transition:none; } }
/* test: hero wordmark image (downloaded logo, symbol removed) */
.hero-wordmark-img{ display:block; width:clamp(300px, 60vw, 760px); height:auto;
  filter:drop-shadow(0 14px 44px rgba(224,164,75,.18)); animation:logoIn 1s cubic-bezier(.16,1,.3,1) both; }
.hero-logo{ margin:0; text-align:center; margin-top:clamp(14px,2.2vw,30px); margin-bottom:clamp(28px,3.8vw,56px); }
.hero-wordmark{ display:block; direction:ltr; text-align:center; font-family:'Tenor Sans', sans-serif;
     font-weight:400; text-transform:uppercase; font-size:clamp(40px, 8.4vw, 116px);
     letter-spacing:.26em; line-height:1; padding-inline-start:.26em;
     filter:drop-shadow(0 14px 44px rgba(224,164,75,.22)); animation:logoIn 1s cubic-bezier(.16,1,.3,1) both; }
.footer-brandmark .footer-wordmark{ display:block; direction:ltr; text-align:center; font-family:'Tenor Sans', sans-serif;
     text-transform:uppercase; font-size:clamp(46px, 12vw, 168px); letter-spacing:.2em; line-height:1;
     opacity:.9; padding-inline-start:.2em; }
/* big footer wordmark as the downloaded logo (symbol-free) */
.footer-brandmark .footer-wordmark-img{ display:block; width:min(900px, 92%); height:auto; margin:0 auto;
  opacity:.92; filter:drop-shadow(0 16px 50px rgba(224,164,75,.14)); }
@media (max-width:760px){ .hero-wordmark{ font-size:clamp(34px, 13vw, 72px); } }
/* ===== Layout: BARDELAS right · nav+CTA far left · hero wording right ===== */
.header-inner{ display:flex; align-items:center; gap:18px; }
.logo{ margin-left:auto !important; margin-right:0 !important; }   /* RTL: BARDELAS far right; nav + CTA pushed to the left */
/* Hero: push the wording to the right (physical margins = dir-independent) */
.hero-inner{ text-align:right; }
.hero-inner > *{ margin-left:auto; margin-right:0; }
.hero-statements{ text-align:right; }
/* keep the big BARDELAS wordmark centered */
.hero-logo{ margin-left:0 !important; margin-right:0 !important; width:100%; }
.hero-wordmark{ text-align:center; }
/* ===== Mobile hero wordmark fit (no clipped S) ===== */
@media (max-width:760px){ .hero-wordmark{ font-size:clamp(26px,10vw,58px); letter-spacing:.1em; padding-inline-start:.1em; } }
@media (max-width:380px){ .hero-wordmark{ font-size:9vw; letter-spacing:.05em; } }
/* Mobile: keep the hero strong but not a full extra screen of empty video */
@media (max-width:640px){
  .hero{ min-height:92vh; padding-bottom:0; }
  .hero > .marquee{ margin-top:0; }        /* hero-inner does the pushing on mobile */
  .hero-inner{ flex:1 1 auto; }            /* grow to fill, pushing the marquee down */
  .hero-actions{ margin-top:auto; }        /* drop the CTAs to the bottom of the hero */
}

/* ===== Service cards: image BESIDE the text (image left, text right — no overlap) ===== */
.div-card{ background:linear-gradient(160deg,#191510,#100c07); border-color:rgba(240,224,190,.14);
  padding-left:clamp(210px, 36%, 330px); min-height:300px; }
.div-card > *{ position:relative; z-index:1; }
.div-card::before{
  content:""; position:absolute; top:0; bottom:0; left:0; right:auto; width:clamp(190px, 34%, 310px);
  z-index:0; pointer-events:none;
  background-image:
    linear-gradient(to right, rgba(9,8,5,.06) 0%, rgba(9,8,5,.24) 52%, rgba(9,8,5,.72) 86%, rgba(16,12,7,.97) 100%),
    var(--cardimg);
  background-size:cover; background-position:center; transform:scale(1.03); transition:transform .6s ease;
}
.div-card:hover::before{ transform:scale(1.06); }
.div-card h3, .div-card > p, .div-card .div-num{ text-shadow:none; }
.div-card h3, .div-card > p{ color:#f4ecdc; }
.div-card .div-icon{ filter:none; background:rgba(224,164,75,.12); margin-top:4px; }
.div-card:nth-child(1){ --cardimg:url('../assets/sections/div-design.jpg'); }
.div-card:nth-child(2){ --cardimg:url('../assets/sections/div-ai-whatsapp.jpg'); }
.div-card:nth-child(3){ --cardimg:url('../assets/sections/div-automation.jpg'); }
.div-card:nth-child(4){ --cardimg:url('../assets/sections/div-strategy.jpg'); }
.div-num{ display:none; }
/* keep the card dark (and text light) in light theme too, so the text panel stays legible */
:root[data-theme="light"] .div-card{ background:linear-gradient(160deg,#191510,#0f0b06); border-color:rgba(240,224,190,.16); }
/* Mobile: image becomes a top strip, text sits below it */
@media (max-width:640px){
  .div-card{ padding-left:clamp(24px,6vw,40px); padding-top:180px; min-height:0; }
  .div-card::before{ left:0; right:0; top:0; bottom:auto; width:auto; height:158px;
    background-image:
      linear-gradient(to bottom, rgba(9,8,5,.06), rgba(9,8,5,.28) 55%, rgba(9,8,5,.80) 88%, rgba(16,12,7,.98) 100%),
      var(--cardimg); }
}

/* ===== Lead-capture popup (reference-style) ===== */
.modal-eyebrow{ font-family:var(--display); font-weight:800; font-size:clamp(1.05rem,2.2vw,1.4rem); color:var(--accent-2); letter-spacing:-.01em; margin:0 0 4px; }
.modal-card{ background:
    radial-gradient(130% 90% at 100% 0%, rgba(224,164,75,.22), transparent 55%),
    radial-gradient(100% 85% at 0% 100%, rgba(194,133,58,.15), transparent 60%),
    linear-gradient(160deg, #17130b 0%, #0e0b06 100%); }
/* ===== WhatsApp floating button ===== */
.wa-float{ position:fixed; bottom:22px; left:22px; z-index:95; width:58px; height:58px; border-radius:50%;
  display:grid; place-items:center; background:#25D366; color:#fff; box-shadow:0 12px 30px -8px rgba(0,0,0,.55);
  transition:transform .2s ease, box-shadow .2s ease; }
.wa-float:hover{ transform:scale(1.07); box-shadow:0 16px 40px -8px rgba(37,211,102,.5); }
.wa-float svg{ width:30px; height:30px; }
@media (max-width:600px){ .wa-float{ bottom:16px; left:16px; width:52px; height:52px; } }
/* ===== Legal pages ===== */
.legal-body{ max-width:760px; }
.legal-body p{ color:var(--muted); line-height:1.7; margin:0 0 14px; }
.legal-body h2{ font-family:var(--display); font-weight:700; font-size:clamp(1.2rem,2vw,1.5rem); color:var(--text); margin:28px 0 10px; }
.legal-body ul{ color:var(--muted); line-height:1.7; padding-inline-start:22px; margin:0 0 14px; }
.legal-body li{ margin-bottom:6px; }
.legal-body a{ color:var(--accent); }
.legal-body .legal-meta{ color:var(--faint); font-size:.9rem; margin-top:26px; }
/* ===== How it works + why-free ===== */
.hiw-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(14px,1.6vw,22px); margin-top:clamp(20px,3vw,34px); }
.hiw-step{ background:linear-gradient(160deg,var(--surface),var(--bg-2)); border:1px solid var(--border); border-radius:var(--radius-lg); padding:clamp(22px,2.6vw,32px); }
.hiw-badge{ display:inline-block; font-family:var(--mono); font-size:.86rem; font-weight:700; color:var(--accent-ink); background:var(--grad); padding:5px 12px; border-radius:100px; margin-bottom:14px; }
.hiw-icon{ display:grid; place-items:center; width:54px; height:54px; border-radius:15px; color:var(--accent); background:rgba(224,164,75,.1); border:1px solid rgba(224,164,75,.26); margin-bottom:18px; box-shadow:0 6px 18px rgba(0,0,0,.28); }
.hiw-icon svg{ width:27px; height:27px; }
.hiw-step h3{ font-family:var(--display); font-weight:700; font-size:clamp(1.2rem,1.8vw,1.45rem); letter-spacing:-.01em; }
.hiw-step p{ color:var(--muted); font-size:1.1rem; line-height:1.6; margin-top:10px; }
.why-free{ margin-top:clamp(16px,2.2vw,26px); border:1px solid var(--border-2); border-radius:var(--radius-lg); background:radial-gradient(120% 150% at 100% 0%, rgba(224,164,75,.12), transparent 55%), linear-gradient(160deg,var(--surface),var(--bg-2)); padding:clamp(24px,3.2vw,42px); }
.why-free h3{ font-family:var(--display); font-weight:800; font-size:clamp(1.4rem,2.4vw,2rem); letter-spacing:-.01em; }
.why-free p{ color:var(--muted); line-height:1.65; font-size:clamp(1.02rem,1.3vw,1.14rem); max-width:62ch; margin:12px 0 20px; }
@media (max-width:760px){ .hiw-grid{ grid-template-columns:1fr; } }
/* ---------- Mobile paint budget: trim costly ambient effects (desktop keeps them) ---------- */
@media (max-width: 760px) {
  .bg-gradient { filter: none; animation: none; }
  .bg-noise { display: none; }
  .hero-media-fallback { animation: none; }
}

/* ---------- Skip rendering off-screen sections (faster initial paint) ---------- */
.section, .stats-band, .statement { content-visibility: auto; contain-intrinsic-size: auto 700px; }
