/*
Theme Name: Tecnia
Theme URI: https://tecnia.ai
Author: Tecnia
Author URI: https://tecnia.ai
Description: Tema oficial de Tecnia — landing moderna con IA, automatización y formulario de pedidos integrado. Listo para Elementor: incluye plantillas de Elementor Canvas y Header+Footer, soporte completo de Elementor Pro y página de Política de Privacidad lista para verificación de Meta.
Version: 2.0.1
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tecnia
Tags: ai, automation, business, one-page, custom-menu, custom-colors, full-width-template, elementor
*/

/* ============================================================
   TECNIA — Brand-aligned rebuild
   Identity: Purple #4016AC · Lime #98C32D · Ink #1E1E1E · White
   Voice: Profesional, cercano, claro. IA + automatización + impacto.
   ============================================================ */

:root {
  /* ---- Brand palette ---- */
  --violet:        #4016AC;
  --violet-deep:   #2A0E80;
  --violet-darker: #1A0852;
  --violet-soft:   rgba(64, 22, 172, 0.08);
  --violet-glow:   rgba(91, 45, 220, 0.55);

  --lime:          #98C32D;
  --lime-bright:   #B6E03F;
  --lime-soft:     rgba(152, 195, 45, 0.14);

  --ink:           #1E1E1E;
  --ink-2:         #2A2A2A;
  --bg:            #FFFFFF;
  --bg-soft:       #F7F6FB;
  --bg-violet:     #F4F1FB;

  --line:          rgba(30, 30, 30, 0.10);
  --line-strong:   rgba(30, 30, 30, 0.20);

  --text:          #1E1E1E;
  --text-dim:      #5A5A66;
  --text-faint:    #8E8E9A;

  /* Dark surfaces (hero/footer) */
  --dark-bg:       #07051A;     /* deep violet-black */
  --dark-bg-2:     #0E0930;
  --dark-line:     rgba(255,255,255,0.08);
  --dark-line-2:   rgba(255,255,255,0.16);
  --dark-text:     #FFFFFF;
  --dark-text-dim: rgba(255,255,255,0.72);
  --dark-text-faint: rgba(255,255,255,0.48);

  /* Type */
  --font-display: "Poppins", -apple-system, system-ui, sans-serif;
  --font-body:    "Poppins", -apple-system, system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Radii */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-2xl: 44px;

  /* Layout */
  --maxw: 1240px;
  --pad-x: clamp(20px, 4vw, 56px);

  /* Aliases for legacy refs in markup */
  --accent: var(--violet);
  --accent-hover: var(--violet-deep);
  --accent-soft: var(--violet-soft);
  --surface: #FFFFFF;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  line-height: 1.55;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.h-display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}
.h-1 { font-size: clamp(44px, 6.4vw, 92px); }
.h-2 { font-size: clamp(34px, 4.4vw, 60px); font-weight: 600; }
.h-3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--violet);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--violet);
  display: inline-block;
}

.lead {
  font-size: clamp(16px, 1.2vw, 18px);
  color: var(--text-dim);
  max-width: 52ch;
  line-height: 1.6;
}

.accent-text { color: var(--violet); }
.lime-text   { color: var(--lime); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, box-shadow .25s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-arrow { display: inline-grid; place-items: center; transition: transform .25s ease; }
.btn:hover .btn-arrow { transform: translate(3px, -2px); }

.btn-primary {
  background: var(--lime);
  color: #102100;
  box-shadow: 0 10px 28px -10px rgba(152,195,45,0.55);
}
.btn-primary:hover { background: var(--lime-bright); transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(152,195,45,0.7); }

.btn-violet {
  background: var(--violet);
  color: #FFFFFF;
  box-shadow: 0 10px 28px -10px rgba(64,22,172,0.45);
}
.btn-violet:hover { background: var(--violet-deep); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }

.btn-ghost-dark {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.22);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7,5,26, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: #FFFFFF;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.92);
  color: var(--text);
  border-bottom-color: var(--line);
}
.site-header.scrolled .nav-links a { color: var(--text-dim); }
.site-header.scrolled .nav-links a:hover { color: var(--violet); }
.site-header.scrolled .brand { color: var(--text); }
.site-header.scrolled .nav-links a::after { background: var(--violet); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.brand-logo { display: inline-flex; align-items: center; height: 38px; position: relative; }
.brand-logo svg, .brand-logo img { height: 38px; width: auto; display: block; }
/* Toggle wordmark variants based on header scroll state */
.brand-logo .logo-light { display: none; }
.site-header.scrolled .brand-logo .logo-dark { display: none; }
.site-header.scrolled .brand-logo .logo-light { display: block; }
/* Legacy SVG glyph rules kept in case of fallback */
.brand-logo .glyph { fill: #6938E3; transition: fill .25s ease; }
.site-header.scrolled .brand-logo .glyph { fill: var(--violet); }
.brand-logo-on-dark .glyph { fill: #6938E3; }

.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
}
.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  position: relative;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--lime-bright); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  opacity: .85;
  place-items: center;
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(360px, 92vw);
  background: var(--dark-bg);
  color: #FFFFFF;
  border-left: 1px solid var(--dark-line);
  z-index: 60;
  transform: translateX(110%);
  transition: transform .3s cubic-bezier(.4,.0,.2,1);
  display: flex; flex-direction: column;
  padding: 24px;
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.drawer-links { display: flex; flex-direction: column; gap: 6px; }
.drawer-links a {
  padding: 14px 12px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid var(--dark-line);
}
.drawer-cta { margin-top: auto; padding-top: 24px; }
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 55;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }

/* ============================================================
   HERO  (dark, wave particles, brand signature)
   ============================================================ */
.hero {
  position: relative;
  background: var(--dark-bg);
  color: #FFFFFF;
  overflow: hidden;
  padding: clamp(80px, 12vw, 140px) 0 clamp(80px, 10vw, 120px);
  margin-top: -78px;     /* underlap sticky header so it overlays the hero */
  padding-top: clamp(140px, 18vw, 220px);
  isolation: isolate;
}

