@font-face {
  font-family: 'Roie';
  src: url('./Roie.woff2') format('woff2'),
       url('./Roie.woff') format('woff'),
       url('./Roie.ttf') format('truetype'),
       url('./Roie.otf') format('opentype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
    --black: #111111;
    --white: #FFFFFF;
    --olive: #4F5E3E;
    --olive-light: #638050;
    --lime: #A8E000;
    --lime-dark: #8ABF00;
    --gray: #555555;
    --lgray: #E8E8E8;
    --offwhite: #F7F7F5;
    --greige: #B5A899;
    --nav-height: 72px;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 16px); }
  body { font-family: 'DM Sans', sans-serif; background: var(--white); color: var(--black); overflow-x: hidden; }
  body.mobile-menu-open { overflow: hidden; }
  h1,h2,h3,h4 { font-family: 'Roie', sans-serif; }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 60px; height: var(--nav-height);
    background: rgba(17,17,17,0.95); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    isolation: isolate;
  }
  .nav-logo { display: flex; align-items: center; gap: 14px; }
  .nav-logo img { height: 38px; width: auto; }
  .nav-logo-text { font-family: 'Roie', sans-serif; font-size: 18px; font-weight: 700; color: var(--white); letter-spacing: 0.04em; }
  .nav-links { display: flex; gap: 36px; list-style: none; }
  .nav-links a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; letter-spacing: 0.02em; }
  .nav-links a:hover { color: var(--lime); }
  .nav-menu-cta { display: none; }
  .nav-actions { display: flex; align-items: center; gap: 12px; }
  .nav-cta { background: var(--lime); color: var(--black); padding: 10px 22px; border-radius: 4px; font-size: 13px; font-weight: 600; text-decoration: none; transition: background 0.2s, transform 0.15s; font-family: 'Roie', sans-serif; }
  .nav-cta:hover { background: var(--lime-dark); transform: translateY(-1px); }
  .nav-toggle {
    position: relative; display: none; align-items: center; justify-content: center;
    width: 44px; height: 44px; flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.18); border-radius: 6px;
    background: rgba(255,255,255,0.04); color: var(--white);
    cursor: pointer; transition: border-color 0.2s, background 0.2s;
  }
  .nav-toggle:hover { border-color: rgba(168,224,0,0.6); background: rgba(168,224,0,0.08); }
  .nav-toggle:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
  .nav-toggle span {
    position: absolute; left: 50%; top: 50%;
    width: 20px; height: 2px; border-radius: 2px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }
  .nav-toggle span:nth-child(1) { transform: translate(-50%, -7px); }
  .nav-toggle span:nth-child(2) { transform: translate(-50%, -1px); }
  .nav-toggle span:nth-child(3) { transform: translate(-50%, 5px); }
  nav.nav-menu-open .nav-toggle span:nth-child(1) { transform: translate(-50%, -1px) rotate(45deg); }
  nav.nav-menu-open .nav-toggle span:nth-child(2) { opacity: 0; transform: translate(-50%, -1px) scaleX(0); }
  nav.nav-menu-open .nav-toggle span:nth-child(3) { transform: translate(-50%, -1px) rotate(-45deg); }

  /* ── HERO ── */
  #hero {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
    padding: 72px 0 0;
    background: var(--black);
    overflow: hidden;
  }
  .hero-left {
    min-width: 0;
    display: flex; flex-direction: column; justify-content: center;
    padding:
      clamp(64px, 6vw, 80px)
      clamp(36px, 4.2vw, 60px)
      clamp(64px, 6vw, 80px)
      clamp(40px, 5.6vw, 80px);
  }
  .hero-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(168,224,0,0.12); border: 1px solid rgba(168,224,0,0.3);
    color: var(--lime); font-size: 11px; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    padding: 6px 14px; border-radius: 100px; margin-bottom: 32px;
    width: fit-content;
  }
  .hero-pill span { width: 6px; height: 6px; background: var(--lime); border-radius: 50%; animation: pulse 2s infinite; }
  @keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.3; } }
  .hero-h1 { max-width: 780px; font-size: clamp(48px, 4.75vw, 68px); font-weight: 800; line-height: 1.05; color: var(--white); margin-bottom: 24px; }
  .hero-h1 em { font-style: normal; color: var(--lime); }
  .hero-sub { font-size: 17px; line-height: 1.7; color: rgba(255,255,255,0.6); max-width: 480px; margin-bottom: 44px; }
  .hero-btns { display: flex; gap: 16px; align-items: center; margin-bottom: 56px; flex-wrap: wrap; }
  .btn-primary { background: var(--lime); color: var(--black); padding: 16px 32px; border-radius: 4px; font-family: 'Roie',sans-serif; font-size: 14px; font-weight: 700; text-decoration: none; letter-spacing: 0.04em; transition: all 0.2s; }
  .btn-primary:hover { background: var(--lime-dark); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(168,224,0,0.25); }
  .btn-ghost { color: rgba(255,255,255,0.7); padding: 16px 32px; border: 1px solid rgba(255,255,255,0.2); border-radius: 4px; font-family: 'Roie',sans-serif; font-size: 14px; font-weight: 600; text-decoration: none; transition: all 0.2s; }
  .btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
  .hero-stats { display: flex; gap: 40px; }
  .stat-item { }
  .stat-n { font-family: 'Roie', sans-serif; font-size: 32px; font-weight: 800; color: var(--lime); line-height: 1; }
  .stat-l { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 4px; letter-spacing: 0.04em; text-transform: uppercase; }
  .stat-div { width: 1px; background: rgba(255,255,255,0.12); }
  .hero-right {
    min-width: 0; position: relative; background: var(--olive);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
  }
  .hero-right::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(79,94,62,0.9) 0%, rgba(17,17,17,0.8) 100%);
  }
  .hero-grid-pattern {
    position: absolute; inset: 0; opacity: 0.08;
    background-image: linear-gradient(rgba(255,255,255,0.3) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.3) 1px, transparent 1px);
    background-size: 40px 40px;
  }
  .hero-visual { position: relative; z-index: 2; width: 100%; max-width: 560px; text-align: center; padding: clamp(32px, 4vw, 60px); }
  .hero-quote { font-family: 'Roie',sans-serif; font-size: clamp(21px, 2vw, 26px); font-weight: 700; color: var(--white); line-height: 1.4; margin-bottom: 24px; }
  .hero-quote em { font-style: normal; color: var(--lime); }
  .hero-tagline { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
  .hero-lime-stripe { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--lime); }

  /* ── CERTS ── */
  #certs { background: var(--offwhite); padding: 60px 80px; }
  .certs-title { text-align: center; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray); margin-bottom: 36px; }
  .certs-row {
    width: min(100%, 980px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: clamp(24px, 3vw, 48px);
  }
  .cert-item {
    min-width: 0;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    background: var(--white);
    border: 1px solid var(--lgray);
    border-radius: 6px;
  }
  .cert-logo {
    display: block;
    width: 100%;
    max-width: 320px;
    max-height: 70px;
    height: auto;
    object-fit: contain;
    opacity: 1;
    filter: none;
    mix-blend-mode: normal;
    transform: none;
    transition: none;
  }
  .cert-logo--amazon-partner { max-width: 300px; }
  .cert-logo--amazon-ads { max-width: 320px; }
  .cert-logo--mercado-libre { max-width: 300px; max-height: 78px; }
  .certs-divider { height: 1px; background: var(--lgray); margin: 44px 0; }
  .channels-title { text-align: center; font-size: 13px; font-weight: 600; color: var(--gray); margin-bottom: 28px; letter-spacing: 0.04em; }
  .channels-row {
    width: min(100%, 1180px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, minmax(110px, 1fr));
    align-items: center;
    column-gap: clamp(20px, 3vw, 48px);
    row-gap: 24px;
    list-style: none;
  }
  .channel-logo {
    --logo-canvas-width: 180px;
    min-width: 0;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .channel-logo img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    flex: 0 0 auto;
    opacity: 0.72;
    filter: grayscale(1);
    mix-blend-mode: multiply;
    transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
  }
  .channel-logo:hover img {
    opacity: 1;
    filter: grayscale(0);
    transform: translateY(-2px);
  }
  .channel-logo--amazon { --logo-canvas-width: 244px; }
  .channel-logo--mercado-libre { --logo-canvas-width: 176px; }
  .channel-logo--walmart { --logo-canvas-width: 154px; }
  .channel-logo--liverpool { --logo-canvas-width: 164px; }
  .channel-logo--coppel { --logo-canvas-width: 136px; }
  .channel-logo--tiktok { --logo-canvas-width: 184px; }

  /* ── SECTION BASE ── */
  section { padding: 100px 80px; }
  .section-label { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime-dark); margin-bottom: 16px; }
  .section-h2 { font-size: 48px; font-weight: 800; color: var(--black); line-height: 1.1; margin-bottom: 20px; }
  .section-sub { font-size: 17px; color: var(--gray); line-height: 1.7; max-width: 560px; margin-bottom: 60px; }
  .section-sub.centered { margin: 0 auto 60px; text-align: center; }

  /* ── PROBLEMA ── */
  #problema { background: var(--white); }
  .pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .pain-card {
    padding: 28px; background: var(--offwhite); border: 1px solid var(--lgray); border-radius: 8px;
    position: relative; overflow: hidden; transition: all 0.25s;
  }
  .pain-card:hover { border-color: var(--olive); transform: translateY(-3px); box-shadow: 0 20px 60px rgba(0,0,0,0.06); }
  .pain-quote { font-size: 48px; font-family: 'Roie',sans-serif; font-weight: 800; color: var(--lime); line-height: 0.8; margin-bottom: 16px; }
  .pain-text { font-size: 16px; line-height: 1.6; color: var(--black); font-style: italic; }
  .pain-close { font-size: 48px; font-family: 'Roie',sans-serif; font-weight: 800; color: var(--lgray); line-height: 0.8; text-align: right; margin-top: 12px; }
  .pain-footer { margin-top: 48px; padding: 24px 32px; background: var(--olive); border-radius: 6px; }
  .pain-footer p { font-size: 15px; color: var(--white); line-height: 1.6; }
  .pain-footer strong { color: var(--lime); }

  /* ── SOLUCIÓN ── */
  #solucion { background: var(--black); padding: 100px 80px; }
  #solucion .section-h2 { color: var(--white); }
  #solucion .section-sub { color: rgba(255,255,255,0.5); }
  .steps { display: flex; gap: 0; }
  .step { flex: 1; position: relative; }
  .step:not(:last-child)::after {
    content: '→'; position: absolute; right: -16px; top: 50%; transform: translateY(-50%);
    font-size: 18px; color: var(--lime); z-index: 2; font-family: 'Roie',sans-serif; font-weight: 700;
  }
  .step-inner {
    padding: 32px 24px; border: 1px solid rgba(255,255,255,0.08); border-radius: 8px;
    background: rgba(255,255,255,0.02); transition: all 0.25s; margin: 0 16px;
  }
  .step-inner:hover { background: rgba(168,224,0,0.05); border-color: rgba(168,224,0,0.2); }
  .step-n { font-family: 'Roie',sans-serif; font-size: 40px; font-weight: 800; color: var(--lime); line-height: 1; margin-bottom: 16px; }
  .step-title { font-family: 'Roie',sans-serif; font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
  .step-desc { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.6; }

  /* ── SERVICIOS ── */
  #servicios { background: var(--offwhite); }
  .services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .service-card {
    background: var(--white); border: 1px solid var(--lgray); border-radius: 8px;
    overflow: hidden; transition: all 0.25s; position: relative;
  }
  .service-card:hover { transform: translateY(-4px); box-shadow: 0 24px 80px rgba(0,0,0,0.08); border-color: var(--olive); }
  .service-card-top { padding: 32px 28px 24px; }
  .service-badge {
    display: inline-block; background: var(--lime); color: var(--black);
    font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    padding: 5px 10px; border-radius: 3px; margin-bottom: 20px;
  }
  .service-title { font-family: 'Roie',sans-serif; font-size: 24px; font-weight: 700; color: var(--black); margin-bottom: 14px; }
  .service-desc { font-size: 15px; color: var(--gray); line-height: 1.7; margin-bottom: 24px; }
  .service-features { list-style: none; }
  .service-features li { padding: 8px 0; border-bottom: 1px solid var(--lgray); font-size: 14px; color: var(--black); display: flex; align-items: flex-start; gap: 10px; }
  .service-features li:last-child { border-bottom: none; }
  .feature-dot { width: 6px; height: 6px; background: var(--olive); border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
  .service-card-stripe { height: 5px; background: var(--olive); }
  .service-card:nth-child(even) .service-card-stripe { background: var(--lime); }

  /* ── DASHBOARD ── */
  #dashboard-showcase {
    position: relative;
    overflow: hidden;
    background: var(--black);
  }
  #dashboard-showcase .section-label { color: var(--lime); }
  #dashboard-showcase .section-h2 { color: var(--white); }
  #dashboard-showcase .section-sub { color: rgba(255,255,255,0.55); }
  .db-grid-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    pointer-events: none;
    background-image:
      linear-gradient(rgba(255,255,255,0.3) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.3) 1px, transparent 1px);
    background-size: 40px 40px;
  }
  .db-intro {
    position: relative;
    z-index: 2;
  }
  .db-features {
    position: relative;
    z-index: 2;
    width: min(100%, 1100px);
    margin: 0 auto 64px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  .db-feature {
    padding: 24px 22px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    transition: border-color 0.25s ease, background 0.25s ease;
  }
  .db-feature:hover {
    border-color: rgba(168,224,0,0.35);
    background: rgba(168,224,0,0.05);
  }
  .db-feature-title {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--white);
    font-family: 'Roie', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
  }
  .db-feature-title .feature-dot {
    margin-top: 7px;
    background: var(--lime);
  }
  .db-feature-desc {
    padding-left: 16px;
    color: rgba(255,255,255,0.45);
    font-size: 13px;
    line-height: 1.6;
  }
  .db-frame {
    position: relative;
    z-index: 2;
    width: min(100%, 1180px);
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    background: var(--offwhite);
    box-shadow: 0 40px 120px rgba(0,0,0,0.5);
  }
  .db-frame-bar {
    min-height: 50px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--lgray);
    background: var(--white);
  }
  .db-frame-dot {
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--lgray);
  }
  .db-frame-title {
    margin-left: 8px;
    color: var(--gray);
    font-family: 'Roie', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
  }
  .db-frame-title span { color: var(--olive); }
  .db-frame-mock-badge {
    margin-left: auto;
    padding: 4px 10px;
    border-radius: 100px;
    background: var(--lgray);
    color: var(--gray);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .db-frame-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .db-row {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 20px;
  }
  .db-row--thirds {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .db-card {
    padding: 20px;
    overflow: hidden;
    border: 1px solid var(--lgray);
    border-radius: 10px;
    background: var(--white);
  }
  .db-card-title {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--black);
    font-family: 'Roie', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.35;
    text-transform: uppercase;
  }
  .db-info-dot {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    border: 1px solid var(--lgray);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-family: 'DM Sans', sans-serif;
    font-size: 9px;
    font-weight: 600;
    text-transform: none;
  }
  .db-chart-legend {
    margin-bottom: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
  }
  .db-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gray);
    font-size: 11px;
  }
  .db-legend-swatch {
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-radius: 2px;
  }
  .db-chart-legend--business .db-legend-item:nth-child(1) .db-legend-swatch {
    background: var(--lime);
  }
  .db-chart-legend--business .db-legend-item:nth-child(2) .db-legend-swatch {
    background: var(--olive);
  }
  .db-chart-legend--business .db-legend-item:nth-child(3) .db-legend-swatch {
    width: 14px;
    height: 2px;
    margin-top: 4px;
    border-radius: 0;
    background: var(--greige);
  }
  .db-chart-legend--ads .db-legend-item:nth-child(1) .db-legend-swatch {
    background: var(--olive);
  }
  .db-chart-legend--ads .db-legend-item:nth-child(2) .db-legend-swatch {
    background: var(--lgray);
  }
  .db-chart-legend--ads .db-legend-item:nth-child(3) .db-legend-swatch {
    width: 14px;
    height: 2px;
    margin-top: 4px;
    border-radius: 0;
    background: var(--lime);
  }
  .db-chart-scroll {
    width: 100%;
  }
  .db-chart {
    position: relative;
    height: 150px;
    padding-top: 10px;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    border-bottom: 1px solid var(--lgray);
  }
  .db-chart::before {
    content: '';
    position: absolute;
    z-index: 1;
    top: 34%;
    right: 0;
    left: 0;
    border-top: 1.5px dashed var(--greige);
  }
  .db-bar-group {
    position: relative;
    z-index: 2;
    height: 100%;
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 2px;
  }
  .db-bar {
    min-width: 0;
    flex: 1;
    border-radius: 2px 2px 0 0;
  }
  .db-bar.b1 { height: var(--bar-primary); background: var(--lime); }
  .db-bar.b2 { height: var(--bar-secondary); background: var(--olive); }
  .db-chart--business .db-bar-group:nth-child(1) { --bar-primary: 38%; --bar-secondary: 30%; }
  .db-chart--business .db-bar-group:nth-child(2) { --bar-primary: 44%; --bar-secondary: 36%; }
  .db-chart--business .db-bar-group:nth-child(3) { --bar-primary: 40%; --bar-secondary: 35%; }
  .db-chart--business .db-bar-group:nth-child(4) { --bar-primary: 52%; --bar-secondary: 41%; }
  .db-chart--business .db-bar-group:nth-child(5) { --bar-primary: 58%; --bar-secondary: 46%; }
  .db-chart--business .db-bar-group:nth-child(6) { --bar-primary: 55%; --bar-secondary: 48%; }
  .db-chart--business .db-bar-group:nth-child(7) { --bar-primary: 64%; --bar-secondary: 50%; }
  .db-chart--business .db-bar-group:nth-child(8) { --bar-primary: 70%; --bar-secondary: 55%; }
  .db-chart--business .db-bar-group:nth-child(9) { --bar-primary: 68%; --bar-secondary: 57%; }
  .db-chart--business .db-bar-group:nth-child(10) { --bar-primary: 78%; --bar-secondary: 60%; }
  .db-chart--business .db-bar-group:nth-child(11) { --bar-primary: 82%; --bar-secondary: 64%; }
  .db-chart--business .db-bar-group:nth-child(12) { --bar-primary: 90%; --bar-secondary: 68%; }
  .db-chart--business .db-bar-group:nth-child(13) { --bar-primary: 96%; --bar-secondary: 72%; }
  .db-chart--business .db-bar-group:nth-child(14) { --bar-primary: 100%; --bar-secondary: 75%; }
  .db-chart--ads .db-bar:first-child {
    height: var(--bar-organic);
    background: var(--lgray);
  }
  .db-chart--ads .db-bar:last-child {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: var(--bar-ads);
    background: var(--olive);
  }
  .db-chart--ads .db-bar-group:nth-child(1) { --bar-organic: 58%; --bar-ads: 13%; }
  .db-chart--ads .db-bar-group:nth-child(2) { --bar-organic: 62%; --bar-ads: 15%; }
  .db-chart--ads .db-bar-group:nth-child(3) { --bar-organic: 60%; --bar-ads: 12%; }
  .db-chart--ads .db-bar-group:nth-child(4) { --bar-organic: 68%; --bar-ads: 16%; }
  .db-chart--ads .db-bar-group:nth-child(5) { --bar-organic: 66%; --bar-ads: 14%; }
  .db-chart--ads .db-bar-group:nth-child(6) { --bar-organic: 74%; --bar-ads: 17%; }
  .db-chart--ads .db-bar-group:nth-child(7) { --bar-organic: 72%; --bar-ads: 15%; }
  .db-chart--ads .db-bar-group:nth-child(8) { --bar-organic: 80%; --bar-ads: 18%; }
  .db-chart--ads .db-bar-group:nth-child(9) { --bar-organic: 84%; --bar-ads: 19%; }
  .db-chart--ads .db-bar-group:nth-child(10) { --bar-organic: 83%; --bar-ads: 17%; }
  .db-chart--ads .db-bar-group:nth-child(11) { --bar-organic: 90%; --bar-ads: 20%; }
  .db-chart--ads .db-bar-group:nth-child(12) { --bar-organic: 88%; --bar-ads: 18%; }
  .db-chart--ads .db-bar-group:nth-child(13) { --bar-organic: 94%; --bar-ads: 20%; }
  .db-chart--ads .db-bar-group:nth-child(14) { --bar-organic: 100%; --bar-ads: 22%; }
  .db-chart-x {
    margin-top: 8px;
    display: flex;
    gap: 6px;
  }
  .db-chart-x span {
    flex: 1;
    color: var(--gray);
    font-size: 10px;
    text-align: center;
    white-space: nowrap;
  }
  .db-stat-list {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
  }
  .db-ad-summary .db-stat-list { gap: 14px; }
  .db-stat-label {
    margin-bottom: 2px;
    color: var(--gray);
    font-size: 12px;
  }
  .db-stat-value {
    color: var(--black);
    font-family: 'Roie', sans-serif;
    font-size: clamp(21px, 2vw, 26px);
    font-weight: 800;
    line-height: 1.2;
  }
  .db-stat-value .unit {
    color: var(--gray);
    font-size: 13px;
    font-weight: 500;
  }
  .db-stat-delta {
    margin-left: 6px;
    color: var(--olive-light);
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
  }
  .db-health-pill {
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .db-health-dot {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: conic-gradient(var(--lime) 0deg 324deg, var(--lgray) 324deg 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .db-health-dot::after {
    content: '';
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--white);
  }
  .db-health-name {
    color: var(--black);
    font-family: 'Roie', sans-serif;
    font-size: 14px;
    font-weight: 700;
  }
  .db-health-status {
    color: var(--olive-light);
    font-size: 12px;
    font-weight: 600;
  }
  .db-health-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .db-health-metric-n {
    color: var(--black);
    font-family: 'Roie', sans-serif;
    font-size: 20px;
    font-weight: 800;
  }
  .db-health-metric-l {
    margin-top: 2px;
    color: var(--gray);
    font-size: 11px;
    line-height: 1.4;
  }
  .db-gauge-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .db-gauge-wrap {
    position: relative;
    width: 148px;
    height: 78px;
    margin-bottom: 6px;
  }
  .db-gauge-arc {
    position: absolute;
    top: 0;
    left: 0;
    width: 148px;
    height: 148px;
    border-radius: 50%;
    background: conic-gradient(from -90deg, var(--greige) 0deg 16deg, var(--lime) 16deg 180deg, transparent 180deg 360deg);
  }
  .db-gauge-arc::after {
    content: '';
    position: absolute;
    inset: 14px;
    border-radius: 50%;
    background: var(--white);
  }
  .db-gauge-needle {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 2px;
    height: 58px;
    border-radius: 2px 2px 0 0;
    background: var(--black);
    transform-origin: bottom center;
  }
  .db-gauge-card:nth-child(1) .db-gauge-needle { transform: rotate(58deg); }
  .db-gauge-card:nth-child(2) .db-gauge-needle { transform: rotate(42deg); }
  .db-gauge-card:nth-child(3) .db-gauge-needle { transform: rotate(-8deg); }
  .db-gauge-needle::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--black);
    transform: translateX(-50%);
  }
  .db-gauge-value {
    margin-top: -6px;
    color: var(--black);
    font-family: 'Roie', sans-serif;
    font-size: 24px;
    font-weight: 800;
  }
  .db-gauge-label {
    min-height: 30px;
    margin: 0 0 10px;
    color: var(--gray);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.35;
    text-transform: uppercase;
  }
  .db-gauge-detail {
    width: 100%;
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid var(--lgray);
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .db-gauge-detail-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--gray);
    font-size: 12px;
  }
  .db-gauge-detail-row strong {
    color: var(--black);
    font-weight: 600;
  }
  .db-gauge-detail-row.pos strong { color: var(--olive-light); }
  .db-kpi-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px 12px;
  }
  .db-kpi { min-width: 0; }
  .db-kpi-l {
    margin-bottom: 4px;
    color: var(--gray);
    font-size: 11px;
    letter-spacing: 0.03em;
    line-height: 1.35;
    text-transform: uppercase;
  }
  .db-kpi-v {
    color: var(--black);
    font-family: 'Roie', sans-serif;
    font-size: clamp(16px, 1.5vw, 19px);
    font-weight: 800;
    line-height: 1.2;
  }
  .db-kpi-d {
    margin-top: 2px;
    color: var(--olive-light);
    font-size: 11px;
    font-weight: 600;
  }
  .db-caption {
    position: relative;
    z-index: 2;
    margin-top: 22px;
    color: rgba(255,255,255,0.35);
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
  }

  /* ── POR QUÉ ── */
  #porque { background: var(--white); }
  .why-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
  .why-card { padding: 34px 28px; border: 1px solid var(--lgray); border-radius: 8px; transition: all 0.25s; }
  .why-card:hover { border-color: var(--olive); box-shadow: 0 20px 60px rgba(0,0,0,0.05); }
  .why-num { font-family: 'Roie',sans-serif; font-size: 52px; font-weight: 800; color: var(--lgray); line-height: 1; margin-bottom: 20px; }
  .why-card:hover .why-num { color: var(--lime); transition: color 0.25s; }
  .why-title { font-family: 'Roie',sans-serif; font-size: 18px; font-weight: 700; color: var(--black); margin-bottom: 14px; }
  .why-text { font-size: 14px; color: var(--gray); line-height: 1.7; }

  /* ── RESULTADOS ── */
  #resultados { background: var(--black); padding: 100px 80px; }
  #resultados .section-label { color: var(--lime); }
  #resultados .section-h2 { color: var(--white); }
  .metrics-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; }
  .metric { padding: 40px 32px; border-right: 1px solid rgba(255,255,255,0.06); }
  .metric:last-child { border-right: none; }
  .metric-n { font-family: 'Roie',sans-serif; font-size: 64px; font-weight: 800; color: var(--lime); line-height: 1; margin-bottom: 12px; }
  .metric-label { font-family: 'Roie',sans-serif; font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
  .metric-desc { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.6; max-width: 220px; }

  /* ── CLIENTES ── */
  #clientes { background: var(--offwhite); }
  .clients-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .client-card {
    background: var(--white); border: 1px solid var(--lgray); border-radius: 8px;
    padding: 24px 18px; text-align: center; transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .client-card:hover { border-color: var(--olive); box-shadow: 0 12px 40px rgba(0,0,0,0.06); }
  .client-dot { width: 36px; height: 36px; background: var(--olive); border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; }
  .client-dot span { font-family: 'Roie',sans-serif; font-size: 13px; font-weight: 700; color: var(--white); }
  .client-name { font-family: 'Roie',sans-serif; font-size: 13px; font-weight: 600; color: var(--black); display: none; }

  /* ── PROCESO ── */
  #proceso { background: var(--white); }
  .process-table { border: 1px solid var(--lgray); border-radius: 8px; overflow: hidden; }
  .process-row { display: grid; grid-template-columns: 80px 200px 1fr; align-items: stretch; border-bottom: 1px solid var(--lgray); transition: background 0.2s; }
  .process-row:last-child { border-bottom: none; }
  .process-row:hover { background: var(--offwhite); }
  .process-num { background: var(--olive); display: flex; align-items: center; justify-content: center; font-family: 'Roie',sans-serif; font-size: 22px; font-weight: 800; color: var(--white); }
  .process-row:nth-child(even) .process-num { background: var(--lime-dark); }
  .process-title-cell { padding: 24px; border-right: 1px solid var(--lgray); display: flex; align-items: center; }
  .process-title-cell span { font-family: 'Roie',sans-serif; font-size: 16px; font-weight: 700; color: var(--black); }
  .process-desc-cell { padding: 24px; display: flex; align-items: center; font-size: 14px; color: var(--gray); line-height: 1.6; }

  /* ── CTA ── */
  #cta,
  #cta-mid { background: var(--olive); padding: 100px 80px; overflow: hidden; }
  #cta-mid { display: none; }
  .cta-inner {
    width: 100%; max-width: 1120px; margin: 0 auto;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
    gap: clamp(56px, 6vw, 88px); align-items: center;
  }
  .cta-copy { min-width: 0; max-width: 620px; }
  .cta-label { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime); margin-bottom: 16px; }
  .cta-h2 { font-size: clamp(42px, 3.6vw, 52px); font-weight: 800; color: var(--white); line-height: 1.1; margin-bottom: 24px; }
  .cta-text { max-width: 560px; font-size: 16px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 36px; }
  .cta-checks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
  .cta-checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.8); }
  .check-icon { width: 20px; height: 20px; margin-top: 1px; background: var(--lime); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 11px; color: var(--black); font-weight: 700; }
  .cta-form {
    min-width: 0; width: 100%; max-width: 420px; justify-self: end;
    background: var(--white); border: 1px solid rgba(17,17,17,0.06); border-radius: 12px;
    padding: clamp(28px, 2.6vw, 36px);
    box-shadow: 0 24px 70px rgba(17,17,17,0.16);
  }
  .cta-form h3 { font-family: 'Roie',sans-serif; font-size: 20px; font-weight: 700; color: var(--black); margin-bottom: 8px; }
  .cta-form p { font-size: 13px; line-height: 1.55; color: var(--gray); margin-bottom: 24px; }
  .form-field { margin-bottom: 16px; }
  .form-field label { display: block; font-size: 12px; font-weight: 600; color: var(--black); margin-bottom: 6px; letter-spacing: 0.04em; text-transform: uppercase; }
  .form-field input, .form-field select { min-width: 0; width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--lgray); border-radius: 6px; font-size: 14px; font-family: 'DM Sans',sans-serif; color: var(--black); background: var(--white); transition: border-color 0.2s, box-shadow 0.2s; }
  .form-field input:focus, .form-field select:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgba(79,94,62,0.12); }
  .form-submit { width: 100%; min-height: 52px; background: var(--lime); color: var(--black); border: none; padding: 14px 16px; border-radius: 6px; font-family: 'Roie',sans-serif; font-size: 14px; font-weight: 700; line-height: 1.35; white-space: normal; cursor: pointer; transition: background 0.2s, transform 0.15s; letter-spacing: 0.04em; margin-top: 8px; }
  .form-submit:hover { background: var(--lime-dark); transform: translateY(-1px); }
  .form-submit:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; }
  .form-submit:disabled { cursor: wait; opacity: 0.72; transform: none; }
  .form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
  .cta-form .form-status { display: none; margin: 14px 0 0; padding: 11px 12px; border-radius: 6px; font-size: 12px; line-height: 1.5; text-align: left; }
  .cta-form .form-status--visible { display: block; }
  .cta-form .form-status--success { color: #31451f; background: #edf6d5; border: 1px solid #c9df91; }
  .cta-form .form-status--error { color: #782d2d; background: #fff0f0; border: 1px solid #e8b6b6; }
  .form-disclaimer { font-size: 11px; line-height: 1.5; color: var(--gray); text-align: center; margin-top: 12px; }
  .db-kpi-summary-title,
  .mobile-kpi-label { display: none; }

  /* ── FOOTER ── */
  footer { background: var(--black); padding: 60px 80px 40px; }
  .footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .footer-brand img { height: 44px; margin-bottom: 16px; }
  .footer-tagline { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.6; max-width: 280px; }
  .footer-col h4 { font-family: 'Roie',sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 20px; }
  .footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .footer-links a { font-size: 14px; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
  .footer-links a:hover { color: var(--lime); }
  .footer-bottom { padding-top: 32px; display: flex; justify-content: space-between; align-items: center; }
  .footer-copy { font-size: 13px; color: rgba(255,255,255,0.25); }
  .footer-bottom-links { display: flex; gap: 24px; }
  .footer-bottom-links a { font-size: 12px; color: rgba(255,255,255,0.25); text-decoration: none; transition: color 0.2s; }
  .footer-bottom-links a:hover { color: var(--lime); }

  /* ── SCROLL ANIMATIONS ── */
  .fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .fade-in.visible { opacity: 1; transform: translateY(0); }
  .fade-in-delay-1 { transition-delay: 0.1s; }
  .fade-in-delay-2 { transition-delay: 0.2s; }
  .fade-in-delay-3 { transition-delay: 0.3s; }
  .fade-in-delay-4 { transition-delay: 0.4s; }

  /* ── UTILS ── */
  .text-center { text-align: center; }
  .mb-60 { margin-bottom: 60px; }

img.client-logo  {
  max-height: 80px;
  max-width: 100%;
}
/* =========================================================
   RESPONSIVE OVERRIDES
   The original desktop styles above are intentionally unchanged.
   These rules only adapt the existing classes at smaller widths.
   ========================================================= */

/* Move the few original inline declarations into the stylesheet. */
#resultados .section-sub {
  color: rgba(255,255,255,0.45);
}

.steps .step:nth-child(5) {
  transition-delay: 0.5s;
}

@media (max-width: 1180px) {
  nav {
    padding: 0 36px;
  }

  .nav-links {
    gap: 24px;
  }

  .hero-stats {
    gap: 24px;
  }

  section,
  #solucion,
  #resultados,
  #cta {
    padding-left: 48px;
    padding-right: 48px;
  }

  #certs,
  footer {
    padding-left: 48px;
    padding-right: 48px;
  }

  .step-inner {
    padding: 32px 22px;
    margin: 0 10px;
  }

}

@media (max-width: 1024px) {
  :root {
    --nav-height: 68px;
  }

  nav {
    padding: 0 28px;
  }

  .nav-links {
    gap: 18px;
  }

  .nav-links a {
    font-size: 12px;
  }

  #hero {
    min-height: 760px;
    padding-top: 68px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-tagline {
    font-size: 11px;
  }
  .certs-row{
    gap: 20px;
  }
  .channels-row {
    row-gap: 20px;
    column-gap: 14px;
  }
  .stat-n {
    font-size: 27px;
  }

  .steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .step {
    min-width: 0;
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .step-inner {
    height: 100%;
    margin: 0;
  }

  .steps .step:nth-child(5) {
    grid-column: 1 / -1;
  }

  .metric {
    padding: 40px 28px;
  }

  .metric-n {
    font-size: 4.25vw;
  }

  .footer-top {
    gap: 40px;
  }
}

@media (max-width: 1100px) {
  .cta-inner {
    max-width: 720px;
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }

  .cta-copy {
    width: 100%; max-width: 680px; margin: 0 auto;
  }

  .cta-form {
    max-width: 560px;
    justify-self: center;
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: calc(100vh - var(--nav-height));
    max-height: calc(100dvh - var(--nav-height));
    padding: 12px 28px 20px;
    overflow-y: auto;
    background: rgba(17,17,17,0.98);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 18px 42px rgba(0,0,0,0.28);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  }

  nav.nav-menu-open .nav-links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.82);
    font-size: 16px;
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

  #hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-left {
    padding: 72px 40px 64px;
  }

  .hero-h1 {
    max-width: 680px;
    font-size: clamp(42px, 5vw, 48px);
  }

  .hero-sub {
    max-width: 620px;
  }

  .hero-right {
    min-height: 360px;
  }

  .hero-lime-stripe {
    left: 0;
    right: 0;
    top: 0;
    bottom: auto;
    width: auto;
    height: 5px;
  }

  .db-features {
    width: min(100%, 720px);
    grid-template-columns: minmax(0, 1fr);
  }

  .db-row,
  .db-row--thirds {
    grid-template-columns: minmax(0, 1fr);
  }

  .db-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  nav {
    padding: 0 24px;
  }

  .nav-links {
    padding-left: 24px;
    padding-right: 24px;
  }

  section,
  #solucion,
  #resultados,
  #cta {
    padding: 76px 32px;
  }

  #certs {
    padding: 52px 32px;
  }

  .certs-row {
    width: min(100%, 440px);
    grid-template-columns: 1fr;
  }
  .channels-row{
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 0;
  }
  .channel-logo img{
    width: 75%;
  }
  .pain-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .metrics-row {
    grid-template-columns: 1fr;
  }

  .metric {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .metric:last-child {
    border-bottom: none;
  }

  .metric-desc {
    max-width: 520px;
  }

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

  footer {
    padding: 56px 32px 36px;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-height: 64px;
  }

  nav {
    padding: 0 20px;
  }

  .nav-links {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav-logo {
    gap: 10px;
  }

  .nav-logo img {
    height: 34px;
  }

  .nav-cta {
    padding: 9px 14px;
    font-size: 11px;
    white-space: nowrap;
  }

  #hero {
    padding-top: 64px;
  }

  .hero-left {
    padding: 56px 24px 52px;
  }

  .hero-pill {
    margin-bottom: 24px;
  }

  .hero-h1 {
    font-size: clamp(24px, 7.8vw, 42px);
    line-height: 1.08;
  }

  .hero-sub {
    margin-bottom: 34px;
  }

  .hero-btns {
    margin-bottom: 44px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .stat-item {
    min-width: 0;
    padding: 0 14px;
    border-right: 1px solid rgba(255,255,255,0.12);
  }

  .stat-item:first-child {
    padding-left: 0;
  }

  .stat-item:last-child {
    padding-right: 0;
    border-right: none;
  }

  .stat-div {
    display: none;
  }

  .stat-n {
    font-size: 23px;
  }

  .stat-l {
    font-size: 10px;
  }

  .hero-right {
    min-height: 320px;
  }

  .hero-visual {
    padding: 36px 24px;
  }

  .hero-quote {
    font-size: 22px;
  }

  section,
  #solucion,
  #resultados,
  #cta {
    padding: 64px 24px;
  }

  #certs {
    padding: 48px 24px;
  }

  footer {
    padding: 52px 24px 32px;
  }

  .section-h2,
  .cta-h2 {
    font-size: 38px;
  }

  .cta-h2 {
    font-size: clamp(30px, 6vw, 38px);
  }

  .section-sub {
    font-size: 16px;
    margin-bottom: 44px;
  }

  .section-sub.centered {
    margin-bottom: 44px;
  }

  .mb-60 {
    margin-bottom: 44px;
  }

  .certs-row {
    gap: 12px;
  }

  .channels-row {
    grid-template-columns: repeat(3, minmax(110px, 1fr));
    column-gap: 0px;
    row-gap: 0px;
  }

  .channel-logo {
    height: 64px;
  }

  .cert-item {
    width: 100%;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .steps .step:nth-child(5) {
    grid-column: auto;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card-top,
  .pain-card,
  .why-card {
    padding-left: 24px;
    padding-right: 24px;
  }

  .db-heading-break {
    display: none;
  }

  .db-feature {
    padding: 24px;
  }

  .db-frame-bar {
    flex-wrap: wrap;
  }

  .db-frame-title {
    flex: 1 1 180px;
  }

  .db-frame-body {
    padding: 18px;
    gap: 16px;
  }

  .db-row {
    gap: 16px;
  }

  .db-card {
    padding: 20px;
  }

  .db-chart-scroll {
    padding-bottom: 4px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--greige) transparent;
  }

  .db-chart,
  .db-chart-x {
    min-width: 560px;
  }

  .db-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .metric {
    padding: 34px 0;
  }

  .metric-n {
    font-size: 48px;
  }

  .cta-form {
    padding: 30px 26px;
  }

  .cta-inner {
    gap: 44px;
  }

  .form-field input,
  .form-field select {
    font-size: 16px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    gap: 12px 20px;
  }
}

