/* =========================================================
   DMaia AI Solutions — Landing Redesign
   Tokens + base + sections
   ========================================================= */

:root {
  /* Brand */
  --color-primary:    #ED1566;
  --color-secondary:  #0088CB;
  --color-accent:     #FFCB05;

  /* Neutrals */
  --color-text:       #0A0A0A;
  --color-text-muted: #5A5A5A;
  --color-border:     #E5E5E7;
  --color-border-strong: #B0B0B0;
  --color-bg:         #FFFFFF;
  --color-bg-alt:     #F7F7F8;
  --color-bg-elev:    #FFFFFF;
  --color-dark:       #0A0A0A;

  /* Surfaces */
  --color-card:       #FFFFFF;
  --color-card-border:#ECECEE;

  /* Gradients */
  --gradient-hero:    linear-gradient(135deg, #ED1566 0%, #0088CB 100%);
  --gradient-soft:    linear-gradient(180deg, #FFFFFF 0%, #F7F7F8 100%);

  /* Typography */
  --font-display: 'Rubik', 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Motion */
  --ease-brand: cubic-bezier(0.75, -0.02, 0.2, 0.97);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Spacing rhythm */
  --section-y: clamp(72px, 9vw, 128px);
  --container: 1240px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(10,10,10,.04), 0 1px 4px rgba(10,10,10,.04);
  --shadow-md: 0 8px 28px -12px rgba(10,10,10,.18), 0 2px 6px rgba(10,10,10,.04);
  --shadow-lg: 0 30px 80px -30px rgba(10,10,10,.28), 0 8px 20px -8px rgba(10,10,10,.10);
  --shadow-cta: 0 12px 28px -10px rgba(237,21,102,.55), 0 4px 10px -4px rgba(237,21,102,.30);
}

[data-theme="dark"] {
  --color-text:       #F2F2F4;
  --color-text-muted: #A3A3A8;
  --color-border:     #1F1F23;
  --color-border-strong: #2A2A30;
  --color-bg:         #0A0A0A;
  --color-bg-alt:     #111114;
  --color-bg-elev:    #15151A;
  --color-card:       #131318;
  --color-card-border:#1F1F25;
  --gradient-soft:    linear-gradient(180deg, #0A0A0A 0%, #111114 100%);
  --shadow-md: 0 8px 28px -12px rgba(0,0,0,.55), 0 2px 6px rgba(0,0,0,.30);
  --shadow-lg: 0 30px 80px -30px rgba(0,0,0,.75), 0 8px 20px -8px rgba(0,0,0,.40);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .4s var(--ease-soft), color .4s var(--ease-soft);
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform .4s var(--ease-brand),
              box-shadow .4s var(--ease-brand),
              background-color .25s var(--ease-soft),
              color .25s var(--ease-soft),
              border-color .25s var(--ease-soft);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform .4s var(--ease-brand); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover {
  background: #d80f5a;
  box-shadow: 0 18px 36px -10px rgba(237,21,102,.65), 0 6px 14px -4px rgba(237,21,102,.4);
}
.btn-secondary {
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(0,136,203,.55);
}
.btn-secondary:hover { background: #0079b6; }
.btn-accent {
  background: var(--color-accent);
  color: #0A0A0A;
  box-shadow: 0 12px 28px -10px rgba(255,203,5,.55);
}
.btn-accent:hover { background: #f1bf00; }
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
}
.btn-outline:hover {
  border-color: var(--color-text);
  background: var(--color-bg-alt);
}
.btn-ghost {
  background: transparent;
  color: var(--color-text);
  padding: 10px 14px;
}
.btn-ghost:hover { background: var(--color-bg-alt); }
.btn-dark {
  background: var(--color-text);
  color: var(--color-bg);
}
.btn-sm { padding: 10px 16px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 80px;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: height .35s var(--ease-soft), background-color .35s var(--ease-soft), border-color .35s var(--ease-soft);
}
[data-theme="dark"] .site-header {
  background: rgba(10,10,10,.72);
}
.site-header.scrolled {
  height: 64px;
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid var(--color-border);
}
[data-theme="dark"] .site-header.scrolled { background: rgba(10,10,10,.88); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--gradient-hero);
  display: grid; place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  font-family: var(--font-display);
  letter-spacing: 0;
  box-shadow: 0 4px 14px -4px rgba(237,21,102,.6);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-text);
  opacity: .85;
  transition: opacity .2s var(--ease-soft), background-color .2s var(--ease-soft);
}
.nav-links a:hover { opacity: 1; background: var(--color-bg-alt); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: transparent;
  border: 1px solid var(--color-border);
  transition: background-color .2s var(--ease-soft), transform .3s var(--ease-brand);
  color: var(--color-text);
}
.theme-toggle:hover { background: var(--color-bg-alt); transform: rotate(15deg); }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.hamburger { display: none; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--color-border); background: transparent; color: var(--color-text);
  align-items: center; justify-content: center; }

/* mobile nav drawer */
.mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(82vw, 360px);
  background: var(--color-bg);
  z-index: 100;
  transform: translateX(100%);
  transition: transform .4s var(--ease-brand);
  padding: 24px;
  border-left: 1px solid var(--color-border);
  display: flex; flex-direction: column; gap: 8px;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer .close {
  align-self: flex-end;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--color-bg-alt); border: none;
  display: grid; place-items: center;
}
.mobile-drawer a {
  padding: 14px 8px;
  border-bottom: 1px solid var(--color-border);
  font-weight: 500;
  font-size: 18px;
}
.mobile-drawer .btn { margin-top: 16px; justify-content: center; }
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(10,10,10,.4);
  z-index: 99;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease-soft);
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 var(--section-y);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(237,21,102,.18);
}
.hero h1 {
  font-size: clamp(48px, 7vw, 92px);
  margin: 18px 0 22px;
}
.hero h1 .grad {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .sub {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--color-text-muted);
  max-width: 56ch;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-credibility {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  font-size: 13.5px;
  color: var(--color-text-muted);
}
.hero-credibility .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--color-border-strong); }
.hero-credibility strong { color: var(--color-text); font-weight: 600; }