/* Layered violet glows */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(91,45,220,0.55), transparent 60%),
    radial-gradient(ellipse 70% 60% at 20% 80%, rgba(64,22,172,0.40), transparent 60%),
    linear-gradient(180deg, #0B0526 0%, #07051A 60%, #050310 100%);
}

/* Animated dot-wave (signature of brand boards) */
.hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 60%;
  z-index: -1;
  pointer-events: none;
  opacity: .85;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero-wave svg { width: 100%; height: 100%; display: block; }

/* Sparkle accents */
.hero-sparkle {
  position: absolute;
  z-index: -1;
  color: rgba(180, 140, 255, 0.75);
  filter: drop-shadow(0 0 16px rgba(120, 80, 255, 0.6));
  animation: hero-twinkle 4s ease-in-out infinite;
}
.hero-sparkle.s1 { top: 18%; left: 6%; width: 28px; height: 28px; }
.hero-sparkle.s2 { top: 32%; right: 9%; width: 42px; height: 42px; animation-delay: 1.2s; }
.hero-sparkle.s3 { bottom: 24%; right: 22%; width: 22px; height: 22px; animation-delay: 2s; color: rgba(182, 224, 63, 0.9); filter: drop-shadow(0 0 14px rgba(152,195,45,0.55)); }
.hero-sparkle.s4 { bottom: 32%; left: 14%; width: 18px; height: 18px; animation-delay: 0.6s; }
@keyframes hero-twinkle {
  0%, 100% { opacity: .35; transform: rotate(0deg) scale(.9); }
  50%      { opacity: 1;   transform: rotate(20deg) scale(1.12); }
}

.hero .container { position: relative; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
}
.hero-eyebrow .pulse {
  background: var(--lime);
  color: #102100;
  padding: 3px 9px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.hero-eyebrow .pulse::before {
  content: "";
  width: 6px; height: 6px;
  background: #102100;
  border-radius: 50%;
  animation: dot-pulse 1.2s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .25; }
}

.hero h1.h-display {
  max-width: 18ch;
  margin-bottom: 28px;
}
.hero h1 .accent { color: #C8B3FF; }
.hero h1 .lime { color: var(--lime-bright); position: relative; display: inline-block; }
.hero h1 .lime::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 3px;
  background: var(--lime);
  border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  animation: lime-underline 1.2s .4s ease forwards;
}
@keyframes lime-underline { to { transform: scaleX(1); } }

.hero-sub {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--dark-text-dim);
  max-width: 58ch;
  margin: 0 0 36px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.trust {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  margin-bottom: 64px;
}
.trust .dash { width: 28px; height: 1px; background: rgba(255,255,255,0.18); }
.trust .item { color: rgba(255,255,255,0.78); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 36px;
}
.hero-stat {
  padding: 4px 24px 4px 0;
  border-right: 1px solid rgba(255,255,255,0.10);
}
.hero-stat:last-child { border-right: none; }
.hero-stat .val {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 3.6vw, 50px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: #FFFFFF;
  display: flex; align-items: baseline; gap: 2px;
}
.hero-stat .val .unit { font-size: 0.45em; color: var(--lime); font-weight: 500; letter-spacing: 0; }
.hero-stat .lbl {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: clamp(80px, 9vw, 140px) 0; position: relative; }
.section.alt { background: var(--bg-soft); }
.section.violet-bg { background: var(--bg-violet); }

.section-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head h2 { margin-top: 14px; max-width: 16ch; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.about-pillars {
  display: grid;
  gap: 22px;
}
.pillar {
  position: relative;
  padding: 22px 22px 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #FFFFFF;
  transition: border-color .2s ease, transform .25s ease;
}
.pillar::before {
  content: "";
  position: absolute;
  left: 0; top: 16px; bottom: 16px;
  width: 3px;
  background: var(--violet);
  border-radius: 2px;
}
.pillar:nth-child(2)::before { background: var(--lime); }
.pillar:nth-child(3)::before { background: var(--ink); }
.pillar:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.pillar h4 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.pillar p { margin: 0; color: var(--text-dim); font-size: 14.5px; line-height: 1.55; }

.about-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, #0E0930 0%, #07051A 100%);
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(91,45,220,0.45), transparent 60%);
}
.about-visual svg { position: relative; width: 100%; height: 100%; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.service-card {
  position: relative;
  grid-column: span 2;
  padding: 28px;
  border-radius: var(--r-lg);
  background: #FFFFFF;
  border: 1px solid var(--line);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .25s ease, border-color .25s ease, box-shadow .3s ease;
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: auto -40% -40% auto;
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--violet-soft), transparent 70%);
  opacity: 0; transition: opacity .35s ease;
  pointer-events: none;
}
.service-card:hover { transform: translateY(-3px); border-color: var(--violet); box-shadow: 0 24px 60px -30px rgba(64,22,172,0.30); }
.service-card:hover::after { opacity: 1; }

