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

    :root {
      --azul-900: #07182f;
      --azul-800: #102f5f;
      --azul-700: #184985;
      --amarillo: #f6c431;
      --verde: #1fb58f;
      --blanco: #ffffff;
      --gris-100: #f4f7fb;
      --gris-300: #dbe4ef;
      --texto: #25364a;
      --suave: #6d7d91;
      --sombra: 0 24px 70px rgba(7, 24, 47, .22);
      --header-h: 76px;
    }

    html {
      scroll-behavior: smooth;
      scrollbar-gutter: stable;
    }

    body {
      min-height: 100vh;
      font-family: "Inter", Arial, sans-serif;
      color: var(--texto);
      background: var(--gris-100);
    }

    img {
      display: block;
      max-width: 100%;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    .header {
      position: fixed;
      inset: 0 0 auto;
      z-index: 30;
      height: var(--header-h);
      padding: 0 clamp(18px, 5vw, 84px);
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: rgba(7, 24, 47, .88);
      border-bottom: 1px solid rgba(255, 255, 255, .1);
      backdrop-filter: blur(14px);
      box-shadow: 0 14px 36px rgba(7, 24, 47, .2);
    }

    .logo {
      display: inline-grid;
      justify-items: center;
      font-weight: 800;
      color: var(--blanco);
    }

    .logo-img {
      width: clamp(52px, 4vw, 64px);
      height: clamp(52px, 4vw, 64px);
      object-fit: contain;
      flex: 0 0 auto;
      filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .22));
    }

    .nav {
      display: flex;
      align-items: center;
      gap: clamp(16px, 3vw, 34px);
    }

    .nav a,
    .dropdown-trigger {
      position: relative;
      border: 0;
      background: transparent;
      font-family: inherit;
      color: rgba(255, 255, 255, .78);
      font-size: .88rem;
      font-weight: 700;
      cursor: pointer;
      transition: color .25s ease, transform .25s ease;
    }

    .nav a::after,
    .dropdown-trigger::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: -8px;
      height: 2px;
      background: var(--amarillo);
      transform: scaleX(0);
      transform-origin: right;
      transition: transform .28s ease;
    }

    .nav a:hover,
    .dropdown:hover .dropdown-trigger,
    .dropdown-trigger:focus-visible {
      color: var(--blanco);
      transform: translateY(-2px);
    }

    .nav a:hover::after,
    .nav .activo::after,
    .dropdown:hover .dropdown-trigger::after,
    .dropdown-trigger:focus-visible::after {
      transform: scaleX(1);
      transform-origin: left;
    }

    .nav .activo {
      color: var(--amarillo);
    }

    .dropdown {
      position: relative;
      display: inline-flex;
      align-items: center;
      min-height: 48px;
    }

    .dropdown-trigger {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      min-height: 38px;
    }

    .dropdown-trigger span {
      width: 7px;
      height: 7px;
      border-right: 2px solid currentColor;
      border-bottom: 2px solid currentColor;
      transform: rotate(45deg) translateY(-2px);
      transition: transform .25s ease;
    }

    .dropdown:hover .dropdown-trigger span,
    .dropdown-trigger:focus-visible span {
      transform: rotate(225deg) translateY(-2px);
    }

    .dropdown-menu {
      position: absolute;
      top: calc(100% + 10px);
      left: 50%;
      width: 290px;
      padding: 10px;
      border: 1px solid rgba(255, 255, 255, .13);
      border-radius: 8px;
      background: rgba(7, 24, 47, .96);
      box-shadow: 0 22px 50px rgba(7, 24, 47, .32);
      backdrop-filter: blur(16px);
      opacity: 0;
      visibility: hidden;
      transform: translate(-50%, 12px);
      transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
    }

    .dropdown-menu::before {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: -14px;
      height: 14px;
    }

    .dropdown:hover .dropdown-menu,
    .dropdown:focus-within .dropdown-menu {
      opacity: 1;
      visibility: visible;
      transform: translate(-50%, 0);
    }

    .dropdown-menu a {
      display: grid;
      gap: 3px;
      padding: 12px 13px;
      border-radius: 6px;
      color: rgba(255, 255, 255, .9);
      transition: background .2s ease, color .2s ease, transform .2s ease;
    }

    .dropdown-menu a::after {
      display: none;
    }

    .dropdown-menu a:hover {
      color: var(--blanco);
      background: rgba(246, 196, 49, .13);
      transform: translateX(4px);
    }

    .dropdown-menu strong {
      color: var(--amarillo);
      font-size: .85rem;
    }

    .dropdown-menu small {
      color: rgba(255, 255, 255, .58);
      font-size: .74rem;
      line-height: 1.35;
      font-weight: 600;
    }

    .nav-cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 42px;
      padding: 0 18px;
      border-radius: 6px;
      background: var(--amarillo);
      color: var(--azul-900);
      box-shadow: 0 10px 20px rgba(246, 196, 49, .22);
    }

    .nav-cta:hover {
      color: var(--azul-900);
      transform: translateY(-3px) scale(1.03);
      box-shadow: 0 16px 30px rgba(246, 196, 49, .32);
    }

    .nav-cta::after {
      display: none;
    }

    /* ===== REDES SOCIALES ===== */
    .social-links {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .social-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, .18);
      background: rgba(255, 255, 255, .06);
      color: rgba(255, 255, 255, .82);
      transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
    }

    .social-link:hover {
      transform: translateY(-2px);
      background: rgba(246, 196, 49, .16);
      border-color: rgba(246, 196, 49, .45);
      color: var(--amarillo);
    }

    .social-link svg {
      width: 17px;
      height: 17px;
      fill: currentColor;
    }

    .header-social {
      margin-right: 4px;
    }

    .footer-social {
      margin-top: 18px;
    }

    /* ===== MENÚ HAMBURGUESA ===== */
    .menu-toggle {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 44px;
      height: 44px;
      padding: 0;
      border: 1px solid rgba(255, 255, 255, .18);
      border-radius: 8px;
      background: rgba(255, 255, 255, .06);
      cursor: pointer;
    }

    .menu-toggle span {
      display: block;
      width: 20px;
      height: 2px;
      margin: 0 auto;
      background: var(--blanco);
      border-radius: 2px;
      transition: transform .25s ease, opacity .25s ease;
    }

    .header.is-open .menu-toggle span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }

    .header.is-open .menu-toggle span:nth-child(2) {
      opacity: 0;
    }

    .header.is-open .menu-toggle span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    .nav-backdrop {
      display: none;
    }

    .hero {
      min-height: 100vh;
      padding: 126px clamp(18px, 5vw, 84px) 64px;
      position: relative;
      overflow: hidden;
      display: grid;
      align-items: center;
      background:
        linear-gradient(105deg, rgba(7, 24, 47, .96) 0%, rgba(16, 47, 95, .9) 48%, rgba(16, 47, 95, .42) 100%),
        url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=85") center / cover;
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
      background-size: 58px 58px;
      mask-image: linear-gradient(90deg, #000 0%, transparent 72%);
      pointer-events: none;
    }

    .hero-inner {
      position: relative;
      z-index: 2;
      width: min(1280px, 100%);
      margin: 0 auto;
      display: grid;
      grid-template-columns: minmax(0, 1.02fr) minmax(320px, .78fr);
      gap: clamp(32px, 6vw, 76px);
      align-items: center;
    }

    .hero-copy {
      animation: subir .8s ease both;
    }

    .etiqueta {
      width: fit-content;
      display: inline-flex;
      align-items: center;
      gap: 9px;
      margin-bottom: 22px;
      padding: 8px 13px;
      border: 1px solid rgba(246, 196, 49, .38);
      border-radius: 999px;
      color: var(--amarillo);
      background: rgba(246, 196, 49, .12);
      font-size: .75rem;
      font-weight: 800;
      letter-spacing: .1em;
      text-transform: uppercase;
    }

    .etiqueta::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--amarillo);
      box-shadow: 0 0 0 7px rgba(246, 196, 49, .16);
      animation: pulso 1.8s ease-in-out infinite;
    }

    h1 {
      max-width: 840px;
      color: var(--blanco);
      font-family: "Barlow Condensed", sans-serif;
      font-size: clamp(2.35rem, 5.1vw, 4.55rem);
      line-height: 1;
      font-weight: 800;
      letter-spacing: 0;
      text-wrap: balance;
    }

    h1 span {
      color: var(--amarillo);
    }

    .hero-text {
      max-width: 680px;
      margin-top: 24px;
      color: rgba(255, 255, 255, .76);
      font-size: clamp(.80rem, 1.20vw, .90rem);
      line-height: 1.72;
    }

    .hero-actions {
      margin-top: 30px;
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
    }

    .boton {
      position: relative;
      isolation: isolate;
      overflow: hidden;
      min-height: 50px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 0 24px;
      border-radius: 6px;
      font-size: .94rem;
      font-weight: 800;
      transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, color .25s ease;
    }

    .boton::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      transform: translateX(-105%);
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .34), transparent);
      transition: transform .58s ease;
    }

    .boton:hover {
      transform: translateY(-4px);
    }

    .boton:hover::before {
      transform: translateX(105%);
    }

    .boton-principal {
      background: var(--amarillo);
      color: var(--azul-900);
      box-shadow: 0 18px 34px rgba(246, 196, 49, .25);
    }

    .boton-secundario {
      border: 1px solid rgba(255, 255, 255, .34);
      color: var(--blanco);
      background: rgba(255, 255, 255, .08);
      backdrop-filter: blur(10px);
    }

    .boton-secundario:hover {
      border-color: var(--amarillo);
      color: var(--amarillo);
    }

    .panel {
      position: relative;
      padding: 18px;
      border: 1px solid rgba(255, 255, 255, .16);
      border-radius: 8px;
      background: rgba(255, 255, 255, .1);
      backdrop-filter: blur(18px);
      box-shadow: var(--sombra);
      animation: flotar 5s ease-in-out infinite;
    }

    .panel-carousel {
      position: relative;
      aspect-ratio: 4 / 4.7;
      border-radius: 6px;
      overflow: hidden;
    }

    .panel-slide {
      position: absolute;
      inset: 0;
      opacity: 0;
      transform: scale(1.03);
      transition: opacity .7s ease, transform .7s ease;
    }

    .panel-slide.is-active {
      opacity: 1;
      transform: scale(1);
      z-index: 1;
    }

    .panel-slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .6s ease, filter .6s ease;
    }

    .panel:hover .panel-slide.is-active img {
      transform: scale(1.08) rotate(.6deg);
      filter: saturate(1.15) contrast(1.06);
    }

    .panel-dots {
      position: absolute;
      right: 18px;
      bottom: 18px;
      z-index: 3;
      display: flex;
      gap: 8px;
      padding: 7px;
      border-radius: 999px;
      background: rgba(7, 24, 47, .46);
      backdrop-filter: blur(10px);
    }

    .panel-dot {
      width: 8px;
      height: 8px;
      border: 0;
      border-radius: 50%;
      background: rgba(255, 255, 255, .48);
      cursor: pointer;
      transition: width .25s ease, background .25s ease;
    }

    .panel-dot.is-active {
      width: 22px;
      border-radius: 999px;
      background: var(--amarillo);
    }

    .dato {
      position: absolute;
      left: -18px;
      bottom: 34px;
      z-index: 6;
      width: min(250px, 68%);
      padding: 18px;
      border-radius: 8px;
      background: var(--blanco);
      box-shadow: 0 20px 48px rgba(7, 24, 47, .28);
      transition: transform .28s ease;
    }

    .panel:hover .dato {
      transform: translateY(-8px);
    }

    .dato strong {
      display: block;
      color: var(--azul-900);
      font-family: "Barlow Condensed", sans-serif;
      font-size: 2.3rem;
      line-height: 1;
    }

    .dato span {
      display: block;
      margin-top: 5px;
      color: var(--suave);
      font-size: .84rem;
      line-height: 1.45;
      font-weight: 700;
    }

    .resumen {
      position: relative;
      z-index: 3;
      width: min(1280px, calc(100% - 36px));
      margin: -46px auto 0;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1px;
      overflow: hidden;
      border-radius: 8px;
      box-shadow: 0 18px 48px rgba(7, 24, 47, .14);
      background: var(--gris-300);
    }

    .resumen a {
      min-height: 148px;
      padding: 24px;
      background: var(--blanco);
      transition: transform .25s ease, background .25s ease;
    }

    .resumen a:hover {
      transform: translateY(-6px);
      background: #fffaf0;
    }

    .resumen small {
      color: var(--amarillo);
      font-weight: 800;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .resumen strong {
      display: block;
      margin-top: 8px;
      color: var(--azul-900);
      font-family: "Barlow Condensed", sans-serif;
      font-size: 1.7rem;
      line-height: 1;
    }

    .resumen p {
      margin-top: 10px;
      color: var(--suave);
      font-size: .9rem;
      line-height: 1.55;
    }

    .servicios-home {
      width: min(1280px, calc(100% - 36px));
      margin: 72px auto 0;
    }

    .section-label {
      display: inline-block;
      margin-bottom: 10px;
      color: var(--amarillo);
      font-size: .75rem;
      font-weight: 800;
      letter-spacing: .12em;
      text-transform: uppercase;
    }

    .section-head {
      display: grid;
      grid-template-columns: minmax(0, .85fr) minmax(280px, .55fr);
      gap: 32px;
      align-items: end;
      margin-bottom: 30px;
    }

    .section-head h2 {
      color: var(--azul-900);
      font-family: "Barlow Condensed", sans-serif;
      font-size: clamp(2.2rem, 4vw, 3.25rem);
      line-height: 1;
      font-weight: 800;
    }

    .section-head p {
      color: var(--suave);
      font-size: .98rem;
      line-height: 1.7;
    }

    .servicios-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 18px;
    }

    .servicio-card {
      position: relative;
      min-height: 340px;
      overflow: hidden;
      border-radius: 8px;
      background: var(--azul-900);
      box-shadow: 0 18px 42px rgba(7, 24, 47, .12);
      isolation: isolate;
      transition: transform .3s ease, box-shadow .3s ease;
    }

    .servicio-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 26px 62px rgba(7, 24, 47, .22);
    }

    .servicio-card img {
      position: absolute;
      inset: 0;
      z-index: -2;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: .46;
      transition: transform .7s ease, opacity .35s ease;
    }

    .servicio-card:hover img {
      transform: scale(1.12);
      opacity: .62;
    }

    .servicio-card::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      background: linear-gradient(180deg, rgba(7, 24, 47, .12), rgba(7, 24, 47, .92) 72%);
    }

    .servicio-card-content {
      height: 100%;
      padding: 24px;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
    }

    .servicio-num {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      margin-bottom: auto;
      border: 1px solid rgba(255, 255, 255, .28);
      border-radius: 50%;
      color: var(--amarillo);
      font-weight: 800;
      background: rgba(255, 255, 255, .08);
      backdrop-filter: blur(8px);
    }

    .servicio-card h3 {
      margin-top: 70px;
      color: var(--blanco);
      font-family: "Barlow Condensed", sans-serif;
      font-size: 1.65rem;
      line-height: 1;
    }

    .servicio-card p {
      margin-top: 12px;
      color: rgba(255, 255, 255, .74);
      font-size: .9rem;
      line-height: 1.55;
    }

    .servicio-link {
      width: fit-content;
      margin-top: 18px;
      padding: 10px 14px;
      border-radius: 6px;
      color: var(--azul-900);
      background: var(--amarillo);
      font-size: .82rem;
      font-weight: 800;
      transition: transform .25s ease, box-shadow .25s ease;
    }

    .servicio-link:hover {
      transform: translateY(-3px);
      box-shadow: 0 14px 24px rgba(246, 196, 49, .24);
    }

    .footer {
      background: var(--azul-900);
      color: rgba(255, 255, 255, .68);
      padding: 58px clamp(18px, 5vw, 72px) 26px;
    }

    .footer-inner {
      width: min(1280px, 100%);
      margin: 0 auto;
      display: grid;
      grid-template-columns: minmax(260px, 1.1fr) repeat(3, minmax(180px, .65fr));
      gap: 32px;
    }

    .footer-brand {
      max-width: 360px;
    }

    .footer-brand .logo {
      margin-bottom: 16px;
    }

    .footer-brand .logo-img {
      width: 86px;
      height: 86px;
    }

    .footer-brand p {
      font-size: .92rem;
      line-height: 1.7;
    }

    .footer h3 {
      margin-bottom: 14px;
      color: var(--blanco);
      font-family: "Barlow Condensed", sans-serif;
      font-size: 1.25rem;
      letter-spacing: .02em;
    }

    .footer-list {
      display: grid;
      gap: 10px;
      list-style: none;
    }

    .footer-list a,
    .footer-list span {
      color: rgba(255, 255, 255, .68);
      font-size: .9rem;
      line-height: 1.55;
      transition: color .2s ease;
    }

    .footer-list a:hover {
      color: var(--amarillo);
    }

    .footer-bottom {
      width: min(1280px, 100%);
      margin: 34px auto 0;
      padding-top: 22px;
      border-top: 1px solid rgba(255, 255, 255, .12);
      display: flex;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
      font-size: .82rem;
    }

    .scroll {
      position: absolute;
      left: 50%;
      bottom: 22px;
      z-index: 4;
      width: 28px;
      height: 44px;
      border: 1px solid rgba(255, 255, 255, .42);
      border-radius: 999px;
      transform: translateX(-50%);
    }

    .scroll::after {
      content: "";
      position: absolute;
      left: 50%;
      top: 8px;
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--amarillo);
      transform: translateX(-50%);
      animation: bajar 1.5s ease infinite;
    }

    .nav-cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 42px;
      padding: 0 18px;
      border-radius: 6px;
      background: var(--amarillo);
      color: var(--azul-900);
      box-shadow: 0 10px 20px rgba(246, 196, 49, .22);
    }

    .nav-cta:hover {
      color: var(--azul-900);
      transform: translateY(-3px) scale(1.03);
      box-shadow: 0 16px 30px rgba(246, 196, 49, .32);
    }

    .nav-cta::after {
      display: none;
    }

    /* ===== CTA ===== */
    /* ===== CTA ===== */
    .cta {
      width: min(1280px, calc(100% - 36px));
      margin: 48px auto 64px;
      padding: clamp(28px, 4vw, 42px) clamp(20px, 5vw, 48px);
      border-radius: 8px;
      background:
        linear-gradient(115deg, rgba(7, 24, 47, .97), rgba(16, 47, 95, .92)),
        url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1600&q=80") center / cover;
      box-shadow: var(--sombra);
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: clamp(18px, 3vw, 24px);
      align-items: center;
    }

    .cta-copy {
      min-width: 0;
    }

    .cta h2 {
      color: var(--blanco);
      font-family: "Barlow Condensed", sans-serif;
      font-size: clamp(1.6rem, 3vw, 2.6rem);
      line-height: 1.05;
      font-weight: 800;
      text-wrap: balance;
    }

    .cta p {
      margin-top: 10px;
      max-width: 56ch;
      color: rgba(255, 255, 255, .74);
      font-size: clamp(.86rem, 1.1vw, .92rem);
      line-height: 1.65;
    }

    .cta-boton {
      flex-shrink: 0;
      justify-self: end;
      white-space: nowrap;
    }

    @keyframes subir {
      from {
        opacity: 0;
        transform: translateY(24px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes flotar {

      0%,
      100% {
        transform: translateY(0);
      }

      50% {
        transform: translateY(-12px);
      }
    }

    @keyframes pulso {

      0%,
      100% {
        transform: scale(1);
        opacity: 1;
      }

      50% {
        transform: scale(.76);
        opacity: .72;
      }
    }

    @keyframes bajar {
      0% {
        opacity: 0;
        transform: translate(-50%, 0);
      }

      35% {
        opacity: 1;
      }

      100% {
        opacity: 0;
        transform: translate(-50%, 18px);
      }
    }

    :root {
      --header-h: 88px;
    }

    .logo-img {
      width: 88px;
      height: 88px;
    }

    .hero {
      padding-inline: clamp(96px, 7vw, 180px);
    }

    .hero-inner,
    .resumen,
    .servicios-home,
    .footer-inner,
    .footer-bottom {
      width: min(1500px, 100%);
    }

    h1 {
      font-size: clamp(3.85rem, 3.95vw, 5.55rem);
    }

    .hero-text {
      font-size: 1.12rem;
    }

    .servicio-card {
      min-height: 390px;
    }

    .cta {
      width: min(1500px, 100%);
    }


    @media (min-width: 2400px) {

      .hero-inner,
      .resumen,
      .servicios-home,
      .footer-inner,
      .footer-bottom {
        width: min(1680px, 100%);
      }

      .servicio-card {
        min-height: 430px;
      }
    }

    @media (max-width: 1180px) {
      .cta-boton {
        white-space: normal;
        text-align: center;
      }

      .nav {
        gap: 18px;
      }

      .hero-inner {
        grid-template-columns: minmax(0, 1fr) minmax(300px, .68fr);
      }

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

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

      .footer-inner>div:last-child {
        grid-column: 1 / -1;
      }
    }

    @media (max-width: 900px) {
      .header {
        height: auto;
        min-height: 76px;
        flex-wrap: wrap;
        gap: 12px;
        padding-block: 12px;
      }

      .header {
        flex-wrap: nowrap;
        align-items: center;
      }

      .menu-toggle {
        display: inline-flex;
        margin-left: auto;
      }

      .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 25;
        background: rgba(7, 24, 47, .55);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s ease, visibility .25s ease;
      }

      .header.is-open .nav-backdrop {
        opacity: 1;
        visibility: visible;
      }

      .nav {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 40;
        width: min(320px, 88vw);
        height: 100vh;
        padding: calc(var(--header-h) + 24px) 22px 28px;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 6px;
        overflow-y: auto;
        background: rgba(7, 24, 47, .98);
        border-left: 1px solid rgba(255, 255, 255, .1);
        box-shadow: -20px 0 50px rgba(0, 0, 0, .28);
        transform: translateX(100%);
        transition: transform .28s ease;
      }

      .header.is-open .nav {
        transform: translateX(0);
      }

      .nav>a,
      .dropdown,
      .nav-cta {
        width: 100%;
      }

      .nav>a,
      .dropdown-trigger {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 0 12px;
        font-size: .95rem;
      }

      .header-social {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 18px;
        padding-top: 18px;
        border-top: 1px solid rgba(255, 255, 255, .12);
      }

      .nav-cta {
        margin-top: 10px;
        width: 100%;
      }

      .dropdown {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
      }

      .dropdown-trigger {
        width: 100%;
        justify-content: space-between;
        font-size: .95rem;
      }

      .dropdown-menu {
        position: static;
        left: auto;
        right: auto;
        top: auto;
        width: 100%;
        margin: 0;
        padding: 0;
        border: 0;
        box-shadow: none;
        background: transparent;
        backdrop-filter: none;
        opacity: 1;
        visibility: visible;
        transform: none !important;
        pointer-events: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height .28s ease, margin-top .28s ease, padding .28s ease;
      }

      .dropdown-menu::before {
        display: none;
      }

      .dropdown.is-open .dropdown-menu {
        pointer-events: auto;
        max-height: 520px;
        margin-top: 6px;
        padding: 8px;
        background: rgba(255, 255, 255, .05);
        border-radius: 8px;
      }

      .dropdown-menu a {
        padding: 12px;
      }

      .dropdown-menu a {
        padding: 12px;
      }

      .logo-img {
        width: 58px;
        height: 58px;
      }

      .hero {
        padding-top: 162px;
        padding-inline: clamp(18px, 5vw, 36px);
      }

      .hero-inner {
        grid-template-columns: 1fr;
      }

      .panel {
        max-width: 440px;
      }

      .resumen {
        grid-template-columns: 1fr;
        margin-top: 0;
      }

      .section-head,
      .footer-inner {
        grid-template-columns: 1fr;
      }

      .cta {
        grid-template-columns: 1fr;
        text-align: center;
        margin: 40px auto 48px;
      }

      .cta-copy {
        justify-self: center;
      }

      .cta p {
        max-width: none;
        margin-inline: auto;
      }

      .cta-boton {
        width: 100%;
        max-width: 420px;
        justify-self: center;
      }
    }

    @media (max-width: 560px) {
      .hero {
        min-height: auto;
        padding-top: 156px;
        padding-bottom: 84px;
        padding-inline: clamp(14px, 4vw, 24px);
      }

      h1 {
        font-size: clamp(2.12rem, 12vw, 3.08rem);
      }

      .hero-text {
        font-size: .92rem;
      }

      .hero-actions {
        align-items: stretch;
      }

      .boton {
        width: 100%;
      }

      .dato {
        left: 14px;
        bottom: 18px;
        width: min(230px, calc(100% - 28px));
      }

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

      .servicio-card {
        min-height: 320px;
      }

      .footer-bottom {
        display: grid;
      }

      .cta {
        margin: 32px auto 40px;
        padding: 24px 18px;
      }

      .cta h2 {
        font-size: clamp(1.45rem, 7vw, 1.9rem);
      }

      .cta-boton {
        max-width: none;
      }
    }
  