@charset "UTF-8";
/* ==========================================================================
   PLATAFORMA DOC -- main.css v3.0
   Light-first design system. Stripe / Linear / Vercel / Raycast.
   Pure ASCII content required (server charset header absent).
   ========================================================================== */

/* --- 1. DESIGN TOKENS ---------------------------------------------------- */
:root {
  /* Surfaces */
  --bg-base:        #F8F9FC;
  --bg-subtle:      #EEF2F8;
  --bg-card:        #FFFFFF;
  --bg-dark:        #0D1117;
  --bg-dark-2:      #131B27;
  --bg-dark-card:   #1A2332;
  --bg-accent-tint: #EBF3FB;

  /* Borders */
  --border-base:   #E2E8F0;
  --border-subtle: #D1D9E6;
  --border-dark:   rgba(255,255,255,0.08);

  /* Brand */
  --color-primary:       #3B72AD;
  --color-primary-dark:  #2C5A8C;
  --color-primary-light: #EBF3FB;
  --color-accent:        #3ECFCA;
  --color-accent-dark:   #2BAFAA;

  /* Text on light */
  --text-base:      #0D1117;
  --text-secondary: #374151;
  --text-muted:     #6B7280;
  --text-faint:     #9CA3AF;

  /* Text on dark */
  --text-on-dark:    rgba(255,255,255,0.92);
  --text-muted-dark: rgba(255,255,255,0.52);
  --text-faint-dark: rgba(255,255,255,0.26);

  /* Typography */
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body:    'Figtree', system-ui, -apple-system, sans-serif;

  /* Type scale -- proportional, ~30% smaller max than v2 */
  --text-xs:   clamp(0.6875rem, 1.2vw,  0.75rem);
  --text-sm:   clamp(0.8125rem, 1.4vw,  0.875rem);
  --text-base: clamp(0.9375rem, 1.6vw,  1rem);
  --text-md:   clamp(1rem,      1.8vw,  1.125rem);
  --text-lg:   clamp(1.125rem,  2vw,    1.375rem);
  --text-xl:   clamp(1.375rem,  2.4vw,  1.75rem);
  --text-2xl:  clamp(1.75rem,   3.2vw,  2.375rem);
  --text-3xl:  clamp(2.25rem,   4vw,    3rem);
  --text-hero: clamp(2.8rem,    5vw,    5.2rem);

  /* Font weights */
  --fw-light:   300;
  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semi:    600;
  --fw-bold:    700;
  --fw-black:   800;

  /* Spacing */
  --space-1:  0.25rem;  --space-2:  0.5rem;   --space-3:  0.75rem;
  --space-4:  1rem;     --space-5:  1.25rem;  --space-6:  1.5rem;
  --space-8:  2rem;     --space-10: 2.5rem;   --space-12: 3rem;
  --space-16: 4rem;     --space-20: 5rem;     --space-24: 6rem;

  /* Layout */
  --container-max:    1200px;
  --container-narrow: 760px;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);

  /* Radii */
  --radius-sm:   4px;   --radius-md:   8px;
  --radius-lg:   16px;  --radius-xl:   24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(13,17,23,0.08);
  --shadow-md: 0 4px 16px rgba(13,17,23,0.10);
  --shadow-lg: 0 16px 48px rgba(13,17,23,0.14);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 140ms;  --dur-base: 260ms;  --dur-slow: 480ms;

  /* Section padding */
  --section-pad: clamp(5rem, 9vw, 8rem);
}

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

html { font-size: 100%; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  line-height: 1.65;
  color: var(--text-base);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }

.skip-link { position: absolute; top: -100%; left: 1rem; z-index: 9999; }
.skip-link:focus {
  top: 1rem; padding: 0.75rem 1.5rem;
  background: var(--color-accent); color: var(--bg-dark);
  border-radius: var(--radius-full); font-weight: var(--fw-semi);
}

/* --- 3. LAYOUT ----------------------------------------------------------- */
.container {
  width: 100%; max-width: var(--container-max);
  margin-inline: auto; padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

/* --- 4. TYPOGRAPHY UTILITIES --------------------------------------------- */
.label-eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-body); font-size: var(--text-xs);
  font-weight: var(--fw-semi); letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--color-primary);
  margin-bottom: var(--space-5);
}
.label-eyebrow::before {
  content: ''; display: inline-block;
  width: 18px; height: 1.5px;
  background: currentColor; flex-shrink: 0;
}
.label-eyebrow--accent { color: var(--color-accent); }
.label-eyebrow--light  { color: rgba(255,255,255,0.48); }

.section-title {
  font-family: var(--font-display); font-size: var(--text-3xl);
  font-weight: var(--fw-black); line-height: 1.06;
  letter-spacing: -0.03em; color: var(--text-base);
}
.section-title--light { color: var(--text-on-dark); }