.service-card.feature {
  grid-column: span 3;
  background: linear-gradient(135deg, #2A0E80 0%, #4016AC 100%);
  color: #FFFFFF;
  border-color: transparent;
  min-height: 280px;
}
.service-card.feature::after { display: none; }
.service-card.feature .icon { color: var(--lime); background: rgba(255,255,255,0.10); }
.service-card.feature p { color: rgba(255,255,255,0.82); }
.service-card.feature .corner { color: #FFFFFF; border-color: rgba(255,255,255,0.25); }
.service-card.span3 { grid-column: span 3; }

.service-card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--violet-soft);
  color: var(--violet);
  margin-bottom: 20px;
}
.service-card .icon svg { width: 22px; height: 22px; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}
.service-card p {
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.55;
}
.service-card .corner {
  position: absolute;
  top: 24px; right: 24px;
  width: 34px; height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  display: grid; place-items: center;
  transition: background .2s ease, color .2s ease, transform .25s ease;
}
.service-card:hover .corner { background: var(--violet); color: #FFFFFF; border-color: var(--violet); transform: rotate(-45deg); }
.service-card.feature:hover .corner { background: var(--lime); color: #102100; border-color: var(--lime); }

/* ============================================================
   SECTORS
   ============================================================ */
.sectors { background: var(--ink); color: #FFFFFF; position: relative; overflow: hidden; }
.sectors::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(91,45,220,0.30), transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 100%, rgba(152,195,45,0.10), transparent 60%);
  pointer-events: none;
}
.sectors .container { position: relative; }
.sectors .eyebrow { color: var(--lime); }
.sectors .eyebrow::before { background: var(--lime); }
.sectors .lead { color: rgba(255,255,255,0.72); }

.sectors-list { display: grid; gap: 0; }
.sector-row {
  display: grid;
  grid-template-columns: 80px 1.2fr 2fr 60px;
  align-items: center;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.10);
  transition: padding .3s ease;
}
.sector-row:last-child { border-bottom: 1px solid rgba(255,255,255,0.10); }
.sector-row:hover { padding-left: 16px; }
.sector-row .num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.1em;
}
.sector-row h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.015em;
  margin: 0;
  transition: color .25s ease;
}
.sector-row:hover h3 { color: var(--lime); }
.sector-row p {
  color: rgba(255,255,255,0.68);
  margin: 0;
  font-size: 15px;
  max-width: 50ch;
}
.sector-row .arrow {
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  display: grid; place-items: center;
  transition: background .25s, border-color .25s, color .25s, transform .25s;
}
.sector-row:hover .arrow { background: var(--lime); border-color: var(--lime); color: #102100; transform: rotate(-45deg); }

/* ============================================================
   PLATFORM
   ============================================================ */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.platform-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 440px;
  transition: border-color .25s, transform .25s, box-shadow .3s;
}
.platform-card:hover { transform: translateY(-3px); border-color: var(--violet); box-shadow: 0 24px 60px -30px rgba(64,22,172,0.20); }
.platform-card h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.4vw, 22px);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.2;
  max-width: 18ch;
}
.platform-card p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  max-width: 36ch;
}
.platform-card .demo {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  width: 100%;
}

