/* =========================================================
   PAID UP MEDIA — Sistema visual
   Paleta oficial: Azul #1A3E5C, Turquesa #34C2B5, Naranja #FF7A00
   Tipografías: Montserrat (títulos) + Roboto (cuerpo)
   ========================================================= */

:root {
  --navy-950: #0b1f33;
  --navy-900: #123352;
  --navy-800: #1a3e5c;
  --navy-700: #224f73;
  --navy-600: #2d638c;
  --teal-500: #34c2b5;
  --teal-400: #55d3c7;
  --teal-300: #86e3da;
  --orange-500: #ff7a00;
  --orange-400: #ff9933;
  --orange-300: #ffb266;
  --white: #ffffff;
  --off-white: #f4f8fb;
  --ink-50: #eef3f8;
  --ink-100: #dde6ef;
  --ink-300: #9fb2c3;
  --ink-500: #6a8196;
  --ink-700: #2e4257;
  --ink-900: #0b1f33;

  --grad-hero: radial-gradient(1200px 600px at 85% -10%, rgba(52,194,181,0.28), transparent 55%),
               radial-gradient(900px 500px at 10% 110%, rgba(255,122,0,0.22), transparent 60%),
               linear-gradient(135deg, #0b1f33 0%, #123352 45%, #1a3e5c 100%);
  --grad-cta: linear-gradient(135deg, #ff7a00 0%, #ff9933 100%);
  --grad-teal: linear-gradient(135deg, #34c2b5 0%, #2ab0d1 100%);
  --grad-band: linear-gradient(180deg, rgba(26,62,92,0.03), rgba(52,194,181,0.05));

  --shadow-sm: 0 2px 8px rgba(11,31,51,0.06);
  --shadow-md: 0 14px 32px rgba(11,31,51,0.10);
  --shadow-lg: 0 28px 64px rgba(11,31,51,0.18);
  --shadow-glow-orange: 0 10px 30px rgba(255,122,0,0.35);
  --shadow-glow-teal: 0 10px 30px rgba(52,194,181,0.30);

  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --container: 1200px;
  --gutter: clamp(16px, 3vw, 32px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Roboto", system-ui, sans-serif;
  color: var(--ink-700);
  background: var(--off-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
p { margin: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--navy-950);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
h1 { font-weight: 800; }
h2 { font-weight: 800; }
h3 { font-weight: 700; }

/* Fondo global con malla sutil para sensación tech */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(600px 300px at 85% -10%, rgba(52,194,181,0.07), transparent 60%),
    radial-gradient(500px 300px at -5% 20%, rgba(255,122,0,0.06), transparent 60%);
}

/* =======================  LAYOUT  ======================= */
.container,
.header-inner {
  width: min(var(--container), calc(100% - var(--gutter)*2));
  margin: 0 auto;
}

.page-shell { min-height: 100vh; }

/* =======================  HEADER  ======================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(244,248,251,0.78);
  border-bottom: 1px solid rgba(26,62,92,0.08);
  transition: box-shadow 0.25s var(--ease-out), background 0.25s var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(244,248,251,0.94);
  box-shadow: 0 6px 24px rgba(11,31,51,0.06);
}
.site-header::after {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--teal-500), var(--orange-500));
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease-out);
}
.brand-lockup:hover { transform: translateY(-1px); }
.brand-lockup img {
  width: 48px;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.brand-copy { display: flex; flex-direction: column; gap: 2px; }
.brand-name {
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy-950);
  letter-spacing: 0.02em;
}
.brand-tag {
  font-size: 0.75rem;
  color: var(--ink-500);
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--navy-900);
  color: var(--white);
  border-radius: 14px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.site-nav a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-500);
  transition: all 0.2s var(--ease-out);
  position: relative;
}
.site-nav a:hover { color: var(--navy-950); background: rgba(26,62,92,0.06); }
.site-nav a[aria-current="page"] { color: var(--navy-950); background: rgba(52,194,181,0.14); }
.site-nav .nav-cta {
  background: var(--grad-cta);
  color: var(--white);
  font-weight: 700;
  box-shadow: var(--shadow-glow-orange);
}
.site-nav .nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(255,122,0,0.45);
  color: var(--white);
}

/* =======================  BUTTONS  ======================= */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: "Montserrat", sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.button::after {
  content: "→";
  font-weight: 400;
  transition: transform 0.25s var(--ease-out);
}
.button.is-static::after { display: none; }
.button:hover::after { transform: translateX(3px); }

.button-primary {
  background: var(--grad-cta);
  color: var(--white);
  box-shadow: var(--shadow-glow-orange);
}
.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(255,122,0,0.45);
}

.button-secondary {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.22);
  color: var(--white);
  backdrop-filter: blur(6px);
}
.button-secondary:hover { background: rgba(255,255,255,0.16); }

.button-light {
  background: var(--white);
  color: var(--navy-950);
  border-color: rgba(26,62,92,0.10);
  box-shadow: var(--shadow-sm);
}
.button-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-400);
}

.button-outline {
  background: transparent;
  border-color: rgba(26,62,92,0.20);
  color: var(--navy-950);
}
.button-outline:hover { border-color: var(--navy-900); transform: translateY(-2px); }

.button-full { width: 100%; }

/* =======================  ANIMATIONS / REVEAL  ======================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="fade-right"] { transform: translateX(-24px); }
[data-reveal="fade-right"].is-visible { transform: translateX(0); }
[data-reveal="fade-left"] { transform: translateX(24px); }
[data-reveal="fade-left"].is-visible { transform: translateX(0); }
[data-reveal="scale"] { transform: scale(0.96); }
[data-reveal="scale"].is-visible { transform: scale(1); }
[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }
[data-delay="4"] { transition-delay: 0.32s; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
  50%      { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* =======================  HERO  ======================= */
.hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 5vw, 56px);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-panel {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.hero-copy {
  padding: clamp(32px, 4vw, 56px);
  background: var(--grad-hero);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 40%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
.hero-copy::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -90px;
  top: -90px;
  background: radial-gradient(circle, rgba(52,194,181,0.35), transparent 70%);
  filter: blur(20px);
  animation: floatY 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.hero-copy > * { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-400);
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 4.4rem);
  color: var(--white);
  max-width: 14ch;
  letter-spacing: -0.02em;
}
.hero h1 .highlight {
  background: linear-gradient(90deg, var(--orange-400), var(--teal-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-lead {
  margin-top: 18px;
  max-width: 58ch;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  color: rgba(255,255,255,0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 36px;
}
.metric {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(6px);
  transition: transform 0.25s var(--ease-out), background 0.25s var(--ease-out);
}
.metric:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.10);
}
.metric strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(90deg, #ffffff, var(--teal-300));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.metric span {
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.66);
}

.metric-light {
  background: rgba(26,62,92,0.04);
  border: 1px solid rgba(26,62,92,0.08);
}

.metric-light strong {
  background: none;
  -webkit-text-fill-color: initial;
  color: var(--navy-900);
}

.metric-light span {
  color: var(--ink-500);
}

.hero-panel {
  padding: 24px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(26,62,92,0.06);
}

.panel-card {
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(26,62,92,0.08);
  background: linear-gradient(180deg, rgba(244,248,251,0.7), rgba(255,255,255,0.95));
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.panel-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.panel-card.brand-card {
  padding: 26px;
  background:
    radial-gradient(circle at top right, rgba(52,194,181,0.16), transparent 60%),
    linear-gradient(160deg, rgba(26,62,92,0.04), rgba(255,122,0,0.06));
}
.brand-card img {
  width: 92px;
  border-radius: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.panel-kicker {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-500);
}
.panel-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-950);
}
.panel-copy { margin-top: 10px; color: var(--ink-500); font-size: 0.95rem; }