/* hero background mesh */
.hero-mesh {
  position: absolute;
  inset: -10% -5% auto -5%;
  height: 80%;
  z-index: -1;
  filter: blur(60px) saturate(140%);
  opacity: .35;
  pointer-events: none;
}
.hero-mesh::before, .hero-mesh::after {
  content: ""; position: absolute; border-radius: 50%;
  animation: drift 22s ease-in-out infinite alternate;
}
.hero-mesh::before {
  width: 520px; height: 520px;
  background: radial-gradient(circle at 30% 30%, #ED1566 0%, transparent 60%);
  top: -10%; left: -5%;
}
.hero-mesh::after {
  width: 560px; height: 560px;
  background: radial-gradient(circle at 70% 60%, #0088CB 0%, transparent 60%);
  top: 0; right: -8%;
  animation-delay: -7s;
}
@keyframes drift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(40px,30px,0) scale(1.08); }
}
[data-theme="dark"] .hero-mesh { opacity: .22; }

/* Hero dashboard visual */
.hero-visual {
  position: relative;
  aspect-ratio: 4/4.4;
  border-radius: var(--r-xl);
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  /* overflow:visible so .hero-floating can stick out as designed.
     Inner chart has its own overflow:hidden, so SVG lines stay clipped. */
  overflow: visible;
}
.hv-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.hv-title { font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: -0.01em;}
.hv-tag {
  font-size: 11px; padding: 4px 10px;
  background: rgba(0,136,203,.1); color: var(--color-secondary);
  border-radius: var(--r-pill); font-weight: 600;
}
.hv-kpis { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.hv-kpi {
  padding: 12px;
  border-radius: var(--r-md);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-card-border);
}
.hv-kpi .label { font-size: 11px; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;}
.hv-kpi .val { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin-top: 4px; letter-spacing: -0.02em;}
.hv-kpi .delta { font-size: 11px; font-weight: 600; }
.hv-kpi .delta.pos { color: #0a8a4a; }
.hv-kpi .delta.neg { color: var(--color-primary); }
.hv-chart {
  position: relative;
  height: 180px;
  border-radius: var(--r-md);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-card-border);
  padding: 14px;
  margin-bottom: 14px;
  overflow: hidden;
}
.hv-chart svg { width: 100%; height: 100%; overflow: visible; }
.hv-line {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hv-line.primary { stroke: var(--color-primary); }
.hv-line.alt { stroke: var(--color-secondary); stroke-dasharray: 4 4; opacity: .85; stroke-width: 2; }
.hv-area { fill: url(#hv-grad); opacity: .35; }
.hv-grid line { stroke: var(--color-border); stroke-width: 1; stroke-dasharray: 2 4; }
.hv-dotgroup { pointer-events: none; }
.hv-dot, .hv-halo {
  filter: drop-shadow(0 2px 6px rgba(237,21,102,.5));
}

/* Tooltip */
.hv-tooltip {
  position: absolute;
  pointer-events: none;
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  border-radius: 10px;
  padding: 6px 10px;
  box-shadow: var(--shadow-md);
  font-family: var(--font-body);
  transform: translate(-50%, -120%);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .4s ease, left .25s linear, top .25s linear;
}
.hv-tooltip.visible { opacity: 1; }
.hv-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 8px; height: 8px;
  background: var(--color-card);
  border-right: 1px solid var(--color-card-border);
  border-bottom: 1px solid var(--color-card-border);
  transform: translateX(-50%) rotate(45deg);
}
.hv-tt-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}
.hv-tt-label {
  font-size: 10px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-top: 1px;
}

/* Line draw-in on first reveal */
.hv-line.primary {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: drawLine 1.6s cubic-bezier(.5,0,.2,1) .4s forwards;
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }

.hv-bars { display: grid; grid-template-columns: repeat(7,1fr); gap: 6px; height: 70px; align-items: end; }
.hv-bars .bar {
  background: linear-gradient(to top, var(--color-secondary), rgba(0,136,203,.4));
  border-radius: 5px 5px 0 0;
  animation: barPop .6s var(--ease-brand) backwards;
}
.hv-bars .bar.accent { background: linear-gradient(to top, var(--color-primary), rgba(237,21,102,.4)); }
@keyframes barPop { from { transform: scaleY(.2); opacity: 0;} to { transform: scaleY(1); opacity: 1;} }

.hv-pulse {
  position: absolute;
  top: 22px; right: 22px;
  width: 8px; height: 8px; border-radius: 50%;
  background: #0a8a4a;
  box-shadow: 0 0 0 0 rgba(10,138,74,.6);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(10,138,74,.6); }
  100% { box-shadow: 0 0 0 16px rgba(10,138,74,0); }
}