/* ---- Shared product mock chrome (cards 1, 2, 3) ---- */
.mock {
  width: 100%;
  height: 240px;
  background: linear-gradient(180deg, #14101F 0%, #0A0814 100%);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: var(--font-display);
  color: #E7ECEF;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 18px 40px -24px rgba(64,22,172,0.55);
}
.mock-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.025);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  flex-shrink: 0;
}
.mock-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.mock-dot.r { background: #FF5F57; }
.mock-dot.y { background: #FEBC2E; }
.mock-dot.g { background: #28C840; }
.mock-title {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  margin-left: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-pill {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(91,45,220,0.18);
  border: 1px solid rgba(91,45,220,0.4);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  color: #C9B7FF;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.mock-pill-lime {
  background: rgba(182,224,63,0.12);
  border-color: rgba(182,224,63,0.45);
  color: #B6E03F;
}
.mock-pill-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 currentColor;
  animation: mock-pulse 1.6s ease-out infinite;
  opacity: .9;
}
@keyframes mock-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(182,224,63,0.55); }
  70%  { box-shadow: 0 0 0 5px rgba(182,224,63,0); }
  100% { box-shadow: 0 0 0 0 rgba(182,224,63,0); }
}
.mock-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
  flex-shrink: 0;
}
.mock-foot-meta {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.mock-foot-meta.accent { color: #B6E03F; }

/* ---- Card 1: Workflow canvas ---- */
.mock-flow-body {
  position: relative;
  flex: 1;
  min-height: 0;
}
.mock-flow-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.flow-link {
  stroke-linecap: round;
  stroke-dasharray: 4 3;
  opacity: .9;
}
.flow-link.active {
  stroke-dasharray: 5 3;
  animation: flow-dash 1.4s linear infinite;
}
@keyframes flow-dash {
  to { stroke-dashoffset: -16; }
}
.flow-pulse {
  filter: drop-shadow(0 0 6px rgba(182,224,63,0.9));
}
.flow-node {
  position: absolute;
  left: calc(var(--x) * (100% / 320));
  top: calc(var(--y) * (100% / 180));
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px 3px 4px;
  background: linear-gradient(180deg, rgba(40,30,70,0.95), rgba(20,16,40,0.95));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 6px;
  font-size: 9.5px;
  color: rgba(255,255,255,0.92);
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 4px 12px -6px rgba(0,0,0,0.8);
}
.flow-node.n-ai {
  border-color: rgba(91,45,220,0.7);
  background: linear-gradient(180deg, rgba(91,45,220,0.4), rgba(64,22,172,0.4));
  padding-right: 4px;
}
.flow-node-icon {
  width: 16px; height: 16px;
  border-radius: 4px;
  display: grid; place-items: center;
  flex-shrink: 0;
  color: #FFFFFF;
}
.flow-node-icon.ic-wsp { background: #25D366; }
.flow-node-icon.ic-mail { background: #4016AC; }
.flow-node-icon.ic-ai { background: #B6E03F; color: #0A0814; }
.flow-node-icon.ic-crm { background: #5B2DDC; }
.flow-node-icon.ic-cal { background: #F59E0B; color: #FFFFFF; }
.flow-node-lbl { letter-spacing: -0.01em; }
.flow-node-status {
  margin-left: 2px;
  padding: 1px 5px;
  background: rgba(182,224,63,0.18);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #B6E03F;
}

/* ---- Card 2: Scale chart ---- */
.mock-scale-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 10px 12px 4px;
  gap: 6px;
  min-height: 0;
}
.scale-hero {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.scale-eyebrow {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.scale-val {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}
.scale-delta {
  font-family: var(--font-mono);
  font-size: 9px;
  color: #B6E03F;
  letter-spacing: 0.04em;
}
.scale-chart {
  flex: 1;
  width: 100%;
  min-height: 0;
}
.scale-bars rect {
  transform-origin: bottom center;
  animation: scale-grow .8s cubic-bezier(.22,1,.36,1) backwards;
}
.scale-bars rect:nth-child(3)  { animation-delay: .05s; }
.scale-bars rect:nth-child(4)  { animation-delay: .1s; }
.scale-bars rect:nth-child(5)  { animation-delay: .15s; }
.scale-bars rect:nth-child(6)  { animation-delay: .2s; }
.scale-bars rect:nth-child(7)  { animation-delay: .25s; }
.scale-bars rect:nth-child(8)  { animation-delay: .3s; }
.scale-bars rect:nth-child(9)  { animation-delay: .35s; }
.scale-bars rect:nth-child(10) { animation-delay: .4s; }
.scale-bars rect:nth-child(11) { animation-delay: .45s; }
.scale-bars rect:nth-child(12) { animation-delay: .5s; }
.scale-bars rect:nth-child(13) { animation-delay: .55s; }
@keyframes scale-grow {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}
.scale-axis {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  padding: 0 2px;
}

/* ---- Card 3: Dashboard ---- */
.mock-dash-body {
  flex: 1;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  padding: 10px 12px;
  min-height: 0;
}
.dash-side {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 2px;
}
.dash-nav-item {
  width: 14px; height: 14px;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
}
.dash-nav-item.is-active {
  background: linear-gradient(135deg, #5B2DDC, #4016AC);
  box-shadow: 0 0 0 1px rgba(91,45,220,0.4), 0 4px 10px -4px rgba(91,45,220,0.7);
}
.dash-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.dash-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(91,45,220,0.10);
  border: 1px solid rgba(91,45,220,0.28);
  border-radius: 8px;
}
.dash-eyebrow {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  display: block;
  margin-bottom: 2px;
}
.dash-num {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.dash-num-val {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  font-variant-numeric: tabular-nums;
}
.dash-delta {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: #B6E03F;
}
.dash-spark {
  width: 78px;
  height: 30px;
  flex-shrink: 0;
}
.dash-spark-line {
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  animation: dash-spark-draw 2.2s ease-out .2s forwards;
}
@keyframes dash-spark-draw { to { stroke-dashoffset: 0; } }
.dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.dash-kpi {
  padding: 6px 8px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 7px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.dash-kpi-val {
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.dash-kpi-val i {
  font-style: normal;
  font-size: 9px;
  color: rgba(255,255,255,0.45);
  margin-left: 1px;
}
.dash-kpi-lbl {
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--bg-soft); }
.t-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.t-card {
  position: relative;
  background: #FFFFFF;
  border-radius: var(--r-xl);
  padding: 36px 32px 32px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 430px;
}
.t-card .quote-mark {
  font-family: "Georgia", serif;
  font-size: 80px;
  line-height: .8;
  color: var(--violet);
  opacity: .2;
  position: absolute;
  top: 18px; right: 24px;
}
.t-card .metric {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 60px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--violet);
}
.t-card .metric-lbl {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 10px;
  margin-bottom: 24px;
}
.t-card blockquote {
  margin: 0;
  flex: 1;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
}
.t-card .author {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
}
.t-card .avatar {
  width: 42px; height: 42px;
  border-radius: 999px;
  display: grid; place-items: center;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
}
.t-card .author-name { font-weight: 600; font-size: 14.5px; }
.t-card .author-role { font-size: 12.5px; color: var(--text-dim); }

/* ============================================================
   CONTACT
   ============================================================ */
.cta { background: #FFFFFF; }
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.contact-info {
  position: sticky;
  top: 100px;
  background: linear-gradient(165deg, #2A0E80 0%, #07051A 100%);
  color: #FFFFFF;
  padding: 36px;
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
}
.contact-info::after {
  content: "";
  position: absolute;
  inset: auto -30% -40% auto;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(152,195,45,0.18), transparent 70%);
  pointer-events: none;
}
.contact-info > * { position: relative; }
.contact-info .info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.contact-info .info-row:first-of-type { border-top: none; }
.contact-info .info-icon {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  display: grid; place-items: center;
  color: var(--lime);
  flex-shrink: 0;
}
.contact-info .info-lbl {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 3px;
}
.contact-info a, .contact-info .info-row span:last-child {
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 500;
}

/* Form */
.order-form {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 40px;
}
.order-form .form-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.order-form .form-head h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text);
  background: #FFFFFF;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px var(--violet-soft);
}
.field.error input,
.field.error select,
.field.error textarea { border-color: #E04848; }
.field.error .err { display: block; }
.field .err {
  display: none;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #E04848;
  margin-top: 6px;
}

.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #FFFFFF;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  transition: all .2s ease;
}
.chip:hover { border-color: var(--violet); color: var(--violet); }
.chip.active, .chip.selected { background: var(--violet); border-color: var(--violet); color: #FFFFFF; }
.chip .x { opacity: 0; transition: opacity .2s; font-size: 16px; }
.chip.active .x, .chip.selected .x { opacity: 1; }

.budget-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.budget-opt {
  padding: 14px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: #FFFFFF;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  transition: all .2s ease;
}
.budget-opt:hover { border-color: var(--violet); color: var(--violet); }
.budget-opt.active, .budget-opt.selected { background: var(--violet); border-color: var(--violet); color: #FFFFFF; }

.consent {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--text-dim);
  margin: 8px 0 20px;
  line-height: 1.5;
}
.consent input { margin-top: 3px; accent-color: var(--violet); }
.consent a { color: var(--violet); text-decoration: underline; }

.submit-row { display: flex; justify-content: flex-end; }

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px;
}
.form-success.show { display: flex; }
.form-success .check {
  width: 64px; height: 64px;
  background: var(--lime-soft);
  color: var(--lime);
  border-radius: 999px;
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.form-success h4 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.form-success p { margin: 0; color: var(--text-dim); max-width: 36ch; }

/* ============================================================
   WORDMARK
   ============================================================ */
/* ============================================================
   BRAND SIGN-OFF — logo a escala con halo violeta
   ============================================================ */
.brand-signoff {
  padding: clamp(80px, 12vw, 160px) 0 clamp(40px, 6vw, 80px);
  overflow: hidden;
}
.brand-signoff .container { position: relative; }
.bs-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}
.bs-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(900px, 80%);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -52%);
  background: radial-gradient(circle at center,
    rgba(64,22,172,0.18) 0%,
    rgba(64,22,172,0.08) 30%,
    rgba(64,22,172,0) 65%);
  pointer-events: none;
  z-index: 0;
}
.bs-wordmark {
  position: relative;
  z-index: 1;
  display: block;
  width: clamp(320px, 70vw, 900px);
  filter: drop-shadow(0 30px 70px rgba(64,22,172,0.18));
}
.bs-wordmark img {
  display: block;
  width: 100%;
  height: auto;
}
.bs-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(16px, 2.6vw, 32px);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(11px, 1vw, 14px);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.bs-meta .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(152,195,45,0.14);
  flex-shrink: 0;
}
.bs-domain {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--text-faint);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.bs-domain::before,
.bs-domain::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--line);
}

/* ============================================================
   WORDMARK (legacy — kept for completeness, no longer used)
   ============================================================ */
.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(80px, 18vw, 260px);
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(180deg, var(--violet) 0%, rgba(64,22,172,0) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
  padding: 60px 0 0;
  user-select: none;
}

.brand-pillars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.6vw, 32px);
  padding: 4px 0 56px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(11px, 1vw, 14px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.brand-pillars .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(152,195,45,0.16);
  flex-shrink: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark-bg);
  color: #FFFFFF;
  padding: 80px 0 32px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 20% 0%, rgba(91,45,220,0.30), transparent 60%);
  pointer-events: none;
}
.footer .container { position: relative; }