.section-sub {
  font-size: var(--text-md); font-weight: var(--fw-light);
  line-height: 1.7; color: var(--text-muted); max-width: 500px;
}
.section-sub--light { color: var(--text-muted-dark); }

/* --- 5. BUTTONS ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: 0.8125rem 1.625rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body); font-size: var(--text-sm);
  font-weight: var(--fw-semi); letter-spacing: 0.01em;
  line-height: 1; white-space: nowrap;
  transition: all var(--dur-base) var(--ease-out);
  border: 1.5px solid transparent; cursor: pointer;
}
.btn-sm  { padding: 0.5625rem 1.125rem; font-size: var(--text-xs); }
.btn-lg  { padding: 1rem 2.25rem; font-size: var(--text-base); }

.btn-accent {
  background: var(--color-accent); color: var(--bg-dark);
  border-color: var(--color-accent); font-weight: var(--fw-bold);
}
.btn-accent:hover {
  background: var(--color-accent-dark); border-color: var(--color-accent-dark);
  transform: translateY(-1px); box-shadow: 0 8px 24px rgba(62,207,202,0.32);
}

.btn-primary {
  background: var(--color-primary); color: #fff;
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-primary-dark); border-color: var(--color-primary-dark);
  transform: translateY(-1px); box-shadow: 0 8px 24px rgba(59,114,173,0.32);
}

.btn-ghost-dark {
  background: transparent; color: var(--text-secondary);
  border-color: var(--border-base);
}
.btn-ghost-dark:hover {
  background: var(--bg-subtle); border-color: var(--border-subtle);
  color: var(--text-base);
}

.btn-ghost-white {
  background: transparent; color: rgba(255,255,255,0.68);
  border-color: rgba(255,255,255,0.16);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.06); color: #fff;
  border-color: rgba(255,255,255,0.36);
}

.btn-dark {
  background: var(--bg-dark); color: #fff; border-color: var(--bg-dark);
}
.btn-dark:hover {
  background: var(--bg-dark-2); transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-arrow { transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* --- 6. HEADER / NAV ----------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200; height: 60px;
  transition: background var(--dur-slow) var(--ease-out),
              border-color var(--dur-slow) var(--ease-out),
              box-shadow var(--dur-slow) var(--ease-out);
  border-bottom: 1px solid transparent;
}

.site-header.is-dark.scrolled {
  background: rgba(13,17,23,0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-color: var(--border-dark);
}
.site-header.is-light.scrolled {
  background: rgba(248,249,252,0.95);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-color: var(--border-base); box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; gap: var(--space-6);
}

.site-logo img { height: 40px; width: auto; transform-origin: left center; transition: transform var(--dur-base) var(--ease-out); will-change: transform; }
.scrolled .site-logo img { transform: scale(0.8); }

.nav-list { display: none; gap: var(--space-1); }
@media (min-width: 768px) { .nav-list { display: flex; align-items: center; } }

.nav-list a {
  display: block; padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm); font-weight: var(--fw-medium);
  color: var(--text-muted); border-radius: var(--radius-full);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.nav-list a:hover { color: var(--text-base); background: var(--bg-subtle); }

.site-header.is-dark .nav-list a       { color: rgba(255,255,255,0.62); }
.site-header.is-dark .nav-list a:hover { color: #fff; background: rgba(255,255,255,0.06); }

.header-actions { display: flex; align-items: center; gap: var(--space-3); }

.nav-toggle {
  display: flex; flex-direction: column; gap: 5px;
  width: 36px; padding: 6px; border-radius: var(--radius-sm);
}
@media (min-width: 768px) { .nav-toggle { display: none; } }

.nav-toggle .bar {
  display: block; width: 100%; height: 1.5px;
  background: var(--text-muted); border-radius: 2px;
  transition: all var(--dur-base) var(--ease-out); transform-origin: center;
}
.site-header.is-dark .nav-toggle .bar { background: rgba(255,255,255,0.68); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 767px) {
  .nav-primary {
    position: fixed; top: 60px; left: 0; right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-base);
    border-bottom: 1px solid var(--border-base);
    padding: var(--space-6) var(--gutter) var(--space-10);
    transform: translateY(-100%); opacity: 0; pointer-events: none;
    transition: transform var(--dur-slow) var(--ease-out),
                opacity var(--dur-slow) var(--ease-out);
    z-index: 199;
  }
  .nav-primary.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-list { display: flex; flex-direction: column; gap: var(--space-1); }
  .nav-list a { font-size: var(--text-md); padding: var(--space-3) var(--space-4); }
}

body { padding-top: 60px; }

/* --- 6.B. HEADER BRAND ENHANCEMENTS ------------------------------------- */
/* Gradient accent stripe at top of header */
.site-header::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    var(--color-primary) 0%,
    var(--color-accent)  50%,
    var(--color-primary) 100%);
  opacity: 0.72; pointer-events: none; z-index: 3;
}