@media (max-width: 520px) {
  .nav-cta {
    display: none;
  }

  .nav-menu-cta {
    display: block;
  }

  .nav-menu-cta a {
    justify-content: center;
    min-height: 48px;
    margin-top: 12px;
    padding: 14px 16px;
    border: none;
    border-radius: 6px;
    background: var(--lime);
    color: var(--black);
    font-family: 'Roie', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
  }

  .nav-menu-cta a:hover {
    background: var(--lime-dark);
    color: var(--black);
  }
}

@media (max-width: 420px) {
  nav {
    padding: 0 16px;
  }

  .nav-links {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-logo img {
    height: 40px;
  }

  .nav-cta {
    padding: 8px 10px;
    font-size: 10px;
  }

  .hero-left {
    padding: 48px 20px 44px;
  }

  .hero-sub {
    font-size: 15px;
  }

  .hero-btns {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    padding: 15px 18px;
    text-align: center;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .stat-item,
  .stat-item:first-child,
  .stat-item:last-child {
    padding: 0 0 18px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }

  .stat-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

  .stat-n {
    font-size: 28px;
  }

  .hero-right {
    min-height: 280px;
  }

  .hero-visual {
    padding: 32px 20px;
  }

  .hero-quote {
    font-size: 20px;
  }

  .hero-tagline {
    font-size: 9px;
  }

  section,
  #solucion,
  #resultados,
  #cta {
    padding: 56px 20px;
  }

  #certs {
    padding: 44px 20px;
  }

  .channels-row {
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 0px;
    row-gap: 0;
  }

  .channel-logo img {
    width: calc(var(--logo-canvas-width) * 0.6);
  }

  footer {
    padding: 48px 20px 28px;
  }

  .section-h2,
  .cta-h2 {
    font-size: 24px;
  }

  .cta-h2 {
    font-size: clamp(24px, 7.8vw, 30px);
  }

  .pain-footer {
    padding: 22px 20px;
  }

  .service-title {
    font-size: 22px;
  }

  .db-features {
    margin-bottom: 44px;
  }

  .db-feature {
    padding: 22px 20px;
  }

  .db-frame {
    border-radius: 10px;
  }

  .db-frame-bar {
    padding: 10px 14px;
  }

  .db-frame-title {
    margin-left: 4px;
    font-size: 11px;
  }

  .db-frame-mock-badge {
    font-size: 9px;
  }

  .db-frame-body {
    padding: 12px;
    gap: 12px;
  }

  .db-row {
    gap: 12px;
  }

  .db-card {
    padding: 16px;
  }

  .db-chart,
  .db-chart-x {
    min-width: 520px;
  }

  .db-stat-delta {
    display: block;
    margin: 4px 0 0;
  }

  .db-caption {
    font-size: 11px;
  }

  .metric-n {
    font-size: 4.25vw;
  }

  .cta-form {
    padding: 26px 20px;
  }

  .cta-inner {
    gap: 36px;
  }

  .form-submit {
    padding-left: 12px;
    padding-right: 12px;
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .nav-cta {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .clients-grid {
    grid-template-columns: 1fr;
  }
  .channel-logo img {
    width: calc(var(--logo-canvas-width) * 0.4);
  }
}

@media print {
  nav {
    position: static;
  }

  #hero {
    padding-top: 0;
  }

  .fade-in {
    opacity: 1 !important;
    transform: none !important;
  }

  .nav-toggle,
  .nav-menu-cta {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-links,
  .nav-toggle span,
  .db-feature {
    transition: none;
  }
}

/* =========================================================
   FLUID TYPOGRAPHY & OVERFLOW SAFETY
   Final responsive layer. Keeps every text node inside its
   container from small phones through wide desktop screens.
   ========================================================= */

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  width: 100%;
  min-width: 0;
}

/* Grid and flex children need min-width: 0 to be allowed to shrink. */
:where(
  section, div, article, aside, header, footer, nav, main,
  ul, ol, li, form, fieldset
) {
  min-width: 0;
}

/* Long words, URLs and labels can wrap instead of widening the page. */
:where(
  h1, h2, h3, h4, h5, h6, p, li, a, span, label,
  button, input, select, textarea
) {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

:where(h1, h2, h3, h4) {
  text-wrap: balance;
}

:where(p, li) {
  text-wrap: pretty;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}

/* Shared section rhythm and fluid display type. */
.section-h2 {
  /* width: min(100%, 1120px); */
  margin-inline: auto;
  font-size: clamp(2.25rem, 3.2vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.hero-h1 {
  font-size: clamp(2.75rem, 4.75vw, 4.25rem);
  letter-spacing: -0.035em;
  overflow-wrap: normal;
}

.cta-h2 {
  font-size: clamp(2.25rem, 3.6vw, 3.25rem);
  letter-spacing: -0.03em;
}

.section-sub,
.hero-sub,
.cta-text {
  font-size: clamp(0.975rem, 0.92rem + 0.2vw, 1.0625rem);
}

.service-title,
.why-title,
.step-title,
.metric-label,
.cta-form h3 {
  line-height: 1.2;
}

.btn-primary,
.btn-ghost,
.nav-cta,
.form-submit {
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Metrics scale against the available page width and never force overflow. */
.metrics-row {
  width: min(100%, 1440px);
  margin-inline: auto;
}

.metric-n {
  font-size: clamp(2.65rem, 4.35vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

@media (max-width: 820px) {
  .section-h2 {
    font-size: clamp(2.05rem, 7.4vw, 3rem);
    line-height: 1.06;
  }

  .metric-n {
    font-size: clamp(2.75rem, 11vw, 4rem);
  }
}

@media (max-width: 640px) {
  .hero-h1 {
    font-size: clamp(2rem, 8.2vw, 3rem);
    line-height: 1.04;
  }

  .section-h2 {
    font-size: clamp(1.85rem, 8.5vw, 2.5rem);
    line-height: 1.05;
  }

  .cta-h2 {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
    line-height: 1.08;
  }

  .hero-pill,
  .section-label,
  .cta-label,
  .hero-tagline {
    overflow-wrap: normal;
  }

  .pain-footer p,
  .service-desc,
  .service-features li,
  .why-text,
  .metric-desc,
  .cta-checks li,
  .footer-tagline,
  .footer-links a {
    font-size: clamp(0.875rem, 3.7vw, 1rem);
  }
}

@media (max-width: 420px) {
  .section-h2 {
    font-size: clamp(1.75rem, 6.4vw, 2.2rem);
  }

  .metric-n {
    font-size: clamp(2.5rem, 13vw, 3.35rem);
  }

  .service-title {
    font-size: clamp(1.2rem, 6.2vw, 1.4rem);
  }

  .hero-pill {
    max-width: 100%;
    font-size: 0.625rem;
    line-height: 1.35;
  }
}

@media (max-width: 340px) {
  section,
  #solucion,
  #resultados,
  #cta {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-left,
  .hero-visual,
  #certs,
  footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-h2,
  .hero-h1,
  .cta-h2 {
    letter-spacing: -0.025em;
  }
}

/* =========================================================
   MOBILE CONTENT ORDER
   Desktop keeps its original content and sequence. On mobile,
   sections are reordered and shortened according to the review.
   ========================================================= */
@media (max-width: 820px) {
  #site-content {
    display: flex;
    flex-direction: column;
  }

  #hero { order: 1; }

  #certs {
    order: 2;
  }

  #servicios { order: 3; }
  #solucion { order: 4; }

  #cta-mid {
    order: 6;
    display: block;
    padding: 76px 32px;
  }

  #dashboard-showcase { order: 7; }
  #porque { order: 8; }
  #clientes { order: 9; }
  #cta { order: 10; }

  #problema,
  #resultados,
  #hero .hero-stats,
  .nav-link-resultados,
  #dashboard-showcase .db-features,
  #dashboard-showcase .db-row--ads,
  #dashboard-showcase .db-row--thirds .db-gauge-card:not(:nth-child(2)),
  .db-kpi-summary .db-kpi:not(.db-kpi--mobile),
  .desktop-kpi-label {
    display: none;
  }

  .db-kpi-summary-title {
    display: flex;
  }

  .mobile-kpi-label {
    display: inline;
  }

  .db-kpi-summary .db-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cert-item {
    height: 92px;
    padding: 14px 18px;
  }

  .step-inner {
    padding: 26px 22px;
  }

  .service-card-top,
  .pain-card,
  .why-card {
    padding: 24px 22px;
  }

  .db-feature,
  .db-card {
    padding: 18px;
  }

  .client-card {
    padding: 20px 16px;
  }
}

@media (max-width: 640px) {
  #cta-mid {
    padding: 64px 24px;
  }

  .service-card-top,
  .pain-card,
  .why-card {
    padding: 22px 20px;
  }

  .cta-form {
    padding: 26px 22px;
  }
}

@media (max-width: 420px) {
  #cta-mid {
    padding: 56px 20px;
  }

  .db-kpi-summary .db-kpi-grid {
    gap: 16px 10px;
  }
}

@media (max-width: 340px) {
  #cta-mid {
    padding-left: 16px;
    padding-right: 16px;
  }
}