/* Row 1 — brand + CTA */
.footer-lead {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: stretch;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.footer-brand { display: flex; flex-direction: column; }
.footer-brand .brand { color: #FFFFFF; }
.footer-brand .brand-logo { height: 44px; }
.footer-brand .brand-logo img { height: 44px; }
.footer-brand .tag {
  margin: 20px 0 24px;
  color: rgba(255,255,255,0.62);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 38ch;
}
.socials { display: flex; gap: 8px; margin-top: auto; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  display: grid; place-items: center;
  color: rgba(255,255,255,0.72);
  transition: all .2s ease;
}
.socials a:hover { background: var(--lime); color: #102100; border-color: var(--lime); transform: translateY(-2px); }

.footer-cta {
  position: relative;
  padding: 32px 36px;
  border-radius: var(--r-xl);
  background:
    linear-gradient(160deg, rgba(91,45,220,0.18) 0%, rgba(64,22,172,0.06) 100%);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.footer-cta::before {
  content: "";
  position: absolute;
  top: -60%;
  right: -20%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(182,224,63,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.footer-cta-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
}
.footer-cta-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0;
  color: #FFFFFF;
  max-width: 18ch;
}
.footer-cta p {
  color: rgba(255,255,255,0.68);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  max-width: 38ch;
}
.footer-cta-btn { align-self: flex-start; margin-top: 4px; }
.footer-cta-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px dashed rgba(255,255,255,0.12);
}
.footer-cta-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.72);
  transition: color .2s ease;
}
.footer-cta-meta-item svg { color: var(--lime); }
.footer-cta-meta-item:hover { color: #FFFFFF; }

/* Row 2 — link columns */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 56px 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  transition: color .2s ease, padding .2s ease;
  display: inline-block;
}
.footer-col a:hover { color: #FFFFFF; padding-left: 4px; }

/* Row 3 — legales */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom .links { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.footer-bottom a { color: rgba(255,255,255,0.55); transition: color .2s ease; }
.footer-bottom a:hover { color: #FFFFFF; }
.footer-top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  color: rgba(255,255,255,0.72) !important;
  transition: all .2s ease;
}
.footer-top-link:hover { background: var(--lime); color: #102100 !important; border-color: var(--lime); }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > * { animation: stagger-in .7s ease both; }
.reveal-stagger.in > *:nth-child(1) { animation-delay: .05s; }
.reveal-stagger.in > *:nth-child(2) { animation-delay: .12s; }
.reveal-stagger.in > *:nth-child(3) { animation-delay: .19s; }
.reveal-stagger.in > *:nth-child(4) { animation-delay: .26s; }
.reveal-stagger.in > *:nth-child(5) { animation-delay: .33s; }
.reveal-stagger.in > *:nth-child(6) { animation-delay: .40s; }
@keyframes stagger-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   Breakpoints:
     1180px  — large tablet / small desktop
     1024px  — tablet portrait — header collapses to drawer
      768px  — large phone / small tablet
      640px  — phone landscape / small tablet
      480px  — phone portrait
      380px  — narrow phone
   ============================================================ */

/* Global safety: never let any element force horizontal scroll */
html, body { overflow-x: clip; }
img, svg, video, canvas { max-width: 100%; }
h1, h2, h3, h4, p { overflow-wrap: anywhere; word-break: break-word; }

@media (max-width: 1180px) {
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-card { min-height: 420px; }
  .platform-card:nth-child(3) { grid-column: 1 / -1; }
  .platform-card:nth-child(3) .mock { max-width: 560px; margin: 0 auto; }
}

@media (max-width: 1024px) {
  /* Header → drawer */
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .nav { height: 66px; }

  /* Layout */
  .section { padding: clamp(60px, 10vw, 100px) 0; }
  .section-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 40px; }

  /* About */
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { aspect-ratio: 16/10; max-height: 460px; }

  /* Services */
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card, .service-card.feature, .service-card.span3 { grid-column: span 1; }
  .service-card.feature { min-height: 240px; }

  /* Platform */
  .platform-grid { grid-template-columns: 1fr; gap: 18px; }
  .platform-card { min-height: 0; padding: 26px 24px 22px; }
  .platform-card:nth-child(3) .mock { max-width: none; }
  .mock { height: 230px; }

  /* Testimonials */
  .t-track { grid-template-columns: 1fr; }
  .t-card { min-height: 0; padding: 32px 28px 28px; }

  /* Contact */
  .cta-grid { grid-template-columns: 1fr; }
  .contact-info { position: static; }

  /* Sectors */
  .sector-row { grid-template-columns: 50px 1fr 50px; gap: 18px; }
  .sector-row p { grid-column: 2; }
  .sector-row:hover { padding-left: 0; }     /* prevent horizontal jump */

  /* Footer */
  .footer-lead { grid-template-columns: 1fr; gap: 36px; }
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 36px 32px; }
}

@media (max-width: 768px) {
  /* Header — keep CTA visible but compact */
  .site-header .btn-primary { padding: 10px 16px; font-size: 13.5px; }
  .site-header .brand-logo, .site-header .brand-logo svg, .site-header .brand-logo img { height: 30px; }

  /* Hero — undo the hard <br> in h1 so wrapping is natural */
  .hero h1.h-display br { display: none; }
  .hero h1.h-display { max-width: 100%; }
  .hero-eyebrow { font-size: 11px; gap: 8px; }
  .hero-eyebrow .pulse { font-size: 9.5px; padding: 3px 7px; }

  /* Trust strip — let it breathe instead of cramming on one line */
  .trust { gap: 10px 14px; font-size: 11px; margin-bottom: 48px; }
  .trust .dash { display: none; }

  /* About visual scales down */
  .about-visual { aspect-ratio: 16/12; padding: 16px; }
}

@media (max-width: 640px) {
  /* Mock cards inside Platform */
  .mock { height: 210px; }
  .flow-node { font-size: 8.5px; padding: 2px 5px 2px 3px; }
  .flow-node-icon { width: 14px; height: 14px; }
  .flow-node-status { display: none; }
  .scale-val { font-size: 16px; }
  .dash-num-val { font-size: 17px; }
  .dash-spark { width: 64px; height: 26px; }
  .dash-kpi-val { font-size: 12px; }

  /* Hero stats stack to 2-up */
  .hero { padding-top: clamp(120px, 22vw, 160px); padding-bottom: clamp(60px, 10vw, 90px); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; padding-top: 28px; }
  .hero-stat { border-right: none; padding-right: 0; }
  .hero-stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.10); padding-right: 12px; }
  .hero-ctas { gap: 10px; margin-bottom: 40px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  /* Sectors compact */
  .sector-row {
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto;
    gap: 4px 14px;
    padding: 22px 0;
    align-items: start;
  }
  .sector-row .num { grid-row: 1; align-self: center; }
  .sector-row h3 { grid-column: 2; grid-row: 1; font-size: 22px; }
  .sector-row p { grid-column: 2; grid-row: 2; font-size: 13.5px; margin-top: 4px; }
  .sector-row .arrow { display: none; }

  /* Form */
  .form-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .budget-grid { grid-template-columns: repeat(2, 1fr); }
  .order-form { padding: 26px 22px; border-radius: var(--r-lg); }
  .order-form .form-head h3 { font-size: 19px; }
  .contact-info { padding: 28px 24px; border-radius: var(--r-lg); }
  .contact-info > div:first-of-type { font-size: 22px !important; margin-bottom: 24px !important; }

  /* Testimonials */
  .t-card { padding: 28px 24px 24px; min-height: 0; }
  .t-card .metric { font-size: 48px; }
  .t-card blockquote { font-size: 14.5px; }

  /* Services - single column on small phones */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 200px; padding: 24px; }
  .service-card.feature { min-height: 220px; padding: 28px; }
  .service-card .corner { top: 20px; right: 20px; width: 30px; height: 30px; }

  /* Footer */
  .footer { padding: 60px 0 28px; }
  .footer-lead { gap: 28px; padding-bottom: 40px; }
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 32px 24px; padding: 36px 0; }
  .footer-cta { padding: 24px 22px; border-radius: var(--r-lg); }
  .footer-cta-title { font-size: 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-bottom .links { gap: 14px; }

  /* Brand sign-off */
  .brand-signoff { padding: clamp(60px, 14vw, 100px) 0 clamp(24px, 6vw, 56px); }
  .bs-stack { gap: 24px; }
  .bs-wordmark { width: min(90%, 520px); }
  .bs-meta { gap: 10px 14px; font-size: 10px; letter-spacing: 0.24em; }

  /* Hero sparkles - some get hidden on tiny screens to reduce clutter */
  .hero-sparkle.s2 { display: none; }
  .hero-sparkle.s1 { width: 22px; height: 22px; }
  .hero-sparkle.s4 { width: 14px; height: 14px; }
}

