
  :root {
    --navy: #0B0F1C;
    --navy2: #141929;
    --navy3: #1C2438;
    --gold: #C6993A;
    --gold-light: #E2BB6E;
    --gold-pale: #F5E8CB;
    --cream: #F8F4ED;
    --text: #E8E4DC;
    --muted: #8A8A9A;
    --white: #FFFFFF;

    /* ── TAMAÑO DE LOGOS ── Cambia estos valores para agrandar/achicar */
    --logo-nav:    150px;   /* Logo en la barra de navegación */
    --logo-loader: 300px;   /* Logo en la pantalla de carga */
    --logo-footer: 200px;   /* Logo en el pie de página     */
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  /* ── CURSOR PERSONALIZADO: BALANZA DE LA JUSTICIA ── */
  body {
    background: var(--navy);
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3C!-- Poste central --%3E%3Crect x='18.5' y='8' width='3' height='24' rx='1' fill='%23C6993A'/%3E%3C!-- Base --%3E%3Crect x='11' y='31' width='18' height='3' rx='1.5' fill='%23C6993A'/%3E%3Crect x='17' y='34' width='6' height='2' rx='1' fill='%23A07828'/%3E%3C!-- Barra horizontal --%3E%3Crect x='6' y='10' width='28' height='2.5' rx='1.2' fill='%23E2BB6E'/%3E%3C!-- Cadena izquierda --%3E%3Cline x1='10' y1='12.5' x2='10' y2='19' stroke='%23C6993A' stroke-width='1.2'/%3E%3C!-- Plato izquierdo --%3E%3Cellipse cx='10' cy='20' rx='6' ry='2' fill='%23E2BB6E' stroke='%23C6993A' stroke-width='1'/%3E%3C!-- Cadena derecha --%3E%3Cline x1='30' y1='12.5' x2='30' y2='19' stroke='%23C6993A' stroke-width='1.2'/%3E%3C!-- Plato derecho --%3E%3Cellipse cx='30' cy='20' rx='6' ry='2' fill='%23E2BB6E' stroke='%23C6993A' stroke-width='1'/%3E%3C!-- Pivote central --%3E%3Ccircle cx='20' cy='10' r='2.5' fill='%23F5E8CB' stroke='%23C6993A' stroke-width='1'/%3E%3C/svg%3E") 20 10, auto;
  }

  /* Cursor pointer para elementos interactivos */
  a, button, [role="button"], input, select, textarea, label,
  .team-card, .area-card, .nav-cta, .btn-primary, .btn-outline,
  .team-avatar-wrap, .nav-hamburger {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3C!-- Poste central --%3E%3Crect x='18.5' y='8' width='3' height='24' rx='1' fill='%23E2BB6E'/%3E%3C!-- Base --%3E%3Crect x='11' y='31' width='18' height='3' rx='1.5' fill='%23E2BB6E'/%3E%3Crect x='17' y='34' width='6' height='2' rx='1' fill='%23C6993A'/%3E%3C!-- Barra horizontal ligeramente inclinada (hover) --%3E%3Crect x='6' y='9' width='28' height='2.5' rx='1.2' fill='%23F5E8CB' transform='rotate(-4 20 10.25)'/%3E%3C!-- Cadena izquierda --%3E%3Cline x1='9' y1='12' x2='8' y2='18' stroke='%23E2BB6E' stroke-width='1.2'/%3E%3C!-- Plato izquierdo (bajo) --%3E%3Cellipse cx='8' cy='19' rx='6' ry='2' fill='%23F5E8CB' stroke='%23E2BB6E' stroke-width='1'/%3E%3C!-- Cadena derecha --%3E%3Cline x1='31' y1='12' x2='32' y2='16' stroke='%23E2BB6E' stroke-width='1.2'/%3E%3C!-- Plato derecho (alto) --%3E%3Cellipse cx='32' cy='17' rx='6' ry='2' fill='%23F5E8CB' stroke='%23E2BB6E' stroke-width='1'/%3E%3C!-- Pivote central --%3E%3Ccircle cx='20' cy='10' r='2.5' fill='%23C6993A' stroke='%23F5E8CB' stroke-width='1'/%3E%3C/svg%3E") 20 10, pointer;
  }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.2rem 5vw;
    transition: background .4s, box-shadow .4s;
    height: 72px;
  }
  nav.scrolled {
    background: rgba(11,15,28,.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(198,153,58,.15);
  }
  .nav-logo {
    text-decoration: none;
    display: flex; align-items: center;
    z-index: 101;
  }
  .nav-logo img {
    height: var(--logo-nav); width: auto;
    object-fit: contain;
    
    transition: opacity .2s;
  }
  .nav-logo img:hover { opacity: .85; }
  /* Fallback text si no carga el logo */
  .nav-logo-fallback {
    display: none;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem; font-weight: 600;
    color: var(--gold-light);
    white-space: nowrap;
    max-width: 180px; line-height: 1.2;
  }
  .nav-desktop-cta {
    display: flex; align-items: center; gap: 1rem;
  }
  .nav-cta-admin {
    border-color: rgba(198,153,58,.35);
    color: var(--muted);
    font-size: .75rem;
  }
  .nav-links { display: flex; gap: 2rem; list-style: none; }
  .nav-links a { text-decoration: none; color: var(--text); font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; opacity: .7; transition: opacity .2s, color .2s; }
  .nav-links a:hover { opacity: 1; color: var(--gold); }
  .nav-cta {
    background: transparent; border: 1px solid var(--gold);
    color: var(--gold-light); padding: .55rem 1.4rem;
    font-family: 'Outfit', sans-serif; font-size: .78rem; letter-spacing: .15em;
    text-transform: uppercase; cursor: pointer; text-decoration: none;
    transition: background .25s, color .25s;
  }
  .nav-cta:hover { background: var(--gold); color: var(--navy); }

  /* ── HAMBURGER ── */
  .nav-hamburger {
    display: none;
    flex-direction: column; justify-content: center; gap: 5px;
    width: 40px; height: 40px; cursor: pointer;
    background: none; border: none; padding: 6px; z-index: 101;
  }
  .nav-hamburger span {
    display: block; height: 1.5px; background: var(--text);
    transition: transform .35s ease, opacity .3s ease, width .3s ease;
    transform-origin: center;
  }
  .nav-hamburger span:nth-child(1) { width: 24px; }
  .nav-hamburger span:nth-child(2) { width: 18px; }
  .nav-hamburger span:nth-child(3) { width: 24px; }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); width: 24px; }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 24px; }

  /* ── MOBILE MENU DRAWER ── */
  .nav-drawer {
    display: none;
    position: fixed; inset: 0; top: 72px; z-index: 99;
    background: rgba(11,15,28,.98);
    backdrop-filter: blur(16px);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 2.5rem; padding: 3rem 5vw;
    opacity: 0; pointer-events: none;
    transition: opacity .35s ease;
  }
  .nav-drawer.open { opacity: 1; pointer-events: all; }
  .nav-drawer ul { list-style: none; display: flex; flex-direction: column; align-items: center; gap: 2.2rem; }
  .nav-drawer ul a {
    text-decoration: none; color: var(--text);
    font-size: 1.4rem; font-family: 'Cormorant Garamond', serif;
    font-weight: 300; letter-spacing: .08em;
    transition: color .2s;
  }
  .nav-drawer ul a:hover { color: var(--gold-light); }
  .nav-drawer .drawer-cta {
    display: flex; flex-direction: column; align-items: center; gap: 1rem;
    width: 100%; max-width: 280px;
  }
  .nav-drawer .nav-cta { width: 100%; text-align: center; padding: .8rem 1.4rem; }

  /* ── HERO ── */
  #hero {
    min-height: 100vh;
    display: flex; flex-direction: column;
    position: relative; overflow: hidden;
    padding-top: 72px; /* nav height - desktop */
  }

  /* ── HERO VIDEO FULL WIDTH ── */
  .hero-video-full {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--navy3);
    overflow: hidden;
    flex-shrink: 0;
    animation: fadeUp .9s .05s ease both;
  }
  .hero-video-full iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0; display: block;
  }
  /* Overlay sutil en bordes */
  .hero-video-full::before {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    box-shadow: inset 0 0 60px rgba(11,15,28,.45);
  }
  /* Barra dorada inferior */
  .hero-video-full::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 20%, var(--gold-light) 50%, var(--gold) 80%, transparent 100%);
    z-index: 2;
  }
  /* Esquinas decorativas */
  .video-corner {
    position: absolute; top: 0; right: 0;
    width: 28px; height: 28px;
    border-top: 2px solid var(--gold);
    border-right: 2px solid var(--gold);
    z-index: 3;
  }
  .video-corner-bl {
    position: absolute; bottom: 0; left: 0;
    width: 28px; height: 28px;
    border-bottom: 2px solid var(--gold);
    border-left: 2px solid var(--gold);
    z-index: 3;
  }

  /* ── HERO BODY (text + stats) ── */
  .hero-body {
    position: relative;
    flex: 1;
    display: flex; align-items: center;
    padding: 4rem 5vw 8rem;
  }
  .hero-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(198,153,58,.07) 0%, transparent 70%),
                linear-gradient(135deg, #0B0F1C 0%, #0E1322 60%, #121828 100%);
  }
  .hero-grid {
    position: absolute; inset: 0; opacity: .04;
    background-image: linear-gradient(rgba(198,153,58,.5) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(198,153,58,.5) 1px, transparent 1px);
    background-size: 60px 60px;
  }
  .hero-decor {
    position: absolute; right: 8vw; top: 50%;
    transform: translateY(-50%);
    width: min(42vw, 480px); height: min(42vw, 480px);
    border: 1px solid rgba(198,153,58,.12);
    border-radius: 50%;
    animation: spin-slow 30s linear infinite;
  }
  .hero-decor::before {
    content: ''; position: absolute; inset: 30px;
    border: 1px solid rgba(198,153,58,.08); border-radius: 50%;
    animation: spin-slow 20s linear infinite reverse;
  }
  .hero-decor::after {
    content: ''; position: absolute; inset: 80px;
    border: 1px solid rgba(198,153,58,.05); border-radius: 50%;
  }
  @keyframes spin-slow { to { transform: rotate(360deg); } }

  .hero-content { position: relative; max-width: 640px; animation: fadeUp .9s ease both; }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .hero-eyebrow {
    display: flex; align-items: center; gap: .9rem; margin-bottom: 2rem;
    animation: fadeUp .9s .1s ease both;
  }
  .hero-eyebrow span { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
  .hero-eyebrow::before { content: ''; display: block; width: 40px; height: 1px; background: var(--gold); }

  h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 300; line-height: 1.05;
    color: var(--white); animation: fadeUp .9s .15s ease both;
  }
  h1 em { font-style: italic; color: var(--gold-light); }

  .hero-desc {
    margin-top: 1.8rem; font-size: 1rem; line-height: 1.8;
    color: rgba(232,228,220,.65); max-width: 480px;
    animation: fadeUp .9s .25s ease both;
  }
  .hero-actions {
    margin-top: 2.8rem; display: flex; gap: 1.2rem; flex-wrap: wrap;
    animation: fadeUp .9s .35s ease both;
  }
  .btn-primary {
    background: var(--gold); color: var(--navy);
    padding: .9rem 2.2rem; text-decoration: none;
    font-size: .82rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 500;
    transition: background .25s, transform .2s;
    display: inline-block;
  }
  .btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
  .btn-outline {
    border: 1px solid rgba(198,153,58,.4); color: var(--gold-light);
    padding: .9rem 2.2rem; text-decoration: none;
    font-size: .82rem; letter-spacing: .15em; text-transform: uppercase;
    transition: border-color .25s, background .25s; display: inline-block;
  }
  .btn-outline:hover { border-color: var(--gold); background: rgba(198,153,58,.06); }

  .hero-stats {
    position: absolute; bottom: 2.5rem; left: 5vw; right: 5vw;
    display: flex; gap: 3rem; flex-wrap: wrap;
    animation: fadeUp .9s .5s ease both;
    border-top: 1px solid rgba(198,153,58,.1);
    padding-top: 1.5rem;
  }
  .stat-item { display: flex; flex-direction: column; }
  .stat-num { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 300; color: var(--gold-light); }
  .stat-label { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: .2rem; }

  /* ── DIVIDER ── */
  .gold-line { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(198,153,58,.3), transparent); }

  /* ── SECTION BASE ── */
  section { padding: 7rem 5vw; }
  .section-tag {
    display: flex; align-items: center; gap: .8rem; margin-bottom: 1.2rem;
    font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold);
  }
  .section-tag::before { content: ''; display: block; width: 30px; height: 1px; background: var(--gold); }
  h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 300; color: var(--white);
    line-height: 1.1;
  }
  h2 em { font-style: italic; color: var(--gold-light); }

  /* ── AREAS ── */
  #areas { background: var(--navy2); }
  .areas-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 4rem; flex-wrap: wrap; gap: 2rem; }
  .areas-header p { max-width: 400px; font-size: .95rem; line-height: 1.8; color: rgba(232,228,220,.6); }
  .areas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1px; background: transparent; }
  .area-card {
    background: var(--navy2); padding: 2.5rem;
    position: relative; overflow: hidden;
    transition: background .3s;
    cursor: default;
    border: 1px solid rgba(198,153,58,.1);
  }
  .area-card::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: var(--gold); transform: scaleY(0); transform-origin: bottom;
    transition: transform .35s ease;
  }
  .area-card:hover { background: var(--navy3); }
  .area-card:hover::before { transform: scaleY(1); }
  .area-icon {
    width: 44px; height: 44px; margin-bottom: 1.5rem;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(198,153,58,.25); color: var(--gold);
  }
  .area-icon svg { width: 20px; height: 20px; }
  .area-card h3 {
    font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 400;
    color: var(--white); margin-bottom: .8rem;
  }
  .area-card p { font-size: .85rem; line-height: 1.7; color: var(--muted); }

  /* ── NOSOTROS ── */
  #nosotros {
    display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center;
  }
  .nosotros-visual {
    position: relative; aspect-ratio: 4/5;
    background: var(--navy2);
  }
  .nosotros-visual::before {
    content: ''; position: absolute; inset: -16px 16px 16px -16px;
    border: 1px solid rgba(198,153,58,.2); z-index: -1;
  }
  .nosotros-visual-inner {
    width: 100%; height: 100%;
    background: linear-gradient(145deg, var(--navy3) 0%, var(--navy2) 100%);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2rem; padding: 3rem; overflow: hidden;
  }
  .balance-icon {
    width: 100%; max-width: 380px; height: auto; position: relative;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
  }
  .balance-icon img { width: 100%; height: auto; object-fit: contain; display: block; }
  .pillar {
    display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center;
  }
  .pillar-num { font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; color: var(--gold-light); }
  .pillar-label { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
  .nosotros-pillars { display: flex; gap: 2.5rem; margin-top: .5rem; }

  .nosotros-text .section-tag { margin-top: 0; }
  .nosotros-text p { margin-top: 1.5rem; font-size: 1rem; line-height: 1.85; color: rgba(232,228,220,.65); }
  .values-list { list-style: none; margin-top: 2.5rem; display: flex; flex-direction: column; gap: .85rem; }
  .values-list li {
    display: flex; align-items: center; gap: 1rem;
    font-size: .9rem; color: rgba(232,228,220,.75);
  }
  .values-list li::before {
    content: ''; display: block; width: 6px; height: 6px;
    background: var(--gold); flex-shrink: 0;
    transform: rotate(45deg);
  }

  /* ── EQUIPO ── */
  #equipo { background: var(--navy); padding: 7rem 5vw; }
  .equipo-header { text-align: center; margin-bottom: 4.5rem; }
  .equipo-header p { margin: 1.2rem auto 0; max-width: 520px; font-size: .97rem; line-height: 1.8; color: rgba(232,228,220,.6); }
  .equipo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem;
  }
  .team-card {
    background: var(--navy2);
    position: relative; overflow: hidden;
    transition: transform .3s;
  }
  .team-card:hover { transform: translateY(-6px); }
  .team-avatar-wrap {
    width: 100%; aspect-ratio: 1/1;
    background: linear-gradient(145deg, var(--navy3), var(--navy2));
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
  }
  .team-avatar-wrap::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(11,15,28,.7) 0%, transparent 55%);
    pointer-events: none; z-index: 1;
  }
  .team-photo {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    display: block; z-index: 0;
    transition: transform .4s ease;
  }
  .team-card:hover .team-photo { transform: scale(1.04); }
  .team-initials {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.5rem; font-weight: 300;
    color: rgba(198,153,58,.35);
    letter-spacing: -.02em;
    user-select: none; position: relative; z-index: 0;
  }
  .team-gold-bar {
    position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
    background: var(--gold);
    transform: scaleX(0); transform-origin: left;
    transition: transform .35s ease;
    z-index: 2;
  }
  .team-card:hover .team-gold-bar { transform: scaleX(1); }
  .team-info { padding: 1.6rem; }
  .team-name {
    font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 400;
    color: var(--white); margin-bottom: .25rem;
  }
  .team-role {
    font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 1rem;
  }
  .team-bio { font-size: .83rem; line-height: 1.7; color: var(--muted); }
  .team-specialties {
    display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.2rem;
  }
  .spec-tag {
    font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
    border: 1px solid rgba(198,153,58,.25); color: rgba(198,153,58,.75);
    padding: .25rem .65rem;
  }

  /* ── MODAL PERFIL ── */
  .modal-overlay {
    position: fixed; inset: 0; z-index: 500;
    background: rgba(5,8,18,.85);
    backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    padding: 2rem;
    opacity: 0; pointer-events: none;
    transition: opacity .35s ease;
  }
  .modal-overlay.open { opacity: 1; pointer-events: all; }

  .modal-box {
    background: var(--navy2);
    max-width: 760px; width: 100%;
    display: grid; grid-template-columns: 280px 1fr;
    position: relative;
    transform: translateY(28px) scale(.97);
    transition: transform .4s cubic-bezier(.22,1,.36,1);
    max-height: 90vh; overflow: hidden;
  }
  .modal-overlay.open .modal-box { transform: translateY(0) scale(1); }

  .modal-close {
    position: absolute; top: 1.2rem; right: 1.2rem;
    width: 36px; height: 36px; background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--muted); font-size: 1.1rem; z-index: 10;
    transition: background .2s, color .2s;
    font-family: monospace; line-height: 1;
  }
  .modal-close:hover { background: rgba(198,153,58,.15); color: var(--gold-light); }

  .modal-photo {
    background: linear-gradient(145deg, var(--navy3), #0d1220);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 1.5rem; padding: 3rem 2rem;
    border-right: 1px solid rgba(198,153,58,.1);
    position: relative; overflow: hidden;
  }
  .modal-photo::before {
    content: ''; position: absolute;
    width: 200px; height: 200px; border-radius: 50%;
    border: 1px solid rgba(198,153,58,.07);
    top: -40px; left: -60px;
  }
  .modal-photo::after {
    content: ''; position: absolute;
    width: 150px; height: 150px; border-radius: 50%;
    border: 1px solid rgba(198,153,58,.05);
    bottom: -30px; right: -50px;
  }
  .modal-avatar {
    width: 140px; height: 140px; border-radius: 50%;
    border: 2px solid rgba(198,153,58,.3);
    background: var(--navy3);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Cormorant Garamond', serif; font-size: 3.5rem; font-weight: 300;
    color: var(--gold-light); position: relative; z-index: 1;
    box-shadow: 0 0 0 8px rgba(198,153,58,.05), 0 0 0 16px rgba(198,153,58,.03);
    overflow: hidden;
  }
  .modal-avatar img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
    position: absolute; inset: 0;
    justify-content: center;
  }
  .modal-avatar-initials {
    position: relative; z-index: 1;
  }
  .modal-photo-name {
    font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 400;
    color: var(--white); text-align: center; position: relative; z-index: 1;
  }
  .modal-photo-role {
    font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
    color: var(--gold); text-align: center; position: relative; z-index: 1;
  }

  .modal-content {
    padding: 3rem 2.5rem; overflow-y: auto; max-height: 90vh;
    display: flex; flex-direction: column; gap: 1.6rem;
  }
  .modal-section-label {
    font-size: .65rem; letter-spacing: .3em; text-transform: uppercase;
    color: var(--gold); margin-bottom: .5rem;
  }
  .modal-bio-text {
    font-size: .92rem; line-height: 1.85; color: rgba(232,228,220,.7);
  }
  .modal-specs { display: flex; flex-wrap: wrap; gap: .5rem; }
  .modal-spec-tag {
    font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
    border: 1px solid rgba(198,153,58,.3); color: rgba(198,153,58,.85);
    padding: .35rem .85rem;
  }
  .modal-divider { height: 1px; background: rgba(255,255,255,.06); }
  .modal-contact-row { display: flex; gap: 1rem; flex-wrap: wrap; }
  .modal-contact-btn {
    flex: 1; min-width: 120px; padding: .75rem 1rem;
    border: 1px solid rgba(198,153,58,.3); color: var(--gold-light);
    text-align: center; font-size: .76rem; letter-spacing: .12em;
    text-transform: uppercase; text-decoration: none; cursor: pointer;
    background: transparent; font-family: 'Outfit', sans-serif;
    transition: background .2s, border-color .2s;
  }
  .modal-contact-btn:hover { background: rgba(198,153,58,.1); border-color: var(--gold); }

  .team-avatar-wrap { cursor: pointer; }
  .team-avatar-wrap .hover-hint {
    position: absolute; inset: 0; z-index: 3;
    display: flex; align-items: center; justify-content: center;
    background: rgba(11,15,28,.65); opacity: 0;
    transition: opacity .25s;
    font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light);
    gap: .5rem;
  }
  .team-avatar-wrap:hover .hover-hint { opacity: 1; }
  .hover-hint svg { width: 16px; height: 16px; }

  @media (max-width: 600px) {
    .modal-box { grid-template-columns: 1fr; }
    .modal-photo { padding: 2.5rem 2rem; border-right: none; border-bottom: 1px solid rgba(198,153,58,.1); }
    .modal-content { padding: 2rem 1.5rem; }
  }

  /* ── TESTIMONIOS ── */
  #testimonios { background: var(--navy3); text-align: center; }
  .testimonios-header { margin-bottom: 4rem; }
  .testimonios-header p { color: var(--muted); margin-top: 1rem; font-size: .95rem; letter-spacing: .05em; }
  .testimonios-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; text-align: left; }
  .testi-card {
    background: var(--navy2); padding: 2.5rem;
    border-bottom: 2px solid transparent; transition: border-color .3s;
    position: relative;
  }
  .testi-card:hover { border-bottom-color: var(--gold); }
  .testi-quote {
    font-family: 'Cormorant Garamond', serif; font-size: 3.5rem; line-height: .5;
    color: var(--gold); margin-bottom: 1.5rem; display: block;
  }
  .testi-card p { font-size: .9rem; line-height: 1.8; color: rgba(232,228,220,.7); font-style: italic; }
  .testi-author { margin-top: 1.8rem; display: flex; align-items: center; gap: 1rem; }
  .testi-avatar {
    width: 38px; height: 38px; background: var(--navy3);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--gold);
    border: 1px solid rgba(198,153,58,.3); flex-shrink: 0;
  }
  
 
 

  .testi-name { font-size: .85rem; font-weight: 500; color: var(--white); }
  .testi-role { font-size: .75rem; color: var(--muted); margin-top: .1rem; }
  .stars { color: var(--gold); font-size: .8rem; letter-spacing: .1em; margin-bottom: 1.2rem; }

  /* ── CTA BANNER ── */
  #cta {
    background: linear-gradient(110deg, #0B0F1C 0%, #141929 50%, #0B0F1C 100%);
    border-top: 1px solid rgba(198,153,58,.15);
    border-bottom: 1px solid rgba(198,153,58,.15);
    padding: 6rem 5vw; text-align: center;
    position: relative; overflow: hidden;
  }
  #cta::before {
    content: 'GPL'; position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Cormorant Garamond', serif; font-size: 20rem; font-weight: 700;
    color: rgba(198,153,58,.03); letter-spacing: -.05em; pointer-events: none;
    user-select: none;
  }
  #cta .section-tag { justify-content: center; }
  #cta h2 { font-size: clamp(2rem, 4.5vw, 3.8rem); }
  #cta p { margin: 1.5rem auto 3rem; max-width: 540px; font-size: 1rem; line-height: 1.8; color: rgba(232,228,220,.6); }
  .cta-actions { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; }
  .whatsapp-btn {
    background: #25D366; color: var(--white);
    padding: .9rem 2.2rem; text-decoration: none;
    font-size: .82rem; letter-spacing: .1em; font-weight: 500;
    display: inline-flex; align-items: center; gap: .7rem;
    transition: background .25s, transform .2s;
  }
  .whatsapp-btn:hover { background: #1ebe57; transform: translateY(-2px); }
  .whatsapp-btn svg { width: 18px; height: 18px; }

  /* ── FOOTER ── */
  footer {
    background: #080C17; padding: 4rem 5vw 2rem;
  }
  .footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.06); }
  .footer-brand { }
  .footer-logo {
    font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600;
    color: var(--gold-light); display: block; margin-bottom: .5rem;
  }
  .footer-brand p { font-size: .85rem; line-height: 1.7; color: var(--muted); margin-top: .8rem; max-width: 280px; }
  .footer-col h4 { font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.4rem; }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
  .footer-col ul a { text-decoration: none; font-size: .87rem; color: var(--muted); transition: color .2s; }
  .footer-col ul a:hover { color: var(--gold-light); }
  .footer-bottom { padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
  .footer-bottom p { font-size: .78rem; color: rgba(138,138,154,.5); }
  .footer-bottom a { color: rgba(198,153,58,.5); text-decoration: none; }

  /* ── FLOATING WA ── */
  .wa-float {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 200;
    width: 56px; height: 56px; background: #25D366; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,.4);
    text-decoration: none; transition: transform .2s, box-shadow .2s;
  }
  .wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.55); }
  .wa-float svg { width: 28px; height: 28px; fill: white; }

  /* ── TABLET (≤ 1024px) ── */
  @media (max-width: 1024px) {
    .hero-body { padding: 3rem 5vw 7rem; }
    .hero-decor { width: min(36vw, 380px); height: min(36vw, 380px); right: 4vw; }
    #nosotros { gap: 3.5rem; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .footer-brand { grid-column: 1 / -1; }
    .modal-box { grid-template-columns: 220px 1fr; }
  }

  /* ── TABLET SMALL (≤ 768px) ── */
  @media (max-width: 768px) {
    nav { padding: .8rem 4vw; height: 64px; }
    .nav-links, .nav-desktop-cta { display: none !important; }
    .nav-hamburger { display: flex; }
    .nav-drawer { display: flex; top: 64px; }
    .nav-logo img { height: min(var(--logo-nav), 42px); }
    .nav-logo-fallback { font-size: .95rem; max-width: 140px; }

    #hero { padding-top: 64px; }
    .hero-body {
      padding: 2.5rem 5vw 10rem;
      align-items: flex-start;
    }
    .hero-decor { display: none; }
    .hero-stats { gap: 1.5rem; bottom: 2rem; }
    .stat-num { font-size: 1.8rem; }

    #nosotros { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 5vw; }
    .nosotros-visual { aspect-ratio: unset; height: auto; }
    .nosotros-visual::before { display: none; }
    .nosotros-visual-inner { padding: 2rem 1.5rem; gap: 1.5rem; }
    .balance-icon { width: 100%; max-width: 220px; }
    .balance-icon img { width: 100%; max-width: 220px; height: auto; }
    .nosotros-pillars { gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
    .pillar-num { font-size: 2rem; }
    .pillar-label { font-size: .68rem; }

    section { padding: 5rem 5vw; }

    .areas-header { flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 2.5rem; }
    .areas-grid { grid-template-columns: 1fr; }

    .equipo-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }

    .testimonios-grid { grid-template-columns: 1fr; }

    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .footer-brand { grid-column: auto; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: .6rem; }

    .modal-box { grid-template-columns: 1fr; max-height: 95vh; overflow-y: auto; }
    .modal-photo { padding: 2rem; flex-direction: row; justify-content: flex-start; gap: 1.2rem; border-right: none; border-bottom: 1px solid rgba(198,153,58,.1); }
    .modal-avatar { width: 70px; height: 70px; }
    .modal-avatar-initials { font-size: 2rem; }
    .modal-photo-name { font-size: 1.1rem; }
    .modal-content { padding: 1.5rem; overflow-y: auto; }
    .modal-box { overflow-y: auto; }

    #cta { padding: 4rem 5vw; }
    .hero-actions { flex-direction: column; align-items: flex-start; gap: .8rem; }
    .btn-primary, .btn-outline { width: 100%; text-align: center; }
  }

  /* ── MOBILE (≤ 480px) ── */
  @media (max-width: 480px) {
    .hero-body { padding: 2rem 4vw 9rem; }
    h1 { font-size: clamp(2.4rem, 9vw, 3.5rem); }
    .hero-eyebrow span { font-size: .65rem; letter-spacing: .2em; }
    .hero-desc { font-size: .92rem; }
    .hero-stats { gap: 1.2rem; bottom: 1.5rem; }
    .stat-num { font-size: 1.6rem; }
    .stat-label { font-size: .65rem; }

    section { padding: 4rem 4vw; }
    h2 { font-size: clamp(1.8rem, 7vw, 2.8rem); }

    .equipo-grid { grid-template-columns: 1fr; }
    .areas-grid { grid-template-columns: 1fr; }
    .area-card { padding: 1.8rem; }

    .cta-actions { flex-direction: column; align-items: stretch; }
    .cta-actions a { text-align: center; }

    .wa-float { bottom: 1.2rem; right: 1.2rem; width: 50px; height: 50px; }
    .wa-float svg { width: 24px; height: 24px; }

    .modal-overlay { padding: .5rem; }
    .modal-photo { flex-direction: column; align-items: center; text-align: center; padding: 1.5rem; }
  }

  /* ── LOADER ── */
  #loader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--navy);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 2.5rem;
    transition: opacity .8s ease, visibility .8s ease;
  }
  #loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
  .loader-logo {
    height: var(--logo-loader); width: auto; object-fit: contain;
    
    animation: loaderPulse 2s ease-in-out infinite;
  }
  @keyframes loaderPulse {
    0%, 100% { opacity: .45; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.05); }
  }
  .loader-bar-track {
    width: 180px; height: 1px;
    background: rgba(198,153,58,.15);
    position: relative; overflow: hidden;
  }
  .loader-bar-fill {
    position: absolute; top: 0; left: 0; height: 100%;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    width: 60%; animation: loaderSlide 1.3s ease-in-out infinite;
  }
  @keyframes loaderSlide {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(300%); }
  }
  .loader-text {
    font-size: .68rem; letter-spacing: .35em; text-transform: uppercase;
    color: var(--muted); animation: loaderFadeText 1.3s ease-in-out infinite alternate;
  }
  @keyframes loaderFadeText {
    from { opacity: .25; }
    to   { opacity: .75; }
  }

  /* ── PANEL LOGOS ── */
  #logo-panel {
    display: none;
    position: fixed; bottom: 5rem; left: 1.5rem; z-index: 9998;
    background: rgba(11,15,28,.97);
    border: 1px solid rgba(198,153,58,.35);
    backdrop-filter: blur(16px);
    padding: 1.4rem 1.6rem;
    width: 280px;
    box-shadow: 0 8px 40px rgba(0,0,0,.6);
    animation: fadeUp .3s ease both;
  }
  #logo-panel.visible { display: block; }
  #logo-panel h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem; font-weight: 400;
    color: var(--gold-light); margin-bottom: 1.2rem;
    display: flex; justify-content: space-between; align-items: center;
  }
  #logo-panel h4 span {
    font-family: 'Outfit', sans-serif;
    font-size: .65rem; letter-spacing: .15em; text-transform: uppercase;
    color: var(--muted); opacity: .7;
  }
  .logo-control { margin-bottom: 1.1rem; }
  .logo-control label {
    display: flex; justify-content: space-between; align-items: center;
    font-size: .73rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--muted); margin-bottom: .5rem;
  }
  .logo-control label strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: .95rem; font-weight: 400; color: var(--gold-light);
    letter-spacing: 0; text-transform: none;
  }
  .logo-control input[type=range] {
    width: 100%; height: 3px;
    -webkit-appearance: none; appearance: none;
    background: linear-gradient(to right, var(--gold) 0%, var(--gold) var(--pct, 50%), rgba(198,153,58,.2) var(--pct, 50%), rgba(198,153,58,.2) 100%);
    border-radius: 2px; outline: none; cursor: pointer;
  }
  .logo-control input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 14px; height: 14px;
    background: var(--gold); border-radius: 50%;
    box-shadow: 0 0 6px rgba(198,153,58,.5);
  }
  .logo-panel-footer {
    margin-top: 1.2rem; padding-top: 1rem;
    border-top: 1px solid rgba(198,153,58,.1);
    display: flex; gap: .6rem;
  }
  .logo-panel-footer button {
    flex: 1; padding: .5rem; font-family: 'Outfit', sans-serif;
    font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
    cursor: pointer; transition: background .2s, color .2s;
  }
  .btn-copy-css {
    background: var(--gold); color: var(--navy); border: none;
  }
  .btn-copy-css:hover { background: var(--gold-light); }
  .btn-reset-logo {
    background: transparent; border: 1px solid rgba(198,153,58,.3);
    color: var(--muted);
  }
  .btn-reset-logo:hover { border-color: var(--gold); color: var(--gold-light); }
  .logo-panel-hint {
    margin-top: .8rem; font-size: .67rem; color: rgba(138,138,154,.5);
    text-align: center; letter-spacing: .08em;
  }

  /* ── BOTÓN "DEJA TU TESTIMONIO" EN EL NAV ── */
  .nav-cta-testi {
    background: var(--gold); color: var(--navy); border-color: var(--gold);
  }
  .nav-cta-testi:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy); }

  /* ── MODAL: FORMULARIO DE TESTIMONIO ── */
  .testi-modal-box {
    display: block;
    max-width: 520px;
    padding: 2.6rem 2.4rem;
    max-height: 90vh;
    overflow-y: auto;
  }
  .testi-form-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.9rem; font-weight: 400; color: var(--white);
    margin: .6rem 0 .5rem;
  }
  .testi-form-title em { font-style: italic; color: var(--gold-light); }
  .testi-form-sub {
    font-size: .85rem; color: var(--muted); line-height: 1.6; margin-bottom: 1.8rem;
  }
  .testi-field { margin-bottom: 1.2rem; }
  .testi-field-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  }
  .testi-field label {
    display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
    color: var(--muted); margin-bottom: .5rem;
  }
  .testi-field input[type="text"],
  .testi-field select,
  .testi-field textarea {
    width: 100%;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(198,153,58,.25);
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    font-size: .88rem;
    padding: .7rem .85rem;
    border-radius: 2px;
    outline: none;
    transition: border-color .2s, background .2s;
  }
  .testi-field textarea { resize: vertical; min-height: 90px; }
  .testi-field input[type="text"]:focus,
  .testi-field select:focus,
  .testi-field textarea:focus {
    border-color: var(--gold);
    background: rgba(255,255,255,.05);
  }
  .testi-field select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A8A9A' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right .85rem center;
    padding-right: 2.2rem;
  }
  .testi-field select option { background: var(--navy2); color: var(--text); }

  .testi-stars-input { display: flex; gap: .3rem; }
  .testi-star {
    background: transparent; border: none; cursor: pointer;
    font-size: 1.6rem; line-height: 1; color: rgba(255,255,255,.15);
    transition: color .15s, transform .15s;
    padding: 0;
  }
  .testi-star:hover { transform: scale(1.12); }
  .testi-star.active { color: var(--gold); }

  .testi-form-error {
    font-size: .8rem; color: #e07a6b; min-height: 1.2rem; margin-bottom: .8rem;
  }
  .testi-submit-btn {
    width: 100%; text-align: center; cursor: pointer;
    border: none; font-family: 'Outfit', sans-serif;
  }
  .testi-submit-btn:disabled { opacity: .6; cursor: default; }

  .testi-form-success {
    text-align: center; padding: 1.5rem 0;
  }
  .testi-success-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(198,153,58,.12); border: 1px solid var(--gold);
    color: var(--gold-light); font-size: 1.6rem;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.2rem;
  }
  .testi-form-success h3 {
    font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 400;
    color: var(--white); margin-bottom: .7rem;
  }
  .testi-form-success p {
    font-size: .85rem; color: var(--muted); line-height: 1.6; margin-bottom: 1.6rem;
  }

  @media (max-width: 560px) {
    .testi-modal-box { padding: 2.2rem 1.5rem; max-width: 92vw; }
    .testi-field-row { grid-template-columns: 1fr; gap: 0; }
  }

  /* ── SELECTOR DE FOTO EN EL FORMULARIO DE TESTIMONIO ── */
  .testi-foto-picker {
    display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  }
  .testi-foto-preview {
    width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
    background: var(--navy3); border: 1px solid rgba(198,153,58,.3);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: var(--gold);
    overflow: hidden; position: relative;
  }
  .testi-foto-preview img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  }
  .testi-foto-btn {
    display: inline-flex; align-items: center;
    border: 1px solid rgba(198,153,58,.4); color: var(--gold-light);
    padding: .55rem 1.1rem; font-size: .78rem; letter-spacing: .05em;
    cursor: pointer; transition: background .2s, border-color .2s;
  }
  .testi-foto-btn:hover { background: rgba(198,153,58,.08); border-color: var(--gold); }
  .testi-foto-quitar {
    background: transparent; border: none; color: var(--muted);
    font-size: .78rem; text-decoration: underline; cursor: pointer;
    padding: 0;
  }
  .testi-foto-quitar:hover { color: var(--gold-light); }
  .testi-foto-hint {
    font-size: .72rem; color: var(--muted); margin-top: .5rem;
  }

  /* ── AVATAR CON FOTO EN LA TARJETA DE TESTIMONIO (público) ── */
  .testi-avatar-img {
    width: 38px; height: 38px; border-radius: 50%; object-fit: cover;
    border: 1px solid rgba(198,153,58,.3); flex-shrink: 0;
  }

  /* ── SELECTOR DE VIDEO EN EL FORMULARIO DE TESTIMONIO ── */
  .testi-video-picker {
    display: flex; align-items: center; gap: .8rem; flex-wrap: wrap;
  }
  .testi-video-nombre {
    font-size: .78rem; color: var(--text); opacity: .8;
    max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .testi-hint-error { color: #e07a6b !important; }

  /* ── VIDEO EN LA TARJETA DE TESTIMONIO (público) ── */
  .testi-video {
    width: 100%; border-radius: 8px; margin: .8rem 0; display: block;
    background: #000; max-height: 240px;
  }