/* Logo: sin logo-tag */
.site-logo {
  display: flex; align-items: center;
  text-decoration: none;
}

/* Pre-scroll dark hero: gradient so header integrates visually */
.site-header.is-dark:not(.scrolled) {
  background: linear-gradient(180deg, rgba(13,17,23,0.80) 0%, rgba(13,17,23,0.05) 100%);
}

/* --- 7. HERO -- dark, editorial two-column -------------------------------- */
.hero {
  position: relative; background: var(--bg-dark);
  min-height: 100svh; margin-top: -60px;
  overflow: hidden; display: flex; flex-direction: column;
}

.hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(90px); pointer-events: none;
}
.hero-glow--1 {
  width: clamp(280px,45vw,600px); height: clamp(280px,45vw,600px);
  background: radial-gradient(circle, rgba(59,114,173,0.20) 0%, transparent 70%);
  top: -15%; right: -5%;
}
.hero-glow--2 {
  width: clamp(180px,30vw,400px); height: clamp(180px,30vw,400px);
  background: radial-gradient(circle, rgba(62,207,202,0.12) 0%, transparent 70%);
  bottom: 20%; left: -8%;
}

.hero-inner {
  position: relative; z-index: 2; flex: 1;
  display: grid; grid-template-columns: 1fr;
  align-items: center; gap: clamp(2rem,5vw,4rem);
  padding-top: calc(60px + clamp(3.5rem,7vw,6rem));
  padding-bottom: clamp(3rem,5vw,4.5rem);
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1fr 400px; }
}

.hero-content {
  display: flex; flex-direction: column;
  gap: clamp(1.5rem,3vw,2.25rem);
}

.hero-eyebrow {
  display: flex; align-items: center; gap: var(--space-3);
  font-size: var(--text-xs); font-weight: var(--fw-semi);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.40); opacity: 0;
}
.hero-dot {
  display: inline-block; width: 5px; height: 5px;
  border-radius: 50%; background: var(--color-accent);
  flex-shrink: 0; box-shadow: 0 0 8px var(--color-accent);
}

.hero-headline { display: flex; flex-direction: column; gap: 0.04em; margin: 0; }
.hero-hl-line  { display: block; overflow: hidden; line-height: 1; }
.hero-hl-inner {
  display: block; font-family: var(--font-display);
  font-size: var(--text-hero); font-weight: var(--fw-black);
  line-height: 1.0; letter-spacing: -0.03em;
  color: #fff; transform: translateY(110%);
}
.hero-hl-inner--accent { color: var(--color-accent); }

.hero-sub {
  font-size: var(--text-md); font-weight: var(--fw-light);
  color: var(--text-muted-dark); line-height: 1.7; max-width: 44ch;
  opacity: 0;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); opacity: 0; }
@media (max-width: 480px) { .hero-actions { flex-direction: column; } }

.hero-visual {
  display: none; align-items: center; justify-content: center;
  opacity: 0;
}
@media (min-width: 900px) { .hero-visual { display: flex; } }
/* hero-visual img removed v3.1 -- replaced by .hero-diag */