.hero-floating {
  position: absolute;
  bottom: -18px;
  left: -28px;
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 12px 14px;
  display: flex; align-items: center; gap: 12px;
  animation: floatUp 4s ease-in-out infinite alternate;
}
@keyframes floatUp { from { transform: translateY(0);} to { transform: translateY(-10px);} }
.hero-floating .ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--gradient-hero);
  display: grid; place-items: center;
  color: #fff;
}
.hero-floating .text small { display: block; font-size: 11px; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;}
.hero-floating .text strong { font-family: var(--font-display); font-size: 15px; }

/* ---------- Trust strip ---------- */
.trust-strip {
  padding: 56px 0 64px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}
.trust-strip .label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}
.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; gap: 64px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.client-logo {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: 10px;
  height: 56px;
  padding: 0 8px;
  filter: grayscale(1);
  opacity: .55;
  transition: filter .3s var(--ease-soft), opacity .3s var(--ease-soft);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.client-logo:hover { filter: grayscale(0); opacity: 1; }
.client-logo .glyph {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--color-text);
  color: var(--color-bg);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 14px;
}
.client-logo .glyph.alt { background: var(--color-secondary); color:#fff;}
.client-logo .glyph.alt2 { background: var(--color-primary); color:#fff;}
.client-logo .glyph.alt3 { background: var(--color-accent); color:#0A0A0A;}
.client-logo small {
  display: block;
  font-size: 10px;
  color: var(--color-text-muted);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.client-logo .name { font-size: 17px; line-height: 1.1;}

/* ---------- Section heading ---------- */
.section { padding: var(--section-y) 0; }
.section-head {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-head.left { text-align: left; margin-left: 0; }
.section-head h2 {
  font-size: clamp(34px, 4.5vw, 56px);
}
.section-head p {
  margin-top: 14px;
  color: var(--color-text-muted);
  font-size: 17px;
}

/* ---------- Value pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pillar {
  position: relative;
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: transform .5s var(--ease-brand), box-shadow .5s var(--ease-brand), border-color .3s;
  overflow: hidden;
}
.pillar::after {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 220px; height: 220px;
  background: radial-gradient(circle, var(--accent-color, var(--color-primary)) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .5s var(--ease-soft);
  pointer-events: none;
}
.pillar:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-border-strong);
}
.pillar:hover::after { opacity: .18; }

/* ---------- About / Sobre Nosotros ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  align-items: center;
}
.about-copy h2 {
  font-size: clamp(34px, 4.5vw, 56px);
  margin: 14px 0 22px;
}
.about-copy p {
  color: var(--color-text-muted);
  font-size: 17px;
  line-height: 1.7;
  max-width: 52ch;
}
.about-copy p + p { margin-top: 16px; }
.about-copy .signature {
  margin-top: 28px;
  display: flex; align-items: center; gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--color-border);
}
.about-copy .sig-mark {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--gradient-hero);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
}
.about-copy .sig-text small { display: block; font-size: 12px; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: .12em; font-weight: 600;}
.about-copy .sig-text strong { font-family: var(--font-display); font-size: 15px;}
.about-copy .cta-row-about {
  margin-top: 28px;
  display: flex; gap: 12px; flex-wrap: wrap;
}

.sectors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.sector-tile {
  position: relative;
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  overflow: hidden;
  transition: transform .5s var(--ease-brand), box-shadow .5s var(--ease-brand), border-color .25s;
  min-height: 180px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0;
  transform: translateY(28px);
}
.sector-tile.in-view,
.sectors-grid.in-view .sector-tile {
  animation: tileIn .7s var(--ease-brand) forwards;
}
@keyframes tileIn {
  to { opacity: 1; transform: translateY(0); }
}
.sectors-grid.in-view .sector-tile:nth-child(1) { animation-delay: .05s; }
.sectors-grid.in-view .sector-tile:nth-child(2) { animation-delay: .18s; }
.sectors-grid.in-view .sector-tile:nth-child(3) { animation-delay: .31s; }
.sectors-grid.in-view .sector-tile:nth-child(4) { animation-delay: .44s; }
/* Persist the offset for tiles 2 and 4 after entry animation */
.sectors-grid.in-view .sector-tile.offset-1 {
  animation-name: tileInOffset;
}
@keyframes tileInOffset {
  from { opacity: 0; transform: translateY(48px); }
  to   { opacity: 1; transform: translateY(20px); }
}
.sector-tile:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-strong);
}
.sector-tile.offset-1:hover {
  transform: translateY(14px) !important;
}
.sector-tile .tile-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--tile-bg, rgba(237,21,102,.10));
  color: var(--tile-color, var(--color-primary));
  margin-bottom: 14px;
  transition: transform .55s var(--ease-brand), background-color .3s;
}
.sector-tile:hover .tile-icon {
  transform: rotate(-8deg) scale(1.1);
}
.sector-tile::before {
  content: "";
  position: absolute;
  inset: auto -30% -50% auto;
  width: 160px; height: 160px;
  background: radial-gradient(circle, var(--tile-color, var(--color-primary)) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .5s var(--ease-soft);
  pointer-events: none;
}
.sector-tile:hover::before { opacity: .12; }
.sector-tile h4 {
  font-size: 18px;
  margin-bottom: 4px;
}
.sector-tile p { font-size: 13px; color: var(--color-text-muted); line-height: 1.45;}
.sector-tile .tile-meta {
  margin-top: 14px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--tile-color, var(--color-primary));
}
.sector-tile .tile-meta .bar {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: var(--color-bg-alt);
  overflow: hidden;
  position: relative;
}
.sector-tile .tile-meta .bar::after {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: var(--bar, 60%);
  background: var(--tile-color, var(--color-primary));
  border-radius: 4px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease-brand);
  transition-delay: .35s;
}
.sector-tile.in-view .tile-meta .bar::after,
.sectors-grid.in-view .sector-tile .tile-meta .bar::after { transform: scaleX(1); }
.sectors-grid.in-view .sector-tile:nth-child(2) .tile-meta .bar::after { transition-delay: .48s; }
.sectors-grid.in-view .sector-tile:nth-child(3) .tile-meta .bar::after { transition-delay: .61s; }
.sectors-grid.in-view .sector-tile:nth-child(4) .tile-meta .bar::after { transition-delay: .74s; }
@keyframes barFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.sector-tile.offset-1 { transform: translateY(20px); }
.sector-tile.offset-1:hover { transform: translateY(14px); }

