/* ==========================================================================
   SUCCESS — לעתיד פיננסי טוב יותר
   Design tokens + base + components
   ========================================================================== */

:root {
  /* Brand colors — navy from the shield, crimson from the ribbon, RE/MAX-bright red for action */
  --navy-950: #060f1f;
  --navy-900: #0a1b33;
  --navy-800: #0f2a4a;
  --navy-700: #163a63;
  --navy-600: #1f4c7d;
  --navy-500: #2f6299;

  --red-800: #611220;
  --red-700: #7a1526;
  --red-600: #96182e;
  --red-500: #b0203a;
  --red-400: #d42b46;
  --red-300: #e8536b;

  --white: #ffffff;
  --off-white: #f7f8fb;
  --gray-100: #eef0f4;
  --gray-200: #dde1e8;
  --gray-300: #c3c9d4;
  --gray-500: #7c8494;
  --gray-600: #5a6472;
  --gray-800: #2a3140;
  --gray-900: #171c26;

  /* Semantic */
  --bg: var(--white);
  --bg-alt: var(--off-white);
  --text: var(--gray-900);
  --text-muted: var(--gray-600);
  --brand-primary: var(--navy-800);
  --brand-accent: var(--red-500);
  --brand-accent-hover: var(--red-600);
  --border: var(--gray-200);

  /* Type */
  --font-head: 'Heebo', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Assistant', 'Segoe UI', Arial, sans-serif;

  /* Spacing scale */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px; --sp-10: 128px;

  /* Layout */
  --container: 1240px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  /* Motion */
  --ease-out: cubic-bezier(.16,1,.3,1);
  --dur-fast: .2s;
  --dur-med: .45s;
  --dur-slow: .8s;

  --shadow-sm: 0 2px 10px rgba(10,27,51,.06);
  --shadow-md: 0 12px 32px rgba(10,27,51,.10);
  --shadow-lg: 0 24px 64px rgba(10,27,51,.16);
}

/* ==========================================================================
   Reset / base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Anchors and keyboard focus land clear of the fixed header. */
html { scroll-padding-top: 104px; }
@media (max-width: 640px) { html { scroll-padding-top: 90px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.2;
  text-wrap: balance;
  margin: 0 0 var(--sp-4);
  color: var(--navy-900);
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 900; letter-spacing: -0.5px; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { margin: 0 0 var(--sp-4); color: var(--text-muted); }

a { color: inherit; text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none; }

button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--sp-7); }
}

section { position: relative; }

.section-pad { padding-block: var(--sp-8); }
@media (max-width: 640px) {
  .section-pad { padding-block: var(--sp-6); }
}

.section-alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .04em;
  color: var(--brand-accent);
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--brand-accent);
  display: inline-block;
}

.section-head {
  max-width: 720px;
  margin-bottom: var(--sp-7);
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.1rem; }

/* ==========================================================================
   Preloader
   ========================================================================== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: radial-gradient(circle at center, var(--navy-800), var(--navy-950));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-6);
  transition: opacity .7s cubic-bezier(.65,0,.35,1), transform .7s cubic-bezier(.65,0,.35,1), visibility .7s;
}
#preloader.is-hidden {
  opacity: 0;
  transform: scale(1.12);
  visibility: hidden;
  pointer-events: none;
}
.preloader-ring-wrap { position: relative; width: 220px; height: 220px; }
.preloader-ring-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.preloader-ring-svg .ring-track { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 10; }
.preloader-ring-svg .ring-fill {
  fill: none; stroke: var(--red-400); stroke-width: 10; stroke-linecap: round;
  transform-origin: center; transform: rotate(-90deg);
  stroke-dasharray: 389.6; stroke-dashoffset: 389.6;
  transition: stroke-dashoffset .1s linear;
}
.preloader-center {
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(0,0,0,.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px;
}
.preloader-logo { width: 68%; height: auto; object-fit: contain; }
.preloader-finance {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .56rem;
  letter-spacing: .16em;
  color: var(--brand-accent);
  text-transform: uppercase;
}
.preloader-percent {
  font-family: 'Oswald', var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy-900);
  direction: ltr;
  font-variant-numeric: tabular-nums;
}
@media (prefers-reduced-motion: reduce) {
  #preloader { transition: opacity .25s linear; transform: none; }
  #preloader.is-hidden { transform: none; }
  .preloader-ring-svg .ring-fill { transition: none; }
}
@media (max-width: 480px) {
  .preloader-ring-wrap { width: 180px; height: 180px; }
  .preloader-center { inset: 22px; gap: 2px; padding: 6px; }
  .preloader-finance { font-size: .5rem; letter-spacing: .14em; }
  .preloader-percent { font-size: .95rem; }
}

/* Skip link */
.skip-link {
  position: absolute;
  right: var(--sp-4);
  top: -60px;
  background: var(--navy-900);
  color: var(--white);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--radius-sm);
  z-index: 10000;
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: var(--sp-4); }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--red-400);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 16px 30px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast);
  min-height: 44px;
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) { .btn:hover { transform: translateY(-2px); } }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn-primary {
  background: var(--brand-accent);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(176,32,58,.35);
}
@media (hover: hover) and (pointer: fine) { .btn-primary:hover { background: var(--brand-accent-hover); box-shadow: 0 14px 30px rgba(176,32,58,.45); } }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.55);
  color: var(--white);
}
@media (hover: hover) and (pointer: fine) { .btn-outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); } }

.btn-ghost-navy {
  background: transparent;
  border-color: var(--navy-800);
  color: var(--navy-800);
}
@media (hover: hover) and (pointer: fine) { .btn-ghost-navy:hover { background: var(--navy-800); color: var(--white); } }

.btn-block { width: 100%; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 1000;
  padding: 8px 16px 0;
  transition: padding var(--dur-med) var(--ease-out);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5);
  background: rgba(255,255,255,.97);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(6,15,31,.18);
  padding: 4px 24px;
  max-width: 1240px;
  transition: box-shadow var(--dur-med) var(--ease-out), padding var(--dur-med) var(--ease-out);
}
.site-header.is-scrolled { padding-top: 6px; }
.site-header.is-scrolled .container { box-shadow: 0 12px 32px rgba(6,15,31,.26); padding-block: 3px; }