/* Ticker */
.hero-ticker {
  position: relative; z-index: 2; overflow: hidden;
  border-top: 1px solid var(--border-dark);
  background: rgba(255,255,255,0.015);
  padding-block: 0.875rem; white-space: nowrap; margin-top: auto;
}
.ticker-track {
  display: inline-flex;
  animation: ticker 30s linear infinite;
}
.ticker-item {
  font-size: var(--text-xs); font-weight: var(--fw-semi);
  letter-spacing: 0.09em; text-transform: uppercase;
  color: rgba(255,255,255,0.26); padding-inline: var(--space-5);
}
.ticker-sep {
  display: inline-block; color: var(--color-accent);
  padding-inline: var(--space-2); opacity: 0.5;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --- 7.B. HERO DIAGNOSTIC PANEL ----------------------------------------- */
.hero-diag {
  position: relative;
  background: rgba(13,17,23,0.82);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px; overflow: hidden;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 32px 64px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.04);
  width: 100%; max-width: 340px;
  animation: diag-float 5s ease-in-out infinite;
}
@keyframes diag-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}
.hero-diag__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hero-diag__live {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.hero-diag__live-dot {
  display: block; width: 7px; height: 7px;
  border-radius: 50%; background: #3ECFCA;
  box-shadow: 0 0 0 0 rgba(62,207,202,0.5);
  animation: live-ping 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes live-ping {
  0%   { box-shadow: 0 0 0 0   rgba(62,207,202,0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(62,207,202,0);   }
  100% { box-shadow: 0 0 0 0   rgba(62,207,202,0);   }
}
.hero-diag__id {
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.22); font-family: monospace;
}
.hero-diag__body {
  padding: 16px 18px; display: flex; flex-direction: column; gap: 14px;
}
.hero-diag__metric { display: flex; flex-direction: column; gap: 6px; }
.hero-diag__m-top {
  display: flex; align-items: center; justify-content: space-between;
}
.hero-diag__m-label {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.02em; color: rgba(255,255,255,0.48);
}
.hero-diag__m-score {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
}
.hero-diag__m-score--critical { color: #F06060; }
.hero-diag__m-score--low      { color: #F0A040; }
.hero-diag__m-track {
  height: 3px; background: rgba(255,255,255,0.07);
  border-radius: 2px; overflow: hidden;
}
.hero-diag__m-fill {
  height: 100%; width: 0; border-radius: 2px;
  background: linear-gradient(90deg, #3B72AD, #3ECFCA);
}
.hero-diag__alert {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(240,96,96,0.07);
  font-family: var(--font-body);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(240,96,96,0.75);
}

/* --- 8. STATS -- light, horizontal stripe --------------------------------- */
.section-stats {
  background: var(--bg-card);
  border-top: 1px solid var(--border-base);
  border-bottom: 1px solid var(--border-base);
  padding-block: clamp(2.5rem,4vw,3.5rem);
}
.stats-inner {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 0;
}
@media (min-width: 640px) { .stats-inner { grid-template-columns: repeat(4,1fr); } }

.stat-item {
  padding: clamp(1.5rem,3vw,2.5rem) clamp(1.25rem,2.5vw,2rem);
  display: flex; flex-direction: column; gap: var(--space-2);
  border-right: 1px solid var(--border-base);
  transition: background var(--dur-base);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--bg-subtle); }

@media (max-width: 639px) {
  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) {
    border-bottom: 1px solid var(--border-base);
  }
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem,4vw,3.25rem);
  font-weight: var(--fw-black); line-height: 1; letter-spacing: -0.04em;
  color: var(--text-base); display: flex; align-items: baseline; gap: 0.05em;
}
.stat-suffix { font-size: 0.65em; color: var(--color-primary); font-weight: var(--fw-bold); }
.stat-label {
  font-size: var(--text-xs); font-weight: var(--fw-medium);
  letter-spacing: 0.03em; color: var(--text-muted); line-height: 1.4; max-width: 150px;
}

/* --- 9. PROBLEM -- light, card grid v2 ----------------------------------- */
.section-problem {
  background: var(--bg-base); padding-block: var(--section-pad);
}
.problem-header { margin-bottom: clamp(3rem,5vw,4.5rem); }
.problem-header .label-eyebrow { color: var(--color-primary); }
.problem-title { color: var(--text-base); max-width: 500px; }

/* Card grid: visually completely different from method step-list */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: var(--space-4);
  margin-bottom: clamp(3rem,5vw,4rem);
}

.prob-card {
  background: var(--bg-card);
  border: 1px solid var(--border-base);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem,2.5vw,2rem);
  position: relative; overflow: hidden;
  transition: border-color var(--dur-base) var(--ease-out),
              transform    var(--dur-base) var(--ease-out),
              box-shadow   var(--dur-base) var(--ease-out);
}
/* Left accent bar on hover */
.prob-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--color-accent);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform var(--dur-slow) var(--ease-out);
}
.prob-card:hover {
  border-color: var(--border-subtle);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.prob-card:hover::before { transform: scaleY(1); }

.prob-card__top {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: var(--space-4);
  margin-bottom: var(--space-5);
}
/* Large decorative number -- ghost color, Bricolage */
.prob-card__num {
  font-family: var(--font-display);
  font-size: clamp(2.25rem,3.5vw,3rem); font-weight: var(--fw-black);
  font-variation-settings: 'opsz' 48;
  letter-spacing: -0.05em; line-height: 1;
  color: var(--bg-subtle);
}
/* Pill tag top-right */
.prob-card__tag {
  font-family: var(--font-body); font-size: var(--text-xs);
  font-weight: var(--fw-semi); letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 0.3rem 0.75rem; border-radius: var(--radius-full);
  white-space: nowrap; flex-shrink: 0; align-self: flex-start;
}
.prob-card__text {
  font-size: var(--text-base); font-weight: var(--fw-regular);
  line-height: 1.65; color: var(--text-secondary);
}

/* Problem footer (cta + copy line) */
.problem-footer {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: var(--space-6);
  padding-top: var(--space-6); border-top: 1px solid var(--border-base);
}
.problem-footer__text {
  font-size: var(--text-sm); color: var(--text-muted);
  max-width: 480px; font-weight: var(--fw-light); line-height: 1.6;
}

/* --- 10. METHOD -- dark, 8-step grid ------------------------------------- */
.section-method {
  background: var(--bg-dark); padding-block: clamp(2rem,3.5vw,2.5rem);
  position: relative; overflow: hidden;
}

.method-header {
  position: relative; z-index: 1;
  margin-bottom: clamp(1rem,2vw,1.5rem);
  max-width: 660px; display: flex; flex-direction: column; gap: var(--space-4);
}

.method-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr;
  gap: 0; border-top: 1px solid var(--border-dark);
}
@media (min-width: 640px)  { .method-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .method-grid { grid-template-columns: repeat(4,1fr); } }