.mini-list { display: grid; gap: 10px; margin-top: 14px; }
.mini-list div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink-700);
  font-size: 0.95rem;
}
.mini-list div::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--grad-cta);
  flex-shrink: 0;
}

/* =======================  SECTIONS  ======================= */
.section {
  padding: clamp(48px, 7vw, 96px) 0;
}
.section-heading {
  max-width: 780px;
  margin-bottom: 40px;
}
.section-heading h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.85rem);
}
.section-heading p {
  margin-top: 14px;
  font-size: 1.02rem;
  color: var(--ink-500);
}

.section-band {
  background: var(--grad-band);
  border-top: 1px solid rgba(26,62,92,0.06);
  border-bottom: 1px solid rgba(26,62,92,0.06);
}
.section-dark {
  background: var(--grad-hero);
  color: rgba(255,255,255,0.88);
  position: relative;
  overflow: hidden;
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .section-heading p { color: rgba(255,255,255,0.70); }
.section-dark::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
}
.section-dark > .container { position: relative; }

/* =======================  GRIDS  ======================= */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* =======================  CARDS  ======================= */
.card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(26,62,92,0.08);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(52,194,181,0.35);
}
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p, .card li, .table-wrap td, .table-wrap th { color: var(--ink-500); }
.card p + p, .card ul + p, .card p + ul { margin-top: 12px; }
.card ul { margin: 14px 0 0; padding-left: 18px; }
.card li + li { margin-top: 8px; }
.card li { line-height: 1.6; }