@media (max-width: 480px) {
  /* Tighter container padding */
  :root { --pad-x: 18px; }

  /* Header: hide CTA, rely on drawer */
  .site-header .nav-actions .btn-primary { display: none; }
  .nav { height: 60px; }
  .site-header .brand-logo, .site-header .brand-logo svg, .site-header .brand-logo img { height: 28px; }

  /* Typography scale-down */
  .h-1 { font-size: clamp(34px, 9vw, 48px); }
  .h-2 { font-size: clamp(26px, 7vw, 36px); }

  /* Hero */
  .hero-sub { font-size: 15px; margin-bottom: 28px; }
  .hero-stat .val { font-size: 28px; }
  .hero-stat .lbl { font-size: 11.5px; }

  /* Eyebrow can wrap to 2 lines on tight screens */
  .hero-eyebrow { flex-wrap: wrap; padding: 6px 12px 6px 6px; }

  /* About pillars */
  .pillar { padding: 18px 18px 18px 22px; }

  /* Section-head lead text */
  .section-head .lead { font-size: 15px; }

  /* Mock cards get shorter */
  .mock { height: 190px; }
  .mock-flow-body { font-size: 9px; }

  /* Service grid: keep single column already set at 640 */
  /* Sector row tightens */
  .sector-row h3 { font-size: 19px; }
  .sector-row p { font-size: 13px; max-width: 100%; }

  /* Footer */
  .footer-nav { grid-template-columns: 1fr; gap: 28px; }

  /* Drawer */
  .drawer { width: 88vw; padding: 20px; }
  .drawer-links a { padding: 12px 8px; font-size: 16px; }

  /* Chip / budget buttons keep tap target ≥44px */
  .chip { padding: 10px 14px; font-size: 13px; }
  .budget-opt { padding: 13px 10px; font-size: 13px; }

  /* Form fields - prevent iOS zoom on focus */
  .field input, .field select, .field textarea { font-size: 16px; }
}