.brand { display: flex; align-items: center; gap: var(--sp-3); }
.brand img { height: 84px; width: auto; transition: height var(--dur-med); }
.site-header.is-scrolled .brand img { height: 60px; }
.brand:has(.brand-logo-full) { flex-direction: column; align-items: center; gap: 1px; padding-block: 3px; }
.brand-logo-full { height: 66px !important; }
.site-header.is-scrolled .brand-logo-full { height: 54px !important; }
.mobile-nav .brand-logo-full { height: 60px !important; }
@media (max-width: 640px) {
  .site-header { padding: 6px 10px 0; }
  .site-header .container { padding: 3px 14px; }
  .brand img { height: 62px; }
  .site-header.is-scrolled .brand img { height: 50px; }
  .brand-logo-full { height: 58px !important; }
  .site-header.is-scrolled .brand-logo-full { height: 48px !important; }
  .mobile-nav .brand-logo-full { height: 54px !important; }
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--font-head); font-weight: 900; color: var(--white); font-size: 1.25rem; letter-spacing: .02em; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.brand-tagline {
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--white);
  font-size: .72rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
@media (max-width: 560px) { .brand-tagline { display: none; } }

.main-nav { display: none; }
@media (min-width: 960px) {
  .main-nav { display: flex; align-items: center; gap: var(--sp-6); }
  .main-nav a {
    color: var(--navy-800);
    font-weight: 700;
    font-size: .98rem;
    position: relative;
    padding-block: var(--sp-1);
  }
  .main-nav a::after {
    content: '';
    position: absolute;
    right: 0; left: 0; bottom: -4px;
    height: 2px;
    background: var(--red-400);
    transform: scaleX(0);
    transition: transform var(--dur-fast) var(--ease-out);
    transform-origin: right;
  }
  .main-nav a.active::after { transform: scaleX(1); }
  @media (hover: hover) and (pointer: fine) { .main-nav a:hover::after { transform: scaleX(1); } }
}

.header-actions { display: flex; align-items: center; gap: var(--sp-4); }
.header-actions .btn { padding: 12px 24px; font-size: .92rem; }
.site-header .btn-outline { border-color: var(--navy-800); color: var(--navy-800); }
@media (hover: hover) and (pointer: fine) { .site-header .btn-outline:hover { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); } }
.header-icon-link {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  color: var(--navy-800);
  transition: background var(--dur-fast), color var(--dur-fast);
  flex-shrink: 0;
}
@media (hover: hover) and (pointer: fine) { .header-icon-link:hover { background: var(--gray-100); color: var(--red-500); } }
.header-icon-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.header-icon-label { font-family: var(--font-head); font-weight: 700; font-size: .56rem; line-height: 1.1; white-space: nowrap; }
@media (max-width: 480px) {
  .header-icon-label { display: none; }
}
.nav-toggle {
  display: flex;
  background: none; border: none; color: var(--navy-800);
  width: 44px; height: 44px; align-items: center; justify-content: center;
}
@media (min-width: 960px) { .nav-toggle { display: none; } }
.nav-toggle svg { width: 26px; height: 26px; }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--navy-950);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  padding: var(--sp-6) var(--sp-5);
  transform: translateY(-100%);
  transition: transform var(--dur-med) var(--ease-out);
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--sp-8); }
.mobile-nav .brand img { height: 72px; background: var(--white); border-radius: var(--radius-sm); padding: 6px; }
.mobile-nav-close { background: none; border: none; color: var(--white); width: 44px; height: 44px; }
.mobile-nav-close svg { width: 26px; height: 26px; }
.mobile-nav ul { display: flex; flex-direction: column; gap: var(--sp-6); }
.mobile-nav a { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: var(--white); }
.mobile-nav .btn { margin-top: var(--sp-7); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
  border-radius: 0 0 clamp(28px, 5vw, 64px) clamp(28px, 5vw, 64px);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img, .hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  position: absolute;
  inset: 0;
}
.hero-media video { opacity: 0; transition: opacity 1.1s ease; }
.hero-media video.is-visible { opacity: 1; }
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,15,31,.55) 0%, rgba(6,15,31,.72) 55%, rgba(6,15,31,.94) 100%),
    linear-gradient(100deg, rgba(10,27,51,.88) 0%, rgba(10,27,51,.35) 55%, rgba(150,24,46,.28) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: calc(var(--sp-9) + 40px) var(--sp-8);
  max-width: 760px;
}
.hero .eyebrow { color: var(--red-300); }
.hero h1 { color: var(--white); }
.hero-lead { color: rgba(255,255,255,.86); font-size: 1.2rem; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-6); }

.hero-video-toggle {
  position: absolute;
  bottom: var(--sp-6);
  left: var(--sp-6);
  z-index: 2;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.35);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
}
.hero-video-toggle svg { width: 18px; height: 18px; }

.scroll-cue {
  position: absolute;
  bottom: var(--sp-6);
  right: var(--sp-6);
  z-index: 2;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: rgba(255,255,255,.65);
  font-size: .78rem;
}
@media (min-width: 700px) { .scroll-cue { display: flex; } }
.scroll-cue .line { width: 1px; height: 36px; background: linear-gradient(var(--red-400), transparent); animation: scrollcue 1.8s infinite; }
@keyframes scrollcue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 50.01% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  align-items: center;
}
.about-grid > * { min-width: 0; }
.about-grid h2 {
  font-size: clamp(1.1rem, 4.6vw, 2.15rem);
  white-space: nowrap;
}
@media (min-width: 900px) {
  .about-grid h2 { font-size: 1.35rem; }
}
@media (min-width: 1000px) {
  .about-grid h2 { font-size: 1.5rem; }
}
@media (min-width: 1200px) {
  .about-grid h2 { font-size: 1.9rem; }
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: .85fr 1.15fr; }
}
.about-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--gray-100), var(--off-white));
}
.about-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.about-badge {
  position: absolute;
  bottom: var(--sp-5);
  left: var(--sp-5);
  right: var(--sp-5);
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--sp-4) var(--sp-5);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.about-badge svg { width: 34px; height: 34px; color: var(--brand-accent); flex-shrink: 0; }
.about-badge strong { display: block; font-family: var(--font-head); color: var(--navy-900); }
.about-badge span { font-size: .88rem; color: var(--text-muted); }

.trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); margin-top: var(--sp-6); }
.trust-list li { display: flex; align-items: flex-start; gap: var(--sp-3); font-weight: 600; color: var(--navy-900); font-size: .95rem; }
.trust-list svg { width: 22px; height: 22px; color: var(--brand-accent); flex-shrink: 0; margin-top: 2px; }

