/* ============================================================
   MAVO Growth — styles.css  (v2 — Premium Redesign)
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* Colors */
  --navy:          #0B1E3D;
  --navy-mid:      #122440;
  --navy-light:    #1C3560;
  --mint:          #00C2A1;
  --mint-hover:    #00A88B;
  --mint-dim:      rgba(0, 194, 161, 0.10);
  --mint-glow:     rgba(0, 194, 161, 0.22);
  --white:         #FFFFFF;
  --gray-400:      #94A3B8;
  --red-soft:      #FF6B6B;
  --red-dim:       rgba(255, 107, 107, 0.12);

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font:         'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --container:     1160px;
  --section-py:    120px;
  --section-py-sm: 72px;

  /* Radius */
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  24px;

  /* Shadows */
  --shadow-sm:   0 1px 4px rgba(0, 0, 0, 0.14);
  --shadow:      0 4px 20px rgba(0, 0, 0, 0.18);
  --shadow-md:   0 8px 36px rgba(0, 0, 0, 0.22);
  --shadow-lg:   0 24px 64px rgba(0, 0, 0, 0.28);
  --shadow-mint: 0 8px 32px rgba(0, 194, 161, 0.32);

  /* Transitions */
  --t:      0.22s ease;
  --t-slow: 0.4s ease;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Premium selection color */
::selection {
  background: var(--mint);
  color: var(--navy);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul, ol { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ============================================================
   3. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: var(--section-py) 0; }

.bg-white { background: var(--navy); }
.bg-gray  { background: var(--navy-mid); }
.bg-dark  { background: var(--navy); }

/* ============================================================
   4. TYPOGRAPHY SCALE
   ============================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 18px;
}

/* Line prefix for left-aligned labels */
.section-label::before {
  content: '';
  width: 22px;
  height: 1.5px;
  background: var(--mint);
  flex-shrink: 0;
  border-radius: 2px;
}

.section-label-mint { color: var(--mint); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 20px;
}

.section-title-light { color: var(--white); }

.section-subtitle {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255,255,255,0.50);
  max-width: 580px;
}

.section-subtitle-muted { color: rgba(255,255,255,0.50); }

/* Centered header block */
.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-header .section-label {
  justify-content: center;
}

/* Hide line prefix when centered */
.section-header .section-label::before { display: none; }

.section-header .section-subtitle { margin: 0 auto; }

.section-header-dark { text-align: center; }

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  border-radius: var(--r-sm);
  padding: 13px 24px;
  transition: background var(--t), color var(--t), transform var(--t), box-shadow var(--t);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--mint);
  color: var(--navy);
  border-color: var(--mint);
}

/* Shine sweep on hover */
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.18) 50%, rgba(255,255,255,0) 70%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--mint-hover);
  border-color: var(--mint-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 194, 161, 0.45);
}

.btn-primary:hover::after { transform: translateX(100%); }

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(0, 194, 161, 0.3);
}

.btn-lg {
  font-size: 15px;
  padding: 16px 32px;
}

.btn-full { width: 100%; }

.btn:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

/* Loading state */
.btn-loading { display: none; align-items: center; gap: 8px; }
.btn.is-loading .btn-label   { display: none; }
.btn.is-loading .btn-loading  { display: inline-flex; }

@keyframes spin { to { transform: rotate(360deg); } }
.spinner { animation: spin 0.9s linear infinite; }

/* ============================================================
   6. SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }
.fade-up:nth-child(5) { transition-delay: 0.32s; }

/* ============================================================
   7. HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(22px) saturate(160%) brightness(1.18);
  -webkit-backdrop-filter: blur(22px) saturate(160%) brightness(1.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(28px) saturate(180%) brightness(1.22);
  -webkit-backdrop-filter: blur(28px) saturate(180%) brightness(1.22);
  border-bottom-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.logo-link { flex-shrink: 0; }
.logo-img   { height: 36px; width: auto; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.65);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: color var(--t);
  position: relative;
}

/* Mint underline slide animation */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 14px;
  right: 14px;
  height: 1.5px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
  border-radius: 1px;
}

.nav-link:hover { color: var(--white); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-cta { margin-left: 14px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  margin-left: auto;
  padding: 6px;
  border-radius: var(--r-sm);
  transition: background var(--t);
}

.hamburger:hover { background: rgba(255, 255, 255, 0.08); }

.hline {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
  transform-origin: center;
}

.hamburger.open .hline:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open .hline:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .hline:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--navy);
  padding: 16px 28px 28px;
  border-top: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