.method-card {
  position: relative; overflow: hidden;
  padding: clamp(1.75rem,3vw,2.5rem) clamp(1.5rem,2.5vw,2rem);
  border-right: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  transition: background var(--dur-base);
}
.method-card:hover { background: rgba(255,255,255,0.028); box-shadow: inset 0 0 0 1px rgba(62,207,202,0.10); }

@media (min-width: 1024px) {
  .method-card:nth-child(4n)     { border-right: none; }
  .method-card:nth-last-child(-n+4) { border-bottom: none; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .method-card:nth-child(2n)     { border-right: none; }
  .method-card:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 639px) {
  .method-card { border-right: none; }
  .method-card:last-child { border-bottom: none; }
}

.method-card__num-bg {
  position: absolute; bottom: -0.2em; right: 0.15em;
  font-family: var(--font-display);
  font-size: clamp(4.5rem,8vw,7rem);
  font-weight: var(--fw-black); color: rgba(255,255,255,0.040);
  line-height: 1; letter-spacing: -0.04em;
  pointer-events: none; user-select: none; z-index: 0;
}

.method-card__content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: var(--space-4);
}

.method-card__num {
  font-family: var(--font-display); font-size: var(--text-xs);
  font-weight: var(--fw-black); letter-spacing: 0.14em;
  color: var(--color-accent); opacity: 0.65;
}
.method-card__title {
  font-family: var(--font-display); font-size: var(--text-md);
  font-weight: var(--fw-bold); line-height: 1.3; letter-spacing: -0.01em;
  color: var(--text-on-dark);
}
.method-card__desc {
  font-size: var(--text-sm); font-weight: var(--fw-light);
  color: var(--text-muted-dark); line-height: 1.65;
}

.method-cta {
  position: relative; z-index: 1;
  margin-top: clamp(2rem,3.5vw,3rem);
  display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-5);
}
.method-cta__note {
  font-size: var(--text-sm); color: var(--text-faint-dark);
  font-style: italic; font-weight: var(--fw-light);
}

/* --- 10.B. METHOD LAYOUT v4 -- lista + panel detalle -------------------- */
.method-layout {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr;
  gap: clamp(2.5rem,4vw,3.5rem);
  margin-top: clamp(1.75rem,3vw,3rem);
}
@media (min-width: 768px) {
  .method-layout {
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem,5vw,4.5rem);
    align-items: start;
  }
}

/* ---- Lista de pasos (col izquierda) ---- */
.method-steps-list { display: flex; flex-direction: column; }

.method-step-btn {
  display: flex; align-items: center; gap: var(--space-4);
  width: 100%; text-align: left; cursor: pointer;
  padding: 0.5rem var(--space-3);
  border: none;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: transparent;
  color: rgba(255,255,255,0.38);
  transition: color var(--dur-base) var(--ease-out),
              background var(--dur-base),
              padding var(--dur-base) var(--ease-out);
  position: relative; overflow: hidden;
}
.method-step-btn:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.method-step-btn:hover {
  color: rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.025);
}
.method-step-btn.is-active {
  color: #fff;
  background: rgba(255,255,255,0.032);
  padding-left: var(--space-4);
}

/* Left accent bar */
.method-step-btn::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 2px; height: 100%;
  background: var(--color-accent);
  transform: scaleY(0); transform-origin: top center;
  transition: transform 0.32s var(--ease-out);
}
.method-step-btn.is-active::before { transform: scaleY(1); }

/* Progress bar: auto-advance timer */
.method-step-btn::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  height: 2px; width: 0%;
  background: var(--color-accent);
  border-radius: 1px;
}
.method-step-btn.is-advancing::after {
  width: 100%;
  transition: width 4.2s linear;
}