/* Service cards con identidad tech: gradiente lateral + icono numerado */
.service-card {
  position: relative;
  overflow: hidden;
  padding-left: 32px;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--grad-cta);
  transform: scaleY(0.3);
  transform-origin: top;
  transition: transform 0.4s var(--ease-out);
}
.service-card:hover::before { transform: scaleY(1); }
.service-card .tag {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(52,194,181,0.12);
  color: var(--navy-900);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* =======================  STATS / QUOTE  ======================= */
.stat-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--grad-hero);
  color: var(--white);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.stat-card::after {
  content: "";
  position: absolute;
  right: -40px; top: -40px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(255,122,0,0.3), transparent 70%);
  filter: blur(10px);
}
.stat-card strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  background: linear-gradient(90deg, #fff, var(--teal-300));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}
.stat-card span { display: block; margin-top: 8px; color: rgba(255,255,255,0.72); position: relative; }

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(26,62,92,0.07);
  color: var(--navy-900);
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid rgba(26,62,92,0.08);
}
.pill.pill-accent {
  background: rgba(255,122,0,0.10);
  color: var(--orange-500);
  border-color: rgba(255,122,0,0.20);
}

.quote-block {
  padding: 36px;
  border-radius: var(--radius-xl);
  background: var(--grad-hero);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.quote-block::before {
  content: "";
  position: absolute;
  font-family: "Montserrat", sans-serif;
  font-size: 10rem;
  font-weight: 900;
  color: rgba(255,122,0,0.12);
  top: -30px; left: 20px;
  line-height: 1;
}
.quote-block p {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--white);
  position: relative;
}
.quote-block small {
  display: block;
  margin-top: 18px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  position: relative;
}

/* =======================  PROCESS  ======================= */
.process-list {
  display: grid;
  gap: 16px;
  position: relative;
}
.process-step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 22px 26px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid rgba(26,62,92,0.08);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.process-step:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.step-number {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--grad-cta);
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: var(--shadow-glow-orange);
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 4px; }
.process-step p { color: var(--ink-500); font-size: 0.95rem; }

/* Timeline vertical variant */
.timeline {
  display: grid;
  gap: 24px;
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 18px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--orange-500), var(--teal-500));
  border-radius: 2px;
}
.timeline-item { position: relative; padding-left: 8px; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--orange-500);
  box-shadow: 0 0 0 4px rgba(255,122,0,0.15);
}
.timeline-item h3 { font-size: 1.1rem; margin-bottom: 4px; }
.timeline-item p { color: var(--ink-500); font-size: 0.95rem; }