/* ==========================================================================
   Services / product cards
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}
@media (min-width: 720px) {
  .services-grid { grid-template-columns: repeat(5, 1fr); }
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5) var(--sp-4);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out), border-color var(--dur-med);
}
@media (hover: hover) and (pointer: fine) { .service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; } }
.service-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-4);
}
.service-icon svg { width: 18px; height: 18px; color: var(--white); }
.service-card h3 { margin-bottom: var(--sp-2); font-size: 1.02rem; }
.service-card p { font-size: .87rem; margin-bottom: 0; }

/* ==========================================================================
   Stat rings (donut counters)
   ========================================================================== */
.stat-rings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--sp-7);
  justify-items: center;
  text-align: center;
}
.stat-ring-item svg { width: 150px; height: 150px; }
.stat-ring-item .ring-disc {
  fill: var(--gray-100);
  transform-box: fill-box; transform-origin: center;
  transform: scale(.4); opacity: 0;
  transition: transform .9s var(--ease-out), opacity .6s;
}
.stat-ring-item.is-visible .ring-disc { transform: scale(1); opacity: 1; }
.stat-ring-item .ring-track { fill: none; stroke: var(--brand-accent); stroke-width: 3; opacity: 0; transition: opacity .8s .3s; }
.stat-ring-item.is-visible .ring-track { opacity: .9; }
.stat-ring-item .ring-fill {
  fill: none; stroke: var(--navy-800); stroke-width: 12; stroke-linecap: butt;
  transform-origin: center; transform: rotate(-90deg) scaleY(-1);
}
.ring-number {
  font-family: 'Oswald', var(--font-head); font-weight: 700; font-size: 2.25rem; fill: var(--navy-900);
  direction: ltr; unicode-bidi: isolate; letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
}
.ring-number-md { font-size: 1.85rem; }
.stat-ring-item.is-done svg { animation: ring-pop .6s var(--ease-out); }
@keyframes ring-pop { 0% { transform: scale(1); } 45% { transform: scale(1.06); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .stat-ring-item .ring-disc { transition: none; }
  .stat-ring-item.is-done svg { animation: none; }
}
.stat-ring-label { margin-top: var(--sp-4); font-weight: 700; color: var(--navy-900); max-width: 220px; line-height: 1.5; }

/* ==========================================================================
   Pillar deep-dive panels
   ========================================================================== */
.pillar {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  align-items: center;
  padding-block: var(--sp-7);
  border-top: 1px solid var(--border);
}
.pillar:first-of-type { border-top: none; }
@media (min-width: 900px) {
  .pillar { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .pillar.reverse .pillar-media { order: 2; }
  .pillar.reverse .pillar-text { order: 1; }
}
.pillar-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
}
.pillar-media img { width: 100%; height: 100%; object-fit: cover; }
.pillar-text h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.pillar-list { margin: var(--sp-5) 0; }
.pillar-list li {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  font-weight: 600; color: var(--navy-900); margin-bottom: var(--sp-3); font-size: .96rem;
}
.pillar-list svg { width: 20px; height: 20px; color: var(--brand-accent); flex-shrink: 0; margin-top: 2px; }
.pillar-link {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-weight: 700; color: var(--brand-accent);
}
.pillar-link svg { width: 18px; height: 18px; transition: transform var(--dur-fast); }
@media (hover: hover) and (pointer: fine) { .pillar-link:hover svg { transform: translateX(-4px); } }

.pillar-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 44px; padding: 10px 24px;
  background: var(--brand-accent); color: var(--white);
  border: none; border-radius: 999px; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: .96rem;
  box-shadow: 0 8px 20px rgba(176,32,58,.3);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast), background var(--dur-fast);
}
@media (hover: hover) and (pointer: fine) { .pillar-toggle:hover { background: var(--brand-accent-hover); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(176,32,58,.4); } }
.pillar-toggle:active { transform: translateY(0) scale(.97); }
.pillar-toggle:focus-visible { outline: 3px solid var(--navy-900); outline-offset: 3px; }
.pillar-toggle svg { width: 18px; height: 18px; transition: transform var(--dur-fast) var(--ease-out); }
.pillar-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.pillar-details[hidden] { display: none; }
.pillar-details {
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}
@media (min-width: 640px) {
  .pillar-details { grid-template-columns: 1fr 1fr; }
}
.pillar-details h4 { font-family: var(--font-head); color: var(--navy-900); font-size: 1rem; margin-bottom: var(--sp-3); }
.pillar-details p { font-size: .92rem; }
.pillar-details ul { padding-inline-start: var(--sp-5); }
.pillar-details li { list-style: disc; font-size: .9rem; color: var(--text-muted); margin-bottom: var(--sp-2); }

/* ==========================================================================
   Process
   ========================================================================== */
.process-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-6);
  counter-reset: step;
}
.process-step { position: relative; padding-inline-start: var(--sp-7); }
.process-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--brand-accent);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .82rem;
  display: flex; align-items: center; justify-content: center;
}
.process-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-4);
  margin-inline-start: var(--sp-2);
}
.process-icon svg { width: 26px; height: 26px; color: var(--navy-800); }
.process-step h3 { font-size: 1.1rem; }
.process-step p { font-size: .92rem; }

/* ==========================================================================
   Partners grid (static, all logos always visible)
   ========================================================================== */
.partners-grid {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: var(--sp-3);
  overflow-x: auto;
  padding-bottom: var(--sp-2);
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 860px) {
  .partners-grid { justify-content: space-between; overflow-x: visible; }
}
.partner-logo {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  padding: var(--sp-2);
  width: 74px;
  aspect-ratio: 1/1;
  flex-shrink: 0;
  transition: transform var(--dur-med), box-shadow var(--dur-med);
}
@media (min-width: 860px) {
  /* All eleven logos share one row; between 860px and ~1150px they shrink to fit instead of running off the edge. */
  .partner-logo { width: min(88px, calc((100% - 10 * var(--sp-3)) / 11)); }
}
@media (hover: hover) and (pointer: fine) { .partner-logo:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); } }
.partner-logo img { width: 100%; height: 100%; object-fit: contain; }