/* highlight on stat numbers in about copy */
.stat-hl {
  position: relative;
  display: inline-block;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}
.stat-hl::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px; bottom: 2px;
  height: 8px;
  background: linear-gradient(90deg, rgba(237,21,102,.25), rgba(0,136,203,.25));
  border-radius: 4px;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .9s var(--ease-brand);
  transition-delay: var(--hl-delay, 0s);
}
.about-copy.in-view .stat-hl::after { transform: scaleX(1); }

.about-copy .sig-mark {
  animation: sigPulse 3.5s ease-in-out infinite;
}
@keyframes sigPulse {
  0%, 100% { box-shadow: 0 4px 14px -4px rgba(237,21,102,.5); }
  50%      { box-shadow: 0 6px 22px -2px rgba(237,21,102,.8); }
}
.pillar .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--color-text-muted);
  margin-bottom: 18px;
}
.pillar .icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: var(--accent-bg, rgba(237,21,102,.1));
  color: var(--accent-color, var(--color-primary));
  display: grid; place-items: center;
  margin-bottom: 22px;
  transition: transform .5s var(--ease-brand);
}
.pillar.in-view .icon { animation: iconPop .7s var(--ease-brand);}
@keyframes iconPop {
  0% { transform: scale(.5) rotate(-12deg); opacity: 0;}
  60% { transform: scale(1.1) rotate(4deg);}
  100% { transform: scale(1) rotate(0); opacity: 1;}
}
.pillar h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.pillar p { color: var(--color-text-muted); font-size: 15px; line-height: 1.6; }