/* =======================  CASE CARD  ======================= */
.case-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 36px;
}
.case-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.case-tag {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--grad-cta);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: var(--shadow-glow-orange);
}
.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.case-metrics > div {
  padding: 18px;
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, rgba(26,62,92,0.04), rgba(52,194,181,0.06));
  border: 1px solid rgba(26,62,92,0.08);
}
.case-metrics strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy-950);
}
.case-metrics span {
  display: block;
  margin-top: 4px;
  color: var(--ink-500);
  font-size: 0.85rem;
}

/* =======================  CHECK GRID  ======================= */
.check-grid { display: grid; gap: 12px; }
.check-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(26,62,92,0.08);
  counter-increment: check;
  transition: transform 0.2s var(--ease-out);
}
.check-row:hover { transform: translateX(3px); }
.check-row::before {
  content: counter(check, decimal-leading-zero);
  min-width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(52,194,181,0.16);
  color: var(--navy-900);
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
}
.check-grid { counter-reset: check; }
.check-row strong { display: block; font-family: "Montserrat", sans-serif; color: var(--navy-950); }
.check-row p { margin-top: 4px; color: var(--ink-500); font-size: 0.92rem; }

/* =======================  TABLE  ======================= */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(26,62,92,0.08);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
table { width: 100%; border-collapse: collapse; }
th, td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(26,62,92,0.06);
  font-size: 0.95rem;
}
th {
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  color: var(--navy-950);
  background: linear-gradient(180deg, rgba(52,194,181,0.08), transparent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
tr:last-child td { border-bottom: 0; }

/* =======================  CTA STRIP  ======================= */
.cta-strip {
  padding: clamp(28px, 3.5vw, 42px);
  border-radius: var(--radius-xl);
  background: var(--grad-hero);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  right: -60px; bottom: -60px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(255,122,0,0.35), transparent 70%);
  filter: blur(24px);
}
.cta-strip h2, .cta-strip h3 { color: var(--white); }
.cta-strip > * { position: relative; }

/* =======================  SPLIT  ======================= */
.split-highlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 24px;
}

.note-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, rgba(255,122,0,0.08), rgba(52,194,181,0.06));
  padding: 28px;
  border: 1px solid rgba(255,122,0,0.18);
}
.note-card strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 8px;
  color: var(--navy-950);
}

/* =======================  CONTACT  ======================= */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 24px;
}
.contact-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26,62,92,0.08);
}
.contact-list { display: grid; gap: 12px; margin-top: 16px; }
.contact-list div {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(26,62,92,0.04);
}
.contact-list strong { display: block; font-family: "Montserrat", sans-serif; color: var(--navy-950); }
.contact-list span { color: var(--ink-500); font-size: 0.92rem; }

.form-grid { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label {
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-950);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(26,62,92,0.14);
  border-radius: 14px;
  background: var(--off-white);
  padding: 14px 16px;
  color: var(--ink-900);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(52,194,181,0.15);
}
.field textarea { min-height: 130px; resize: vertical; }

.notice {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(52,194,181,0.10);
  color: var(--navy-950);
  font-size: 0.92rem;
}
.notice.is-muted { background: rgba(26,62,92,0.06); }
.notice.is-success { background: rgba(52,194,181,0.18); }