/* ==========================================================================
   Articles / content pieces
   ========================================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}
@media (min-width: 640px) {
  .articles-grid { grid-template-columns: 1fr 1fr; }
}
.article-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  transition: transform var(--dur-med), box-shadow var(--dur-med), border-color var(--dur-med);
}
@media (hover: hover) and (pointer: fine) { .article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; } }
.article-source {
  display: inline-flex;
  align-self: flex-start;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .03em;
  color: var(--brand-accent);
  background: var(--red-50, rgba(212,43,70,.08));
  padding: 4px 12px;
  border-radius: var(--radius-sm);
}
.article-card h3 {
  font-size: 1.08rem;
  line-height: 1.4;
  color: var(--navy-900);
}
.article-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 700;
  font-size: .92rem;
  color: var(--navy-900);
}
.article-link svg { width: 16px; height: 16px; transform: scaleX(-1); }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-5);
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
}
.testimonial-stars { color: var(--brand-accent); letter-spacing: 2px; margin-bottom: var(--sp-3); }
.testimonial-card p { color: var(--navy-900); font-weight: 500; flex-grow: 1; }
.testimonial-author { display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-4); }
.testimonial-author .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy-800); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; flex-shrink: 0;
}
.testimonial-author strong { display: block; color: var(--navy-900); font-size: .92rem; }
.testimonial-author span { font-size: .82rem; color: var(--text-muted); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  align-items: start;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-7);
}
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
.contact-info-card {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
}
.contact-info-card h3 { color: var(--white); }
.contact-line {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding-block: var(--sp-4);
  border-top: 1px solid rgba(255,255,255,.14);
}
.contact-line:first-of-type { border-top: none; }
.contact-line svg { width: 24px; height: 24px; color: var(--red-300); flex-shrink: 0; }
.contact-line a, .contact-line span { color: rgba(255,255,255,.92); font-weight: 600; }
.social-row { display: flex; gap: var(--sp-3); margin-top: var(--sp-6); }
.social-row a {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast);
}
@media (hover: hover) and (pointer: fine) { .social-row a:hover { background: var(--red-500); } }
.social-row svg { width: 20px; height: 20px; color: var(--white); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
}
.form-row { margin-bottom: var(--sp-3); }
.form-row label {
  display: block;
  font-weight: 700;
  font-size: .92rem;
  color: var(--navy-900);
  margin-bottom: 6px;
}
.form-row .required { color: var(--brand-accent); }
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--gray-900);
  background: var(--off-white);
  transition: border-color var(--dur-fast);
  min-height: 44px;
}
.form-row textarea { min-height: 72px; resize: vertical; }
/* Keyboard focus keeps the site's red outline; the border change is a bonus cue. */
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  border-color: var(--brand-accent);
  background: var(--white);
}
.form-hint { font-size: .82rem; color: var(--gray-500); margin-top: var(--sp-1); }
.form-error {
  font-size: .84rem;
  color: var(--red-600);
  margin-top: var(--sp-1);
  display: none;
  font-weight: 600;
}
.form-row.has-error input, .form-row.has-error textarea { border-color: var(--red-600); }
.form-row.has-error .form-error { display: block; }
.form-status {
  margin-top: var(--sp-4);
  padding: var(--sp-4);
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: none;
}
.form-status.is-success { display: block; background: #e7f5ee; color: #17643f; }
.form-status.is-error { display: block; background: #fbe9ec; color: var(--red-700); }
.consent-row { display: flex; align-items: flex-start; gap: var(--sp-3); }
.consent-row input { width: 20px; height: 20px; margin-top: 3px; flex-shrink: 0; }
.consent-row label { font-weight: 500; font-size: .88rem; color: var(--text-muted); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,.7);
  padding-block: var(--sp-8) var(--sp-6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-7);
}
@media (min-width: 860px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}
.footer-brand img { height: 46px; margin-bottom: var(--sp-4); }
.footer-brand p { color: rgba(255,255,255,.6); max-width: 320px; }
.footer-col h2 { color: var(--white); font-family: var(--font-head); font-size: 1rem; line-height: 1.4; letter-spacing: normal; margin-bottom: var(--sp-4); }
.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-col a { color: rgba(255,255,255,.68); font-size: .95rem; transition: color var(--dur-fast); }
@media (hover: hover) and (pointer: fine) { .footer-col a:hover { color: var(--white); } }
.footer-disclaimer {
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  line-height: 1.6;
}
.footer-bottom {
  margin-top: var(--sp-8);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: space-between;
  font-size: .85rem;
}
@media (hover: hover) and (pointer: fine) { .footer-bottom a:hover { color: var(--white); } }

/* ==========================================================================
   WhatsApp float button
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: var(--sp-5);
  inset-inline-end: var(--sp-5);
  z-index: 900;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.5);
  transition: transform var(--dur-fast) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .whatsapp-float:hover { transform: scale(1.08); } }
.whatsapp-float svg { width: 30px; height: 30px; color: var(--white); }
.whatsapp-float .ping {
  position: absolute; inset: 0; border-radius: 50%;
  background: #25D366; opacity: .6;
  animation: wa-ping 2.4s infinite;
}
@keyframes wa-ping { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.9); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .whatsapp-float .ping { animation: none; display: none; } }

/* ==========================================================================
   Reveal-on-scroll utility (JS adds .is-visible)
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Legal pages (accessibility / privacy)
   ========================================================================== */
.legal-hero {
  background: var(--navy-900);
  color: var(--white);
  padding-block: calc(var(--sp-9) + 20px) var(--sp-7);
}
.legal-hero h1 { color: var(--white); margin-bottom: var(--sp-2); }
.legal-hero p { color: rgba(255,255,255,.75); }
.legal-content { max-width: 820px; margin-inline: auto; padding-block: var(--sp-8); }
.legal-content h2 { margin-top: var(--sp-8); font-size: 1.4rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--text-muted); font-size: 1.02rem; }
.legal-content ul, .legal-content ol { padding-inline-start: var(--sp-5); margin-bottom: var(--sp-4); }
.legal-content li { margin-bottom: var(--sp-2); list-style: disc; }
.legal-content ol li { list-style: decimal; }
.legal-content a { color: var(--brand-accent); font-weight: 600; text-decoration: underline; }
.legal-meta {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  margin-bottom: var(--sp-6);
  font-size: .95rem;
}
.back-home { display: inline-flex; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-6); font-weight: 700; color: var(--navy-900); }
.back-home svg { width: 20px; height: 20px; }

/* Simple non-hero header used on legal pages (reuses site-header but starts solid) */
.site-header.is-static { position: static; background: var(--navy-900); padding-bottom: 14px; }