.method-step-btn__num {
  font-family: var(--font-display);
  font-size: var(--text-xs); font-weight: var(--fw-black);
  letter-spacing: 0.12em; color: var(--color-accent);
  opacity: 0.35; flex-shrink: 0; width: 28px;
  transition: opacity var(--dur-base);
}
.method-step-btn.is-active .method-step-btn__num  { opacity: 1; }
.method-step-btn:hover     .method-step-btn__num  { opacity: 0.7; }

.method-step-btn__title {
  font-family: var(--font-body);
  font-size: var(--text-sm); font-weight: var(--fw-medium);
  line-height: 1.35; flex: 1;
}

.method-step-btn__arrow {
  font-size: var(--text-sm); color: var(--color-accent);
  opacity: 0; flex-shrink: 0;
  transform: translateX(-8px);
  transition: opacity var(--dur-base), transform var(--dur-base) var(--ease-out);
}
.method-step-btn.is-active .method-step-btn__arrow {
  opacity: 1; transform: translateX(0);
}

/* ---- Panel de detalle (col derecha) ---- */
.method-detail-wrap {
  display: grid;
  padding: clamp(1.75rem,3vw,2.5rem);
  background: rgba(255,255,255,0.036);
  border: 1px solid rgba(255,255,255,0.072);
  border-radius: 14px;
  min-height: 220px;
  align-content: start;
}
@media (min-width: 768px) {
  .method-detail-wrap {
    position: sticky; top: 100px;
  }
}

.method-step-detail {
  grid-row: 1; grid-column: 1;
  display: flex; flex-direction: column;
  gap: clamp(0.875rem,1.5vw,1.25rem);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.38s var(--ease-out), transform 0.38s var(--ease-out);
}
.method-step-detail.is-active {
  opacity: 1; transform: none; pointer-events: auto;
}

.method-detail__num {
  font-family: var(--font-display);
  font-size: clamp(1.875rem,3.5vw,3rem);
  font-weight: var(--fw-black); line-height: 1;
  letter-spacing: -0.04em;
  color: var(--color-accent);
  font-variation-settings: 'opsz' 48;
}

.method-detail__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem,2.2vw,1.625rem);
  font-weight: var(--fw-bold); line-height: 1.22;
  color: var(--text-on-dark);
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 24;
}

.method-detail__desc {
  font-family: var(--font-body);
  font-size: var(--text-md); font-weight: var(--fw-light);
  color: var(--text-muted-dark); line-height: 1.74;
}

.method-detail__footer {
  display: flex; align-items: center;
  gap: var(--space-4); margin-top: auto;
  padding-top: clamp(1rem,2vw,1.5rem);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.method-detail__progress {
  flex: 1; height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 1px; overflow: hidden;
}
.method-detail__bar {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 1px;
  transition: width 0.45s var(--ease-out);
}

.method-detail__count {
  font-family: var(--font-body);
  font-size: var(--text-xs); font-weight: var(--fw-semi);
  letter-spacing: 0.10em; text-transform: uppercase;
  color: rgba(255,255,255,0.24); flex-shrink: 0;
}

/* --- 11. DOC A DOC -- light, editorial two-col ---------------------------- */
.section-dad { background: var(--bg-base); padding-block: var(--section-pad); }

.section-dad__inner {
  display: grid; grid-template-columns: 1fr;
  gap: clamp(3rem,6vw,5rem); align-items: start;
}
@media (min-width: 900px) {
  .section-dad__inner { grid-template-columns: 1fr 400px; align-items: center; }
}

.section-dad__content { display: flex; flex-direction: column; gap: var(--space-6); }

.feature-list { display: flex; flex-direction: column; gap: var(--space-3); margin: var(--space-2) 0; }
.feature-list li {
  display: flex; align-items: flex-start; gap: var(--space-3);
  font-size: var(--text-sm); color: var(--text-secondary); line-height: 1.5;
}
.feature-list li::before {
  content: ''; display: inline-block;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--color-accent); flex-shrink: 0; margin-top: 0.46em;
}

.section-dad__cards { display: flex; flex-direction: column; gap: var(--space-4); }

.dad-card {
  background: var(--bg-card); border: 1px solid var(--border-base);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem,2.5vw,1.75rem);
  display: flex; flex-direction: column; gap: var(--space-4);
  transition: box-shadow var(--dur-base), transform var(--dur-base);
}
.dad-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.dad-card--accent {
  background: var(--color-primary-light);
  border-color: rgba(59,114,173,0.16);
}

