﻿    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --navy:      #0d1f3c;
      --navy-mid:  #15305a;
      --blue:      #1c4f9c;
      --blue-lt:   #2a6dd9;
      --amber:     #c8892a;
      --amber-lt:  #e8a030;
      --white:     #ffffff;
      --off-white: #f5f5f0;
      --gray-100:  #efefeb;
      --gray-300:  #d1d0c8;
      --gray-500:  #8a8980;
      --gray-700:  #4a4940;
      --gray-900:  #1c1b18;
      --text:      #2e2d28;
      --radius:    4px;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'IBM Plex Sans', system-ui, sans-serif;
      color: var(--text);
      background: var(--white);
      overflow-x: hidden;
      line-height: 1.6;
      font-size: 16px;
    }

    a { text-decoration: none; color: inherit; }
    img { display: block; max-width: 100%; }

    /* ─── NAVBAR ────────────────────────────────────────── */
    .navbar {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 500;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 6%;
      height: 64px;
      transition: background .4s, border-color .4s;
      border-bottom: 1px solid transparent;
    }

    .navbar.scrolled {
      background: rgba(13,31,60,.97);
      border-color: rgba(255,255,255,.07);
      backdrop-filter: blur(12px);
    }

    .navbar__brand {
      display: flex;
      flex-direction: column;
      line-height: 1.2;
    }

    .navbar__brand strong {
      font-size: .95rem;
      font-weight: 700;
      color: var(--white);
      letter-spacing: .5px;
    }

    .navbar__brand span {
      font-size: .62rem;
      color: var(--amber);
      letter-spacing: 1.8px;
      text-transform: uppercase;
      font-weight: 500;
    }

    .navbar__links {
      display: flex;
      align-items: center;
      gap: 36px;
      list-style: none;
    }

    .navbar__links a {
      font-size: .82rem;
      font-weight: 500;
      color: rgba(255,255,255,.6);
      letter-spacing: .4px;
      position: relative;
      transition: color .2s;
    }

    .navbar__links a::after {
      content: '';
      position: absolute;
      bottom: -4px; left: 0;
      width: 0; height: 1.5px;
      background: var(--amber);
      transition: width .25s ease;
    }

    .navbar__links a:hover { color: var(--white); }
    .navbar__links a:hover::after { width: 100%; }

    .navbar__links .cta {
      color: var(--white) !important;
      background: var(--blue);
      padding: 8px 18px;
      border-radius: var(--radius);
      transition: background .2s;
    }

    .navbar__links .cta::after { display: none; }
    .navbar__links .cta:hover { background: var(--blue-lt); }

    /* ─── PROGRESS BAR ──────────────────────────────────── */
    .progress-bar {
      position: fixed;
      top: 64px; left: 0;
      height: 2px;
      width: 0%;
      background: var(--amber);
      z-index: 499;
      transition: width .05s linear;
    }

    /* ─── HERO ──────────────────────────────────────────── */
    .hero {
      padding-top: 64px;
      min-height: 100vh;
      display: grid;
      grid-template-columns: 1fr 1fr;
      position: relative;
      overflow: hidden;
    }

    .hero__left {
      background: var(--navy);
      padding: 96px 8% 96px 6%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      position: relative;
      z-index: 1;
    }

    .hero__eyebrow {
      font-size: .7rem;
      font-weight: 600;
      letter-spacing: 2.5px;
      text-transform: uppercase;
      color: var(--amber);
      margin-bottom: 24px;
      display: flex;
      align-items: center;
      gap: 12px;
      opacity: 0;
      transform: translateY(16px);
    }

    .hero__eyebrow-line {
      display: block;
      width: 0;
      height: 1.5px;
      background: var(--amber);
    }

    /* title split lines */
    .hero__title {
      font-family: 'IBM Plex Serif', serif;
      font-size: clamp(2rem, 3.5vw, 3rem);
      font-weight: 600;
      line-height: 1.18;
      color: var(--white);
      margin-bottom: 28px;
      overflow: hidden;
    }

    .hero__title .line-wrap {
      overflow: hidden;
      display: block;
    }

    .hero__title .line-inner {
      display: block;
      transform: translateY(110%);
    }

    .hero__desc {
      font-size: .95rem;
      color: rgba(255,255,255,.55);
      line-height: 1.85;
      margin-bottom: 40px;
      max-width: 440px;
      opacity: 0;
      transform: translateY(20px);
    }

    .hero__actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      opacity: 0;
      transform: translateY(20px);
    }

    .btn {
      font-family: 'IBM Plex Sans', sans-serif;
      font-size: .85rem;
      font-weight: 600;
      padding: 13px 26px;
      border-radius: var(--radius);
      border: none;
      cursor: pointer;
      letter-spacing: .3px;
      display: inline-block;
      position: relative;
      overflow: hidden;
      transition: color .2s;
    }

    .btn::before {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(255,255,255,.15);
      transform: translateX(-101%);
      transition: transform .3s ease;
    }

    .btn:hover::before { transform: translateX(0); }

    .btn-primary { background: var(--amber); color: var(--navy); }
    .btn-primary:hover { background: var(--amber); }

    .btn-ghost {
      background: transparent;
      color: rgba(255,255,255,.7);
      border: 1px solid rgba(255,255,255,.2);
    }

    .hero__right {
      position: relative;
      overflow: hidden;
    }

    .hero__right img {
      width: 100%; height: 100%;
      object-fit: cover;
      filter: brightness(.7) saturate(.85);
      transform: scale(1.06);
    }

    .hero__right-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(to right, var(--navy) 0%, transparent 35%);
    }

    /* scroll indicator */
    .hero__scroll {
      position: absolute;
      bottom: 36px; left: 6%;
      display: flex;
      align-items: center;
      gap: 12px;
      color: rgba(255,255,255,.4);
      font-size: .7rem;
      letter-spacing: 2px;
      text-transform: uppercase;
      opacity: 0;
    }

    .hero__scroll-line {
      width: 40px; height: 1px;
      background: rgba(255,255,255,.25);
      position: relative;
      overflow: hidden;
    }

    .hero__scroll-line::after {
      content: '';
      position: absolute;
      top: 0; left: -100%;
      width: 100%; height: 100%;
      background: var(--amber);
      animation: scrollLine 1.8s ease infinite;
    }

    @keyframes scrollLine {
      0%   { left: -100%; }
      100% { left: 100%; }
    }

    /* ─── STATS ─────────────────────────────────────────── */
    .stats {
      background: var(--amber);
      display: grid;
      grid-template-columns: repeat(4, 1fr);
    }

    .stat-item {
      padding: 36px 24px;
      border-right: 1px solid rgba(0,0,0,.12);
      text-align: center;
    }

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

    .stat-item__num {
      font-family: 'IBM Plex Serif', serif;
      font-size: 2.5rem;
      font-weight: 600;
      color: var(--navy);
      line-height: 1;
    }

    .stat-item__label {
      font-size: .7rem;
      font-weight: 600;
      letter-spacing: .8px;
      text-transform: uppercase;
      color: rgba(13,31,60,.55);
      margin-top: 8px;
    }

    /* ─── SHARED SECTION ────────────────────────────────── */
    section { padding: 100px 6%; }

    .label {
      font-size: .68rem;
      font-weight: 700;
      letter-spacing: 2.5px;
      text-transform: uppercase;
      color: var(--blue);
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 12px;
      opacity: 0;
      transform: translateY(12px);
    }

    .label::before {
      content: '';
      display: block;
      width: 22px; height: 1.5px;
      background: var(--blue);
    }

    h2.title {
      font-family: 'IBM Plex Serif', serif;
      font-size: clamp(1.8rem, 3vw, 2.5rem);
      font-weight: 600;
      color: var(--navy);
      line-height: 1.18;
      margin-bottom: 16px;
      overflow: hidden;
    }

    h2.title .line-wrap  { overflow: hidden; display: block; }
    h2.title .line-inner { display: block; transform: translateY(105%); }

    .subtitle {
      font-size: .95rem;
      color: var(--gray-700);
      max-width: 560px;
      line-height: 1.8;
      opacity: 0;
      transform: translateY(14px);
    }

    .section-head { margin-bottom: 60px; }

    /* ─── SERVICIOS ─────────────────────────────────────── */
    .services { background: var(--off-white); }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1px;
      background: var(--gray-300);
      border: 1px solid var(--gray-300);
    }

    .svc {
      background: var(--white);
      padding: 40px 32px;
      position: relative;
      overflow: hidden;
      transition: background .2s;
    }

    .svc::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0;
      width: 0; height: 2px;
      background: var(--amber);
      transition: width .35s ease;
    }

    .svc:hover { background: #fafaf7; }
    .svc:hover::after { width: 100%; }

    .svc__num {
      font-family: 'IBM Plex Serif', serif;
      font-size: 2rem;
      font-weight: 400;
      color: var(--gray-300);
      line-height: 1;
      margin-bottom: 20px;
      display: block;
      transition: color .2s;
    }

    .svc:hover .svc__num { color: var(--amber); }

    .svc h3 {
      font-size: .95rem;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 12px;
    }

    .svc p {
      font-size: .875rem;
      color: var(--gray-700);
      line-height: 1.75;
    }

    .svc__tag {
      display: inline-block;
      margin-top: 20px;
      font-size: .67rem;
      font-weight: 700;
      letter-spacing: .8px;
      text-transform: uppercase;
      color: var(--blue);
      border-top: 1.5px solid var(--blue);
      padding-top: 6px;
    }

    /* ─── GRUPO ─────────────────────────────────────────── */
    .group { background: var(--white); }

    .group-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    .co-card {
      border: 1px solid var(--gray-300);
      border-radius: var(--radius);
      padding: 28px 24px;
      position: relative;
      overflow: hidden;
      cursor: default;
      transition: border-color .25s, box-shadow .25s;
    }

    .co-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0;
      width: 3px; height: 0;
      background: var(--blue);
      transition: height .35s ease;
    }

    .co-card:hover { border-color: transparent; box-shadow: 0 4px 24px rgba(28,79,156,.1); }
    .co-card:hover::before { height: 100%; }

    .co-card__label {
      font-size: .63rem;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: var(--gray-500);
      margin-bottom: 8px;
    }

    .co-card h3 {
      font-size: .95rem;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 12px;
      line-height: 1.3;
    }

    .co-card p {
      font-size: .85rem;
      color: var(--gray-700);
      line-height: 1.7;
    }

    /* ─── COBERTURA ─────────────────────────────────────── */
    .coverage {
      background: var(--navy);
      color: var(--white);
      position: relative;
      overflow: hidden;
    }

    /* Líneas de fondo decorativas */
    .coverage::before {
      content: '';
      position: absolute;
      top: -120px; right: -120px;
      width: 520px; height: 520px;
      border-radius: 50%;
      border: 1px solid rgba(255,255,255,.04);
      pointer-events: none;
    }

    .coverage::after {
      content: '';
      position: absolute;
      top: -40px; right: -40px;
      width: 320px; height: 320px;
      border-radius: 50%;
      border: 1px solid rgba(255,255,255,.04);
      pointer-events: none;
    }

    .coverage .label { color: var(--amber); }
    .coverage .label::before { background: var(--amber); }
    .coverage h2.title { color: var(--white); }
    .coverage .subtitle { color: rgba(255,255,255,.5); max-width: 500px; }

    .coverage-layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: start;
    }

    .coverage-col h4 {
      font-size: .67rem;
      font-weight: 700;
      letter-spacing: 1.8px;
      text-transform: uppercase;
      color: var(--amber);
      border-bottom: 1px solid rgba(255,255,255,.08);
      padding-bottom: 12px;
      margin-bottom: 18px;
    }

    .loc-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 11px;
      margin-bottom: 40px;
    }

    .loc-list li {
      font-size: .875rem;
      color: rgba(255,255,255,.7);
      display: flex;
      align-items: center;
      gap: 12px;
      transform: translateX(-16px);
      opacity: 0;
    }

    .loc-list li::before {
      content: '';
      display: block;
      width: 4px; height: 4px;
      border-radius: 50%;
      background: var(--amber);
      flex-shrink: 0;
    }

    /* ─── NOSOTROS ──────────────────────────────────────── */
    .about { background: var(--off-white); }

    .about-layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }

    .about-img { position: relative; }

    .about-img img {
      width: 100%;
      aspect-ratio: 4/3;
      object-fit: cover;
      filter: saturate(.85);
    }

    /* reveal overlay */
    .img-reveal {
      position: absolute;
      inset: 0;
      background: var(--off-white);
      transform-origin: left;
    }

    .about-img__badge {
      position: absolute;
      bottom: 0; right: 0;
      background: var(--navy);
      color: var(--white);
      padding: 20px 24px;
      font-size: .8rem;
      line-height: 1.5;
    }

    .about-img__badge strong {
      font-family: 'IBM Plex Serif', serif;
      display: block;
      font-size: 2.2rem;
      font-weight: 600;
      color: var(--amber);
    }

    .about-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 28px;
      margin-top: 36px;
    }

    .about-item {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 18px;
      opacity: 0;
      transform: translateY(20px);
    }

    .about-item__num {
      font-family: 'IBM Plex Serif', serif;
      font-size: 1.2rem;
      font-weight: 600;
      color: var(--gray-300);
      line-height: 1.2;
      padding-top: 2px;
    }

    .about-item h4 {
      font-size: .9rem;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 5px;
    }

    .about-item p {
      font-size: .85rem;
      color: var(--gray-700);
      line-height: 1.7;
    }

    /* ─── MARQUEE ───────────────────────────────────────── */
    .marquee-section {
      background: var(--navy);
      padding: 0;
      overflow: hidden;
      border-top: 1px solid rgba(255,255,255,.06);
      border-bottom: 1px solid rgba(255,255,255,.06);
    }

    .marquee-track {
      display: flex;
      width: max-content;
      animation: marquee 22s linear infinite;
    }

    .marquee-track:hover { animation-play-state: paused; }

    @keyframes marquee {
      from { transform: translateX(0); }
      to   { transform: translateX(-50%); }
    }

    .marquee-item {
      padding: 22px 48px;
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: 2.5px;
      text-transform: uppercase;
      color: rgba(255,255,255,.3);
      white-space: nowrap;
      border-right: 1px solid rgba(255,255,255,.06);
      display: flex;
      align-items: center;
      gap: 16px;
      transition: color .2s;
    }

    .marquee-item:hover { color: var(--amber); }

    .marquee-item::before {
      content: '';
      display: block;
      width: 5px; height: 5px;
      border-radius: 50%;
      background: var(--amber);
      opacity: .4;
    }

    /* ─── CONTACTO ──────────────────────────────────────── */
    .contact { background: var(--white); }

    .contact-layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: start;
    }

    .contact-info-block {
      margin-top: 36px;
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    .contact-row {
      display: flex;
      flex-direction: column;
      gap: 4px;
      border-left: 2px solid var(--gray-300);
      padding-left: 16px;
      transition: border-color .2s;
    }

    .contact-row:hover { border-color: var(--blue); }

    .contact-row span {
      font-size: .65rem;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: var(--gray-500);
    }

    .contact-row a,
    .contact-row p {
      font-size: .95rem;
      color: var(--navy);
      font-weight: 500;
    }

    .contact-row a:hover { color: var(--blue); }

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

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

    .field {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .field label {
      font-size: .68rem;
      font-weight: 700;
      letter-spacing: .6px;
      text-transform: uppercase;
      color: var(--gray-500);
    }

    .field input,
    .field textarea,
    .field select {
      font-family: 'IBM Plex Sans', sans-serif;
      font-size: .875rem;
      color: var(--text);
      background: var(--white);
      border: 1px solid var(--gray-300);
      border-bottom-width: 2px;
      border-radius: 0;
      padding: 10px 0;
      outline: none;
      transition: border-color .2s;
      width: 100%;
      border-top: none;
      border-left: none;
      border-right: none;
    }

    .field input:focus,
    .field textarea:focus,
    .field select:focus { border-color: var(--navy); }

    .field textarea { resize: vertical; min-height: 100px; }
    .field select { appearance: none; cursor: pointer; background: transparent; }

    .form-submit {
      background: var(--navy);
      color: var(--white);
      font-family: 'IBM Plex Sans', sans-serif;
      font-size: .85rem;
      font-weight: 700;
      letter-spacing: .5px;
      text-transform: uppercase;
      padding: 14px 32px;
      border: none;
      cursor: pointer;
      align-self: flex-start;
      position: relative;
      overflow: hidden;
      transition: background .2s;
    }

    .form-submit::after {
      content: '';
      position: absolute;
      inset: 0;
      background: var(--blue);
      transform: translateX(-101%);
      transition: transform .3s ease;
    }

    .form-submit span { position: relative; z-index: 1; }
    .form-submit:hover::after { transform: translateX(0); }

    /* ─── FOOTER ────────────────────────────────────────── */
    footer {
      background: var(--gray-900);
      padding: 32px 6%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
    }

    footer p {
      font-size: .78rem;
      color: rgba(255,255,255,.3);
    }

    footer p strong { color: rgba(255,255,255,.55); }

    .footer-links {
      display: flex;
      gap: 28px;
      list-style: none;
    }

    .footer-links a {
      font-size: .78rem;
      color: rgba(255,255,255,.3);
      transition: color .2s;
    }

    .footer-links a:hover { color: var(--amber); }

    /* ─── UTILIDADES DE ANIMACIÓN ───────────────────────── */
    .fade-up {
      opacity: 0;
      transform: translateY(24px);
    }

    .stagger-child {
      opacity: 0;
      transform: translateY(20px);
    }

    /* ─── RESPONSIVE ────────────────────────────────────── */
    @media (max-width: 1024px) {
      .services-grid { grid-template-columns: 1fr 1fr; }
      .group-grid    { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width: 768px) {
      .hero              { grid-template-columns: 1fr; }
      .hero__right       { height: 260px; }
      .stats             { grid-template-columns: 1fr 1fr; }
      .services-grid     { grid-template-columns: 1fr; }
      .group-grid        { grid-template-columns: 1fr; }
      .coverage-layout   { grid-template-columns: 1fr; gap: 40px; }
      .about-layout      { grid-template-columns: 1fr; gap: 36px; }
      .contact-layout    { grid-template-columns: 1fr; gap: 48px; }
      .form-row          { grid-template-columns: 1fr; }
      .navbar__links     { display: none; }
    }

    @media (max-width: 480px) {
      .stats { grid-template-columns: 1fr 1fr; }
      section { padding: 72px 5%; }
    }