.mobile-menu.open { display: flex; }

.mobile-nav-link {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.70);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--t);
}

.mobile-nav-link:hover { color: var(--mint); }
.mobile-nav-cta { margin-top: 20px; width: 100%; }

/* ============================================================
   8. HERO
   ============================================================ */
.hero {
  background: var(--navy);
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}

/* Atmospheric gradient layers */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 65% at 70% 38%, rgba(18, 44, 80, 0.96) 0%, transparent 72%),
    radial-gradient(ellipse 55% 55% at 8% 88%, rgba(0, 194, 161, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 45% 45% at 92% 10%, rgba(0, 194, 161, 0.06) 0%, transparent 52%);
  pointer-events: none;
  z-index: 0;
}

/* Subtle dot grid */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse 75% 80% at 50% 50%, transparent 20%, black 90%);
  -webkit-mask-image: radial-gradient(ellipse 75% 80% at 50% 50%, transparent 20%, black 90%);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

/* Badge with animated pulse dot */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
  border: 1px solid rgba(0, 194, 161, 0.25);
  border-radius: 100px;
  padding: 8px 18px;
  margin-bottom: 40px;
  background: rgba(0, 194, 161, 0.06);
  backdrop-filter: blur(8px);
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(0, 194, 161, 0.7);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.5vw, 78px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 28px;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.50);
  max-width: 540px;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.hero-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
}

/* ============================================================
   9. PROBLEMA
   ============================================================ */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}

.pain-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-md);
  padding: 28px 24px;
  transition:
    transform 0.35s var(--spring),
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.pain-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 194, 161, 0.28);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 194, 161, 0.12);
}

.pain-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--mint-dim);
  color: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t), transform var(--t);
}

.pain-card:hover .pain-icon {
  background: rgba(0, 194, 161, 0.18);
  transform: scale(1.06) rotate(-3deg);
}

.pain-card p {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
  color: rgba(255,255,255,0.70);
  padding-top: 8px;
}

.pain-conclusion {
  text-align: center;
  padding: 36px 52px;
  background: rgba(0,194,161,0.05);
  border: 1px solid rgba(0,194,161,0.16);
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
}

/* Gradient top accent line */
.pain-conclusion::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--mint) 40%, var(--mint) 60%, transparent 100%);
  opacity: 0.7;
}

.pain-conclusion p {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  color: rgba(255,255,255,0.70);
  line-height: 1.4;
}

.pain-conclusion strong {
  color: var(--white);
}

/* ============================================================
   10. DIFERENCIA / COMPARISON
   ============================================================ */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 56px;
}

.comparison-col {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.09);
}

.comparison-col-header {
  padding: 22px 28px;
  display: flex;
  align-items: center;
  min-height: 68px;
}

/* Bad column */
.comparison-bad {
  background: rgba(255,255,255,0.04);
}

.comparison-bad .comparison-col-header {
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* Good column — glowing treatment */
.comparison-good {
  background: rgba(0, 194, 161, 0.05);
  border-color: rgba(0, 194, 161, 0.32);
  box-shadow:
    0 0 0 1px rgba(0, 194, 161, 0.10),
    0 8px 40px rgba(0, 194, 161, 0.08),
    inset 0 1px 0 rgba(0, 194, 161, 0.15);
  position: relative;
}

.comparison-good::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--mint), transparent);
  border-radius: var(--r-md) var(--r-md) 0 0;
}

.comparison-good .comparison-col-header {
  background: rgba(0,194,161,0.10);
  border-bottom: 1px solid rgba(0,194,161,0.18);
}

.comparison-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-tag-bad { color: rgba(255,255,255,0.35); }

.comparison-logo { height: 26px; width: auto; }

.comparison-list { padding: 4px 0; }

.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  border-top: 1px solid rgba(255,255,255,0.05);
  transition: background var(--t);
}

.comparison-item:first-child { border-top: none; }

.comparison-item.bad  { color: rgba(255,255,255,0.35); }
.comparison-item.good { color: rgba(255,255,255,0.85); }

.comparison-bad  .comparison-item:hover { background: rgba(255,255,255,0.03); }
.comparison-good .comparison-item:hover { background: rgba(0, 194, 161, 0.07); }

.cmp-icon { flex-shrink: 0; margin-top: 3px; }
.comparison-item.bad  .cmp-icon { color: var(--red-soft); }
.comparison-item.good .cmp-icon { color: var(--mint); }

