:root {
    /* ── Navy / Teal — originales ── */
    --navy:       #0D2B55;
    --navy-light: #12325f;
    --navy-deep:  #081d3a;
    --teal:       #028090;
    --teal-light: #03a0b3;
    --teal-dim:   #025f6b;

    /* ── Coral — reemplaza gold ── */
    --gold:       #E05A2B;   /* Coral Industrial — acento cálido sobre blanco y navy */
    --gold-light: #f07040;
    --gold-dim:   #b84520;

    /* ── Superficies light mode ── */
    --dark:       #f4f9ff;   /* fondo principal */
    --white:      #ffffff;
    --gray:       #5a7a9a;
    --gray-light: #8fa8c4;

    /* ── Texto ── */
    --text:       #0D2B55;   /* navy como texto principal */
    --text-soft:  #2a4a6a;
    --text-muted: #4a6a8a;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--dark);
    color: var(--text);
    font-family: 'Barlow', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
  }
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 5%;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(8, 29, 58, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(2, 128, 144, 0.25);
  }
  .nav-logo {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    color: var(--white);
    text-decoration: none;
  }
  .nav-logo span { color: var(--teal); }
  .nav-links { display: flex; gap: 2rem; list-style: none; }
  .nav-links a {
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    font-size: 0.83rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--teal-light); }
  .nav-cta {
    background: var(--gold) !important;
    color: #ffffff !important;
    padding: 0.4rem 1.1rem;
    border-radius: 3px;
    font-weight: 700 !important;
  }
  .nav-cta:hover { background: var(--gold-light) !important; }

  /* HERO */
  #hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 5% 80px;
    background: linear-gradient(160deg, #e8f3fd 0%, #f4f9ff 55%, #f0f4ff 100%);
    overflow: hidden;
  }
  .hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.17;
    z-index: 0;
    pointer-events: none;
  }
  .hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(2,128,144,0.09) 1px, transparent 1px),
      linear-gradient(90deg, rgba(2,128,144,0.09) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  }
  .hero-accent {
    position: absolute;
    top: 0; left: 8%;
    width: 1px; height: 100%;
    background: linear-gradient(to bottom, transparent, var(--teal), transparent);
    opacity: 0.4;
  }
  .hero-content { position: relative; max-width: 920px; z-index: 1; }
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(224,90,43,0.09);
    border: 1px solid rgba(224,90,43,0.35);
    color: var(--gold);
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    padding: 0.35rem 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border-radius: 2px;
  }
  .hero-badge::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.75); }
  }
  .hero-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: 0.93;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--navy);
  }
  .hero-title .teal { color: var(--teal-light); display: block; }
  .hero-title .tagline {
    display: block;
    font-size: 0.52em;
    color: var(--gold);
    letter-spacing: 0.08em;
    margin-top: 0.5em;
  }
  .hero-sub {
    font-size: 1.1rem;
    color: var(--text-soft);
    max-width: 560px;
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.7;
  }
  .hero-sub strong { color: var(--navy); font-weight: 600; }
  .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--teal);
    color: var(--white);
    padding: 0.85rem 2rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 3px;
    transition: background 0.2s, transform 0.2s;
    border: none; cursor: pointer;
  }
  .btn-primary:hover { background: var(--teal-light); transform: translateY(-2px); }
  .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    color: var(--navy);
    padding: 0.85rem 1.5rem;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(0,114,181,0.3);
    border-radius: 3px;
    transition: border-color 0.2s, color 0.2s;
  }
  .btn-secondary:hover { border-color: var(--teal); color: var(--teal-light); }
  .hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(2,128,144,0.2);
    flex-wrap: wrap;
  }
  .stat-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
  }
  .stat-label {
    font-size: 0.76rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.2rem;
  }

  /* SECTION COMMONS */
  section { position: relative; padding: 80px 5%; z-index: 1; }
  .section-tag {
    font-family: 'Space Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-light);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .section-tag::before { content: ''; display: block; width: 24px; height: 1px; background: var(--teal); }
  .section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    text-transform: uppercase;
    line-height: 1.0;
    margin-bottom: 1rem;
  }
  .section-title em { font-style: normal; color: var(--gold); }
  .section-intro { font-size: 1rem; color: var(--text-soft); max-width: 580px; font-weight: 400; line-height: 1.75; }

  /* PROBLEMA */
  #problema {
    background: #eef5fc;
    border-top: 1px solid rgba(2,128,144,0.15);
    border-bottom: 1px solid rgba(2,128,144,0.15);
  }
  .problema-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: start;
  }
  .problema-cards { display: flex; flex-direction: column; gap: 1rem; }
  .problema-card {
    background: #ffffff;
    border: 1px solid rgba(2,128,144,0.15);
    border-left: 3px solid var(--gold);
    padding: 1.2rem 1.5rem;
    border-radius: 0 4px 4px 0;
  }
  .problema-card .icon { font-size: 1.3rem; margin-bottom: 0.4rem; }
  .problema-card h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.3rem;
  }
  .problema-card p { font-size: 0.86rem; color: var(--text-soft); line-height: 1.55; }
  .problema-right {
    background: rgba(2,128,144,0.06);
    border: 1px solid rgba(2,128,144,0.22);
    padding: 2rem;
    border-radius: 6px;
  }
  .problema-right h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.75rem;
  }
  .problema-right p { font-size: 0.92rem; color: var(--text-soft); line-height: 1.7; margin-bottom: 0.75rem; }
  .problema-highlight {
    background: rgba(224,90,43,0.07);
    border-left: 3px solid var(--gold);
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    font-size: 0.88rem;
    color: var(--gold-dim);
    font-style: italic;
  }

  /* SERVICIO */
  #servicio { background: var(--dark); }
  .servicio-box {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f3fb 100%);
    border: 1px solid rgba(2,128,144,0.25);
    border-radius: 8px;
    padding: 3rem;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
  }
  .servicio-box::before {
    content: '30';
    position: absolute;
    right: -1.5rem; top: -1.5rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14rem;
    font-weight: 800;
    color: rgba(2,128,144,0.06);
    line-height: 1;
    pointer-events: none;
    user-select: none;
  }
  .servicio-top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2.5rem;
  }
  .servicio-top h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    color: var(--navy);
  }
  .servicio-top h3 span { color: var(--teal-light); }
  .price-box {
    text-align: center;
    background: rgba(224,90,43,0.08);
    border: 1px solid rgba(224,90,43,0.35);
    padding: 1.5rem 2rem;
    border-radius: 6px;
    white-space: nowrap;
  }
  .price-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 0.25rem; }
  .price-amount {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gold-light);
    line-height: 1;
  }
  .price-range { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; }
  .entregables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }
  .entregable {
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(2,128,144,0.15);
    padding: 1rem 1.2rem;
    border-radius: 4px;
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
  }
  .entregable .check { color: var(--teal); font-size: 1rem; flex-shrink: 0; margin-top: 0.1rem; }
  .entregable strong { color: var(--navy); font-weight: 600; display: block; margin-bottom: 0.1rem; font-size: 0.88rem; }
  .entregable p { font-size: 0.82rem; color: var(--text-soft); line-height: 1.45; }

  /* MEDIMOS */
  #medimos {
    background: #eef5fc;
    border-top: 1px solid rgba(2,128,144,0.15);
  }
  .tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(2,128,144,0.2);
    margin-top: 2.5rem;
    flex-wrap: wrap;
  }
  .tab-btn {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-muted);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    margin-bottom: -1px;
  }
  .tab-btn.active { color: var(--teal-light); border-bottom-color: var(--teal); }
  .tab-btn:hover { color: var(--navy); }
  .tab-panel { display: none; padding: 2rem 0; }
  .tab-panel.active { display: block; }
  .sector-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }
  .sector-desc h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 0.75rem;
  }
  .sector-desc p { font-size: 0.9rem; color: var(--text-soft); line-height: 1.7; margin-bottom: 1.2rem; }
  .kpi-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
  .kpi-tag {
    background: rgba(2,128,144,0.08);
    border: 1px solid rgba(2,128,144,0.25);
    color: var(--teal-light);
    font-family: 'Space Mono', monospace;
    font-size: 0.68rem;
    padding: 0.25rem 0.6rem;
    border-radius: 2px;
    letter-spacing: 0.04em;
  }
  .sector-metrics {
    background: #ffffff;
    border: 1px solid rgba(0,177,210,0.2);
    border-radius: 6px;
    padding: 1.5rem;
  }
  .sector-metrics h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--teal);
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
  }
  .metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(2,128,144,0.08);
    font-size: 0.84rem;
  }
  .metric-row:last-child { border-bottom: none; }
  .metric-name { color: var(--text-soft); }
  .metric-val { font-family: 'Space Mono', monospace; font-size: 0.78rem; color: var(--teal-light); font-weight: 700; }

  /* POR QUÉ NB */
  #porquenb { background: var(--dark); }
  .credenciales-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
  }
  .credencial {
    background: linear-gradient(135deg, #ffffff, #f0f8ff);
    border: 1px solid rgba(2,128,144,0.18);
    border-top: 3px solid var(--teal);
    padding: 1.8rem;
    border-radius: 0 0 6px 6px;
    transition: border-top-color 0.2s, transform 0.2s;
  }
  .credencial:hover { border-top-color: var(--gold); transform: translateY(-4px); }
  .cred-icon { font-size: 1.8rem; margin-bottom: 0.75rem; }
  .credencial h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--navy);
    margin-bottom: 0.4rem;
  }
  .credencial p { font-size: 0.85rem; color: var(--text-soft); line-height: 1.6; }
  .highlight-text {
    display: inline-block;
    margin-top: 0.75rem;
    background: rgba(201,153,42,0.09);
    border: 1px solid rgba(201,153,42,0.28);
    color: var(--gold-light);
    font-family: 'Space Mono', monospace;
    font-size: 0.66rem;
    padding: 0.2rem 0.55rem;
    border-radius: 2px;
  }

  /* PROCESO */
  #proceso {
    background: #eef5fc;
    border-top: 1px solid rgba(2,128,144,0.15);
    border-bottom: 1px solid rgba(2,128,144,0.15);
  }
  .timeline { margin-top: 3rem; position: relative; }
  .timeline::before {
    content: '';
    position: absolute;
    left: 78px; top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--teal), rgba(2,128,144,0.1));
  }
  .timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.8rem;
    align-items: flex-start;
    position: relative;
  }
  .t-week {
    width: 78px;
    flex-shrink: 0;
    text-align: right;
    padding-right: 1.5rem;
    padding-top: 0.2rem;
    position: relative;
  }
  .t-week::after {
    content: '';
    position: absolute;
    right: -5px; top: 0.6rem;
    width: 9px; height: 9px;
    background: var(--teal);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(2,128,144,0.18);
  }
  .t-week .wlabel { font-family: 'Space Mono', monospace; font-size: 0.65rem; color: var(--teal); letter-spacing: 0.05em; line-height: 1.3; }
  .t-week .wdays { font-family: 'Barlow Condensed', sans-serif; font-size: 1.2rem; font-weight: 800; color: var(--navy); line-height: 1; }
  .t-body {
    background: #ffffff;
    border: 1px solid rgba(2,128,144,0.15);
    border-left: 3px solid var(--teal-dim);
    padding: 1.1rem 1.4rem;
    border-radius: 0 6px 6px 0;
    flex: 1;
  }
  .t-body h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--navy);
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
  }
  .t-body ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; }
  .t-body ul li { font-size: 0.83rem; color: var(--text-soft); display: flex; align-items: center; gap: 0.35rem; }
  .t-body ul li::before { content: '›'; color: var(--teal); font-weight: 700; }
  .t-final { background: linear-gradient(135deg, rgba(2,128,144,0.08), rgba(224,90,43,0.05)); border-color: rgba(2,128,144,0.3); border-left-color: var(--gold); }
  .t-final h4 { color: var(--gold-light); }

  /* ROI */
  #roi { background: var(--dark); }
  .roi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: center;
  }
  .roi-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
  .roi-card {
    background: #ffffff;
    border: 1px solid rgba(2,128,144,0.18);
    padding: 1.5rem;
    border-radius: 6px;
    text-align: center;
    transition: border-color 0.2s;
  }
  .roi-card:hover { border-color: var(--gold); }
  .roi-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--teal-light);
    line-height: 1;
    margin-bottom: 0.3rem;
  }
  .roi-num.gold { color: var(--gold-light); }
  .roi-lbl { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.35; }
  .roi-text h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 1rem;
    line-height: 1.1;
  }
  .roi-text h3 em { font-style: normal; color: var(--gold); }
  .roi-text p { font-size: 0.9rem; color: var(--text-soft); line-height: 1.7; margin-bottom: 0.75rem; }
  .roi-disc { font-size: 0.72rem; color: var(--text-muted); font-style: italic; margin-top: 0.75rem; }

  /* SERVICIOS */
  #servicios {
    background: #eef5fc;
    border-top: 1px solid rgba(2,128,144,0.15);
  }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
  }
  .service-card {
    background: #ffffff;
    border: 1px solid rgba(2,128,144,0.15);
    padding: 1.5rem;
    border-radius: 6px;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
  }
  .service-card:hover { background: rgba(2,128,144,0.05); border-color: rgba(2,128,144,0.3); transform: translateY(-3px); }
  .service-icon { font-size: 1.7rem; margin-bottom: 0.7rem; }
  .service-card h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--teal-light);
    letter-spacing: 0.04em;
    margin-bottom: 0.4rem;
  }
  .service-card p { font-size: 0.82rem; color: var(--text-soft); line-height: 1.55; }
  .stags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.7rem; }
  .stag {
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    color: var(--text-muted);
    background: rgba(2,128,144,0.06);
    border: 1px solid rgba(2,128,144,0.18);
    padding: 0.12rem 0.42rem;
    border-radius: 2px;
  }

  /* CONTACTO */
  #contacto {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
    border-top: 1px solid rgba(201,153,42,0.18);
    text-align: center;
  }
  .cta-wrap { max-width: 660px; margin: 0 auto; }
  .cta-wrap p { font-size: 1rem; color: var(--gray-light); margin-bottom: 2.5rem; line-height: 1.7; }
  .contact-methods { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
  .contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    border-radius: 4px;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .contact-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
  .btn-wa { background: #25D366; color: #fff; }
  .btn-email { background: var(--teal); color: #fff; }
  .contact-info {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .info-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray); margin-bottom: 0.2rem; }
  .info-val { font-family: 'Space Mono', monospace; font-size: 0.83rem; color: var(--teal-light); }

  /* FOOTER */
  footer {
    background: var(--navy);
    border-top: 1px solid rgba(2,128,144,0.2);
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .footer-logo { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.2rem; color: rgba(255,255,255,0.8); }
  .footer-logo span { color: var(--teal-dim); }
  .footer-copy { font-size: 0.76rem; color: var(--gray); text-align: center; }
  .footer-patent { font-family: 'Space Mono', monospace; font-size: 0.63rem; color: var(--teal-light); opacity: 0.7; text-align: right; }

  /* REVEAL */
  .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.visible { opacity: 1; transform: none; }

  /* ANIM */
  @keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
  .hero-badge { animation: fadeUp 0.5s ease both; }
  .hero-title { animation: fadeUp 0.5s 0.1s ease both; }
  .hero-sub { animation: fadeUp 0.5s 0.2s ease both; }
  .hero-actions { animation: fadeUp 0.5s 0.3s ease both; }
  .hero-stats { animation: fadeUp 0.5s 0.4s ease both; }

  /* MOBILE */
  @media (max-width: 768px) {
    nav { padding: 0 4%; }
    .nav-links { display: none; }
    section { padding: 60px 4%; }
    .problema-grid, .sector-content, .roi-grid { grid-template-columns: 1fr; }
    .servicio-top { grid-template-columns: 1fr; }
    .timeline::before { left: 60px; }
    .t-week { width: 60px; }
    .hero-stats { gap: 1.5rem; }
    footer { flex-direction: column; text-align: center; }
    .footer-patent { text-align: center; }
    .contact-info { gap: 1.5rem; }
  }

.roadmap-legend {
      display: flex;
      gap: 1.5rem;
      margin-top: 1.5rem;
      margin-bottom: 2.5rem;
      flex-wrap: wrap;
    }
    .legend-item {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.78rem;
      color: var(--text-soft);
      font-family: 'Space Mono', monospace;
      letter-spacing: 0.04em;
    }
    .legend-dot {
      width: 10px; height: 10px;
      border-radius: 50%;
      flex-shrink: 0;
    }
    .dot-active { background: var(--teal); box-shadow: 0 0 6px rgba(2,128,144,0.6); }
    .dot-soon { background: var(--gold); box-shadow: 0 0 6px rgba(201,153,42,0.4); }
    .dot-future { background: rgba(90,122,154,0.3); border: 1px solid var(--gray); }

    .roadmap-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 1.2rem;
    }
    .svc-card {
      background: #ffffff;
      border: 1px solid rgba(2,128,144,0.15);
      padding: 1.6rem;
      border-radius: 6px;
      position: relative;
      transition: transform 0.2s, border-color 0.2s;
    }
    .svc-card:hover { transform: translateY(-3px); }
    .svc-card.active {
      border-color: rgba(2,128,144,0.35);
      background: rgba(2,128,144,0.04);
    }
    .svc-card.active:hover { border-color: rgba(2,128,144,0.55); }
    .svc-card.soon {
      border-color: rgba(201,153,42,0.2);
    }
    .svc-card.soon:hover { border-color: rgba(201,153,42,0.4); }
    .svc-card.future {
      opacity: 0.7;
    }
    .svc-card.future:hover { opacity: 0.9; border-color: rgba(143,160,181,0.2); }

    .svc-status {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      font-family: 'Space Mono', monospace;
      font-size: 0.62rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 0.2rem 0.55rem;
      border-radius: 2px;
      margin-bottom: 1rem;
    }
    .svc-status::before {
      content: '';
      width: 6px; height: 6px;
      border-radius: 50%;
      flex-shrink: 0;
    }
    .status-active {
      background: rgba(2,128,144,0.12);
      border: 1px solid rgba(2,128,144,0.35);
      color: var(--teal-light);
    }
    .status-active::before { background: var(--teal); box-shadow: 0 0 5px rgba(2,128,144,0.8); animation: pulse 2s infinite; }
    .status-soon {
      background: rgba(201,153,42,0.09);
      border: 1px solid rgba(201,153,42,0.3);
      color: var(--gold-light);
    }
    .status-soon::before { background: var(--gold); }
    .status-future {
      background: rgba(143,160,181,0.07);
      border: 1px solid rgba(143,160,181,0.2);
      color: var(--gray);
    }
    .status-future::before { background: var(--gray); opacity: 0.5; }

    .svc-card .svc-icon { font-size: 1.8rem; margin-bottom: 0.6rem; display: block; }
    .svc-card h4 {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 1.2rem;
      font-weight: 700;
      text-transform: uppercase;
      color: var(--text);
      letter-spacing: 0.04em;
      margin-bottom: 0.45rem;
    }
    .svc-card p { font-size: 0.85rem; color: var(--text-soft); line-height: 1.6; margin-bottom: 0.75rem; }
    .svc-card .stags { display: flex; flex-wrap: wrap; gap: 0.3rem; }
    .svc-trigger {
      margin-top: 0.8rem;
      padding-top: 0.8rem;
      border-top: 1px solid rgba(255,255,255,0.06);
      font-size: 0.75rem;
      color: var(--text-muted);
      display: flex;
      align-items: flex-start;
      gap: 0.4rem;
    }
    .svc-trigger::before { content: '→'; color: var(--text-muted); flex-shrink: 0; }

.diagnostico-wrap {
      max-width: 900px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: center;
    }
    .diag-checklist { list-style: none; margin-top: 1.2rem; display: flex; flex-direction: column; gap: 0.55rem; }
    .diag-checklist li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.87rem; color: var(--text-soft); line-height: 1.5; }
    .diag-checklist li .ck { color: var(--teal-light); flex-shrink: 0; font-weight: 700; }
    .diag-right {
      background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
      border: 1px solid rgba(2,128,144,0.3);
      border-radius: 8px;
      padding: 2.5rem;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .diag-right::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--teal), var(--gold));
    }
    .diag-free { font-family: 'Barlow Condensed', sans-serif; font-size: 4rem; font-weight: 800; color: var(--gold-light); line-height: 1; margin-bottom: 0.2rem; }
    .diag-free-label { font-family: 'Space Mono', monospace; font-size: 0.63rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; line-height: 1.5; }
    .diag-what { text-align: left; margin-bottom: 1.8rem; }
    .diag-what-title { font-family: 'Barlow Condensed', sans-serif; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray); margin-bottom: 0.6rem; }
    .diag-what ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
    .diag-what ul li { font-size: 0.83rem; color: var(--gray-light); display: flex; align-items: flex-start; gap: 0.5rem; line-height: 1.4; }
    .diag-what ul li::before { content: '✓'; color: var(--teal); flex-shrink: 0; font-weight: 700; }
    .btn-wa-big {
      display: flex; align-items: center; justify-content: center; gap: 0.6rem;
      background: #25D366; color: #fff;
      padding: 1rem 1.5rem;
      font-family: 'Barlow Condensed', sans-serif; font-size: 1.15rem; font-weight: 700;
      text-transform: uppercase; letter-spacing: 0.07em;
      text-decoration: none; border-radius: 4px;
      transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
      margin-bottom: 0.75rem;
    }
    .btn-wa-big:hover { background: #1da851; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.25); }
    .btn-email-sm {
      display: flex; align-items: center; justify-content: center; gap: 0.5rem;
      background: transparent; color: var(--gray-light);
      padding: 0.75rem 1.5rem; font-size: 0.88rem; font-weight: 500;
      text-decoration: none;
      border: 1px solid rgba(143,160,181,0.22); border-radius: 4px;
      transition: border-color 0.2s, color 0.2s;
    }
    .btn-email-sm:hover { border-color: var(--teal); color: var(--teal-light); }
    .diag-no-bs { margin-top: 1rem; font-family: 'Space Mono', monospace; font-size: 0.6rem; letter-spacing: 0.05em; color: var(--gray-light); line-height: 1.65; }
    @media (max-width: 768px) { .diagnostico-wrap { grid-template-columns: 1fr; gap: 2rem; } }
/* ─── Nav shrink on scroll ───────────────────────────────────── */
nav.nav-scrolled {
  height: 52px;
  background: rgba(8, 29, 58, 1);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
  transition: height 0.3s ease, box-shadow 0.3s ease;
}

/* ─── Logo image ─────────────────────────────────────────────── */
.nav-logo-img {
  height: 57px;
  width: auto;
  display: block;
  object-fit: contain;
}
.nav-logo-text span { color: var(--teal); }

/* ─── Stagger reveal delay override ─────────────────────────── */
.credencial,
.entregable {
  transition: opacity 0.6s ease, transform 0.6s ease, border-top-color 0.2s, box-shadow 0.2s, translateY 0.2s;
}

/* ─── Counter number ─────────────────────────────────────────── */
.stat-num {
  font-variant-numeric: tabular-nums;
}

/* ─── Smooth nav transition ──────────────────────────────────── */
nav {
  transition: height 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