.dad-card__eyebrow {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
}
.dad-card__tag {
  display: inline-block; padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  background: var(--bg-subtle); border: 1px solid var(--border-base);
  font-size: 0.6875rem; font-weight: var(--fw-semi);
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted);
}
.dad-card__tag--exclusive { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.dad-card__access { font-size: var(--text-xs); color: var(--text-faint); }
.dad-card__title {
  font-size: var(--text-md); font-weight: var(--fw-semi);
  color: var(--text-base); line-height: 1.4; letter-spacing: -0.01em;
}
.dad-card__meta { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-xs); color: var(--text-faint); }
.dad-card__dot { color: var(--border-subtle); }

.dad-card--sm {
  background: transparent; border: 1px dashed var(--border-subtle);
  align-items: center; justify-content: center; padding: var(--space-5);
}
.dad-card__small-text { font-size: var(--text-sm); color: var(--text-faint); text-align: center; font-weight: var(--fw-medium); }

/* Doc a Doc button: prevent full-width in flex column */
.section-dad__content .btn { align-self: flex-start; }

/* --- 12. CENTRO CULTURAL -- dark navy editorial v2 ----------------------- */
.section-ccs {
  background: linear-gradient(150deg, #091423 0%, #0E2244 55%, #0D1117 100%);
  padding-block: var(--section-pad);
  position: relative; overflow: hidden; text-align: center;
}
/* Decorative concentric rings */
.ccs-rings {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; z-index: 0;
}
.ccs-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(59,114,173,0.10);
}
.ccs-ring--1 { width: 340px; height: 340px; }
.ccs-ring--2 { width: 580px; height: 580px; border-color: rgba(59,114,173,0.07); }
.ccs-ring--3 { width: 820px; height: 820px; border-color: rgba(59,114,173,0.04); }

/* Inner: centered column */
.ccs-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center;
  max-width: 800px; margin-inline: auto;
}

/* Pill tags above headline */
.ccs-pills {
  display: flex; gap: var(--space-3); flex-wrap: wrap;
  justify-content: center; margin-bottom: var(--space-8);
}
.ccs-pill {
  font-family: var(--font-body); font-size: var(--text-xs);
  font-weight: var(--fw-semi); letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.375rem 1rem; border-radius: var(--radius-full);
  background: rgba(62,207,202,0.10); color: var(--color-accent);
  border: 1px solid rgba(62,207,202,0.22);
}

/* Headline -- massive Bricolage, opsz 72 */
.ccs-title {
  font-family: var(--font-display);
  font-size: clamp(3rem,7vw,5.5rem);
  font-weight: var(--fw-black);
  font-variation-settings: 'opsz' 72;
  letter-spacing: -0.04em; line-height: 1.0;
  color: #fff; margin-bottom: var(--space-8);
}

.ccs-desc {
  font-size: var(--text-lg); font-weight: var(--fw-light);
  line-height: 1.7; color: rgba(255,255,255,0.58);
  max-width: 560px; margin-bottom: var(--space-10);
}

/* Metrics row */
.ccs-metrics {
  display: flex; gap: clamp(var(--space-8), 8vw, var(--space-20));
  margin-bottom: var(--space-10);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-block: var(--space-8);
  flex-wrap: wrap; justify-content: center;
}
.ccs-metric { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); }
.ccs-metric__val {
  font-family: var(--font-display); font-size: var(--text-2xl);
  font-weight: var(--fw-black); font-variation-settings: 'opsz' 36;
  color: var(--color-accent); letter-spacing: -0.04em; line-height: 1;
}
.ccs-metric__label {
  font-size: var(--text-xs); font-weight: var(--fw-medium);
  color: rgba(255,255,255,0.38); text-align: center; line-height: 1.45;
  letter-spacing: 0.04em;
}

/* --- 13. CTA FINAL -- dark, centered ------------------------------------- */
.section-cta {
  background: var(--bg-dark); padding-block: var(--section-pad);
  position: relative; overflow: hidden; text-align: center;
  border-top: 1px solid rgba(62,207,202,0.18);
}
.section-cta::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: clamp(300px,60vw,700px); height: clamp(300px,60vw,700px);
  background: radial-gradient(circle, rgba(59,114,173,0.14) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}

.cta-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(1.5rem,3vw,2rem); max-width: 640px; margin-inline: auto;
}
.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem,5vw,4.5rem);
  font-weight: var(--fw-black); line-height: 1.04;
  letter-spacing: -0.03em; color: var(--text-on-dark);
}
.cta-sub {
  font-size: var(--text-md); font-weight: var(--fw-light);
  color: var(--text-muted-dark); line-height: 1.7; max-width: 44ch;
}
.cta-actions {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: var(--space-4); margin-top: var(--space-4);
}
.cta-note {
  font-size: var(--text-xs); color: var(--text-faint-dark);
  letter-spacing: 0.04em; font-weight: var(--fw-medium);
}