/* ---------- Solutions tabs ---------- */
.solutions-wrap {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  align-items: start;
}
.tab-list {
  display: flex; flex-direction: column; gap: 6px;
  position: relative;
}
.tab-indicator {
  position: absolute;
  left: 0;
  width: 3px;
  border-radius: 3px;
  background: var(--gradient-hero);
  transition: top .55s var(--ease-brand), height .55s var(--ease-brand), opacity .3s;
  pointer-events: none;
  box-shadow: 0 0 16px rgba(237,21,102,.5);
  opacity: 0;
}
@media (max-width: 1024px) {
  .tab-indicator { display: none; }
}
.tab-btn {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 18px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  background: transparent;
  color: var(--color-text);
  text-align: left;
  font-weight: 500;
  font-size: 16px;
  transition: background-color .25s var(--ease-soft), border-color .25s, transform .3s var(--ease-brand), padding-left .35s var(--ease-brand);
  position: relative;
}
.tab-btn:hover { background: var(--color-bg-alt); }
.tab-btn[aria-selected="true"] {
  background: var(--color-bg-alt);
  border-color: var(--color-card-border);
  padding-left: 26px;
}
.tab-btn .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  width: 28px; height: 28px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: var(--color-bg);
  border: 1px solid var(--color-card-border);
  color: var(--color-text-muted);
  flex: 0 0 auto;
  transition: all .25s;
}
.tab-btn[aria-selected="true"] .num {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.tab-btn .chev { margin-left: auto; opacity: 0; transition: opacity .25s, transform .25s var(--ease-brand); }
.tab-btn[aria-selected="true"] .chev { opacity: 1; transform: translateX(2px); color: var(--color-primary); }

.tab-panels {
  position: relative;
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  border-radius: var(--r-lg);
  padding: 40px;
  min-height: 380px;
  overflow: hidden;
}
.tab-panels::before {
  content:"";
  position: absolute; top: 0; right: 0; width: 280px; height: 280px;
  background: radial-gradient(circle at top right, rgba(237,21,102,.08), transparent 70%);
  pointer-events: none;
}
.tab-panel {
  display: none;
  animation: fadeUp .4s var(--ease-soft) both;
}
.tab-panel.active { display: block; }
.tab-panel.active .kicker     { animation: panelIn .55s var(--ease-brand) both;                    animation-delay: .05s; }
.tab-panel.active h3          { animation: panelIn .55s var(--ease-brand) both;                    animation-delay: .12s; }
.tab-panel.active > p         { animation: panelIn .55s var(--ease-brand) both;                    animation-delay: .20s; }
.tab-panel.active .tab-features li:nth-child(1) { animation: panelIn .55s var(--ease-brand) both; animation-delay: .28s; }
.tab-panel.active .tab-features li:nth-child(2) { animation: panelIn .55s var(--ease-brand) both; animation-delay: .34s; }
.tab-panel.active .tab-features li:nth-child(3) { animation: panelIn .55s var(--ease-brand) both; animation-delay: .40s; }
.tab-panel.active .tab-features li:nth-child(4) { animation: panelIn .55s var(--ease-brand) both; animation-delay: .46s; }
.tab-panel.active .cta-row    { animation: panelIn .55s var(--ease-brand) both;                    animation-delay: .54s; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.tab-panel.active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px);}
  to { opacity: 1; transform: translateY(0);}
}
.tab-panel .kicker {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 14px;
}
.tab-panel h3 {
  font-size: clamp(28px, 3vw, 36px);
  margin-bottom: 14px;
}
.tab-panel > p {
  color: var(--color-text-muted);
  font-size: 17px;
  max-width: 60ch;
  margin-bottom: 28px;
  line-height: 1.6;
}
.tab-features {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.tab-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px;
  color: var(--color-text);
}
.tab-features li svg { flex: 0 0 auto; margin-top: 2px; color: var(--color-secondary);}
.cta-row {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}
.cta-row .label {
  flex: 1 1 100%;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 4px;
}