@media (max-width: 380px) {
  :root { --pad-x: 14px; }
  .h-1 { font-size: clamp(28px, 8.5vw, 38px); }
  .hero-stats { grid-template-columns: 1fr; gap: 16px; }
  .hero-stat:nth-child(odd) { border-right: none; padding-right: 0; }
  .hero-stat { border-bottom: 1px solid rgba(255,255,255,0.10); padding-bottom: 16px; }
  .hero-stat:last-child { border-bottom: none; }
  .budget-grid { grid-template-columns: 1fr; }
  .footer-cta { padding: 22px 18px; }
  .order-form { padding: 22px 18px; }
  .contact-info { padding: 24px 20px; }
}

/* Touch / coarse pointer — disable hover effects that cause flicker on tap */
@media (hover: none) {
  .service-card:hover { transform: none; }
  .platform-card:hover { transform: none; }
  .pillar:hover { transform: none; }
  .sector-row:hover { padding-left: 0; }
  .footer-col a:hover { padding-left: 0; }
  .socials a:hover { transform: none; }
}

/* Reduced motion — respect user pref */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ============================================================
   PRIVACY PAGE (used elsewhere)
   ============================================================ */
.privacy-hero { padding: 140px 0 60px; background: var(--bg-soft); }
.privacy-content { padding: 0 0 100px; }
.privacy-content h2 { font-family: var(--font-display); margin-top: 48px; font-size: 24px; }
.privacy-content p, .privacy-content li { color: var(--text-dim); font-size: 15px; line-height: 1.65; }

/* ============================================================
   PRIVACY PAGE
   ============================================================ */
/* Variable alias — privacy markup uses --bg-2 historically. */
:root { --bg-2: var(--bg-soft); }

.privacy-hero {
  padding: 160px 0 80px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.privacy-hero .crumbs {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.privacy-hero .crumbs a { color: var(--text-dim); }
.privacy-hero .crumbs a:hover { color: var(--accent); }
.privacy-meta {
  margin-top: 32px;
  display: flex; gap: 32px; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.08em;
}
.privacy-meta .k { color: var(--text-faint); }
.privacy-meta .v { color: var(--text); }

.privacy-body {
  padding: 80px 0 120px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
}
@media (max-width: 900px) {
  .privacy-body { grid-template-columns: 1fr; gap: 40px; padding: 60px 0; }
  .toc { position: static !important; }
}
@media (max-width: 480px) {
  .privacy-hero { padding: 100px 0 56px; }
  .privacy-body { padding: 40px 0 80px; }
}
.toc {
  position: sticky;
  top: 100px;
  height: max-content;
  padding: 24px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.toc h5 {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 500;
}
.toc ol {
  list-style: none;
  padding: 0; margin: 0;
  counter-reset: toc;
}
.toc li {
  counter-increment: toc;
  border-top: 1px solid var(--line);
}
.toc li:first-child { border-top: 0; }
.toc a {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  font-size: 13.5px;
  color: var(--text-dim);
  transition: color .2s ease;
}
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  flex-shrink: 0;
}
.toc a:hover, .toc a.active { color: var(--accent); }
.toc a.active::before { color: var(--accent); }

.privacy-content section { padding: 0 0 56px; }
.privacy-content section:not(:last-child) { border-bottom: 1px solid var(--line); margin-bottom: 56px; }
.privacy-content h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.5vw, 32px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  scroll-margin-top: 120px;
}
.privacy-content h2 .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.14em;
  display: block;
  margin-bottom: 12px;
  font-weight: 400;
}
.privacy-content h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  margin: 32px 0 12px;
  letter-spacing: -0.005em;
}
.privacy-content p, .privacy-content li {
  color: var(--text-dim);
  font-size: 15.5px;
  line-height: 1.65;
  text-wrap: pretty;
}
.privacy-content p { margin: 12px 0; }
.privacy-content ul { padding-left: 20px; }
.privacy-content li { margin-bottom: 6px; }
.privacy-content strong { color: var(--text); font-weight: 500; }
.privacy-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.privacy-content code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--bg-2);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent);
  border: 1px solid var(--line);
}
.callout {
  margin: 24px 0;
  padding: 20px 24px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
}
.callout p:first-child { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }
.data-table {
  width: 100%;
  margin: 16px 0;
  border-collapse: collapse;
  font-size: 14px;
}
.data-table th, .data-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text-dim);
}
.data-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  background: var(--bg-2);
  font-weight: 500;
}
.data-table tbody tr:hover { background: var(--bg-2); }
.data-table td:first-child { color: var(--text); font-weight: 500; }

/* Privacy data-table — horizontal scroll on phones */
@media (max-width: 640px) {
  .privacy-content .data-table { font-size: 13px; display: block; overflow-x: auto; }
  .privacy-content .data-table th,
  .privacy-content .data-table td { padding: 12px 10px; }
}

/* Small utilities */
.spacer-sm { height: 32px; }
.divider { height: 1px; background: var(--line); margin: 24px 0; }

/* ============================================================
   WORDPRESS CORE STYLES
   ============================================================ */