.comparison-conclusion {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 700;
  color: rgba(255,255,255,0.82);
  padding: 0 16px;
  line-height: 1.4;
}

/* ============================================================
   11. PROCESO
   ============================================================ */
.process-list {
  display: flex;
  flex-direction: column;
  max-width: 840px;
  margin: 0 auto;
}

.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 44px;
}

.step-number-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 2px;
}

/* Outlined step numbers — premium editorial touch */
.step-num {
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(0, 194, 161, 0.45);
  line-height: 1;
  flex-shrink: 0;
  user-select: none;
}

/* Gradient connector line */
.step-line {
  width: 1.5px;
  flex: 1;
  background: linear-gradient(to bottom, rgba(0, 194, 161, 0.35) 0%, rgba(255,255,255,0.04) 100%);
  margin: 14px 0;
  min-height: 48px;
}

.step-body {
  padding-bottom: 68px;
}

.process-step:last-child .step-body { padding-bottom: 0; }

.step-timing {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 10px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 10px;
}

.step-hook {
  font-size: 15px;
  font-weight: 600;
  font-style: italic;
  color: rgba(255,255,255,0.72);
  margin-bottom: 14px;
  line-height: 1.55;
}

.step-desc {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.48);
  margin-bottom: 22px;
}

.step-deliverable {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  background: var(--mint-dim);
  border-left: 2px solid var(--mint);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.deliverable-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--mint);
  white-space: nowrap;
}

.deliverable-text {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

/* ============================================================
   12. PARA QUIÉN
   ============================================================ */
.qualify-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 56px;
}

.qualify-col {
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
}

.qualify-col-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.qualify-col-header-yes {
  background: rgba(0, 194, 161, 0.09);
  border-bottom: 1px solid rgba(0,194,161,0.12);
}

.qualify-col-header-no {
  background: rgba(255, 107, 107, 0.07);
  border-bottom: 1px solid rgba(255,107,107,0.11);
}

.qualify-list { padding: 6px 0; }

.qualify-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  border-top: 1px solid rgba(255,255,255,0.04);
  transition: background var(--t);
}

.qualify-item:first-child { border-top: none; }
.qualify-item:hover { background: rgba(255,255,255,0.03); }

.qualify-item-yes { color: rgba(255,255,255,0.82); }
.qualify-item-no  { color: rgba(255,255,255,0.48); }

.q-icon { flex-shrink: 0; margin-top: 2px; }

.qualify-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.qualify-cta p {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: rgba(255,255,255,0.70);
}

/* ============================================================
   13. MÉTRICAS
   ============================================================ */
/* 6-column trick to center last 2 of 5 */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}

.metric-card {
  grid-column: span 2;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-md);
  padding: 32px 26px 28px;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.32s var(--spring),
    box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Top accent line on hover */
.metric-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,194,161,0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.metric-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(0, 194, 161, 0.28);
  transform: translateY(-4px);
  box-shadow: 0 14px 44px rgba(0,0,0,0.28), 0 0 0 1px rgba(0,194,161,0.10);
}

.metric-card:hover::before { opacity: 1; }

/* Center the 4th and 5th cards */
.metrics-grid .metric-card:nth-child(4) { grid-column: 2 / span 2; }
.metrics-grid .metric-card:nth-child(5) { grid-column: 4 / span 2; }

/* Large display abbreviation */
.metric-abbr {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--mint);
  margin-bottom: 14px;
  line-height: 1;
}

.metric-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}

.metric-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.46);
  line-height: 1.68;
}

.metrics-note {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-md);
  padding: 24px 36px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.metrics-note p {
  font-size: 14px;
  color: rgba(255,255,255,0.38);
  line-height: 1.75;
}

/* ============================================================
   14. NOSOTROS
   ============================================================ */
.nosotros-inner {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 80px;
  align-items: start;
}

.nosotros-left { padding-top: 8px; }

.nosotros-right .section-title { margin-bottom: 36px; }

.nosotros-text {
  font-size: 16px;
  line-height: 1.82;
  color: rgba(255,255,255,0.52);
  margin-bottom: 18px;
}

/* Blockquote-style highlight */
.nosotros-highlight {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin: 32px 0 40px;
  padding: 22px 28px;
  background: rgba(0, 194, 161, 0.06);
  border-left: 3px solid var(--mint);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  line-height: 1.55;
}