/* ---------- Stats banner ---------- */
.stats-banner {
  background: var(--gradient-hero);
  color: #fff;
  padding: clamp(64px, 8vw, 96px) 0;
  position: relative;
  overflow: hidden;
}
.stats-banner::before {
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.18), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,203,5,.20), transparent 50%);
  pointer-events: none;
}
.stats-banner .container { position: relative; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 28px;
}
.stat {
  text-align: left;
}
.stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 8vw, 88px);
  line-height: 1;
  letter-spacing: -0.04em;
  display: flex; align-items: baseline; gap: 4px;
}
.stat .num .plus { font-size: 0.6em; opacity: .9;}
.stat .label {
  margin-top: 12px;
  font-size: 15px;
  opacity: .9;
  max-width: 22ch;
}
.stats-foot {
  border-top: 1px solid rgba(255,255,255,.2);
  padding-top: 20px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  font-size: 13.5px;
  opacity: .95;
}
.stats-foot .sectors { display: flex; gap: 18px; flex-wrap: wrap; }
.stats-foot .sectors span { display: flex; align-items: center; gap: 8px;}
.stats-foot .sectors span::before { content:""; width: 6px; height: 6px; border-radius: 50%; background:#fff; opacity:.7;}

/* ---------- Testimonials ---------- */
.testimonials-wrap { position: relative; }
.t-carousel {
  position: relative;
  overflow: hidden;
}
.t-track {
  display: flex;
  transition: transform .7s var(--ease-brand);
}
.t-card {
  flex: 0 0 100%;
  padding: 0 6px;
}
.t-inner {
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 56px);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-md);
}
.t-side {
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
}
.t-logo {
  width: 80px; height: 80px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  background: var(--color-bg-alt);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
}
.t-meta { font-size: 13px; color: var(--color-text-muted);}
.t-meta strong { display: block; color: var(--color-text); font-size: 15px; font-weight: 600;}
.t-quote-mark { font-family: var(--font-display); font-size: 64px; line-height: .8; color: var(--color-primary); margin-bottom: 8px;}
.t-quote { font-family: var(--font-display); font-size: clamp(20px, 2vw, 26px); line-height: 1.4; font-weight: 500; letter-spacing: -0.01em; }
.t-metric {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(0,136,203,.1);
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 13px;
}

