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

    :root {
      --navy:       #0D1E35;
      --navy-mid:   #132642;
      --blue:       #1D5FA8;
      --blue-lt:    #2A7AC8;
      --accent:     #4FAADF;
      --accent-lt:  #72C1F0;
      --white:      #FFFFFF;
      --off-white:  #F7F9FC;
      --gray-lt:    #EEF2F7;
      --gray-mid:   #6B8090;
      --gray-dark:  #3A4F63;
      --border:     #DDE5EF;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--white);
      color: var(--navy);
      overflow-x: hidden;
    }

    ::-webkit-scrollbar { width: 5px; }
    ::-webkit-scrollbar-track { background: var(--gray-lt); }
    ::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

    /* ─── TOPBAR ─── */
    .topbar {
      background: var(--navy);
      padding: 8px 5%;
      display: flex; align-items: center; justify-content: flex-end; gap: 28px;
    }
    .topbar span {
      font-size: 12px; color: rgba(255,255,255,0.6);
      display: flex; align-items: center; gap: 6px;
    }
    .topbar span svg { width: 13px; height: 13px; opacity: 0.7; }

    /* ─── NAVBAR ─── */
    nav {
      position: sticky; top: 0; z-index: 100;
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 5%;
      height: 74px;
      background: var(--white);
      border-bottom: 2px solid var(--border);
      box-shadow: 0 2px 16px rgba(13,30,53,0.07);
    }

    .nav-logo {
      display: flex; align-items: center; gap: 12px;
      text-decoration: none;
    }

    .nav-logo img { height: 52px; width: auto; flex-shrink: 0; object-fit: contain; }

    .nav-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
    .nav-logo-text .brand  { font-size: 16px; font-weight: 700; color: var(--navy); letter-spacing: 0.3px; }
    .nav-logo-text .tagline { font-size: 10px; font-weight: 500; color: var(--accent); letter-spacing: 1.8px; text-transform: uppercase; }

    .nav-links { display: flex; gap: 8px; list-style: none; align-items: center; }

    .nav-links a {
      text-decoration: none;
      font-size: 13px; font-weight: 500;
      color: var(--gray-dark);
      padding: 8px 16px;
      border-radius: 5px;
      transition: background 0.2s, color 0.2s;
      letter-spacing: 0.3px;
    }
    .nav-links a:hover { background: var(--gray-lt); color: var(--navy); }

    .nav-cta {
      background: var(--blue) !important;
      color: var(--white) !important;
      font-weight: 600 !important;
      box-shadow: 0 3px 12px rgba(29,95,168,0.25);
    }
    .nav-cta:hover { background: var(--blue-lt) !important; }

    .hamburger {
      display: none; flex-direction: column; gap: 5px;
      background: none; border: none; cursor: pointer; padding: 4px;
    }
    .hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }

    /* ─── HERO ─── */
    #home {
      height: calc(100vh - 120px);
      min-height: 520px;
      display: flex; align-items: center; justify-content: center;
      padding: 40px 5%;
      background:
        linear-gradient(to bottom, rgba(13,30,53,0.70) 0%, rgba(13,30,53,0.55) 60%, rgba(13,30,53,0.75) 100%),
        url('img/fondo.png') center center / cover no-repeat;
      position: relative; overflow: visible;
      text-align: center;
    }

    #home::before {
      content: '';
      position: absolute; inset: 0;
      background: linear-gradient(180deg, rgba(13,30,53,0.3) 0%, transparent 40%, rgba(13,30,53,0.4) 100%);
      pointer-events: none;
    }

    .hero-left {
      position: relative; z-index: 1;
      max-width: 820px; margin: 0 auto;
      padding: 0;
    }

    .hero-badge {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(255,255,255,0.1);
      border: 1px solid rgba(255,255,255,0.3);
      backdrop-filter: blur(8px);
      padding: 7px 20px; border-radius: 100px;
      font-size: 11px; font-weight: 600; letter-spacing: 2.5px;
      color: rgba(255,255,255,0.9); text-transform: uppercase;
      margin-bottom: 16px;
    }
    .hero-badge::before {
      content: '';
      width: 6px; height: 6px; background: var(--accent);
      border-radius: 50%; box-shadow: 0 0 8px var(--accent);
      animation: blink 2s infinite;
    }
    @keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

    .hero-title {
      font-family: 'Montserrat', sans-serif;
      font-size: clamp(28px, 3.6vw, 52px);
      font-weight: 800; line-height: 1.08;
      letter-spacing: -1.5px;
      color: var(--white); margin-bottom: 16px;
      text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    }

    .hero-title .accent-word {
      color: var(--accent-lt);
      position: relative;
    }
    .hero-title .accent-word::after {
      content: '';
      position: absolute; left: 0; bottom: -4px; right: 0; height: 3px;
      background: linear-gradient(90deg, var(--accent), transparent);
      border-radius: 2px;
    }

    .hero-sub {
      font-size: 16px; line-height: 1.7;
      color: rgba(255,255,255,0.75);
      margin: 0 auto 24px; max-width: 580px;
    }

    .hero-actions {
      display: flex; gap: 16px; flex-wrap: wrap;
      align-items: center; justify-content: center;
    }

    .btn-primary {
      display: inline-flex; align-items: center; gap: 10px;
      background: var(--blue);
      color: var(--white);
      padding: 16px 36px; border-radius: 5px;
      font-size: 14px; font-weight: 700; letter-spacing: 0.5px;
      text-decoration: none;
      box-shadow: 0 8px 28px rgba(29,95,168,0.5);
      transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    }
    .btn-primary:hover { background: var(--blue-lt); transform: translateY(-2px); box-shadow: 0 12px 36px rgba(29,95,168,0.6); }
    .btn-primary svg { width: 16px; height: 16px; transition: transform 0.2s; }
    .btn-primary:hover svg { transform: translateX(4px); }

    .btn-outline {
      display: inline-flex; align-items: center; gap: 8px;
      border: 2px solid rgba(255,255,255,0.4);
      color: var(--white); background: rgba(255,255,255,0.08);
      backdrop-filter: blur(8px);
      padding: 14px 30px; border-radius: 5px;
      font-size: 14px; font-weight: 600;
      text-decoration: none;
      transition: border-color 0.2s, background 0.2s;
    }
    .btn-outline:hover { border-color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.15); }

    .hero-stats {
      display: flex; gap: 0; margin-top: 32px;
      justify-content: center; flex-wrap: wrap;
      border-top: 1px solid rgba(255,255,255,0.15);
      padding-top: 28px;
    }
    .stat {
      display: flex; flex-direction: column; gap: 4px;
      padding: 0 40px;
      border-right: 1px solid rgba(255,255,255,0.15);
    }
    .stat:last-child { border-right: none; }
    .stat-num { font-family: 'Montserrat', sans-serif; font-size: 26px; font-weight: 800; color: var(--white); line-height: 1; }
    .stat-label { font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 1.5px; }

    /* Hero right — hidden when using bg image layout */
    .hero-right { display: none; }
    .hero-card-stack, .hcard, .hcard-main, .hcard-back1, .hcard-back2,
    .hcard-metric, .metric-dot, .metric-label, .metric-val { display: none; }

    /* ─── DIVIDER ─── */
    .divider {
      height: 1px;
      background: var(--border);
      margin: 0;
    }

    /* ─── LOGO STRIP ─── */
    .strip {
      background: var(--off-white);
      padding: 28px 5%;
      display: flex; align-items: center; gap: 12px;
    }
    .strip-label { font-size: 12px; font-weight: 600; color: var(--gray-mid); text-transform: uppercase; letter-spacing: 1.5px; white-space: nowrap; }
    .strip-line { flex: 1; height: 1px; background: var(--border); }
    .strip-badges { display: flex; gap: 12px; flex-wrap: wrap; }
    .strip-badge {
      background: var(--white); border: 1px solid var(--border);
      border-radius: 6px; padding: 8px 18px;
      font-size: 12px; font-weight: 600; color: var(--gray-dark);
      display: flex; align-items: center; gap: 8px;
    }
    .strip-badge svg { width: 14px; height: 14px; color: var(--accent); }

    /* ─── SECTIONS ─── */
    section { padding: 96px 5%; }

    .section-label {
      font-size: 11px; font-weight: 700; letter-spacing: 3px;
      color: var(--accent); text-transform: uppercase; margin-bottom: 10px;
    }

    .section-title {
      font-family: 'Montserrat', sans-serif;
      font-size: clamp(24px, 3vw, 42px);
      font-weight: 800; line-height: 1.12;
      letter-spacing: -1px;
      color: var(--navy); margin-bottom: 18px;
    }

    .section-body {
      font-size: 16px; line-height: 1.8;
      color: var(--gray-mid); max-width: 600px;
    }

    /* ─── ABOUT ─── */
    #about { background: var(--white); }

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

    .about-left .section-body { margin-bottom: 32px; }

    .about-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
    .pill {
      display: flex; align-items: center; gap: 8px;
      background: var(--off-white); border: 1px solid var(--border);
      padding: 8px 16px; border-radius: 100px;
      font-size: 13px; font-weight: 500; color: var(--navy);
    }
    .pill svg { width: 14px; height: 14px; color: var(--accent); }

    .about-right {
      background: var(--off-white);
      border-radius: 20px;
      padding: 40px;
      border: 1px solid var(--border);
      position: relative; overflow: hidden;
    }
    .about-right::before {
      content: '';
      position: absolute; top: 0; left: 0; right: 0; height: 4px;
      background: linear-gradient(90deg, var(--navy), var(--blue), var(--accent));
    }

    .about-feature {
      display: flex; gap: 16px; align-items: flex-start;
      padding: 20px 0;
      border-bottom: 1px solid var(--border);
    }
    .about-feature:last-child { border-bottom: none; padding-bottom: 0; }
    .about-feature:first-child { padding-top: 0; }

    .feat-icon {
      width: 44px; height: 44px; flex-shrink: 0;
      background: var(--navy);
      border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
    }
    .feat-icon svg { width: 20px; height: 20px; color: var(--accent); }

    .feat-text h4 { font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: -0.2px; color: var(--navy); margin-bottom: 5px; }
    .feat-text p  { font-size: 13px; color: var(--gray-mid); line-height: 1.6; }

    /* ─── SERVICES ─── */
    #services { background: var(--off-white); }

    .services-top {
      display: flex; align-items: flex-end; justify-content: space-between;
      margin-bottom: 56px; gap: 32px; flex-wrap: wrap;
    }

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

    .scard {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 36px 30px;
      position: relative; overflow: hidden;
      transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
    }
    .scard:hover {
      box-shadow: 0 16px 50px rgba(13,30,53,0.1);
      transform: translateY(-5px);
      border-color: var(--accent);
    }

    .scard-top-bar {
      position: absolute; top: 0; left: 0; right: 0; height: 4px;
      background: linear-gradient(90deg, var(--navy), var(--accent));
      transform: scaleX(0); transform-origin: left;
      transition: transform 0.4s;
    }
    .scard:hover .scard-top-bar { transform: scaleX(1); }

    .scard-num {
      font-family: 'Montserrat', sans-serif;
      font-size: 13px; font-weight: 700;
      color: var(--accent); letter-spacing: 1px;
      margin-bottom: 20px;
    }

    .scard-icon {
      width: 56px; height: 56px; border-radius: 12px;
      background: var(--gray-lt);
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 20px;
      transition: background 0.3s;
    }
    .scard:hover .scard-icon { background: rgba(79,170,223,0.12); }
    .scard-icon svg { width: 26px; height: 26px; color: var(--blue); }

    .scard h3 { font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 700; letter-spacing: -0.3px; color: var(--navy); margin-bottom: 12px; line-height: 1.25; }
    .scard p  { font-size: 14px; color: var(--gray-mid); line-height: 1.8; }

    .scard-link {
      display: inline-flex; align-items: center; gap: 6px;
      margin-top: 24px; font-size: 12px; font-weight: 700;
      color: var(--blue); text-transform: uppercase;
      letter-spacing: 1px; text-decoration: none;
      transition: gap 0.2s;
    }
    .scard-link:hover { gap: 10px; }

    /* ─── WHY ─── */
    #why { background: var(--navy); }
    #why .section-title { color: var(--white); }
    #why .section-body  { color: rgba(255,255,255,0.55); }

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

    .why-items { display: flex; flex-direction: column; gap: 0; margin-top: 36px; }

    .why-item {
      display: flex; gap: 20px; align-items: flex-start;
      padding: 24px 0;
      border-bottom: 1px solid rgba(255,255,255,0.07);
    }
    .why-item:last-child { border-bottom: none; }

    .why-num {
      flex-shrink: 0;
      font-family: 'Montserrat', sans-serif;
      font-size: 28px; font-weight: 700;
      color: rgba(79,170,223,0.25); line-height: 1;
      min-width: 36px;
    }

    .why-item h4 { font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: -0.2px; color: var(--white); margin-bottom: 6px; }
    .why-item p  { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.7; }

    .why-right {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    .why-tile {
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 12px; padding: 28px 22px;
      transition: background 0.3s, border-color 0.3s;
    }
    .why-tile:hover { background: rgba(79,170,223,0.08); border-color: rgba(79,170,223,0.25); }

    .why-tile svg { width: 28px; height: 28px; color: var(--accent); margin-bottom: 14px; }
    .why-tile h4 { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 6px; }
    .why-tile p  { font-size: 12px; color: rgba(255,255,255,0.45); line-height: 1.6; }

    .why-tile.span2 { grid-column: span 2; }

    /* ─── CONTACT ─── */
    #contact { background: var(--white); }

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

    .contact-left .section-body { margin-bottom: 36px; }

    .cinfo-list { display: flex; flex-direction: column; gap: 16px; }

    .cinfo-item {
      display: flex; align-items: center; gap: 14px;
      padding: 16px 20px;
      border: 1px solid var(--border); border-radius: 10px;
      transition: border-color 0.2s, background 0.2s;
    }
    .cinfo-item:hover { border-color: var(--accent); background: rgba(79,170,223,0.03); }

    .cinfo-icon {
      width: 40px; height: 40px; flex-shrink: 0;
      background: var(--navy); border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
    }
    .cinfo-icon svg { width: 18px; height: 18px; color: var(--accent); }

    .cinfo-label { font-size: 11px; font-weight: 600; color: var(--gray-mid); text-transform: uppercase; letter-spacing: 1px; }
    .cinfo-value { font-size: 14px; font-weight: 600; color: var(--navy); }

    /* FORM */
    .cform {
      background: var(--off-white);
      border: 1px solid var(--border);
      border-radius: 16px; padding: 40px;
      display: flex; flex-direction: column; gap: 18px;
    }

    .cform-title { font-family: 'Montserrat', sans-serif; font-size: 20px; font-weight: 700; letter-spacing: -0.5px; color: var(--navy); margin-bottom: 4px; }
    .cform-sub   { font-size: 13px; color: var(--gray-mid); margin-bottom: 8px; }

    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .fgroup   { display: flex; flex-direction: column; gap: 7px; }

    .fgroup label { font-size: 12px; font-weight: 600; color: var(--gray-dark); letter-spacing: 0.3px; }

    .fgroup input,
    .fgroup select,
    .fgroup textarea {
      background: var(--white);
      border: 1.5px solid var(--border);
      border-radius: 7px; padding: 12px 15px;
      font-size: 14px; font-family: inherit;
      color: var(--navy); outline: none;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .fgroup input:focus,
    .fgroup select:focus,
    .fgroup textarea:focus {
      border-color: var(--blue);
      box-shadow: 0 0 0 3px rgba(29,95,168,0.1);
    }
    .fgroup input::placeholder,
    .fgroup textarea::placeholder { color: #C0CFDD; }
    .fgroup select option { color: var(--navy); }
    .fgroup textarea { resize: vertical; min-height: 110px; }

    .form-submit {
      display: flex; align-items: center; justify-content: center; gap: 10px;
      background: var(--navy); color: var(--white); border: none; cursor: pointer;
      padding: 15px 32px; border-radius: 7px;
      font-size: 14px; font-weight: 600; font-family: inherit;
      letter-spacing: 0.5px; text-transform: uppercase;
      transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
      box-shadow: 0 4px 16px rgba(13,30,53,0.2);
    }
    .form-submit:hover { background: var(--navy-mid); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,30,53,0.25); }
    .form-submit svg { width: 16px; height: 16px; }
    
    /* hCaptcha widget */
    .h-captcha {
      display: flex;
      justify-content: center;
      margin: 4px 0;
      min-height: 78px;
    }
    .h-captcha iframe { border-radius: 6px; }

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

    .footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
    .footer-logo img { height: 40px; width: auto; object-fit: contain; }

    .footer-copy { font-size: 12px; color: rgba(255,255,255,0.4); }

    .footer-links { display: flex; gap: 24px; }
    .footer-links a {
      font-size: 12px; color: rgba(255,255,255,0.45);
      text-decoration: none; transition: color 0.2s;
    }
    .footer-links a:hover { color: var(--accent); }

    /* ─── FADE IN ─── */
    .fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.55s, transform 0.55s; }
    .fade-in.visible { opacity: 1; transform: translateY(0); }

    /* ─── MOBILE ─── */
    @media (max-width: 900px) {
      #home { grid-template-columns: 1fr; }
      .hero-right { display: none; }
      .about-grid, .why-inner, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
      .services-grid { grid-template-columns: 1fr; }
      .why-right { grid-template-columns: 1fr; }
      .why-tile.span2 { grid-column: span 1; }
      .form-row { grid-template-columns: 1fr; }
      .nav-links { display: none; position: fixed; top: 120px; left: 0; right: 0; flex-direction: column; background: var(--white); border-bottom: 1px solid var(--border); padding: 20px 5%; gap: 4px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
      .nav-links.open { display: flex; }
      .hamburger { display: flex; }
      .services-top { flex-direction: column; align-items: flex-start; }
    }