.alignleft   { float: left;  margin: 8px 24px 16px 0; }
.alignright  { float: right; margin: 8px 0 16px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; clear: both; }
.alignwide   { width: 100%; max-width: min(1100px, 92vw); margin-left: auto; margin-right: auto; }
.alignfull   { width: 100%; max-width: none; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.wp-caption  { max-width: 100%; }
.wp-caption-text, .screen-reader-text { color: var(--text-faint); font-size: 13px; }
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); -webkit-clip-path: inset(50%); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.sticky { /* generic sticky-post hook */ }
.bypostauthor { /* generic by-author hook */ }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 24px 0; }
.gallery-item { margin: 0; }
.gallery-item img { display: block; width: 100%; height: auto; border-radius: 8px; }

/* Generic entry content prose styling — applies inside pages that use the_content() */
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); margin-top: 1.4em; letter-spacing: -0.01em; }
.entry-content h3 { font-family: var(--font-display); font-size: clamp(18px, 1.6vw, 22px); margin-top: 1.2em; }
.entry-content p, .entry-content li { color: var(--text-dim); line-height: 1.65; }
.entry-content blockquote { border-left: 3px solid var(--violet); padding: 4px 0 4px 20px; margin: 24px 0; color: var(--text); font-style: italic; }
.entry-content img { border-radius: var(--r-md); }

/* Comments (used by single.php) */
.comment-list { list-style: none; padding: 0; }
.comment-list .comment-body { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment-author { font-weight: 600; }
.comment-metadata { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); letter-spacing: .08em; text-transform: uppercase; }
.comment-respond { margin-top: 32px; }

/* Posts pagination */
.pagination, .navigation.pagination {
  display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 48px;
}
.pagination .page-numbers, .navigation.pagination .page-numbers {
  display: inline-grid; place-items: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-family: var(--font-mono); font-size: 13px; color: var(--text);
  transition: all .2s ease;
}
.pagination .page-numbers.current { background: var(--violet); border-color: var(--violet); color: #fff; }
.pagination .page-numbers:hover:not(.current) { border-color: var(--violet); color: var(--violet); }

/* ============================================================
   ELEMENTOR COMPATIBILITY
   ============================================================ */

/* Inside Elementor editor preview, hide the preloader / drawer entirely. */
body.elementor-editor-active #preloader,
body.elementor-editor-active .drawer,
body.elementor-editor-active .drawer-backdrop { display: none !important; }
body.elementor-editor-active html.preloading,
body.elementor-editor-active.preloading { overflow: visible !important; }

/* Stop the sticky site header from covering Elementor's editor toolbars. */
body.elementor-editor-active .site-header { position: relative !important; }

/* Tecnia canvas templates: clear the negative-margin underlap from .hero, since
   on canvas templates there's no sticky header to underlap. */
.tecnia-canvas .hero { margin-top: 0; padding-top: clamp(80px, 12vw, 140px); }

/* Elementor sections sometimes wrap themselves in containers — make sure they
   don't fight our .container max-width when placed inside Tecnia pages. */
.tecnia-page .elementor,
.tecnia-headerfooter-canvas .elementor { width: 100%; }
.tecnia-page .elementor-section.elementor-section-boxed > .elementor-container { max-width: var(--maxw); }

/* Elementor's default heading reset: keep our display font when an Elementor
   widget renders an H1/H2 without setting its own typography. */
.tecnia-canvas .elementor-widget-heading h1,
.tecnia-canvas .elementor-widget-heading h2,
.tecnia-headerfooter-canvas .elementor-widget-heading h1,
.tecnia-headerfooter-canvas .elementor-widget-heading h2 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

/* Hide our empty fallback content wrapper when rendered. */
.tecnia-entry-content:empty { display: none !important; }

/* ============================================================
   COLOR LOCKDOWN — defend hero typography against external CSS
   (WPCode snippets, theme.json defaults, Customizer overrides,
   third-party plugins, Elementor's frontend reset)
   ============================================================ */
.hero,
.hero h1, .hero h2, .hero h3, .hero h4, .hero h5, .hero h6,
.hero p, .hero span, .hero a {
  color: #FFFFFF;
}
.hero h1.h-display {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}
.hero h1.h-display .lime,
.hero h1.h-display .lime * {
  color: var(--lime-bright) !important;
  -webkit-text-fill-color: var(--lime-bright) !important;
}
.hero h1.h-display .accent {
  color: #C8B3FF !important;
  -webkit-text-fill-color: #C8B3FF !important;
}
.hero .hero-sub, .hero .hero-sub * { color: rgba(255,255,255,0.72) !important; -webkit-text-fill-color: rgba(255,255,255,0.72) !important; }
.hero-stat .val, .hero-stat .val * { color: #FFFFFF !important; -webkit-text-fill-color: #FFFFFF !important; }
.hero-stat .val .unit { color: var(--lime) !important; -webkit-text-fill-color: var(--lime) !important; }

/* Sectors section (dark) — same defence */
.sectors h2, .sectors h3, .sectors p, .sectors span, .sectors a {
  color: #FFFFFF;
}
.sectors h3 { color: #FFFFFF !important; -webkit-text-fill-color: #FFFFFF !important; }

/* Site header on the dark hero — defend nav link colors */
.site-header:not(.scrolled) .nav-links a,
.site-header:not(.scrolled) .brand {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

/* Footer — dark background, always white text */
.footer, .footer * { color: rgba(255,255,255,0.72); }
.footer h5, .footer .footer-cta-title, .footer .footer-copy { color: #FFFFFF !important; -webkit-text-fill-color: #FFFFFF !important; }
.footer .footer-cta-eyebrow, .footer h5 { color: var(--lime) !important; -webkit-text-fill-color: var(--lime) !important; }

/* Contact-info card (dark) */
.contact-info, .contact-info * { color: #FFFFFF; }
.contact-info .info-lbl { color: rgba(255,255,255,0.45) !important; -webkit-text-fill-color: rgba(255,255,255,0.45) !important; }

/* Brand sign-off wordmark — keep its image visible against any frame */
.bs-wordmark img { background: transparent !important; }
