    /* ===== CSS VARIABLES ===== */
    :root {
      --navy: #0B1F3A;
      --navy-mid: #122947;
      --navy-light: #1A3A60;
      --sky: #4A90D9;
      --sky-light: #7BB8F0;
      --sky-pale: #C8E2FA;
      --white: #FFFFFF;
      --off-white: #F4F8FD;
      --gray: #8A9BB0;
      --gray-light: #E5EEF7;
      --gold: #C9A84C;

      --font-display: 'Playfair Display', Georgia, serif;
      --font-body: 'DM Sans', sans-serif;

      --shadow-sm: 0 2px 12px rgba(11,31,58,0.08);
      --shadow-md: 0 8px 32px rgba(11,31,58,0.14);
      --shadow-lg: 0 20px 60px rgba(11,31,58,0.20);
      --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* ===== RESET ===== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: var(--font-body);
      background: var(--white);
      color: var(--navy);
      overflow-x: hidden;
    }
    a { text-decoration: none; color: inherit; }
    img { max-width: 100%; }

    /* ===== SCROLLBAR ===== */
    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: var(--off-white); }
    ::-webkit-scrollbar-thumb { background: var(--sky); border-radius: 3px; }

    /* ===== LOADER ===== */
    #loader {
      position: fixed; inset: 0; z-index: 9999;
      background: var(--navy);
      display: flex; align-items: center; justify-content: center;
      flex-direction: column; gap: 20px;
      transition: opacity 0.6s ease, visibility 0.6s ease;
    }
    #loader.hidden { opacity: 0; visibility: hidden; }
    .loader-cross {
      width: 60px; height: 60px;
      position: relative; animation: pulse 1.2s ease-in-out infinite;
    }
    .loader-cross::before, .loader-cross::after {
      content: ''; position: absolute;
      background: var(--sky-light); border-radius: 4px;
    }
    .loader-cross::before { width: 100%; height: 30%; top: 35%; left: 0; }
    .loader-cross::after { width: 30%; height: 100%; top: 0; left: 35%; }
    .loader-text {
      color: var(--sky-pale); font-family: var(--font-display);
      font-size: 1.1rem; letter-spacing: 3px; text-transform: uppercase;
    }
    @keyframes pulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(0.85);opacity:0.7} }

    /* ===== NAVBAR ===== */
    #navbar {
      position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
      padding: 0 5%;
      display: flex; align-items: center; justify-content: space-between;
      height: 80px;
      transition: all var(--transition);
      background: #ffffff21;
    }
    #navbar.scrolled {
      background: rgba(11,31,58,0.97);
      backdrop-filter: blur(10px);
      box-shadow: 0 2px 30px rgba(0,0,0,0.3);
      height: 68px;
    }

    .nav-logo {
      display: flex; align-items: center; gap: 12px;
    }
  .nav-logo-icon {
        display: flex;
        width: 174px;
        height: 64px;
        background-image: url('../images/logo_horizontal.png'); /* Correct relative path */
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        transition: background-image 0.3s ease-in-out;
    }

    .navbar :hover, #navbar.scrolled .nav-logo-icon {
        background-image: url('../images/logo_horizontal2.png') !important; /* Temporarily add !important */
    }

    .nav-logo-text { color: white; }
    .nav-logo-text strong {
      display: block; font-family: var(--font-display);
      font-size: 1rem; font-weight: 700; line-height: 1.2;
    }
    .nav-logo-text span {
      font-size: 0.7rem; color: var(--sky-pale);
      letter-spacing: 1.5px; text-transform: uppercase;
    }
    .nav-links {
      display: flex; align-items: center; gap: 8px; list-style: none;
    }
    .nav-links a {
      color: #424242;
      font-size: 0.82rem; font-weight: 500;
      letter-spacing: 0.5px;
      padding: 8px 14px; border-radius: 6px;
      transition: all var(--transition);
      text-transform: uppercase;
    }
    /* nav-links si scrolled posicion y > 60 mostrar lo color white */
    .nav-links a:hover, #navbar.scrolled .nav-links a {
      color: white;
    }

    .nav-links a:hover, .nav-links a.active  {
      color: white; background: rgba(74,144,217,0.2);
    }
    .nav-cta {
      background: linear-gradient(135deg, var(--sky), #2a6fc7) !important;
      color: #242424 !important; padding: 10px 20px !important;
      border-radius: 8px !important;
      box-shadow: 0 4px 15px rgba(74,144,217,0.4);
    }
    .nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(74,144,217,0.5) !important; }

    .hamburger {
      display: none; flex-direction: column; gap: 5px;
      cursor: pointer; padding: 5px;
    }
    .hamburger span {
      width: 24px; height: 2px;
      background: white; border-radius: 2px;
      transition: all var(--transition);
    }
    .hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

    .mobile-menu {
      display: none; position: fixed; top: 68px; left: 0; right: 0;
      background: var(--navy); padding: 20px;
      flex-direction: column; gap: 4px;
    z-index: 9;
    }
    .mobile-menu.open { display: flex; }
    .mobile-menu a {
      color: rgba(255,255,255,0.85); padding: 12px 16px;
      border-radius: 8px; font-weight: 500;
      text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.5px;
    }
    .mobile-menu a:hover { background: rgba(74,144,217,0.2); color: white; }

    /* ===== HERO ===== */
    #inicio {
         min-height: 100vh;
      /* background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 50%, #0d2a50 100%); */
      /* imagen */
        background: url('../images/banner-bg.jpg') center/cover no-repeat;
        position: relative; overflow: hidden;
        display: flex; align-items: center;
    }
    .hero-bg-circles {
      position: absolute; inset: 0; pointer-events: none;
    }
    .hero-bg-circles span {
      position: absolute; border-radius: 50%;
      background: radial-gradient(circle, rgba(74,144,217,0.12), transparent 70%);
    }
    .hero-bg-circles span:nth-child(1) { width: 700px; height: 700px; top: -200px; right: -150px; }
    .hero-bg-circles span:nth-child(2) { width: 400px; height: 400px; bottom: -100px; left: 5%; opacity:0.6; }
    .hero-bg-circles span:nth-child(3) { width: 250px; height: 250px; top: 40%; right: 30%; opacity:0.5; }

    /* Animated grid background */
    .hero-grid {
      position: absolute; inset: 0; pointer-events: none;
      background-image:
        linear-gradient(rgba(74,144,217,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74,144,217,0.05) 1px, transparent 1px);
      background-size: 60px 60px;
    }

    .hero-content {
      position: relative; z-index: 2;
      width: 90%; max-width: 1200px; margin: 0 auto;
      display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
      align-items: center; padding: 120px 0 80px;
    }
    .hero-badge {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(74,144,217,0.15);
      border: 1px solid rgba(74,144,217,0.3);
      color: #204d77; font-size: 0.78rem;
      padding: 8px 16px; border-radius: 50px;
      letter-spacing: 1.5px; text-transform: uppercase;
      margin-bottom: 24px;
      animation: fadeInUp 0.8s ease both;
    }
    .hero-badge i { font-size: 0.7rem; }
    .hero-title {
      font-family: var(--font-display);
      font-size: clamp(2.4rem, 4.5vw, 4rem);
      font-weight: 900; color: #424242; line-height: 1.1;
      margin-bottom: 24px;
      animation: fadeInUp 0.8s ease 0.15s both;
    }
    .hero-title .accent { color: var(--sky-light); }
    .hero-desc {
      color: #424242; font-size: 1.05rem;
      line-height: 1.7; margin-bottom: 40px;
      animation: fadeInUp 0.8s ease 0.3s both;
    }
    .hero-buttons {
      display: flex; gap: 16px; flex-wrap: wrap;
      animation: fadeInUp 0.8s ease 0.45s both;
    }
    .btn-primary {
      background: linear-gradient(135deg, var(--sky), #2a6fc7);
      color: white; padding: 14px 32px;
      border-radius: 10px; font-weight: 600; font-size: 0.95rem;
      border: none; cursor: pointer;
      box-shadow: 0 6px 25px rgba(74,144,217,0.4);
      transition: all var(--transition);
      display: inline-flex; align-items: center; gap: 8px;
    }
    .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 35px rgba(74,144,217,0.55); }
    .btn-outline {
      background: #424242; color: white;
      padding: 14px 32px; border-radius: 10px;
      border: 1px solid rgba(255,255,255,0.25);
      font-weight: 500; font-size: 0.95rem; cursor: pointer;
      transition: all var(--transition);
      display: inline-flex; align-items: center; gap: 8px;
    }
    .btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); transform: translateY(-2px); }

    .hero-stats {
      display: flex; gap: 32px; margin-top: 56px;
      padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1);
      animation: fadeInUp 0.8s ease 0.6s both;
    }
    .hero-stat-num {
      font-family: var(--font-display); font-size: 2rem; font-weight: 700;
      color: var(--sky-light);
    }
    .hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 2px; }

    /* Hero right: scan card */
    .hero-visual {
      position: relative;
      animation: fadeInRight 1s ease 0.3s both;
    }
    .scan-card {
      background: rgb(255 255 255 / 60%)    ;
      border: 1px solid rgba(74,144,217,0.25);
      border-radius: 24px;
      padding: 32px;
      backdrop-filter: blur(10px);
      box-shadow: 0 25px 60px rgba(0,0,0,0.3);
    }
    .scan-header {
      display: flex; align-items: center; justify-content: space-between;
      margin-bottom: 20px;
    }
    .scan-title { color: #100f0f; font-weight: 600; font-size: 0.9rem; }
    .scan-badge {
      background: rgba(74,144,217,0.2); color: var(--sky-light);
      font-size: 0.72rem; padding: 4px 10px; border-radius: 20px;
    }
    .scan-img-container {
      /* background: linear-gradient(135deg, #0a1628, #0d2040); */
      border-radius: 16px; overflow: hidden;
      height: 220px; position: relative;
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 20px;
    }
    .scan-cross-icon {
      font-size: 5rem; color: rgba(74,144,217,0.3);
      animation: rotateSlow 8s linear infinite;
    }
    .scan-lines {
      position: absolute; inset: 0;
      background: repeating-linear-gradient(
        0deg, transparent, transparent 20px,
        rgba(74,144,217,0.05) 20px, rgba(74,144,217,0.05) 21px
      );
    }
    .scan-beam {
      position: absolute; left: 0; right: 0; height: 2px;
      background: linear-gradient(90deg, transparent, var(--sky), transparent);
      animation: scan 2.5s ease-in-out infinite;
      box-shadow: 0 0 15px var(--sky);
    }
    @keyframes scan { 0%{top:10%} 50%{top:85%} 100%{top:10%} }
    @keyframes rotateSlow { from{transform:rotate(0)} to{transform:rotate(360deg)} }

    .scan-services-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    }
    .scan-service-item {
      background: rgba(74,144,217,0.08);
      border: 1px solid rgba(74,144,217,0.15);
      border-radius: 10px; padding: 12px;
      display: flex; align-items: center; gap: 8px;
    }
    .scan-service-item i { color: var(--sky-light); font-size: 1rem; }
    .scan-service-item span { color: #505050; font-size: 0.8rem; font-weight: 500; }

    /* floating badge */
    .hero-float-badge {
      position: absolute; top: -50px; right: -20px;
      background: white; border-radius: 16px;
      padding: 14px 18px;
      box-shadow: var(--shadow-lg);
      display: flex; align-items: center; gap: 10px;
      animation: float 3s ease-in-out infinite;
    }
    @keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
    .hero-float-badge i { color: var(--gold); font-size: 1.2rem; }
    .hero-float-badge strong { display: block; font-size: 1rem; color: var(--navy); }
    .hero-float-badge span { font-size: 0.72rem; color: var(--gray); }

    /* scroll indicator */
    .scroll-indicator {
      position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
      display: flex; flex-direction: column; align-items: center; gap: 6px;
      color: rgba(255,255,255,0.4); font-size: 0.72rem; letter-spacing: 1px;
      text-transform: uppercase;
      animation: fadeInUp 1s ease 1.2s both;
    }
    .scroll-dot {
      width: 30px; height: 48px; border: 1px solid rgba(74,144,217,0.3);
      border-radius: 15px; position: relative;
    }
    .scroll-dot::after {
      content: ''; position: absolute;
      width: 6px; height: 6px; background: var(--sky);
      border-radius: 50%; left: 50%; transform: translateX(-50%);
      top: 8px; animation: scrollDown 1.8s ease infinite;
    }
    @keyframes scrollDown { 0%{top:8px;opacity:1} 80%{top:28px;opacity:0} 100%{top:8px;opacity:0} }

    /* ===== SECTION COMMON ===== */
    section { padding: 100px 0; }
    .container { width: 90%; max-width: 1200px; margin: 0 auto; }
    .section-label {
      display: inline-block;
      color: var(--sky); font-size: 0.78rem; font-weight: 600;
      letter-spacing: 3px; text-transform: uppercase;
      margin-bottom: 12px;
    }
    .section-title {
      font-family: var(--font-display);
      font-size: clamp(1.8rem, 3vw, 2.8rem);
      font-weight: 700; color: var(--navy); line-height: 1.15;
    }
    .section-title.light { color: white; }
    .section-subtitle {
      color: var(--gray); font-size: 1.05rem;
      line-height: 1.7; max-width: 600px; margin-top: 16px;
    }
    .section-subtitle.light { color: rgba(255,255,255,0.65); }
    .section-head { margin-bottom: 60px; }

    /* reveal animation */
    .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
    .reveal.visible { opacity: 1; transform: none; }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }

    /* ===== NOSOTROS ===== */
    #nosotros { background: var(--off-white); }
    .nosotros-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
      align-items: center;
    }
    .nosotros-visual { position: relative; }
    .nosotros-img-main {
      width: 100%; height: 420px;
      background: linear-gradient(135deg, var(--navy-light), var(--navy));
      border-radius: 24px; overflow: hidden;
      display: flex; align-items: center; justify-content: center;
      position: relative;
    }
    .nosotros-img-main i { font-size: 8rem; color: rgba(74,144,217,0.25); }
    .nosotros-img-main::after {
      content: 'Centro de Diagnóstico por Imagen';
      position: absolute; bottom: 28px; left: 28px; right: 28px;
      color: rgba(255,255,255,0.7); font-size: 0.85rem; font-weight: 500;
      border-top: 1px solid rgba(255,255,255,0.15); padding-top: 16px;
    }
    .nosotros-decorbox {
      position: absolute; top: -20px; right: -20px;
      background: white; border-radius: 16px;
      padding: 20px; box-shadow: var(--shadow-lg);
      max-width: 200px;
    }
    .nosotros-decorbox-num {
      font-family: var(--font-display); font-size: 2.2rem;
      font-weight: 900; color: var(--sky);
    }
    .nosotros-decorbox p { font-size: 0.8rem; color: var(--gray); margin-top: 4px; }

    .nosotros-bottom-card {
      position: absolute; bottom: -24px; left: 24px;
      background: var(--navy); border-radius: 14px;
      padding: 16px 20px; display: flex; align-items: center; gap: 14px;
      box-shadow: var(--shadow-lg);
    }
    .nosotros-bottom-card i { color: var(--sky-light); font-size: 1.5rem; }
    .nosotros-bottom-card strong { display: block; color: white; font-size: 0.9rem; }
    .nosotros-bottom-card span { color: rgba(255,255,255,0.5); font-size: 0.75rem; }

    .nosotros-values {
      display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
      margin-top: 36px;
    }
    .value-card {
      background: white; border-radius: 14px; padding: 20px;
      border: 1px solid var(--gray-light);
      transition: all var(--transition);
    }
    .value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--sky-pale); }
    .value-icon {
      width: 40px; height: 40px;
      background: var(--sky-pale); border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      color: var(--sky); font-size: 1rem; margin-bottom: 12px;
    }
    .value-card h4 { font-size: 0.9rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
    .value-card p { font-size: 0.8rem; color: var(--gray); line-height: 1.5; }

    /* ===== SERVICIOS ===== */
    #servicios {
      background: linear-gradient(165deg, var(--navy) 0%, var(--navy-mid) 100%);
      position: relative; overflow: hidden;
    }
    #servicios::before {
      content: ''; position: absolute; inset: 0;
      background-image: radial-gradient(circle at 20% 50%, rgba(74,144,217,0.08) 0%, transparent 50%),
                        radial-gradient(circle at 80% 20%, rgba(74,144,217,0.06) 0%, transparent 40%);
    }
    .servicios-grid {
      display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
      position: relative; z-index: 1;
    }
    .servicio-card {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(74,144,217,0.2);
      border-radius: 20px; padding: 36px;
      transition: all var(--transition);
      position: relative; overflow: hidden;
      cursor: default;
    }
    .servicio-card::before {
      content: ''; position: absolute;
      top: 0; left: 0; right: 0; height: 3px;
      background: linear-gradient(90deg, var(--sky), var(--sky-light));
      transform: scaleX(0); transform-origin: left;
      transition: transform var(--transition);
    }
    .servicio-card:hover { background: rgba(255,255,255,0.07); transform: translateY(-6px); border-color: rgba(74,144,217,0.45); box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
    .servicio-card:hover::before { transform: scaleX(1); }

    .servicio-icon-wrap {
      width: 64px; height: 64px;
      background: linear-gradient(135deg, rgba(74,144,217,0.2), rgba(74,144,217,0.08));
      border: 1px solid rgba(74,144,217,0.25);
      border-radius: 16px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.6rem; color: var(--sky-light);
      margin-bottom: 24px;
      transition: all var(--transition);
    }
    .servicio-card:hover .servicio-icon-wrap {
      background: linear-gradient(135deg, rgba(74,144,217,0.35), rgba(74,144,217,0.15));
      box-shadow: 0 8px 25px rgba(74,144,217,0.3);
    }
    .servicio-card h3 {
      font-family: var(--font-display); font-size: 1.4rem;
      font-weight: 700; color: white; margin-bottom: 12px;
    }
    .servicio-card p { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
    .servicio-features { list-style: none; display: flex; flex-direction: column; gap: 8px; }
    .servicio-features li {
      display: flex; align-items: center; gap: 8px;
      font-size: 0.83rem; color: rgba(255,255,255,0.5);
    }
    .servicio-features li::before {
      content: ''; width: 6px; height: 6px;
      background: var(--sky); border-radius: 50%; flex-shrink: 0;
    }
    .servicio-num {
      position: absolute; top: 28px; right: 28px;
      font-family: var(--font-display); font-size: 3.5rem;
      font-weight: 900; color: rgba(74,144,217,0.07);
      line-height: 1; user-select: none;
    }

    /* ===== GALERIA ===== */
    #galeria { background: var(--white); }
    .galeria-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      grid-template-rows: auto;
      gap: 16px;
    }

    .galeria-inner img{
        width: 100%; height: 100%; object-fit: cover;
    }
    .galeria-item {
      border-radius: 16px; overflow: hidden;
      position: relative; cursor: pointer;
      background: var(--gray-light);
    }
    .galeria-item:nth-child(1) {
         /* grid-column: 1/3;  */
         grid-row: 1/3;
    }
    .galeria-item:nth-child(4) { grid-column: 3; grid-row: 1/3; }

    .galeria-inner {
      width: 100%; height: 100%; min-height: 200px;
      background: linear-gradient(135deg, var(--navy-light), var(--navy));
      display: flex; align-items: center; justify-content: center;
      position: relative; overflow: hidden;
      transition: transform var(--transition);
    }
    .galeria-item:hover .galeria-inner { transform: scale(1.04); }
    .galeria-inner i { font-size: 3.5rem; color: rgba(74,144,217,0.3); z-index: 1; }
    .galeria-inner::after {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(180deg, transparent 40%, rgba(11,31,58,0.8));
    }
    .galeria-item:nth-child(1) .galeria-inner { min-height: 340px; }
    .galeria-item:nth-child(4) .galeria-inner { min-height: 340px; }
    .galeria-label {
      position: absolute; bottom: 16px; left: 16px; z-index: 2;
      color: white; font-weight: 600; font-size: 0.9rem;
    }
    .galeria-label span { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.6); font-weight: 400; }

    /* lightbox */
    .lightbox {
      display: none; position: fixed; inset: 0; z-index: 9000;
      background: rgba(0,0,0,0.9); align-items: center; justify-content: center;
    }
    .lightbox.active { display: flex; }
    .lightbox-content {
      max-width: 800px; width: 90%; background: var(--navy-mid);
      border-radius: 20px; padding: 40px; text-align: center;
      color: white; position: relative;
    }
    .lightbox-close {
      position: absolute; top: 16px; right: 16px;
      width: 36px; height: 36px; border-radius: 50%;
      background: rgba(255,255,255,0.1); border: none;
      color: white; cursor: pointer; font-size: 1rem;
      transition: all var(--transition);
    }
    .lightbox-close:hover { background: rgba(255,255,255,0.2); }
    .lightbox-icon { font-size: 5rem; color: var(--sky); margin-bottom: 16px; }
    .lightbox-title { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 12px; }
    .lightbox-desc { color: rgba(255,255,255,0.65); line-height: 1.6; }

    /* ===== AREAS ===== */
    #areas { background: var(--off-white); }
    .areas-intro {
      display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
      align-items: center; margin-bottom: 64px;
    }
    .areas-progress-items { display: flex; flex-direction: column; gap: 20px; }
    .progress-item label {
      display: flex; justify-content: space-between;
      font-size: 0.87rem; font-weight: 500; color: var(--navy);
      margin-bottom: 8px;
    }
    .progress-item label span { color: var(--sky); font-weight: 600; }
    .progress-bar-bg {
      height: 8px; background: var(--gray-light); border-radius: 4px; overflow: hidden;
    }
    .progress-bar {
      height: 100%; background: linear-gradient(90deg, var(--sky), var(--sky-light));
      border-radius: 4px; width: 0; transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
    }

    .areas-cards {
      display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    }
    .area-card {
      background: white; border-radius: 20px; overflow: hidden;
      box-shadow: var(--shadow-sm); transition: all var(--transition);
      border: 1px solid var(--gray-light);
    }
    .area-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-8px); }
    .area-card-header {
      height: 160px;
      background: linear-gradient(135deg, var(--navy-light), var(--navy));
      display: flex; align-items: center; justify-content: center;
      font-size: 3rem; color: rgba(74,144,217,0.5);
      position: relative; overflow: hidden;
    }
    .area-card-header::after {
      content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40%;
      background: linear-gradient(0deg, rgba(11,31,58,0.3), transparent);
    }
    .area-card-body { padding: 24px; }
    .area-card-body h3 {
      font-family: var(--font-display); font-size: 1.15rem;
      font-weight: 700; color: var(--navy); margin-bottom: 8px;
    }
    .area-card-body p { font-size: 0.83rem; color: var(--gray); line-height: 1.5; margin-bottom: 16px; }
    .area-tag {
      display: inline-block;
      background: var(--sky-pale); color: var(--sky);
      font-size: 0.72rem; font-weight: 600;
      padding: 4px 10px; border-radius: 20px;
      letter-spacing: 0.5px;
    }

    /* ===== TESTIMONIOS ===== */
    #testimonios {
      background: linear-gradient(165deg, var(--navy) 0%, #0a1e38 100%);
      position: relative; overflow: hidden;
    }
    #testimonios::before {
      content: '"'; font-family: var(--font-display);
      font-size: 30rem; font-weight: 900; color: rgba(74,144,217,0.04);
      position: absolute; top: -80px; left: -40px; line-height: 1;
      pointer-events: none;
    }
    .testimonios-slider-wrap { position: relative; z-index: 1; }
    .testimonios-track {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    }
    .testimonio-card {
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(74,144,217,0.18);
      border-radius: 20px; padding: 32px;
      transition: all var(--transition);
    }
    .testimonio-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-5px); border-color: rgba(74,144,217,0.35); }
    .testimonio-stars { color: var(--gold); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 16px; }
    .testimonio-quote i { color: rgba(74,144,217,0.4); font-size: 1.5rem; margin-bottom: 12px; }
    .testimonio-text {
      color: rgba(255,255,255,0.75); font-size: 0.92rem;
      line-height: 1.75; margin-bottom: 24px;
      font-style: italic;
    }
    .testimonio-author { display: flex; align-items: center; gap: 12px; }
    .testimonio-avatar {
      width: 44px; height: 44px; border-radius: 50%;
      background: linear-gradient(135deg, var(--sky), var(--navy-light));
      display: flex; align-items: center; justify-content: center;
      font-family: var(--font-display); font-size: 1rem;
      font-weight: 700; color: white;
    }
    .testimonio-name { color: white; font-weight: 600; font-size: 0.9rem; }
    .testimonio-meta { color: rgba(255,255,255,0.4); font-size: 0.77rem; margin-top: 2px; }

    /* ===== CONTACTO ===== */
    #contacto { background: var(--white); }
    .contacto-grid {
      display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start;
    }
    .contacto-info-title {
      font-family: var(--font-display); font-size: 1.6rem;
      font-weight: 700; color: var(--navy); margin-bottom: 24px;
    }
    .contacto-info p { color: var(--gray); font-size: 0.95rem; line-height: 1.7; margin-bottom: 36px; }
    .contact-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
    .contact-item {
      display: flex; align-items: flex-start; gap: 16px;
      padding: 18px; background: var(--off-white);
      border-radius: 14px; border: 1px solid var(--gray-light);
      transition: all var(--transition);
    }
    .contact-item:hover { box-shadow: var(--shadow-md); border-color: var(--sky-pale); }
    .contact-item-icon {
      width: 44px; height: 44px; flex-shrink: 0;
      background: linear-gradient(135deg, var(--sky), #2a6fc7);
      border-radius: 12px; display: flex; align-items: center; justify-content: center;
      color: white; font-size: 1rem;
      box-shadow: 0 4px 12px rgba(74,144,217,0.3);
    }
    .contact-item-content strong { display: block; color: var(--navy); font-size: 0.87rem; font-weight: 600; }
    .contact-item-content a, .contact-item-content span {
      color: var(--gray); font-size: 0.85rem; display: block; margin-top: 2px;
      transition: color var(--transition);
    }
    .contact-item-content a:hover { color: var(--sky); }

    .social-links { display: flex; gap: 12px; }
    .social-link {
      width: 42px; height: 42px; border-radius: 10px;
      background: var(--navy); color: white;
      display: flex; align-items: center; justify-content: center;
      font-size: 1rem; transition: all var(--transition);
    }
    .social-link:hover { background: var(--sky); transform: translateY(-3px); box-shadow: 0 6px 18px rgba(74,144,217,0.4); }

    /* Map */
    .map-container {
      border-radius: 20px; overflow: hidden;
      box-shadow: var(--shadow-lg); height: 400px;
      border: 2px solid var(--gray-light);
    }
    .map-container iframe { width: 100%; height: 100%; border: none; }

    /* ===== FOOTER ===== */
    footer {
      background: var(--navy);
      padding: 60px 0 30px;
    }
    .footer-grid {
      display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 48px; margin-bottom: 48px;
    }
    .footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.87rem; line-height: 1.7; margin-top: 16px; }
    .footer-col h4 {
      color: white; font-weight: 600; font-size: 0.87rem;
      letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px;
    }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .footer-col ul a { color: rgba(255,255,255,0.5); font-size: 0.85rem; transition: color var(--transition); }
    .footer-col ul a:hover { color: var(--sky-light); }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.08);
      padding-top: 24px; display: flex; align-items: center; justify-content: space-between;
    }
    .footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.8rem; }
    .footer-bottom span { color: var(--sky); }

    /* ===== BACK TO TOP ===== */
    #backToTop {
      position: fixed; bottom: 32px; left: 32px; z-index: 800;
      width: 48px; height: 48px; border-radius: 12px;
      background: linear-gradient(135deg, var(--sky), #2a6fc7);
      color: white; border: none; cursor: pointer;
      font-size: 1rem;
      box-shadow: 0 6px 20px rgba(74,144,217,0.5);
      display: flex; align-items: center; justify-content: center;
      opacity: 0; transform: translateY(20px);
      transition: all var(--transition);
    }
    #backToTop.visible { opacity: 1; transform: none; }
    #backToTop:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(74,144,217,0.6); }

    /* ===== KEYFRAMES ===== */
    @keyframes fadeInUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:none} }
    @keyframes fadeInRight { from{opacity:0;transform:translateX(40px)} to{opacity:1;transform:none} }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 1024px) {
      .hero-content { grid-template-columns: 1fr; gap: 60px; }
      .hero-visual { display: none; }
      .nosotros-grid { grid-template-columns: 1fr; gap: 60px; }
      .servicios-grid { grid-template-columns: 1fr; }
      .areas-intro { grid-template-columns: 1fr; gap: 40px; }
      .areas-cards { grid-template-columns: repeat(2,1fr); }
      .testimonios-track { grid-template-columns: 1fr 1fr; }
      .contacto-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 768px) {
      .nav-links { display: none; }
      .hamburger { display: flex; }
      section { padding: 70px 0; }
      .galeria-grid { grid-template-columns: 1fr 1fr; }
      .galeria-item:nth-child(1) { grid-column: 1/3; grid-row: auto; }
      .galeria-item:nth-child(4) { grid-column: auto; grid-row: auto; }
      .testimonios-track { grid-template-columns: 1fr; }
      .areas-cards { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 540px) {
      .galeria-grid { grid-template-columns: 1fr; }
      .galeria-item:nth-child(1) { grid-column: 1; }
      .areas-cards { grid-template-columns: 1fr; }
      .hero-buttons { flex-direction: column; }
      .footer-grid { grid-template-columns: 1fr; }
    }