/* ==========================================================================
   Cookie consent banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 9000;
  background: var(--navy-950);
  color: rgba(255,255,255,.9);
  padding: var(--sp-5) var(--sp-6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-5);
  box-shadow: 0 -8px 30px rgba(0,0,0,.25);
  animation: cookie-banner-in .5s var(--ease-out);
}
.cookie-banner.is-hidden { opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .4s; }
.cookie-banner p { margin: 0; font-size: .92rem; max-width: 780px; line-height: 1.6; }
.cookie-banner a { color: var(--red-400); font-weight: 700; text-decoration: underline; }
.cookie-banner-accept { flex-shrink: 0; white-space: nowrap; }
.cookie-banner-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }
.cookie-banner-actions .btn { padding: 10px 22px; font-size: .92rem; }

/* Micro-interactions */
.btn:active { transform: translateY(0) scale(.97); }
.pillar-details:not([hidden]) { animation: details-in .45s var(--ease-out); }
@keyframes details-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.article-link svg { transition: transform var(--dur-fast) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .article-card:hover .article-link svg { transform: scaleX(-1) translateX(4px); } }
@media (hover: hover) and (pointer: fine) { .service-card:hover .service-icon { transform: scale(1.08) rotate(-4deg); } }
.service-icon { transition: transform var(--dur-med) var(--ease-out); }
@media (prefers-reduced-motion: reduce) {
  .pillar-details:not([hidden]) { animation: none; }
  @media (hover: hover) and (pointer: fine) { .service-card:hover .service-icon { transform: none; } }
}
@keyframes cookie-banner-in {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner { animation: none; }
}

/* ==========================================================================
   Visual language v2 — flat hairline surfaces, thin display type, brand navy/red
   ========================================================================== */
:root {
  --hairline: #e1e6f0;
  --hairline-strong: #c9d2e3;
  --hairline-dark: rgba(150,175,215,.16);
  --ink-soft: #b4c2d8;
  --blue-signal: #6f9fe0;
  --radius-card: 30px;
  --grad-brand: linear-gradient(90deg, var(--navy-600) 0%, var(--red-500) 100%);
  --bg-alt: #f4f6fb;
  --border: var(--hairline);
}

/* Type — thin display register */
h1, h2 { font-weight: 300; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.15rem, 6vw, 4.6rem); line-height: 1.08; font-weight: 300; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.15; }
h3 { font-weight: 500; letter-spacing: -0.01em; }
.about-grid h2 { font-weight: 300; }

/* Eyebrow -> tracked tag pill */
.eyebrow {
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .06em;
  padding: 6px 14px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  margin-bottom: var(--sp-4);
}
.eyebrow::before {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(176,32,58,.14);
}
.hero .eyebrow,
.section-dark .eyebrow {
  color: var(--red-300);
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hero .eyebrow::before,
.section-dark .eyebrow::before { background: var(--red-400); box-shadow: 0 0 10px rgba(232,83,107,.8); }
.section-head p { font-size: 1.08rem; }

/* Buttons — flat pills, no drop shadows */
.btn { font-weight: 500; border-width: 1px; padding: 15px 28px; }
.btn-primary { box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .btn-primary:hover { box-shadow: none; } }
.btn-outline { border-color: rgba(255,255,255,.5); }
.pillar-toggle { box-shadow: none; font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .pillar-toggle:hover { box-shadow: none; font-weight: 500; } }

/* Header — hairline instead of heavy shadow */
.site-header .container {
  border: 1px solid rgba(15,42,74,.08);
  box-shadow: 0 6px 20px rgba(6,15,31,.10);
}
.site-header.is-scrolled .container { box-shadow: 0 8px 24px rgba(6,15,31,.14); }
@media (min-width: 960px) { .main-nav a { font-weight: 500; } }
@media (max-width: 480px) {
  .header-icon-link { min-width: 44px; min-height: 44px; padding: 0; }
  .header-actions { gap: var(--sp-2); }
  .header-actions #headerCallBtn { width: 44px; height: 44px; padding: 0; }
  .header-call-label { display: none; }
}

/* Hero */
.hero-lead { color: #c9d4e6; }

/* Shared flat cards */
.service-card, .article-card, .testimonial-card, .contact-form {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  box-shadow: none;
}
.service-card, .article-card { position: relative; overflow: hidden; }
.service-card::after, .article-card::after {
  content: '';
  position: absolute; inset-inline: 0; top: 0; height: 2px;
  background: var(--grad-brand);
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur-med) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .service-card:hover, .article-card:hover { box-shadow: none;
  border-color: var(--hairline-strong);
  transform: translateY(-4px); } }
@media (hover: hover) and (pointer: fine) { .service-card:hover::after, .article-card:hover::after { transform: scaleX(1); } }
@media (max-width: 640px) { .service-card { border-radius: 22px; } }

/* Service icons — outlined discs */
.service-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: #eef2f9;
  border: 1px solid var(--hairline-strong);
  transition: background var(--dur-med), border-color var(--dur-med), transform var(--dur-med) var(--ease-out);
}
.service-icon svg { color: var(--navy-700); width: 20px; height: 20px; transition: color var(--dur-med); }
@media (hover: hover) and (pointer: fine) { .service-card:hover .service-icon { background: var(--navy-800); border-color: var(--navy-800); } }
@media (hover: hover) and (pointer: fine) { .service-card:hover .service-icon svg { color: var(--white); } }
.service-card h3 { font-weight: 600; }

/* About */
.about-media { border-radius: var(--radius-card); }
.about-badge {
  background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(6,15,31,.12);
}
.trust-list li, .pillar-list li { font-weight: 500; }

/* Pillars */
.pillar { border-top-color: var(--hairline); }
.pillar-media { border-radius: var(--radius-card); box-shadow: none; border: 1px solid var(--hairline); }
.pillar-details { border-top-color: var(--hairline); }
.pillar-details h4 { font-weight: 600; }

/* Outlined links */
.pillar-link, .article-link {
  align-self: flex-start;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--hairline-strong);
  transition: border-color var(--dur-fast);
}
@media (hover: hover) and (pointer: fine) { .pillar-link:hover, .article-link:hover, .article-card:hover .article-link { border-color: var(--brand-accent); } }
.article-link { font-weight: 600; }
.article-source { border-radius: 999px; font-weight: 600; padding: 4px 14px; }
.article-card h3 { font-weight: 500; }

/* Partners */
.partner-logo { border-radius: 18px; border-color: var(--hairline); }
@media (hover: hover) and (pointer: fine) { .partner-logo:hover { box-shadow: none; border-color: var(--hairline-strong); } }

/* Testimonials */
.testimonial-card { position: relative; }
.testimonial-card::before {
  content: '\201D';
  position: absolute; top: 6px; left: 24px;
  font-family: var(--font-head); font-weight: 200; font-size: 5rem; line-height: 1;
  color: var(--hairline-strong);
  pointer-events: none;
}
.testimonial-card p { font-weight: 400; }

