*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body { font-family: 'Inter', sans-serif; background: #0E1626; color: #E8EEF4; line-height: 1.7; }
    :root {
      --navy-dark:#0E1626; --navy:#141F2E; --navy-mid:#18304A; --navy-light:#1E3D5C;
      --teal:#0FA3B1; --teal-dark:#0A7A85; --gold:#C8933A; --gold-light:#E0AE52;
      --white:#FFFFFF; --gray:#829BAC; --gray-light:#B0C4D4; --border:rgba(255,255,255,0.07);
    }
    svg.ico { width: 28px; height: 28px; stroke: var(--teal); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem; }

    /* NAV */
    nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(14,22,38,0.96);
      backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 0 2rem;
      display: flex; align-items: center; justify-content: space-between; height: 64px; }
    .nav-logo { font-size: 1.2rem; font-weight: 900; letter-spacing: 0.08em; color: var(--white); text-decoration: none; }
    .nav-logo span { color: var(--teal); }
    .nav-links { display: flex; gap: 1.75rem; list-style: none; }
    .nav-links a { color: var(--gray-light); text-decoration: none; font-size: 0.85rem; font-weight: 500; transition: color .2s; }
    .nav-links a:hover { color: var(--teal); }
    .nav-cta { background: var(--teal); color: var(--navy-dark); padding: .5rem 1.25rem; border-radius: 4px;
      font-size: .85rem; font-weight: 600; text-decoration: none; transition: background .2s; }
    .nav-cta:hover { background: var(--teal-dark); color: var(--white); }
    .nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
    .menu-check { display: none; }
    .nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; }

    /* HERO */
    #inicio { min-height: 100vh; display: flex; align-items: center; padding: 120px 2rem 80px; position: relative; overflow: hidden; }
    .hero-bg { position: absolute; inset: 0; background-image: url('../img/portada.jpg'); background-size: cover;
      background-position: center right; background-color: #0E1626; }
    .hero-bg::before { content: ''; position: absolute; inset: 0;
      background: linear-gradient(to right, rgba(14,22,38,.97) 0%, rgba(14,22,38,.90) 45%, rgba(14,22,38,.55) 75%, rgba(14,22,38,.25) 100%); }
    .hero-accent { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--teal); }
    .hero-inner { position: relative; max-width: 1100px; margin: 0 auto; width: 100%; }
    .hero-eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .18em; color: var(--teal); text-transform: uppercase; margin-bottom: 1.5rem; }
    .hero-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; line-height: 1.1; color: var(--white); margin-bottom: 1.5rem; max-width: 800px; }
    .hero-title em { font-style: normal; color: var(--teal); }
    .hero-subtitle { font-size: 1.1rem; font-weight: 300; color: var(--gray-light); max-width: 640px; margin-bottom: 2.5rem; line-height: 1.8; }
    .hero-metrics { display: flex; gap: 2.5rem; margin-bottom: .75rem; flex-wrap: wrap; }
    .metric { border-left: 2px solid var(--gold); padding-left: 1rem; }
    .metric-value { font-size: 2rem; font-weight: 900; color: var(--gold-light); line-height: 1; }
    .metric-label { font-size: .75rem; color: var(--gray); margin-top: 4px; line-height: 1.4; }
    .metric-note { font-size: .72rem; color: var(--gray); margin-bottom: 2.5rem; letter-spacing: .03em; }
    .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
    .btn-primary { background: var(--teal); color: var(--navy-dark); padding: .9rem 2rem; border-radius: 4px; font-size: .9rem;
      font-weight: 700; text-decoration: none; transition: background .2s, transform .15s; display: inline-block; }
    .btn-primary:hover { background: #0d8f9b; transform: translateY(-1px); }
    .btn-secondary { background: transparent; color: var(--white); padding: .9rem 2rem; border-radius: 4px; border: 1px solid rgba(255,255,255,.2);
      font-size: .9rem; font-weight: 500; text-decoration: none; transition: border-color .2s; display: inline-block; }
    .btn-secondary:hover { border-color: var(--teal); color: var(--teal); }

    /* SECTIONS */
    section { padding: 100px 2rem; }
    .container { max-width: 1100px; margin: 0 auto; }
    .section-eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .18em; color: var(--teal); text-transform: uppercase; margin-bottom: 1rem; }
    .section-title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; color: var(--white); margin-bottom: 1rem; line-height: 1.2; }
    .section-subtitle { font-size: 1rem; color: var(--gray-light); max-width: 680px; margin-bottom: 3.5rem; line-height: 1.8; }
    .divider { width: 48px; height: 3px; background: var(--teal); margin-bottom: 1.5rem; border-radius: 2px; }
    .grid { display: grid; gap: 1.5rem; }
    .card { background: var(--navy-mid); border: 1px solid var(--border); border-radius: 8px; padding: 2rem; position: relative; }
    .card.top::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--teal); border-radius: 8px 8px 0 0; }
    .card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: .75rem; line-height: 1.4; }
    .card p { font-size: .9rem; color: var(--gray); line-height: 1.7; }
    .card ul { list-style: none; margin-top: 1rem; }
    .card li { font-size: .86rem; color: var(--gray-light); padding: .35rem 0 .35rem 1.1rem; position: relative; }
    .card li::before { content: ''; position: absolute; left: 0; top: .85rem; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }

    /* CLIENTES */
    #clientes { background: var(--navy-dark); }
    .clientes-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
    .segmento-tag { font-size: .72rem; font-weight: 700; letter-spacing: .14em; color: var(--gold-light); text-transform: uppercase; margin-bottom: .75rem; }
    .nota-tamano { margin-top: 2rem; font-size: .9rem; color: var(--gray-light); border-left: 2px solid var(--teal); padding-left: 1rem; max-width: 760px; }

    /* PROBLEMA */
    #problema { background: var(--navy); }
    .problema-grid { display: flex; flex-wrap: wrap; justify-content: center; }
    .problema-grid .card { flex: 0 1 calc(33.333% - 1rem); min-width: 260px; }
    @media (max-width: 860px) { .problema-grid .card { flex-basis: 100%; } }

    /* METODOLOGIA */
    #metodologia { background: var(--navy-dark); }
    .metodologia-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 4rem; }
    .fases-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
    .fase-num { font-size: .7rem; font-weight: 700; letter-spacing: .15em; color: var(--teal); text-transform: uppercase; margin-bottom: .5rem; }
    .fase-duration { display: inline-block; margin-top: .75rem; font-size: .72rem; color: var(--gold); font-weight: 600; letter-spacing: .05em; }
    .epicentro { background: var(--navy-mid); border: 1px solid rgba(15,163,177,.3); border-radius: 12px; padding: 2.5rem; text-align: center; }
    .epicentro h3 { font-size: 1.05rem; font-weight: 800; color: var(--teal); margin-bottom: 1rem; letter-spacing: .05em; }
    .epicentro p { font-size: .9rem; color: var(--gray-light); line-height: 1.8; }
    .tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 1.5rem; }
    .tag { background: rgba(15,163,177,.12); color: var(--teal); border: 1px solid rgba(15,163,177,.25); border-radius: 20px; padding: 4px 14px; font-size: .78rem; font-weight: 500; }

    /* ENTREGABLES */
    #entregables { background: var(--navy); }
    .entregables-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
    .entregables-grid .card { background: var(--navy-dark); }

    /* QUIENES */
    #quienes { background: var(--navy-dark); }
    .quienes-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: center; }
    .quienes-foto { aspect-ratio: 1; border-radius: 12px; background: var(--navy-mid); border: 1px solid rgba(15,163,177,.2); overflow: hidden; position: relative; }
    .quienes-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .foto-badge { position: absolute; bottom: 1.5rem; left: 1.5rem; right: 1.5rem; background: rgba(14,22,38,.9); border: 1px solid rgba(15,163,177,.3); border-radius: 6px; padding: .75rem 1rem; }
    .foto-badge-name { font-size: .9rem; font-weight: 700; color: var(--white); }
    .foto-badge-title { font-size: .75rem; color: var(--teal); margin-top: 2px; }
    .quienes-texto p { font-size: .95rem; color: var(--gray-light); line-height: 1.85; margin-bottom: 1.25rem; }
    .quienes-hitos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
    .hito { background: var(--navy-mid); border: 1px solid var(--border); border-radius: 6px; padding: 1rem; }
    .hito-valor { font-size: 1.4rem; font-weight: 900; color: var(--gold-light); }
    .hito-label { font-size: .78rem; color: var(--gray); margin-top: 2px; line-height: 1.4; }
    .pilares { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.75rem; }
    .pilar { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--white); border: 1px solid rgba(15,163,177,.35); border-radius: 4px; padding: .45rem .9rem; }

    /* CONTACTO */
    #contacto { background: var(--navy); }
    .contacto-inner { max-width: 820px; margin: 0 auto; text-align: center; }
    .contacto-inner .section-subtitle { margin: 0 auto 3rem; }
    .contacto-opciones { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 3rem; text-align: left; }
    .contacto-opciones h3 { color: var(--teal); font-size: .95rem; }
    .contacto-datos { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
    .dato { font-size: .9rem; color: var(--gray-light); }
    .dato a { color: var(--teal); text-decoration: none; }
    .dato a:hover { text-decoration: underline; }

    footer { background: var(--navy-dark); border-top: 1px solid var(--border); padding: 2rem; text-align: center; font-size: .8rem; color: var(--gray); }
    footer span { color: var(--teal); font-weight: 700; }

    @media (max-width: 860px) {
      .nav-toggle { display: block; }
      .nav-cta { display: none; }
      .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0;
        background: rgba(14,22,38,.98); border-bottom: 1px solid var(--border); padding: .5rem 2rem 1rem; }
      .menu-check:checked ~ .nav-links { display: flex; }
      .nav-links a { display: block; padding: .75rem 0; font-size: .95rem; }
      .metodologia-intro, .quienes-grid, .contacto-opciones { grid-template-columns: 1fr; gap: 2rem; }
      .quienes-foto { max-width: 300px; }
      .hero-metrics { gap: 1.5rem; }
      section { padding: 72px 1.25rem; }
      #inicio { padding: 110px 1.25rem 64px; }
      nav { padding: 0 1.25rem; }
    }