.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-actions .button[disabled] {
  opacity: 0.7;
  cursor: wait;
}
.contact-direct-links { display: grid; gap: 12px; margin-top: 16px; }
.contact-link {
  display: block;
  padding: 18px;
  border-radius: var(--radius-sm);
  background: rgba(26,62,92,0.04);
  border: 1px solid rgba(26,62,92,0.08);
  transition: all 0.25s var(--ease-out);
}
.contact-link:hover {
  border-color: var(--teal-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.contact-link strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Montserrat", sans-serif;
  color: var(--navy-950);
}
.contact-link span { color: var(--ink-500); word-break: break-word; }

/* =======================  WHATSAPP FLOATING BUBBLE  ======================= */
.wa-floating {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 0;
  background: #25D366;
  color: #fff;
  padding: 14px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 16px 40px rgba(37,211,102,0.35), 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  animation: pulseGlow 2.6s infinite;
}
.wa-floating:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 22px 50px rgba(37,211,102,0.45);
}
.wa-floating svg { width: 22px; height: 22px; flex-shrink: 0; }
.wa-floating .wa-label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.3s var(--ease-out), margin 0.3s var(--ease-out);
}
.wa-floating:hover .wa-label {
  max-width: 160px;
  margin-left: 10px;
}

/* =======================  FOOTER  ======================= */
.site-footer {
  margin-top: 40px;
  padding: 48px 0;
  background: var(--navy-950);
  color: rgba(255,255,255,0.70);
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal-500), var(--orange-500));
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-copy { display: flex; flex-direction: column; gap: 6px; max-width: 360px; }
.footer-copy .brand-name { color: var(--white); font-size: 1rem; }
.footer-copy span { font-size: 0.9rem; }
.footer-links { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-links a {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s var(--ease-out);
}
.footer-links a:hover { background: var(--orange-500); color: var(--white); }

/* =======================  PAGE TEMPLATES / VARIANTS  ======================= */

/* Home: hero con panel de marca a la derecha */
.tpl-home .hero-panel { gap: 16px; }

/* Servicios (hub): hero limpio + tipografía grande, sin métricas */
.tpl-hub .hero h1 { max-width: 16ch; }
.tpl-hub .pillar-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.tpl-hub .pillar {
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
}
.tpl-hub .pillar-num {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  color: var(--orange-400);
  font-weight: 800;
  margin-bottom: 6px;
}

/* Publicidad digital: mock dashboard en hero panel */
.tpl-ads .hero-panel {
  padding: 0;
  background: var(--grad-hero);
  color: var(--white);
  border: 0;
  overflow: hidden;
}
.dashboard-mock {
  padding: 26px;
  display: grid;
  gap: 14px;
  position: relative;
}
.dashboard-mock::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 40%, transparent 85%);
  pointer-events: none;
}
.dashboard-mock > * { position: relative; }
.dm-head { display: flex; justify-content: space-between; align-items: center; }
.dm-tag {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--teal-300);
  text-transform: uppercase;
  font-weight: 800;
}
.dm-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal-400); box-shadow: 0 0 12px var(--teal-400); }
.dm-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.dm-kpi {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}
.dm-kpi b {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  color: var(--white);
}
.dm-kpi span { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.62); margin-top: 2px; }
.dm-bars { display: flex; align-items: flex-end; gap: 6px; height: 72px; padding-top: 6px; }
.dm-bars span {
  flex: 1;
  background: linear-gradient(180deg, var(--teal-400), var(--navy-700));
  border-radius: 6px 6px 0 0;
  opacity: 0.9;
  animation: floatY 3s ease-in-out infinite;
}
.dm-bars span:nth-child(2) { animation-delay: 0.3s; }
.dm-bars span:nth-child(3) { animation-delay: 0.6s; background: linear-gradient(180deg, var(--orange-400), var(--navy-700)); }
.dm-bars span:nth-child(4) { animation-delay: 0.9s; }
.dm-bars span:nth-child(5) { animation-delay: 1.2s; background: linear-gradient(180deg, var(--orange-400), var(--navy-700)); }
.dm-bars span:nth-child(6) { animation-delay: 1.5s; }