/* Dark "deck" sections — floating rounded panels */
.section-dark {
  margin-inline: clamp(8px, 1.5vw, 20px);
  border-radius: clamp(28px, 4vw, 48px);
  background:
    radial-gradient(ellipse 60% 55% at 90% 0%, rgba(47,98,153,.38), transparent 70%),
    radial-gradient(ellipse 45% 45% at 5% 100%, rgba(176,32,58,.2), transparent 70%),
    var(--navy-950);
  overflow: hidden;
  isolation: isolate;
}
.section-dark::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(150,175,215,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150,175,215,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: var(--ink-soft); }

/* Stat rings on dark */
.section-dark .stat-ring-item .ring-disc { fill: rgba(255,255,255,.035); stroke: var(--hairline-dark); stroke-width: 1; }
.section-dark .stat-ring-item .ring-track { stroke: var(--red-400); }
.section-dark .stat-ring-item .ring-fill { stroke: var(--blue-signal); }
.section-dark .stat-ring-item svg { filter: drop-shadow(0 0 14px rgba(111,159,224,.18)); }
.ring-number { font-weight: 400; }
.section-dark .ring-number { fill: var(--white); }
.section-dark .stat-ring-label { color: #c9d4e6; font-weight: 400; }

/* Process on dark */
.section-dark .process-step::before {
  background: transparent;
  border: 1px solid var(--red-400);
  color: var(--red-300);
  font-weight: 500;
}
.section-dark .process-icon {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--hairline-dark);
  border-radius: 18px;
}
.section-dark .process-icon svg { color: var(--blue-signal); }

/* Contact */
.contact-info-card {
  border-radius: var(--radius-card);
  border: 1px solid var(--hairline-dark);
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(47,98,153,.35), transparent 70%),
    var(--navy-950);
}
.contact-line { border-top-color: var(--hairline-dark); }
.contact-line a, .contact-line span { font-weight: 500; }
.social-row a { border: 1px solid var(--hairline-dark); background: rgba(255,255,255,.04); }
.form-row label { font-weight: 600; }
.form-row input, .form-row select {
  border-radius: 999px; border-width: 1px; border-color: var(--hairline-strong);
  padding-inline: 18px; background: #f7f9fc;
}
.form-row textarea { border-radius: 20px; border-width: 1px; border-color: var(--hairline-strong); padding-inline: 18px; background: #f7f9fc; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  box-shadow: 0 0 0 4px rgba(176,32,58,.1);
}
.consent-row input { border-radius: 4px; padding: 0; min-height: 0; }

/* Footer */
.site-footer {
  position: relative;
  background:
    radial-gradient(ellipse 50% 60% at 90% 0%, rgba(47,98,153,.25), transparent 70%),
    var(--navy-950);
}
.site-footer::before {
  content: '';
  position: absolute; top: 0; inset-inline: 0; height: 1px;
  background: var(--grad-brand);
  opacity: .8;
}
.footer-col h2 { font-weight: 500; }
.footer-disclaimer, .footer-bottom { border-top-color: var(--hairline-dark); }

/* Mobile nav */
.mobile-nav {
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(47,98,153,.35), transparent 70%),
    var(--navy-950);
}
.mobile-nav a { font-weight: 300; font-size: 1.9rem; letter-spacing: -0.01em; }
.mobile-nav .btn { font-size: 1.05rem; font-weight: 500; }

/* Legal pages */
.legal-hero {
  background:
    radial-gradient(ellipse 60% 70% at 90% 0%, rgba(47,98,153,.38), transparent 70%),
    var(--navy-950);
  border-radius: 0 0 clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px);
}
.legal-meta { border: 1px solid var(--hairline); border-radius: 22px; }
.site-header.is-static { background: var(--navy-950); }
.legal-content h2 { font-weight: 500; }

/* Cookie banner — floating card */
.cookie-banner {
  inset-inline: 12px; bottom: 12px;
  border-radius: 24px;
  border: 1px solid var(--hairline-dark);
  box-shadow: 0 16px 40px rgba(0,0,0,.3);
}