.t-controls {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 28px;
}
.t-arrows { display: flex; gap: 8px; }
.t-arrows button {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--color-border-strong);
  background: var(--color-card);
  color: var(--color-text);
  display: grid; place-items: center;
  transition: background-color .2s, transform .3s var(--ease-brand), color .2s, border-color .2s;
}
.t-arrows button:hover { background: var(--color-text); color: var(--color-bg); border-color: var(--color-text);}
.t-dots { display: flex; gap: 8px;}
.t-dots button {
  width: 8px; height: 8px; border-radius: 50%;
  border: none; background: var(--color-border-strong); opacity: .5;
  padding: 0;
  transition: all .3s var(--ease-brand);
}
.t-dots button[aria-current="true"] {
  background: var(--color-primary);
  width: 28px;
  border-radius: 999px;
  opacity: 1;
}
.t-foot { text-align: center; margin-top: 36px;}

/* ---------- Process timeline ---------- */
.process { position: relative; }
.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.process-line {
  position: absolute;
  top: 32px; left: 8%; right: 8%;
  height: 2px;
  background: var(--color-border);
  border-radius: 2px;
  overflow: hidden;
}
.process-line .fill {
  position: absolute; inset: 0 100% 0 0;
  background: var(--gradient-hero);
  transition: right .8s var(--ease-brand);
}
.step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step .ring {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  margin: 0 auto 18px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--color-text-muted);
  transition: all .5s var(--ease-brand);
  position: relative;
}
.step.active .ring {
  background: var(--gradient-hero);
  color: #fff;
  border-color: transparent;
  transform: scale(1.08);
  box-shadow: 0 12px 30px -8px rgba(237,21,102,.5);
}
.step h4 {
  font-size: 17px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.step p { color: var(--color-text-muted); font-size: 14px; line-height: 1.5;}

/* ---------- Mid CTA ---------- */
.mid-cta {
  background: var(--color-dark);
  color: #F2F2F4;
  padding: clamp(56px, 7vw, 96px) 0;
  position: relative;
  overflow: hidden;
}
.mid-cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(237,21,102,.35), transparent 50%),
    radial-gradient(ellipse at 100% 0%, rgba(0,136,203,.30), transparent 50%);
  opacity: .9;
  pointer-events: none;
}
.mid-cta::after {
  content:""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
  pointer-events: none;
}
.mid-cta .container { position: relative; z-index: 1; }
.mid-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.mid-cta h2 {
  font-size: clamp(34px, 4.5vw, 56px);
  margin-bottom: 18px;
}
.mid-cta p { color: rgba(255,255,255,.78); font-size: 17px; max-width: 50ch;}
.mid-cta .mc-trust {
  margin-top: 28px;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,.78);
}
.mid-cta .mc-trust span { display: flex; align-items: center; gap: 10px;}

.form-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-lg);
  padding: 28px;
  backdrop-filter: blur(8px);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-family: inherit;
  font-size: 14.5px;
  transition: border-color .2s, background-color .2s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.4);}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(255,255,255,.10);
}
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;}
/* Native dropdown list — force readable colors so options aren't white-on-white
   on Windows when the parent select inherits color:#fff. */
.field select option {
  background-color: #1a1a1c;
  color: #fff;
}
.field select option:checked,
.field select option:hover {
  background-color: var(--color-primary);
  color: #fff;
}
.field textarea { min-height: 88px; resize: vertical;}
.form-card .btn { width: 100%; justify-content: center; margin-top: 10px;}
.form-foot {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255,255,255,.55);
  display: flex; align-items: center; gap: 8px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-grid h5 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 18px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px;}