/* Estrategia: roadmap visual */
.tpl-strategy .hero h1 { max-width: 15ch; }
.roadmap-preview {
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
}
.roadmap-nodes { display: grid; gap: 10px; margin-top: 12px; }
.roadmap-node {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(0,0,0,0.15);
  font-size: 0.9rem;
}
.roadmap-node i {
  display: grid; place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--orange-500);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  font-style: normal;
}
.roadmap-node:nth-child(2) i { background: var(--teal-500); }
.roadmap-node:nth-child(3) i { background: #fff; color: var(--navy-900); }

/* Ecommerce: storefront preview */
.tpl-ecom .hero h1 { max-width: 15ch; }
.shop-mock {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26,62,92,0.08);
}
.shop-bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: #eef2f6;
  border-bottom: 1px solid rgba(26,62,92,0.08);
}
.shop-bar i {
  width: 10px; height: 10px; border-radius: 50%;
  background: #cbd5db;
}
.shop-bar i:nth-child(1) { background: #ff6057; }
.shop-bar i:nth-child(2) { background: #ffbd2e; }
.shop-bar i:nth-child(3) { background: #28c940; }
.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 14px;
}
.shop-item {
  height: 84px;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(52,194,181,0.18), rgba(26,62,92,0.08));
  display: grid;
  place-items: center;
  color: var(--navy-900);
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
}
.shop-item:nth-child(2) { background: linear-gradient(160deg, rgba(255,122,0,0.18), rgba(26,62,92,0.08)); }
.shop-item:nth-child(3) { background: linear-gradient(160deg, rgba(255,122,0,0.18), rgba(52,194,181,0.15)); }

/* Casos: grid tipo mosaico */
.tpl-cases .hero h1 { max-width: 14ch; }
.cases-mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.case-feature { grid-column: span 4; }
.case-small { grid-column: span 2; }
.case-wide { grid-column: span 6; }

/* Proceso: hero con contador visual */
.tpl-process .phase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.phase {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
}
.phase b {
  display: block;
  color: var(--orange-400);
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  margin-bottom: 4px;
}
.phase span {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.82);
}

/* Contacto: layout centrado */
.tpl-contact .hero h1 { max-width: 16ch; }

/* =======================  RESPONSIVE  ======================= */
@media (max-width: 980px) {
  .hero-grid,
  .grid-3, .grid-4, .grid-2,
  .split-highlight,
  .contact-layout,
  .cta-strip,
  .tpl-hub .pillar-row,
  .tpl-process .phase-grid,
  .cases-mosaic {
    grid-template-columns: 1fr;
  }
  .case-feature, .case-small, .case-wide { grid-column: span 1; }
  .case-metrics, .hero-metrics { grid-template-columns: 1fr 1fr; }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 14px; left: 14px;
    display: none;
    padding: 14px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(26,62,92,0.08);
    flex-direction: column;
    align-items: stretch;
  }
  .site-header.menu-open .site-nav { display: flex; }
  .site-nav a { text-align: center; }
  .nav-toggle { display: inline-grid; place-items: center; }

  .process-step { grid-template-columns: 1fr; }
  .cta-strip { text-align: left; }
  .case-card { padding: 24px; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 2.1rem; }
  .hero-copy, .hero-panel, .card, .contact-card, .quote-block { padding: 22px; }
  .wa-floating { padding: 12px; }
  .wa-floating .wa-label { display: none; }
  .case-metrics, .hero-metrics { grid-template-columns: 1fr; }
}

/* =================================================================
   DISEÑO 2025 — Shape-Driven + Motion-First
   Nuevas clases para index.html rediseñado
   ================================================================= */

/* ---- HERO DARK (nueva versión) ---- */
.hero-dark {
  background: var(--grad-hero);
  position: relative;
  isolation: isolate;
  padding: clamp(48px, 8vw, 96px) 0 0;
  overflow: hidden;
}
.hero-dark .container { position: relative; z-index: 1; }