/* Preloader — thin glowing gradient ring */
#preloader {
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(47,98,153,.35), transparent 70%),
    radial-gradient(ellipse 40% 35% at 50% 75%, rgba(176,32,58,.14), transparent 70%),
    var(--navy-950);
}
.preloader-ring-wrap::before {
  content: '';
  position: absolute; inset: -18px;
  border-radius: 50%;
  border: 1px solid rgba(150,175,215,.1);
}
.preloader-ring-svg { filter: drop-shadow(0 0 8px rgba(232,83,107,.45)); }
.preloader-ring-svg .ring-track { stroke: rgba(255,255,255,.1); stroke-width: 2; }
.preloader-ring-svg .ring-fill { stroke: url(#preloaderGrad); stroke-width: 4; }
.preloader-center {
  inset: 26px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 0 0 10px rgba(255,255,255,.03), 0 20px 50px rgba(0,0,0,.45);
}
.preloader-finance { font-weight: 500; letter-spacing: .3em; }
.preloader-percent { font-weight: 400; font-size: 1.25rem; }
@media (max-width: 480px) {
  .preloader-center { inset: 24px; }
  .preloader-finance { letter-spacing: .24em; }
  .preloader-percent { font-size: 1rem; }
}

/* ==========================================================================
   Hero chart animation (replaces the background video)
   ========================================================================== */
.hero {
  background:
    radial-gradient(ellipse 55% 60% at 22% 58%, rgba(47,98,153,.42), transparent 70%),
    radial-gradient(ellipse 35% 40% at 48% 18%, rgba(176,32,58,.2), transparent 70%),
    linear-gradient(160deg, var(--navy-950) 0%, #081631 60%, var(--navy-900) 100%);
}
.hero-media::after {
  background:
    linear-gradient(270deg, rgba(6,15,31,.8) 0%, rgba(6,15,31,.42) 38%, rgba(6,15,31,0) 66%),
    linear-gradient(180deg, rgba(6,15,31,.4) 0%, rgba(6,15,31,0) 22%, rgba(6,15,31,0) 78%, rgba(6,15,31,.55) 100%);
}
@media (max-width: 767px) {
  .hero-media::after {
    background: linear-gradient(180deg, rgba(6,15,31,.5) 0%, rgba(6,15,31,.7) 50%, rgba(6,15,31,.3) 100%);
  }
}
.hero h1, .hero-lead { text-shadow: 0 2px 30px rgba(6,15,31,.85); }

.hero-anim { position: absolute; inset: 0; }
.hero-anim-svg { width: 100%; height: 100%; display: block; }

.ha-skyline { --o: .8; opacity: 0; }
.ha-grid, .ha-floor, .ha-horizon { opacity: 0; }
.ha-bars rect { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); }
.ha-line, .ha-line-2 { stroke-dasharray: 1; stroke-dashoffset: 1; }
.ha-points circle,
.ha-arrow polygon { transform-box: fill-box; transform-origin: center; transform: scale(0); opacity: 0; }
.ha-pulse { transform-box: fill-box; transform-origin: center; opacity: 0; }
.ha-spot { transform-box: fill-box; transform-origin: center; opacity: 0; transform: scale(.3); }
.is-live .ha-spot { animation: ha-spot-in .8s ease-out 2.6s forwards, ha-breathe 3.2s ease-in-out 3.4s infinite; }
@keyframes ha-spot-in { to { opacity: 1; transform: scale(1); } }
@keyframes ha-breathe { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .6; transform: scale(1.15); } }
.ha-scan line { opacity: 0; }
.ha-particles circle { opacity: 0; animation: ha-float linear infinite; }

.is-live .ha-skyline,
.is-live .ha-grid,
.is-live .ha-floor,
.is-live .ha-horizon { animation: ha-fade 1.6s ease-out forwards; }
.is-live .ha-bars rect { animation: ha-bar 1.2s cubic-bezier(.16,1,.3,1) forwards; animation-delay: calc(.15s + var(--i) * .07s); }
.is-live .ha-line-2 { animation: ha-draw 2.8s cubic-bezier(.65,0,.35,1) .2s forwards; }
.is-live .ha-line { animation: ha-draw 2.3s cubic-bezier(.65,0,.35,1) .45s forwards; }
.is-live .ha-points circle { animation: ha-pop .45s cubic-bezier(.34,1.56,.64,1) forwards; animation-delay: calc(.45s + var(--p) * 2.3s); }
.is-live .ha-arrow polygon { animation: ha-pop .5s cubic-bezier(.34,1.56,.64,1) 2.65s forwards; }
.is-live .ha-pulse { animation: ha-pulse 2.4s ease-out 3s infinite; }
.is-live .ha-scan line { animation: ha-scan 4s cubic-bezier(.55,0,1,.45) infinite; animation-delay: calc(1.5s + var(--s) * 2s); }

@keyframes ha-fade { to { opacity: var(--o, 1); } }
@keyframes ha-bar { to { transform: scaleY(1); } }
@keyframes ha-draw { to { stroke-dashoffset: 0; } }
@keyframes ha-pop { to { transform: scale(1); opacity: 1; } }
@keyframes ha-pulse { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(3.2); } }
@keyframes ha-scan { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .5; } 100% { transform: translateY(180px); opacity: 0; } }
@keyframes ha-float { 0% { transform: translateY(40px); opacity: 0; } 20% { opacity: .8; } 80% { opacity: .5; } 100% { transform: translateY(-140px); opacity: 0; } }

.hero-anim.is-paused *, .hero-anim.is-paused { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  .ha-pulse, .ha-scan, .ha-particles { display: none; }
}

/* ==========================================================================
   Scroll choreography (scrollcraft engine, themed to the brand)
   ========================================================================== */
:root {
  --sc-canvas: var(--white);
  --sc-surface: var(--off-white);
  --sc-ink: var(--gray-900);
  --sc-ink-soft: var(--gray-600);
  --sc-accent: var(--red-500);
  --sc-accent-ink: var(--white);
  --sc-font-display: var(--font-head);
  --sc-font-text: var(--font-body);
}
body { letter-spacing: normal; }

/* If the engine never runs, nothing stays hidden. */
html:not(.sc-ready) [data-sc-cue] { opacity: 1; }

/* Word masks: room for Hebrew final letters (ק ך ן ף ץ) that drop below the baseline. */
.sc-split { padding-bottom: .16em; margin-bottom: -.16em; }

/* Hero: text drifts slower than the page and fades as the chart layer sinks behind it. */
.hero-layer { opacity: clamp(0, calc(1 - (var(--sc-p, .5) - .5) * 2.2), 1); }

/* Photos grow into place as they enter; the whole image always stays visible. */
.about-media, .pillar-media {
  transform: scale(clamp(.88, calc(.88 + var(--sc-p, 1) * .5), 1));
  transform-origin: 50% 100%;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) { .about-media, .pillar-media { transform: none; } }

/* Cards arrive one after another; hover stays quick once they have landed. */
.services-grid > [data-reveal].is-visible,
.process-list > [data-reveal].is-visible,
.testimonial-grid > [data-reveal].is-visible {
  animation: card-in .8s var(--ease-out) backwards;
  animation-delay: calc(var(--stagger, 0) * 90ms);
  transition: transform var(--dur-med) var(--ease-out), border-color var(--dur-med), box-shadow var(--dur-med);
}
@keyframes card-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.services-grid > :nth-child(5n+2), .process-list > :nth-child(2), .testimonial-grid > :nth-child(2) { --stagger: 1; }
.services-grid > :nth-child(5n+3), .process-list > :nth-child(3), .testimonial-grid > :nth-child(3) { --stagger: 2; }
.services-grid > :nth-child(5n+4), .process-list > :nth-child(4), .testimonial-grid > :nth-child(4) { --stagger: 3; }
.services-grid > :nth-child(5n+5) { --stagger: 4; }

/* Sections flow one after another with no held or stacked sections. Positions are
   measured with the photo zoom off, so it never skews the scroll timings. */
html.sc-measuring .about-media, html.sc-measuring .pillar-media { transform: none !important; }

/* Touch targets: at least 44px tall for links that sit alone on a line. */
.contact-line a { display: inline-block; padding-block: 10px; }
.footer-bottom a, .footer-col a { display: inline-block; padding-block: 11px; }
.footer-col ul { gap: 0; }

/* ==========================================================================
   Mobile performance
   ========================================================================== */
/* No live filters or backdrop blur: phones recompute them on every frame. */
.preloader-ring-svg { filter: none; }
.section-dark .stat-ring-item svg { filter: none; }
.hero .eyebrow, .section-dark .eyebrow {
  -webkit-backdrop-filter: none; backdrop-filter: none;
  background: rgba(255,255,255,.08);
}
.about-badge { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255,255,255,.96); }

/* The engine marks every cue and every split word for its own GPU layer; on a
   phone that is dozens of layers. Let the browser promote only what is moving. */
[data-sc-cue], .sc-split__i, .about-media, .pillar-media { will-change: auto; }

.testimonial-card::before { font-weight: 300; }