.footer-grid a { font-size: 14.5px; opacity: .85; transition: opacity .2s, color .2s;}
.footer-grid a:hover { opacity: 1; color: var(--color-primary);}
.brand-block .tagline { color: var(--color-text-muted); font-size: 14px; max-width: 30ch; margin: 14px 0 22px;}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  transition: background-color .2s, color .2s, transform .3s var(--ease-brand);
}
.socials a:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); transform: translateY(-3px);}
.contact-block .addr { font-size: 14px; color: var(--color-text-muted); line-height: 1.6;}
.contact-block .addr strong { color: var(--color-text); font-weight: 600;}
.newsletter {
  margin-top: 18px;
  display: flex; gap: 6px;
  padding: 6px;
  border: 1px solid var(--color-border);
  border-radius: var(--r-pill);
  background: var(--color-bg-alt);
}
.newsletter input {
  flex: 1;
  border: none; background: transparent;
  padding: 8px 12px;
  font-family: inherit; font-size: 14px;
  color: var(--color-text);
}
.newsletter input:focus { outline: none; }
.newsletter button {
  border: none; padding: 10px 16px;
  border-radius: var(--r-pill);
  background: var(--color-primary);
  color: #fff;
  font-weight: 600; font-size: 13px;
}

.footer-bot {
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ---------- Modals ---------- */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(10,10,10,.55);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn .25s var(--ease-soft);
}
.modal-backdrop.open { display: flex; }
@keyframes fadeIn { from { opacity: 0;} to {opacity: 1;}}
.modal {
  width: 100%;
  max-width: 560px;
  background: var(--color-card);
  border: 1px solid var(--color-card-border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  animation: modalIn .35s var(--ease-brand);
  max-height: 90vh;
  overflow-y: auto;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(.94) translateY(8px);}
  to { opacity: 1; transform: scale(1) translateY(0);}
}
.modal h3 { font-size: 26px; margin-bottom: 8px;}
.modal .lead { color: var(--color-text-muted); margin-bottom: 22px; font-size: 15px;}
.modal .close-btn {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  display: grid; place-items: center;
}
.modal-inner { position: relative; }
.modal .form-grid input, .modal .form-grid select, .modal .form-grid textarea {
  background: var(--color-bg-alt);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.modal .form-grid label { color: var(--color-text-muted); }
.modal .form-grid input::placeholder, .modal .form-grid textarea::placeholder { color: var(--color-text-muted); opacity: .65;}
.modal .form-grid .btn { margin-top: 6px;}
.modal .accent-bar {
  height: 4px; width: 56px;
  border-radius: 4px;
  margin-bottom: 18px;
}

/* fab button mobile */
.fab {
  position: fixed;
  bottom: 22px; right: 22px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  display: none;
  align-items: center; justify-content: center;
  box-shadow: var(--shadow-cta);
  z-index: 40;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease-soft), transform .8s var(--ease-brand);
}
.reveal.in-view {
  opacity: 1; transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px;}
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%;}
  .pillars { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .sector-tile.offset-1 { transform: none; }
  .solutions-wrap { grid-template-columns: 1fr; }
  .tab-list { flex-direction: row; flex-wrap: wrap; }
  .tab-btn { flex: 1 1 calc(50% - 6px); min-width: 200px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .process-track { grid-template-columns: 1fr; gap: 28px; }
  .process-line { display: none; }
  .step { display: grid; grid-template-columns: 64px 1fr; text-align: left; gap: 16px; align-items: start;}
  .step .ring { margin: 0;}
  .mid-cta-grid { grid-template-columns: 1fr; gap: 36px;}
  .t-inner { grid-template-columns: 1fr; gap: 16px;}
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta .btn { display: none; }
  .hamburger { display: flex; }
  .fab { display: flex; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px;}
  .tab-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px;}
  .hero { padding-top: 40px;}
  .tab-panels { padding: 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .stats-foot { flex-direction: column; align-items: flex-start;}
  .hero-floating { left: 8px; bottom: 8px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .tab-btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  /* Respect the user's OS preference for less motion: skip looping decorative
     animations and reveal-on-scroll transitions, but DO NOT touch hover/focus
     transitions or tab cross-fades — content should still feel responsive. */
  html { scroll-behavior: auto; }
  .reveal, .pillar {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hv-bars .bar, .hero-floating, .hv-pulse {
    animation: none !important;
  }
  .tab-panel.active {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