/* ---- FORMAS DECORATIVAS DE FONDO ---- */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hbg-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.05);
}
.hbg-ring-1 {
  width: 700px; height: 700px;
  top: -300px; right: -250px;
  animation: spinSlow 60s linear infinite;
}
.hbg-ring-2 {
  width: 460px; height: 460px;
  top: -180px; right: -120px;
  border-color: rgba(52,194,181,0.10);
  animation: spinSlow 38s linear infinite reverse;
}
.hbg-ring-3 {
  width: 260px; height: 260px;
  top: -60px; right: 40px;
  border-color: rgba(255,122,0,0.12);
  animation: spinSlow 22s linear infinite;
}
.hbg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: floatY 9s ease-in-out infinite;
}
.hbg-orb-teal {
  width: 600px; height: 450px;
  top: -180px; right: -150px;
  background: radial-gradient(circle, rgba(52,194,181,0.22), transparent 70%);
}
.hbg-orb-orange {
  width: 450px; height: 320px;
  bottom: -60px; left: -80px;
  background: radial-gradient(circle, rgba(255,122,0,0.18), transparent 70%);
  animation-delay: 4s;
}
.hbg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 60% 30%, rgba(0,0,0,0.6) 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, rgba(0,0,0,0.6) 30%, transparent 75%);
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ---- HERO GRID NUEVO ---- */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 32px;
  align-items: center;
  padding-bottom: 0;
}

/* ---- HERO COPY V2 ---- */
.hero-copy-v2 {
  padding: clamp(24px, 3vw, 48px) 0;
  color: var(--white);
}
.hero-copy-v2 h1 {
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
  color: var(--white);
  max-width: 14ch;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.hero-copy-v2 .highlight {
  background: linear-gradient(90deg, var(--orange-400), var(--teal-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-copy-v2 .hero-lead {
  max-width: 54ch;
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  margin-bottom: 28px;
}
.hero-copy-v2 .hero-actions { margin-bottom: 28px; }

/* ---- TRUST BADGES ---- */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  font-family: "Montserrat", sans-serif;
}

/* ---- HERO VISUAL / DASHBOARD ---- */
.hero-visual {
  display: flex;
  flex-direction: column;
  padding: clamp(16px, 2vw, 32px) 0;
}
.hv-dashboard {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.04);
}
.hv-dash-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hv-dash-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.hv-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--teal-400);
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
}
.hv-live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal-400);
  box-shadow: 0 0 0 3px rgba(52,194,181,0.22);
  animation: pulseGlow 2.4s ease-in-out infinite;
}
.hv-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.hv-kpi {
  padding: 12px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
}
.hv-kpi strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}
.hv-kpi span {
  display: block;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.75);
  margin: 3px 0 5px;
  line-height: 1.3;
}
.hv-up {
  font-size: 0.65rem;
  font-weight: 700;
  font-style: normal;
  color: var(--teal-400);
  font-family: "Montserrat", sans-serif;
}
.hv-chart { flex: 1; }
.hv-chart-label {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.65);
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hv-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 72px;
}
.hv-bw {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  justify-content: flex-end;
}
.hv-cb {
  width: 100%;
  min-height: 4px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, rgba(52,194,181,0.55), rgba(52,194,181,0.12));
  transition: height 0.7s var(--ease-out);
}
.hv-peak .hv-cb {
  background: linear-gradient(180deg, var(--orange-400), rgba(255,122,0,0.18));
}
.hv-bw span {
  font-size: 0.52rem;
  color: rgba(255,255,255,0.55);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}
.hv-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.hv-stag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.67rem;
  font-weight: 700;
  color: rgba(255,255,255,0.78);
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.04em;
}
.hv-stag-active {
  background: rgba(255,122,0,0.16);
  border-color: rgba(255,122,0,0.28);
  color: var(--orange-300);
}

/* ---- HERO METRICS V2 (4 columnas, dentro del hero dark) ---- */
.hero-metrics-v2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.metric-v2 {
  padding: clamp(18px, 2.5vw, 28px) clamp(16px, 2vw, 24px);
  background: rgba(255,255,255,0.025);
  transition: background 0.2s var(--ease-out);
}
.metric-v2:hover { background: rgba(255,255,255,0.05); }
.metric-v2 strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(90deg, #fff, var(--teal-300));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}
.metric-v2 span {
  display: block;
  margin-top: 5px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.80);
  line-height: 1.4;
}