/* --- 13.B. CTA PULSING RINGS -------------------------------------------- */
.cta-ring {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(0);
  border-radius: 50%;
  border: 1px solid rgba(62,207,202,0.15);
  pointer-events: none; z-index: 0;
  animation: cta-ring-pulse 4s ease-out infinite;
}
.cta-ring--1 { width: 300px; height: 300px; animation-delay: 0s;   }
.cta-ring--2 { width: 550px; height: 550px; animation-delay: 1.4s; }
.cta-ring--3 { width: 800px; height: 800px; animation-delay: 2.8s; }
@keyframes cta-ring-pulse {
  0%   { transform: translate(-50%,-50%) scale(0.3); opacity: 0.7; }
  100% { transform: translate(-50%,-50%) scale(1.0); opacity: 0; }
}

/* --- 14. FOOTER ---------------------------------------------------------- */
.site-footer {
  background: var(--bg-dark); padding-block: clamp(3rem,5vw,4.5rem);
  border-top: 1px solid var(--border-dark);
}
.footer-inner { display: flex; flex-direction: column; gap: clamp(2.5rem,4vw,3.5rem); }
.footer-top { display: flex; flex-direction: column; gap: clamp(2rem,4vw,3rem); }
@media (min-width: 640px) {
  .footer-top { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}
.footer-brand { display: flex; flex-direction: column; gap: var(--space-4); max-width: 280px; }
.footer-brand img { height: 28px; width: auto; opacity: 0.88; }
.footer-tagline {
  font-size: var(--text-sm); color: var(--text-muted-dark);
  line-height: 1.6; font-weight: var(--fw-light);
}
.footer-nav-list { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-nav-list a { font-size: var(--text-sm); color: var(--text-muted-dark); transition: color var(--dur-fast); }
.footer-nav-list a:hover { color: var(--text-on-dark); }
.footer-bottom {
  display: flex; flex-direction: column; gap: var(--space-3);
  padding-top: clamp(1.5rem,3vw,2.5rem); border-top: 1px solid var(--border-dark);
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-copy, .footer-legal { font-size: var(--text-xs); color: var(--text-faint-dark); }
.footer-legal a:hover { color: var(--text-muted-dark); }

/* --- 15. REVEAL BASE (GSAP animates these) -------------------------------- */
.reveal-up { opacity: 0; transform: translateY(28px); }
@media (prefers-reduced-motion: reduce) { .reveal-up { opacity: 1; transform: none; } }

/* =========================================================================
   16. MOBILE & RESPONSIVE POLISH (v3.4.0)
   ========================================================================= */

/* Mobile nav dropdown: dark theme when header is over dark section */
@media (max-width: 767px) {
  .site-header.is-dark .nav-primary {
    background: rgba(9,14,20,0.97);
    border-top-color: rgba(255,255,255,0.07);
    border-bottom-color: rgba(255,255,255,0.07);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  .site-header.is-dark .nav-primary .nav-list a {
    color: rgba(255,255,255,0.65);
  }
  .site-header.is-dark .nav-primary .nav-list a:hover {
    color: #fff;
    background: rgba(255,255,255,0.06);
  }
}

/* Hide header CTA text button on very small screens (hamburger + logo = enough) */
@media (max-width: 480px) {
  .header-cta { display: none; }
}

/* Problem cards: single col on very narrow viewports */
@media (max-width: 400px) {
  .problem-grid { grid-template-columns: 1fr; }
  .prob-card { padding: var(--space-6); }
}

/* Method selector: stack nicely on small phones */
@media (max-width: 480px) {
  .method-step-btn { gap: var(--space-3); }
  .method-step-btn__arrow { display: none; }
  .method-detail-wrap { min-height: auto; padding: var(--space-6); }
  .method-detail__num { font-size: 1.75rem; }
}

/* CCS section: reduce ring sizes + CTA button full-width flow on mobile */
@media (max-width: 640px) {
  .ccs-ring--1 { width: 240px; height: 240px; }
  .ccs-ring--2 { width: 400px; height: 400px; }
  .ccs-ring--3 { display: none; }
  .ccs-title { font-size: clamp(2.5rem,8vw,3.75rem); }
  .ccs-metrics { gap: var(--space-8); }
}

/* CTA section buttons: stack on mobile */
@media (max-width: 540px) {
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { justify-content: center; }
}

/* Stats: ensure 2x2 grid on small screens */
@media (max-width: 640px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Hero on small mobile: reduce headline size */
@media (max-width: 480px) {
  .hero-hl-inner { font-size: clamp(2.5rem, 9vw, 3.5rem) !important; }
  .hero-diag { max-width: 260px; }
}

/* Footer logo link */
.footer-logo-link { display: inline-block; }