.nosotros-pillars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pillar {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.72);
  padding: 14px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-sm);
  transition:
    background var(--t),
    border-color var(--t),
    color var(--t),
    transform 0.25s ease;
  cursor: default;
}

.pillar:hover {
  background: rgba(0, 194, 161, 0.07);
  border-color: rgba(0, 194, 161, 0.2);
  color: var(--white);
  transform: translateX(5px);
}

.pillar-arrow {
  color: var(--mint);
  font-size: 15px;
  font-weight: 800;
  transition: transform 0.25s ease;
}

.pillar:hover .pillar-arrow { transform: translateX(4px); }

/* ============================================================
   15. FAQ
   ============================================================ */
.faq-list {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.faq-item:first-child { border-top: 1px solid rgba(255,255,255,0.07); }

.faq-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 24px 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  text-align: left;
  transition: color var(--t);
}

.faq-btn:hover { color: var(--white); }
.faq-btn[aria-expanded="true"] { color: var(--white); }

/* Circular chevron button */
.faq-chevron {
  flex-shrink: 0;
  color: rgba(255,255,255,0.28);
  transition: transform 0.38s ease, color var(--t), background var(--t);
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  padding: 4px;
  width: 28px;
  height: 28px;
  box-sizing: content-box;
}

.faq-btn:hover .faq-chevron,
.faq-btn[aria-expanded="true"] .faq-chevron {
  color: var(--mint);
  background: var(--mint-dim);
}

.faq-btn[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

.faq-panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.42s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.28s ease,
    padding 0.38s ease;
}

.faq-panel.open {
  max-height: 600px;
  opacity: 1;
  padding-bottom: 24px;
  transition:
    max-height 0.42s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.32s ease 0.06s,
    padding 0.38s ease;
}

.faq-panel p {
  font-size: 15px;
  line-height: 1.82;
  color: rgba(255,255,255,0.48);
}

/* ============================================================
   16. CONTACTO / FORM
   ============================================================ */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}

.contact-copy .section-label   { margin-bottom: 20px; }
.contact-copy .section-title   { margin-bottom: 20px; }
.contact-copy .section-subtitle { margin-bottom: 40px; }

.contact-promises {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-promises li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.52);
}

/* Form wrapper as card */
.contact-form-wrap {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
}

.form-label span { color: var(--mint); }

.form-input {
  width: 100%;
  font-family: var(--font);
  font-size: 15px;
  color: var(--white);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
}

.form-input::placeholder { color: rgba(255,255,255,0.20); }
.form-input:hover { border-color: rgba(255,255,255,0.20); }

.form-input:focus {
  border-color: var(--mint);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 0 0 3px rgba(0, 194, 161, 0.14);
}

.form-input.has-error {
  border-color: var(--red-soft);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.10);
}

.form-textarea { resize: vertical; min-height: 120px; }

.form-error-msg {
  font-size: 12px;
  color: var(--red-soft);
  font-weight: 500;
  min-height: 16px;
}

.form-note {
  font-size: 12px;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.28);
  text-align: center;
  margin-top: -4px;
}

/* Hidden attribute support */
[hidden] { display: none !important; }

/* Feedback panels */
.form-feedback {
  text-align: center;
  padding: 52px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.feedback-icon { margin-bottom: 8px; }

.form-success-panel h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.form-success-panel p {
  font-size: 15px;
  color: rgba(255,255,255,0.52);
  line-height: 1.72;
  max-width: 340px;
}

.form-error-panel p {
  font-size: 15px;
  color: rgba(255,255,255,0.52);
  line-height: 1.72;
}

.form-error-panel a {
  color: var(--mint);
  text-decoration: underline;
}

/* ============================================================
   17. FOOTER
   ============================================================ */
.footer {
  background: #050E1C;
  padding: 56px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  position: relative;
}

/* Mint gradient accent at top center */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mint), transparent);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-logo { height: 30px; width: auto; }

.footer-tagline {
  font-size: 12px;
  color: rgba(255,255,255,0.26);
  margin-top: 10px;
  letter-spacing: 0.03em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
}

.footer-link {
  font-size: 13px;
  color: rgba(255,255,255,0.32);
  font-weight: 500;
  transition: color var(--t);
}

.footer-link:hover { color: var(--mint); }

.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.16);
  letter-spacing: 0.03em;
}