/* ---- SERVICES GRID ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.svc-card {
  position: relative;
  padding: 36px 30px 32px;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid rgba(26,62,92,0.08);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(52,194,181,0.28);
}
.svc-num {
  position: absolute;
  top: -16px; right: 18px;
  font-family: "Montserrat", sans-serif;
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(26,62,92,0.045);
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.05em;
}
.svc-card-accent .svc-num { color: rgba(255,122,0,0.07); }
.svc-icon {
  width: 60px; height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}
.svc-card:hover .svc-icon { transform: scale(1.08) rotate(-3deg); }
.svc-icon-teal  { background: rgba(52,194,181,0.12); color: var(--teal-500); }
.svc-icon-orange{ background: rgba(255,122,0,0.12);  color: var(--orange-500); }

/* Featured (dark) service card */
.svc-card-accent {
  background: linear-gradient(140deg, var(--navy-950), var(--navy-800));
  border-color: rgba(255,122,0,0.15);
  color: rgba(255,255,255,0.88);
}
.svc-card-accent h3 { color: #fff; }
.svc-card-accent p  { color: rgba(255,255,255,0.68); }
.svc-card-accent:hover { border-color: rgba(255,122,0,0.35); }

.svc-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  background: rgba(52,194,181,0.12);
  color: var(--navy-900);
  width: fit-content;
}
.svc-card-accent .svc-tag {
  background: rgba(255,122,0,0.16);
  color: var(--orange-300);
}
.svc-card h3 {
  font-size: 1.22rem;
  color: var(--navy-950);
  margin-bottom: 10px;
  line-height: 1.3;
}
.svc-card p {
  font-size: 0.94rem;
  color: var(--ink-500);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--teal-500);
  transition: gap 0.2s var(--ease-out), color 0.2s;
  margin-top: auto;
}
.svc-link:hover { gap: 9px; color: var(--navy-900); }
.svc-card-accent .svc-link { color: var(--orange-400); }
.svc-card-accent .svc-link:hover { color: var(--orange-300); }

/* ---- FEATURES GRID (Why PUM) ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.feat-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.07);
  transition: transform 0.25s var(--ease-out), background 0.25s;
}
.feat-item:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.07);
}
.feat-icon {
  flex-shrink: 0;
  width: 50px; height: 50px;
  border-radius: 14px;
  background: rgba(255,122,0,0.14);
  color: var(--orange-400);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feat-body h3 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 6px;
}
.feat-body p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.80);
  line-height: 1.6;
}

/* ---- QUOTE BLOCK: glyph decorativo ---- */
.quote-glyph {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 6.5rem;
  font-weight: 900;
  color: rgba(255,122,0,0.16);
  line-height: 0.65;
  margin-bottom: 10px;
  user-select: none;
}

/* ---- FOOTER BRAND ---- */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 300px;
}
.footer-brand .brand-name { color: #fff; font-size: 1rem; }
.footer-brand > span { font-size: 0.88rem; }
.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.82);
  font-size: 0.83rem;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  transition: background 0.2s, color 0.2s;
  width: fit-content;
  border: 1px solid rgba(255,255,255,0.08);
}
.footer-email:hover { background: var(--teal-500); color: #fff; }
.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.80rem;
  color: rgba(255,255,255,0.35);
}

/* ---- RESPONSIVE NUEVOS ELEMENTOS ---- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-copy-v2 h1 { max-width: 100%; }
  .hero-metrics-v2 { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .hv-kpis { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { flex-direction: column; gap: 32px; }
}
@media (max-width: 640px) {
  .hero-metrics-v2 { grid-template-columns: repeat(2, 1fr); }
  .hv-chart { display: none; }
  .trust-row { display: none; }
  .svc-card { padding: 28px 22px; }
  .feat-item { padding: 20px; }
  .hbg-ring-1, .hbg-ring-2 { display: none; }
  .footer-bottom { text-align: center; }
}