/* Hero: the intro draw plays everywhere; the looping extras are desktop only. */
@media (max-width: 767px) {
  .ha-particles, .ha-scan, .ha-comet { display: none; }
  .is-live .ha-pulse { animation: none; }
  .is-live .ha-spot { animation: ha-spot-in .8s ease-out 2.6s forwards; }
}
/* Nothing in the hero animates once it is off screen. */
.hero-anim.is-offscreen, .hero-anim.is-offscreen * { animation-play-state: paused !important; }

/* Desktop keeps the full glow; phones use the lighter version above. */
@media (min-width: 768px) {
  .ha-line:not(.ha-line-glow), .ha-arrow, .ha-comet { filter: url(#haGlow); }
  .ha-line-glow { display: none; }
  .preloader-ring-svg { filter: drop-shadow(0 0 8px rgba(232,83,107,.45)); }
  .section-dark .stat-ring-item svg { filter: drop-shadow(0 0 14px rgba(111,159,224,.18)); }
  .hero .eyebrow, .section-dark .eyebrow {
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    background: rgba(255,255,255,.06);
  }
  .about-badge {
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    background: rgba(255,255,255,.88);
  }
}
.testimonial-card::before { font-weight: 200; }

/* Contrast on dark backgrounds (WCAG AA for small text). */
.hero .eyebrow, .section-dark .eyebrow { color: #ff8a9b; }
.footer-disclaimer { color: rgba(255,255,255,.58); }

/* Featured review spans the full row above the others. */
.testimonial-card--featured { grid-column: 1 / -1; }
.testimonial-card--featured p { font-size: 1.1rem; line-height: 1.85; }
@media (min-width: 900px) {
  .testimonial-card--featured { padding: var(--sp-7) var(--sp-8); }
}
.testimonial-grid > :nth-child(5) { --stagger: 4; }

/* Phones: one continuous native scroll on one calm colour system: a single light
   canvas for every light section, with the dark sections as inset rounded cards.
   Desktop is untouched. */
@media (max-width: 767px) {
  main > section:not(.hero):not(.section-dark) { background: var(--white); }
  main > section.section-dark { box-shadow: none; margin-block: 12px; }

  /* One motion rhythm for every entrance on the page. */
  .services-grid > [data-reveal].is-visible,
  .process-list > [data-reveal].is-visible,
  .testimonial-grid > [data-reveal].is-visible { animation-delay: calc(var(--stagger, 0) * 50ms); }
}

/* Phones: one-shot text entrances (set up in main.js). */
.m-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
  transition-delay: calc((var(--order, 1) - 1) * 100ms);
}
.m-reveal.in { opacity: 1; transform: none; }
.m-kinetic .m-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(.45em);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
  transition-delay: calc((var(--order, 1) - 1) * 100ms + var(--i, 0) * 45ms);
}
.m-kinetic.in .m-word { opacity: 1; transform: none; }

/* Closed mobile menu: fully hidden. On short phones its content is taller than
   the screen and used to spill below the closed panel. */
.mobile-nav {
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  transition: transform var(--dur-med) var(--ease-out), visibility 0s linear var(--dur-med);
}
.mobile-nav.is-open {
  visibility: visible;
  transition: transform var(--dur-med) var(--ease-out), visibility 0s;
}

/* ==========================================================================
   Mobile-native layer (touch devices; desktop renders identically)
   ========================================================================== */
/* The browser's grey/blue tap flash; every control below has its own press state. */
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; }

/* No double-tap-zoom wait before a tap registers. */
a, button, label, select, summary, [role="button"] { touch-action: manipulation; }

/* Long-press must not select a control's label or open the link callout.
   Content links (phone, email, articles) stay selectable. */
button, .btn, .pillar-toggle, .nav-toggle, .mobile-nav-close, .header-icon-link,
.whatsapp-float, .hero-video-toggle, .main-nav a, .mobile-nav a, .social-row a {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* Press feedback for touch, where hover no longer gives any. */
@media (hover: none) {
  .article-card:active { transform: scale(.98); }
  .whatsapp-float:active { transform: scale(.92); }
  .header-icon-link:active, .nav-toggle:active, .social-row a:active,
  .mobile-nav a:active, .hero-video-toggle:active { opacity: .6; }
}

/* Safe areas (notch, Dynamic Island, home indicator). env() is 0 on desktop. */
.container {
  padding-left: max(var(--sp-5), env(safe-area-inset-left, 0px));
  padding-right: max(var(--sp-5), env(safe-area-inset-right, 0px));
}
@media (min-width: 768px) {
  .container {
    padding-left: max(var(--sp-7), env(safe-area-inset-left, 0px));
    padding-right: max(var(--sp-7), env(safe-area-inset-right, 0px));
  }
}
.site-header {
  padding-top: calc(8px + env(safe-area-inset-top, 0px));
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.site-header.is-scrolled { padding-top: calc(6px + env(safe-area-inset-top, 0px)); }
@media (max-width: 640px) {
  .site-header {
    padding-top: calc(6px + env(safe-area-inset-top, 0px));
    padding-left: max(10px, env(safe-area-inset-left, 0px));
    padding-right: max(10px, env(safe-area-inset-right, 0px));
  }
}
.whatsapp-float {
  bottom: calc(var(--sp-5) + env(safe-area-inset-bottom, 0px));
  inset-inline-end: calc(var(--sp-5) + env(safe-area-inset-left, 0px));
}
.hero-video-toggle {
  bottom: calc(var(--sp-6) + env(safe-area-inset-bottom, 0px));
  left: calc(var(--sp-6) + env(safe-area-inset-left, 0px));
}
.cookie-banner {
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  left: max(12px, env(safe-area-inset-left, 0px));
  right: max(12px, env(safe-area-inset-right, 0px));
}
.mobile-nav {
  padding-top: calc(var(--sp-6) + env(safe-area-inset-top, 0px));
  padding-bottom: calc(var(--sp-6) + env(safe-area-inset-bottom, 0px));
  padding-left: max(var(--sp-5), env(safe-area-inset-left, 0px));
  padding-right: max(var(--sp-5), env(safe-area-inset-right, 0px));
}
.site-footer { padding-bottom: calc(var(--sp-6) + env(safe-area-inset-bottom, 0px)); }

/* Partner strip: snaps gently, and a sideways swipe never turns into "back". */
@media (max-width: 859px) {
  .partners-grid { scroll-snap-type: x proximity; overscroll-behavior-x: contain; }
  .partner-logo { scroll-snap-align: start; }
}