/* ============================================================
   18. RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .nosotros-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .nosotros-left { padding-top: 0; }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Reset 6-col metric trick to simple 2-col */
  .metric-card                          { grid-column: span 1; }
  .metrics-grid .metric-card:nth-child(4),
  .metrics-grid .metric-card:nth-child(5) { grid-column: span 1; }
}

/* ============================================================
   19. RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --section-py: var(--section-py-sm); }

  .container { padding: 0 20px; }

  /* Header */
  .nav-desktop { display: none; }
  .nav-cta     { display: none; }
  .hamburger   { display: flex; }

  /* Hero */
  .hero { padding: 100px 0 72px; min-height: auto; }

  /* Sections */
  .pain-grid     { grid-template-columns: 1fr; }
  .comparison    { grid-template-columns: 1fr; }
  .qualify-grid  { grid-template-columns: 1fr; }
  .metrics-grid  { grid-template-columns: 1fr; }

  .metric-card                          { grid-column: span 1; }
  .metrics-grid .metric-card:nth-child(4),
  .metrics-grid .metric-card:nth-child(5) { grid-column: span 1; }

  /* Process */
  .process-step { grid-template-columns: 56px 1fr; gap: 0 20px; }
  .step-num     { font-size: 36px; -webkit-text-stroke-width: 1px; }
  .step-body    { padding-bottom: 44px; }

  /* Contact */
  .contact-inner     { grid-template-columns: 1fr; gap: 48px; }
  .contact-form-wrap { padding: 24px; border-radius: var(--r-md); }
  .form-row          { grid-template-columns: 1fr; }

  .section-subtitle { font-size: 16px; }
}

/* ============================================================
   20. COOKIE BANNER — modal con overlay
   ============================================================ */

/* Overlay que cubre toda la pantalla */
.cookie-banner {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 12, 28, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  pointer-events: none;
  transition: background 0.35s ease,
              backdrop-filter 0.35s ease,
              -webkit-backdrop-filter 0.35s ease;
}

.cookie-banner.visible {
  background: rgba(5, 12, 28, 0.80);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: all;
}

/* Tarjeta central */
.cookie-banner-inner {
  background: var(--navy-mid);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-top: 3px solid var(--mint);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg), 0 0 80px rgba(0, 194, 161, 0.07);
  padding: 44px 48px;
  max-width: 500px;
  width: 100%;
  transform: translateY(28px) scale(0.96);
  opacity: 0;
  transition: transform 0.45s var(--spring), opacity 0.35s ease;
}

.cookie-banner.visible .cookie-banner-inner {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Título */
.cookie-banner-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

/* Texto descriptivo */
.cookie-banner-text {
  display: block;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--gray-400);
  margin-bottom: 32px;
}

.cookie-link {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--t);
}
.cookie-link:hover { color: var(--mint-hover); }

/* Botones apilados verticalmente */
.cookie-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-cookie {
  font-family: var(--font);
  font-weight: 600;
  width: 100%;
  text-align: center;
  border-radius: var(--r-sm);
  cursor: pointer;
  border: 1.5px solid transparent;
  line-height: 1;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
}

.btn-cookie:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

/* Aceptar — grande y prominente */
.btn-cookie-primary {
  background: var(--mint);
  color: var(--navy);
  border-color: var(--mint);
  font-size: 15.5px;
  padding: 17px 24px;
  letter-spacing: 0.005em;
}

.btn-cookie-primary:hover {
  background: var(--mint-hover);
  border-color: var(--mint-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-mint);
}

/* Rechazar — discreto pero visible */
.btn-cookie-secondary {
  background: transparent;
  color: var(--gray-400);
  border-color: rgba(255, 255, 255, 0.12);
  font-size: 13px;
  padding: 12px 24px;
}

.btn-cookie-secondary:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

/* Bloquear scroll mientras el banner está activo */
body.cookie-open { overflow: hidden; }

@media (max-width: 540px) {
  .cookie-banner-inner {
    padding: 32px 24px;
  }
  .cookie-banner-title {
    font-size: 19px;
  }
}

/* ============================================================
   21. RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero-title    { font-size: 36px; }
  .hero-subtitle { font-size: 16px; }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-lg { font-size: 15px; padding: 14px 24px; }

  .pain-card   { flex-direction: column; gap: 12px; }
  .pain-card p { padding-top: 0; }

  .pain-conclusion { padding: 28px 24px; }

  .section-title { font-size: 28px; }

  .qualify-cta p { font-size: 16px; }

  .contact-form-wrap { padding: 20px; }

  .metric-abbr { font-size: 36px; }
}
