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

 :root {
  --brand-blue-dark:  #1a3a6b;
  --brand-blue-mid:   #2d6abf;
  --brand-blue-light: #5b9bd5;
  --brand-white:      #ffffff;
  --brand-bg:         #1c1c1c;

  /* Reemplaza las variables actuales */
  --gold:       #2d6abf;   /* azul mid como acento principal */
  --gold-light: #5b9bd5;   /* azul claro como hover */
  --dark:       #0e1a30;   /* azul muy oscuro en lugar de negro */
  --dark2:      #152644;
  --mid:        #1e3560;
  --light:      #eef3f9;   /* blanco azulado en lugar de crema */
  --white:      #ffffff;
  --text:       #2a2a3a;
  --text-light: #6a7a99;
} 
<!-- :root {
    --gold: #c18f59;
    --gold-light: #d4a96a;
    --dark: #1a1f2e;
    --dark2: #252b3b;
    --mid: #353c4e;
    --light: #f5f3ef;
    --white: #ffffff;
    --text: #3a3a3a;
    --text-light: #7a7a7a;
  }-->
  html { scroll-behavior: smooth; }

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

  /* ── HEADER EMPRESAS COLABORADORAS ── */
  .partners-header {
    background: var(--dark);
    padding: clamp(0.8rem, 2vw, 1.2rem) clamp(1.5rem, 4%, 5%);
    border-bottom: 1px solid rgba(91, 155, 213, 0.2);
  }

  .partners-header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 2rem);
    flex-wrap: wrap;
  }

  .partners-label {
    font-size: clamp(0.7rem, 1.2vw, 0.8rem);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold);
    white-space: nowrap;
  }

  .partners-list {
    display: flex;
    gap: clamp(0.8rem, 2vw, 1.2rem);
    flex-wrap: wrap;
  }

  .partner-badge {
    font-size: clamp(0.75rem, 1.5vw, 0.85rem);
    padding: clamp(0.4rem, 1vw, 0.6rem) clamp(0.8rem, 2vw, 1.2rem);
    background: rgba(91, 155, 213, 0.15);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    border: 1px solid rgba(91, 155, 213, 0.3);
    white-space: nowrap;
  }

  @media (max-width: 768px) {
    .partners-header-content { flex-direction: column; align-items: flex-start; }
    .partners-label { margin-bottom: 0.5rem; }
  }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(26,31,46,0.95);
    backdrop-filter: blur(10px);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 3%;
    height: 5.5rem;
    border-bottom: 1px solid rgba(193,143,89,0.2);
    min-height: 56px;
    flex-wrap: nowrap;
  }
  .nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 900;
    color: var(--white);
    letter-spacing: 2px;
    text-decoration: none;
    padding: 0.5rem 0;
    flex-shrink: 0;
  }
  .logo_asdefor {
    max-width: 150px;
    height: auto;
    max-height: 60px;
  }
  .nav-home-btn {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    min-width: 50px;
    flex-shrink: 0;
  }
  .nav-home-btn:hover {
    transform: scale(1.05);
  }
  .nav-home-btn:active {
    transform: scale(0.98);
  }
  .nav-logo span { color: var(--gold); }
  .nav-links {
    display: flex; 
    gap: clamp(0.8rem, 2vw, 2rem);
    list-style: none;
    flex: 1;
    justify-content: center;
    align-items: center;
  }
  
  @media (max-width: 900px) {
    .nav-links {
      display: none;
    }
  }
  .nav-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: clamp(0.65rem, 1.2vw, 0.82rem);
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    transition: color 0.3s;
    white-space: nowrap;
  }
  .nav-links a:hover { color: var(--gold); }
  .nav-cta {
    background: var(--gold);
    color: var(--white) !important;
    padding: 8px 20px !important;
    border-radius: 2px;
  }
  .nav-cta:hover { background: var(--gold-light); }

  /* ── HERO SLIDER ── */
  .hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    max-height: 900px;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  .slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .slider-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
  }

  .slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 26, 48, 0.15);
    z-index: 2;
  }

  .slider-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding: 2rem 5%;
    max-width: 900px;
    animation: fadeInUp 0.8s ease-out;
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .slider-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.8), 
                 1px 1px 3px rgba(0, 0, 0, 0.9);
    letter-spacing: -1px;
    color: #ffffff;
  }

  .slider-content h1 span {
    display: block;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.8),
                 1px 1px 3px rgba(0, 0, 0, 0.9);
  }

  .slider-content p {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.98);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8),
                 1px 1px 3px rgba(0, 0, 0, 0.9);
  }

  .hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: clamp(1rem, 3vw, 2rem);
    width: clamp(40px, 8vw, 60px);
    height: clamp(40px, 8vw, 60px);
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 4;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
  }

  .slider-btn:hover {
    background: rgba(45, 106, 191, 0.4);
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-50%) scale(1.1);
  }

  .slider-prev {
    left: clamp(1rem, 5%, 3rem);
  }

  .slider-next {
    right: clamp(1rem, 5%, 3rem);
  }

  .slider-dots {
    position: absolute;
    bottom: clamp(1rem, 4%, 2rem);
    left: 50%;
    transform: translateX(-50%);
    display: none;
    gap: 0.8rem;
    z-index: 4;
  }

  .slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
  }

  .slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
  }

  .slider-dot.active {
    background: var(--gold);
    transform: scale(1.2);
  }
  .btn-primary {
    background: var(--gold);
    color: var(--white);
    padding: 14px 32px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all 0.3s;
    display: inline-block;
  }
  .btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(193,143,89,0.4); }
  .btn-outline {
    border: 1px solid rgba(255,255,255,0.35);
    color: var(--white);
    padding: 14px 32px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all 0.3s;
    display: inline-block;
  }
  .btn-outline:hover { border-color: var(--gold); color: var(--gold); }
  .hero-scroll {
    position: absolute; bottom: 2rem; left: 5%;
    display: flex; align-items: center; gap: 10px;
    color: rgba(255,255,255,0.4); font-size: 0.78rem; letter-spacing: 1px;
  }
  .scroll-line { width: 40px; height: 1px; background: rgba(255,255,255,0.3); }

  /* ── SECTION IMAGE ── */
  .section-image {
    width: 100%;
    margin: 2.5rem 0 3rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  }

  .section-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center bottom;
    max-height: 400px;
  }

  @media (max-width: 900px) {
    .section-image { margin: 2rem 0 2.5rem 0; }
    .section-image img { max-height: 400px; }
  }

  @media (max-width: 600px) {
    .section-image { margin: 1.5rem 0 2rem 0; }
    .section-image img { max-height: 350px; }
  }

  /* ── JUMP TO TOP FLOTANTE ── */
  .jump-to-top-btn {
    position: fixed;
    bottom: clamp(1.5rem, 5vw, 2.5rem);
    right: clamp(1.5rem, 5vw, 2.5rem);
    background: var(--gold);
    border: none;
    color: var(--white);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: bold;
    width: clamp(50px, 10vw, 40px);
    height: clamp(50px, 10vw, 40px);
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(45, 106, 191, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
  }

  .jump-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .jump-to-top-btn:hover {
    background: var(--gold-light);
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(45, 106, 191, 0.6);
  }

  .jump-to-top-btn:active {
    transform: translateY(-2px);
  }

  @media (max-width: 600px) {
    .jump-to-top-btn {
      width: clamp(45px, 8vw, 55px);
      height: clamp(45px, 8vw, 55px);
      font-size: clamp(1rem, 2.5vw, 1.4rem);
      bottom: clamp(1rem, 4vw, 1.5rem);
      right: clamp(1rem, 4vw, 1.5rem);
    }
  }

  /* ── STATS BAR ── */
  .stats-bar {
    background: var(--dark);
    border-top: 3px solid var(--gold);
    padding: 2rem 5%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: linear-gradient(to right, var(--dark) 99%, rgba(193,143,89,0.3) 100%);
  }
  .stat-item {
    padding: 1.5rem 2rem;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.07);
  }
  .stat-item:last-child { border-right: none; }
  .stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--gold);
    display: block;
    line-height: 1;
    margin-bottom: 0.4rem;
  }
  .stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
  }

  /* ── SECTION HEADER ── */
  .section-header {
    text-align: center;
    margin-bottom: 3.5rem;
  }
  .section-tag {
    display: inline-block;
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
  }
  .section-tag::before, .section-tag::after {
    content: '—';
    margin: 0 8px;
    opacity: 0.5;
  }
  .section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
  }
  .section-header h2 span { color: var(--gold); }
  .section-header p {
    color: var(--text-light);
    font-size: 1rem;
    margin-top: 1rem;
    max-width: 560px;
    margin-left: auto; margin-right: auto;
    line-height: 1.7;
  }
  .divider {
    width: 60px; height: 3px;
    background: var(--gold);
    margin: 1.2rem auto 0;
  }

  /* ── SERVICIOS ── */
  .services {
    padding: 6rem 5%;
    background: var(--light);
  }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5px;
    background: rgba(0,0,0,0.07);
    border: 1.5px solid rgba(0,0,0,0.07);
  }
  .service-card {
    background: var(--white);
    padding: 1.8rem 1.5rem;
    transition: all 0.35s;
    position: relative;
    overflow: hidden;
    cursor: default;
  }
  .service-card::before {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.4s;
  }
  .service-card:hover { background: var(--dark); }
  .service-card:hover::before { transform: scaleX(1); }
  .service-icon {
    width: 52px; height: 52px;
    background: rgba(193,143,89,0.1);
    border: 1px solid rgba(193,143,89,0.3);
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    transition: all 0.35s;
  }
  .service-card:hover .service-icon {
    background: rgba(193,143,89,0.2);
    border-color: var(--gold);
  }
  .service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark);
    transition: color 0.35s;
  }
  .service-card:hover h3 { color: var(--white); }
  .service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    transition: color 0.35s;
  }
  .service-card:hover p { color: rgba(255,255,255,0.6); }
  .service-link {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 1.2rem;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: gap 0.3s;
  }
  .service-link:hover { gap: 10px; }

  @media (max-width: 768px) {
    .services-grid {
      grid-template-columns: 1fr;
      gap: 1px;
    }
    
    .service-card {
      padding: 1.2rem 1rem;
    }
    
    .service-icon {
      width: 40px;
      height: 40px;
      margin-bottom: 1rem;
      font-size: 1.2rem;
    }
    
    .service-card h3 {
      font-size: 0.95rem;
      margin-bottom: 0.6rem;
    }
    
    .service-card p {
      font-size: 0.85rem;
      line-height: 1.5;
    }
    
    .service-link {
      margin-top: 0.8rem;
      font-size: 0.75rem;
    }
  }
  
  @media (max-width: 480px) {
    .service-card {
      padding: 1rem 0.8rem;
      min-height: 140px;
    }
    
    .service-icon {
      width: 36px;
      height: 36px;
      margin-bottom: 0.8rem;
      font-size: 1rem;
    }
    
    .service-card h3 {
      font-size: 0.9rem;
      margin-bottom: 0.5rem;
    }
    
    .service-card p {
      font-size: 0.8rem;
      line-height: 1.4;
    }
    
    .service-link {
      margin-top: 0.6rem;
      font-size: 0.7rem;
    }
  }

  /* ── PLATAFORMAS ── */
  .platforms {
    padding: 6rem 5%;
    background: var(--dark);
    position: relative;
    overflow: hidden;
  }
  .platforms::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(193,143,89,0.08) 0%, transparent 70%);
  }
  .platforms .section-header h2 { color: var(--white); }
  .platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative; z-index: 1;
  }
  .platform-card {
    border: 1px solid rgba(255,255,255,0.08);
    padding: 2rem 1.8rem;
    border-radius: 4px;
    transition: all 0.35s;
    background: rgba(255,255,255,0.02);
    position: relative;
    overflow: hidden;
  }
  .platform-card:hover {
    border-color: rgba(193,143,89,0.5);
    background: rgba(193,143,89,0.06);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  }
  .platform-num {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(193,143,89,0.1);
    line-height: 1;
    margin-bottom: 0.5rem;
    transition: color 0.35s;
  }
  .platform-card:hover .platform-num { color: rgba(193,143,89,0.25); }
  .platform-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.6rem;
  }
  .platform-card p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
  }

  /* ── SEDES ── */
  .sedes {
    padding: 6rem 5%;
    background: var(--light);
  }
  .sedes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
  .sede-card {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
  }
  .sede-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transition: transform 0.5s;
  }
  .sede-card:hover .sede-bg { transform: scale(1.06); }
  .sede-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(26,31,46,0.9) 0%, rgba(26,31,46,0.2) 60%, transparent 100%);
    transition: background 0.35s;
  }
  .sede-card:hover .sede-overlay {
    background: linear-gradient(to top, rgba(26,31,46,0.95) 0%, rgba(193,143,89,0.1) 60%, transparent 100%);
  }
  .sede-content {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 1.5rem;
  }
  .sede-tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.4rem;
    display: block;
  }
  .sede-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
  }
  .sede-link {
    display: block;
    margin-top: 0.7rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.78rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s;
  }
  .sede-card:hover .sede-link { color: var(--gold); }

  /* ── CTA BAND ── */
  .cta-band {
    background: var(--mid);
    border-top: 3px solid var(--gold);
    border-bottom: 3px solid var(--gold);
    padding: 4rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
  }
  .cta-band h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--white);
    font-weight: 700;
    max-width: 540px;
    line-height: 1.3;
  }
  .cta-band h2 span { color: var(--gold); }

  /* ── EMPRESAS ── */
  .empresas {
    padding: 5rem 5%;
    background: var(--white);
  }
  .empresas-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
  }
  .empresas-logos a{
    text-decoration: none;
  }
  .empresa-badge {
    border: 1px solid rgba(0,0,0,0.1);
    padding: 1rem 2rem;
    border-radius: 3px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--mid);
    letter-spacing: 0.5px;
    transition: all 0.3s;
    background: var(--light);
    cursor: pointer;
  }
  .empresa-badge:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--white);
    box-shadow: 0 4px 20px rgba(193,143,89,0.15);
  }

  /* ── CONTACTO ── */
  .contact-section {
    padding: 6rem 5%;
    background: var(--light);
    position: relative;
    overflow: hidden;
  }
  .contact-section::before {
    content: '';
    position: absolute;
    left: -80px; top: -80px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(193,143,89,0.08) 0%, transparent 70%);
    pointer-events: none;
  }
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    position: relative;
    z-index: 1;
  }
  .contact-left {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }
  .contact-right {
    display: flex;
    flex-direction: column;
  }
  .contact-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
  }
  .contact-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light);
    border-left: 4px solid var(--gold);
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: all 0.3s;
  }
  .contact-item:hover {
    box-shadow: 0 6px 24px rgba(45, 106, 191, 0.15);
    transform: translateX(4px);
  }
  .contact-item-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(193, 143, 89, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
  }
  .contact-item-text strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.3rem;
  }
  .contact-item-text span {
    font-size: clamp(0.85rem, 2vw, 0.92rem);
    color: var(--text);
    line-height: 1.5;
  }
  .contact-item-text a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s;
  }
  .contact-item-text a:hover {
    color: var(--gold-light);
    text-decoration: underline;
  }
  .mapa {
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }
  .mapa iframe {
    width: 100%;
    height: 400px;
    border: none;
  }

  /* FORM */
  .contact-form-wrap {
    background: var(--white);
    padding: 3rem;
    border-radius: 6px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.08);
    border-top: 4px solid var(--gold);
  }
  .contact-form-wrap h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.4rem;
  }
  .contact-form-wrap > p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.07);
  }
  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
  }
  .form-group.full { margin-bottom: 1rem; }
  .form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--mid);
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid rgba(0,0,0,0.1);
    border-radius: 3px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    color: var(--text);
    background: var(--light);
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
  }
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(193,143,89,0.12);
    background: var(--white);
  }
  .form-group textarea { resize: vertical; min-height: 120px; }
  .form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1.5rem;
  }
  .form-check input[type="checkbox"] {
    width: 16px; height: 16px; min-width: 16px;
    margin-top: 3px;
    accent-color: var(--gold);
    cursor: pointer;
  }
  .form-check label {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.5;
    cursor: pointer;
  }
  .form-check label a { color: var(--gold); }
  .btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 3px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    display: flex; align-items: center; justify-content: center; gap: 8px;
  }
  .btn-submit:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(193,143,89,0.35);
  }
  .form-success {
    display: none;
    text-align: center;
    padding: 2rem;
  }
  .form-success .check {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  .form-success h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
  }
  .form-success p { color: var(--text-light); font-size: 0.9rem; }

  @media (max-width: 900px) {
    nav {
      padding: 0 3%;
      height: 5rem;
    }
    .nav-links {
      gap: clamp(0.6rem, 1.5vw, 1.5rem);
    }
    .nav-links a {
      font-size: clamp(0.6rem, 1vw, 0.75rem);
    }
  }

  @media (max-width: 768px) {
    nav {
      padding: 0 2.5%;
      height: 4.5rem;
    }
    .nav-links {
      gap: clamp(0.5rem, 1vw, 1.2rem);
    }
    .nav-links a {
      font-size: clamp(0.55rem, 0.9vw, 0.7rem);
      letter-spacing: 0.8px;
    }
    .nav-logo {
      font-size: clamp(1rem, 2.5vw, 1.3rem);
      padding: 0.3rem 0;
    }
  }

  @media (max-width: 600px) {
    nav {
      padding: 0 2%;
      height: 4rem;
      gap: 0.5rem;
    }
    .nav-links {
      display: none;
    }
    .nav-links a {
      font-size: 0.65rem;
    }
    .nav-logo {
      font-size: clamp(0.9rem, 2vw, 1.1rem);
    }
    .nav-jump-to-top {
      width: clamp(28px, 5vw, 36px);
      height: clamp(28px, 5vw, 36px);
      font-size: clamp(0.7rem, 1.5vw, 0.9rem);
      margin-right: 0.2rem;
    }
  }

  @media (max-width: 480px) {
    nav {
      padding: 0 2%;
      height: 3.5rem;
      min-height: 48px;
    }
    .nav-logo {
      font-size: clamp(0.8rem, 2vw, 1rem);
    }
    .logo_asdefor {
      max-width: 120px;
      max-height: 45px;
    }
    .nav-jump-to-top {
      width: clamp(28px, 5vw, 32px);
      height: clamp(28px, 5vw, 32px);
      font-size: clamp(0.65rem, 1.5vw, 0.8rem);
      margin-right: 0.15rem;
    }
    .nav-hamburger {
      font-size: clamp(0.8rem, 2vw, 1rem);
      padding: clamp(3px, 0.5vw, 5px) clamp(6px, 1vw, 10px);
    }
  }

  .nav-jump-to-top {
    display: none;
    background: var(--gold);
    border: none;
    color: var(--white);
    font-size: clamp(0.8rem, 2vw, 1.1rem);
    font-weight: bold;
    width: clamp(32px, 6vw, 40px);
    height: clamp(32px, 6vw, 40px);
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: clamp(0.5rem, 2vw, 1rem);
    opacity: 0;
    visibility: hidden;
    flex-shrink: 0;
  }
  .nav-jump-to-top.visible {
    display: flex;
    opacity: 1;
    visibility: visible;
  }
  .nav-jump-to-top:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(45, 106, 191, 0.4);
  }
  .nav-jump-to-top:active {
    transform: translateY(-1px);
  }

  .nav-hamburger {
    display: none;
    background: none;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    padding: clamp(4px, 1vw, 6px) clamp(8px, 2vw, 12px);
    border-radius: 3px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s ease;
  }
  .nav-hamburger:hover {
    border-color: var(--gold);
    color: var(--gold);
  }
  
  @media (max-width: 900px) {
    .nav-hamburger {
      display: block;
    }
  }
  
  .mobile-menu {
    display: none; flex-direction: column;
    position: fixed; top: 5.5rem; left: 0; right: 0; z-index: 99;
    background: var(--dark);
    border-top: 2px solid var(--gold);
    padding: 1.5rem 5%;
    gap: 0.8rem;
    max-width: 100%;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    color: rgba(255,255,255,0.75); text-decoration: none;
    font-size: 0.95rem; font-weight: 500;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    transition: color 0.3s;
    text-align: center;
  }
  .mobile-menu a:hover { color: var(--gold); }

  /* ── QUIÉNES SOMOS ── */
  .about-section {
    padding: 0;
    background: var(--white);
  }

  .about-banner {
    position: relative;
    width: 100%;
    height: clamp(300px, 45vh, 450px);
    overflow: hidden;
  }

  .about-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .about-badge-float {
    position: absolute;
    bottom: clamp(1rem, 3vw, 2.5rem);
    right: clamp(1rem, 3vw, 2.5rem);
    background: var(--gold);
    color: var(--white);
    padding: clamp(0.6rem, 2vw, 1.2rem) clamp(0.8rem, 2.5vw, 1.5rem);
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
    min-width: clamp(80px, 15vw, 120px);
    width: clamp(80px, 15vw, 120px);
    height: clamp(80px, 15vw, 120px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
  }

  .about-div{
    margin-top:5rem; 
    margin-right: 5rem;
    margin-left: 5rem;
    background:var(--dark); 
    border-left:4px solid var(--gold); 
    border-radius:0 6px 6px 0; 
    padding:2.5rem 3rem; 
    position:relative; 
    overflow:hidden;
  }
  
  @media (max-width: 768px) {
    .about-div {
      margin-top: 3rem;
      margin-right: 1.5rem;
      margin-left: 1.5rem;
      padding: 1.5rem 2rem;
      border-radius: 6px;
      border-left: 4px solid var(--gold);
    }
  }
  
  @media (max-width: 480px) {
    .about-div {
      margin-top: 2rem;
      margin-right: 1rem;
      margin-left: 1rem;
      padding: 1rem 1.5rem;
    }
  }

  .about-badge-float strong {
    display: block;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 900;
    font-family: 'Playfair Display', serif;
    line-height: 1;
  }

  .about-badge-float span {
    display: block;
    font-size: clamp(0.65rem, 1.5vw, 0.75rem);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 0.4rem;
    text-transform: uppercase;
  }

  .about-content {
    padding: clamp(3rem, 8vw, 5rem) clamp(2rem, 5%, 6rem);
    max-width: 1200px;
    margin: 0 auto;
  }

  .about-header-text {
    margin-bottom: 2.5rem;
  }

  .about-header-text span.section-tag {
    display: block;
    margin-bottom: 1rem;
    font-size: clamp(0.75rem, 1.5vw, 0.85rem);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
  }

  .about-header-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 900;
    color: var(--dark);
    line-height: 1.2;
    letter-spacing: -0.5px;
  }

  .about-header-text h2 span {
    color: var(--gold);
  }

  .about-content p {
    font-size: clamp(0.9rem, 2vw, 0.95rem);
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 1.5rem;
  }

  .about-content p em {
    color: var(--gold);
    font-style: normal;
    font-weight: 600;
  }

  .pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin: 3.5rem 0 2rem;
  }

  .pillar-item {
    display: flex;
    gap: 1.5rem;
  }

  .pillar-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 50%;
    flex-shrink: 0;
  }

  .pillar-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
  }

  .pillar-item p {
    font-size: clamp(0.85rem, 1.8vw, 0.9rem);
    color: var(--text-light);
    line-height: 1.6;
  }

  @media (max-width: 900px) {
    .about-banner { height: clamp(250px, 35vh, 350px); }
    .about-content { padding: clamp(2.5rem, 7vw, 4rem) clamp(1.5rem, 4%, 5rem); }
    .about-header-text { margin-bottom: 2rem; }
    .pillars-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin: 2.5rem 0 1.5rem; }
  }

  @media (max-width: 600px) {
    .about-banner { height: clamp(200px, 30vh, 280px); }
    .about-content { padding: clamp(2rem, 5vw, 3rem) clamp(1.2rem, 3%, 4rem); }
    .about-badge-float { bottom: clamp(1rem, 3vw, 1.5rem); right: clamp(1rem, 3vw, 1.5rem); }
    .about-header-text h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 1.5rem; }
    .about-content p { font-size: clamp(0.85rem, 1.8vw, 0.9rem); margin-bottom: 1rem; }
    .pillars-grid { grid-template-columns: 1fr; gap: 1.5rem; margin: 2rem 0 1rem; }
    .pillar-item { gap: 1rem; }
  }
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }
  .about-img-wrap {
    position: relative;
  }
  .about-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 4px;
    display: block;
  }
  .about-img-placeholder {
    width: 100%; aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--dark) 0%, var(--mid) 100%);
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    font-size: 4rem;
  }
  .about-badge-float {
    position: absolute; bottom: -20px; right: -20px;
    background: var(--gold);
    color: var(--white);
    padding: 1.2rem 1.5rem;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(193,143,89,0.4);
  }
  .about-badge-float strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
  }
  .about-badge-float span { font-size: 0.72rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
  .about-text .section-tag { text-align: left; }
  .about-text .section-tag::before { display: none; }
  .about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    font-weight: 700; color: var(--dark); line-height: 1.2;
    margin-bottom: 1.2rem;
  }
  .about-text h2 span { color: var(--gold); }
  .about-text p {
    color: var(--text-light); font-size: 0.95rem; line-height: 1.8;
    margin-bottom: 1rem;
  }
  .pillars-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
    margin-top: 2rem;
  }
  .pillar-item {
    display: flex; align-items: flex-start; gap: 0.8rem;
    padding: 1rem; background: var(--light); border-radius: 4px;
    border-left: 3px solid var(--gold);
    transition: box-shadow 0.3s;
  }
  .pillar-item:hover { box-shadow: 0 4px 16px rgba(193,143,89,0.12); }
  .pillar-icon { font-size: 1.4rem; }
  .pillar-item h4 { font-size: 0.88rem; font-weight: 700; color: var(--dark); margin-bottom: 0.2rem; }
  .pillar-item p { font-size: 0.8rem; color: var(--text-light); line-height: 1.5; }

  /* ── FORMACIÓN ── */
  .formacion-section {
    padding: 6rem 5%;
    background: var(--dark);
    position: relative; overflow: hidden;
  }
  .formacion-section::after {
    content: 'FORMACIÓN';
    position: absolute; right: -2rem; top: 50%;
    transform: translateY(-50%) rotate(90deg);
    font-family: 'Playfair Display', serif;
    font-size: 8rem; font-weight: 900;
    color: rgba(255,255,255,0.02);
    white-space: nowrap; pointer-events: none;
  }
  .formacion-tabs {
    display: flex; gap: 0; margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
  }
  .ftab {
    padding: 0.8rem 1.5rem;
    background: none; border: none;
    color: rgba(255,255,255,0.45);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase;
    cursor: pointer; transition: all 0.3s;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
  }
  .ftab.active { color: var(--gold); border-bottom-color: var(--gold); }
  .ftab:hover { color: rgba(255,255,255,0.8); }
  .ftab-content { display: none; }
  .ftab-content.active { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
  
  @media (max-width: 768px) {
    .formacion-tabs {
      margin-bottom: 1.5rem;
    }
    .ftab {
      padding: 0.6rem 1rem;
      font-size: 0.72rem;
      letter-spacing: 0.8px;
    }
    .ftab-content.active {
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 1rem;
    }
  }
  
  @media (max-width: 480px) {
    .ftab {
      padding: 0.5rem 0.8rem;
      font-size: 0.65rem;
    }
    .ftab-content.active {
      grid-template-columns: 1fr;
      gap: 0.8rem;
    }
  }
  .fcourse-card {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px; padding: 1.5rem;
    transition: all 0.3s;
  }
  .fcourse-card:hover {
    border-color: rgba(193,143,89,0.4);
    background: rgba(193,143,89,0.06);
    transform: translateY(-3px);
  }
  .fcourse-card .fc-icon { font-size: 1.8rem; margin-bottom: 0.8rem; }
  .fcourse-card h4 { font-size: 0.92rem; font-weight: 700; color: var(--white); margin-bottom: 0.4rem; }
  .fcourse-card p { font-size: 0.82rem; color: rgba(255,255,255,0.45); line-height: 1.6; }

  /* ── ASOCIADOS ── */
  .asociados-section {
    padding: clamp(4rem, 10vw, 6rem) clamp(2rem, 5%, 6rem);
    background: var(--white);
  }

  /* TARJETAS DE NAVEGACIÓN */
  .asoc-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
    max-width: 1200px;
    margin: clamp(3rem, 7vw, 4rem) auto;
  }

  .asoc-card {
    padding: clamp(2rem, 4vw, 2.5rem);
    background: linear-gradient(135deg, rgba(238, 243, 249, 0.8), rgba(238, 243, 249, 0.5));
    border: 1px solid rgba(45, 106, 191, 0.15);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .asoc-card:hover {
    border-color: var(--gold);
    background: linear-gradient(135deg, rgba(45, 106, 191, 0.08), rgba(91, 155, 213, 0.05));
    box-shadow: 0 8px 24px rgba(45, 106, 191, 0.15);
    transform: translateY(-5px);
  }

  .asoc-card h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.8rem;
  }

  .asoc-card p {
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    color: var(--text-light);
    margin-bottom: 1.2rem;
    line-height: 1.5;
  }

  .asoc-card .card-link {
    display: inline-block;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    transition: color 0.3s;
  }

  .asoc-card:hover .card-link {
    color: var(--gold-light);
  }

  /* CONTENEDORES DE CARRUSELES */
  .asoc-carrusel-container {
    display: none;
    animation: fadeIn 0.4s ease;
  }

  .asoc-carrusel-container.active {
    display: block;
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  /* Carrusel visible por defecto - sin tarjetas */
  .asoc-carrusel-area {
    display: flex !important;
    flex-direction: column;
    background: transparent;
    border-radius: 0;
    padding: clamp(3rem, 7vw, 4rem) 0;
    position: relative;
    overflow: visible;
    margin-bottom: 4rem;
  }

  .asoc-carrusel-area .carrusel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 clamp(2.5rem, 6vw, 4rem);
    box-sizing: border-box;
    position: relative;
  }

  .asoc-carrusel-area .carrusel-viewport {
    overflow: hidden;
    position: relative;
    width: 100%;
    flex-shrink: 0;
  }

  .asoc-carrusel-area .carrusel-track {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
  }

  .asoc-carrusel-area .carrusel-slide {
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    box-sizing: border-box;
    padding: clamp(1.5rem, 3vw, 2rem) 0;
  }

  .asoc-carrusel-area .carrusel-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
  }

  .asoc-carrusel-area .carrusel-img-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(45, 106, 191, 0.05), rgba(91, 155, 213, 0.05));
    border: 2px solid rgba(45, 106, 191, 0.1);
    border-radius: 12px;
    padding: clamp(1.5rem, 3vw, 2rem);
    transition: all 0.3s ease;
  }

  .asoc-carrusel-area .carrusel-img-wrap:hover {
    border-color: var(--gold);
    background: linear-gradient(135deg, rgba(45, 106, 191, 0.1), rgba(91, 155, 213, 0.1));
    box-shadow: 0 8px 24px rgba(45, 106, 191, 0.15);
  }

  .asoc-carrusel-area .carrusel-img-wrap a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .asoc-carrusel-area .carrusel-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
    filter: grayscale(100%);
  }

  .asoc-carrusel-area .carrusel-img-wrap:hover .carrusel-img {
    transform: scale(1.08);
    filter: grayscale(0%);
  }

  .asoc-carrusel-area .carrusel-caption {
    text-align: center;
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    color: var(--dark);
    font-weight: 600;
    margin-top: 0.5rem;
    line-height: 1.4;
  }

  /* Botones carrusel */
  .carrusel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gold);
    border: none;
    color: var(--white);
    width: clamp(40px, 6vw, 50px);
    height: clamp(40px, 6vw, 50px);
    border-radius: 50%;
    cursor: pointer;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(45, 106, 191, 0.35);
  }

  .carrusel-btn:hover:not(:disabled) {
    background: var(--gold-light);
    box-shadow: 0 6px 20px rgba(45, 106, 191, 0.5);
    transform: translateY(-50%) scale(1.1);
  }

  .carrusel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
  }

  .carrusel-prev { left: 0; }
  .carrusel-next { right: 0; }

  /* Dots indicadores */
  .carrusel-dots {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    margin-top: clamp(2rem, 4vw, 3rem);
  }

  .carrusel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(45, 106, 191, 0.2);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
  }

  .carrusel-dot:hover {
    background: rgba(45, 106, 191, 0.4);
  }

  .carrusel-dot.active {
    background: var(--gold);
    width: 14px;
    height: 14px;
    box-shadow: 0 2px 8px rgba(45, 106, 191, 0.3);
  }

  /* ESTILOS PARA TODOS LOS CARRUSELES ASOCIADOS */
  .asoc-carrusel-localidad,
  .asoc-carrusel-especialidades,
  .asoc-carrusel-profesionales {
    display: flex !important;
    flex-direction: column;
    background: transparent;
    border-radius: 0;
    padding: clamp(3rem, 7vw, 4rem) 0;
    position: relative;
    overflow: visible;
    margin-bottom: 4rem;
  }

  .asoc-carrusel-localidad .carrusel-track,
  .asoc-carrusel-especialidades .carrusel-track,
  .asoc-carrusel-profesionales .carrusel-track,
  .asoc-carrusel-area .carrusel-track {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
  }

  .asoc-carrusel-localidad .carrusel-slide,
  .asoc-carrusel-especialidades .carrusel-slide,
  .asoc-carrusel-profesionales .carrusel-slide,
  .asoc-carrusel-area .carrusel-slide {
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    box-sizing: border-box;
    padding: clamp(1.5rem, 3vw, 2rem) 0;
  }

  .asoc-carrusel-localidad .carrusel-img-wrap,
  .asoc-carrusel-especialidades .carrusel-img-wrap,
  .asoc-carrusel-profesionales .carrusel-img-wrap,
  .asoc-carrusel-area .carrusel-img-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(45, 106, 191, 0.05), rgba(91, 155, 213, 0.05));
    border: 2px solid rgba(45, 106, 191, 0.1);
    border-radius: 12px;
    padding: clamp(1.5rem, 3vw, 2rem);
    transition: all 0.3s ease;
  }

  .asoc-carrusel-localidad .carrusel-img-wrap:hover,
  .asoc-carrusel-especialidades .carrusel-img-wrap:hover,
  .asoc-carrusel-profesionales .carrusel-img-wrap:hover,
  .asoc-carrusel-area .carrusel-img-wrap:hover {
    border-color: var(--gold);
    background: linear-gradient(135deg, rgba(45, 106, 191, 0.1), rgba(91, 155, 213, 0.1));
    box-shadow: 0 8px 24px rgba(45, 106, 191, 0.15);
  }

  .asoc-carrusel-localidad .carrusel-img,
  .asoc-carrusel-especialidades .carrusel-img,
  .asoc-carrusel-profesionales .carrusel-img,
  .asoc-carrusel-area .carrusel-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
    filter: grayscale(100%);
  }

  .asoc-carrusel-localidad .carrusel-img-wrap:hover .carrusel-img,
  .asoc-carrusel-especialidades .carrusel-img-wrap:hover .carrusel-img,
  .asoc-carrusel-profesionales .carrusel-img-wrap:hover .carrusel-img,
  .asoc-carrusel-area .carrusel-img-wrap:hover .carrusel-img {
    transform: scale(1.08);
    filter: grayscale(0%);
  }

  .asoc-carrusel-localidad .carrusel-caption,
  .asoc-carrusel-especialidades .carrusel-caption,
  .asoc-carrusel-profesionales .carrusel-caption,
  .asoc-carrusel-area .carrusel-caption {
    text-align: center;
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    color: var(--dark);
    font-weight: 600;
    margin-top: 0.5rem;
    line-height: 1.4;
  }

  /* Beneficios - info lateral */
  .asociados-benefits {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
  }

  .asociados-info {
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(45, 106, 191, 0.05), rgba(91, 155, 213, 0.05));
    border: 1px solid rgba(45, 106, 191, 0.2);
    border-radius: 8px;
  }

  .asociados-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 1.5rem;
  }

  .asociados-info h3 span {
    color: var(--gold);
  }

  .asociados-info p {
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 1.5rem;
  }

  .cuota-box {
    background: var(--dark2);
    padding: 1.5rem;
    border-radius: 6px;
    color: var(--white);
    margin: 1.5rem 0;
  }

  .cuota-box strong {
    display: block;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    margin-bottom: 0.8rem;
  }

  .cuota-box p {
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  }

  @media (max-width: 1024px) {
    .asociados-benefits { justify-content: center; }
    .asociados-info { max-width: 100%; }
  }

  @media (max-width: 768px) {
    .asociados-section { padding: clamp(3rem, 7vw, 4rem) clamp(1.5rem, 4%, 5rem); }
    .asoc-carrusel-area { margin-bottom: 3rem; }
    .asociados-info { padding: 2rem; }
    .asociados-info h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
  }

  @media (max-width: 600px) {
    .asoc-carrusel-area .carrusel-wrapper { padding: 0 clamp(0.5rem, 2vw, 1rem); }
    .carrusel-btn { width: clamp(32px, 4vw, 40px); height: clamp(32px, 4vw, 40px); }
  }

  /* Track + viewport: misma lógica que .asoc-carrusel-static */
  .asoc-carrusel .carrusel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2.5rem;
    box-sizing: border-box;
    position: relative;
  }
  .asoc-carrusel .carrusel-viewport {
    overflow: hidden;
    position: relative;
    width: 100%;
    flex-shrink: 0;
  }
  .asoc-carrusel .carrusel-track {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
  }
  /* Slide = fila de N items (igual que asoc-carrusel-static) */
  .asoc-carrusel .carrusel-slide {
    flex-shrink: 0;
    display: flex;
    flex-direction: row;       /* ← items en fila horizontal */
    align-items: flex-start;
    box-sizing: border-box;
    gap: 8px;
    padding: 10px 0 0;
    overflow: hidden;
  }
  /* Cada item = imagen + caption en columna */
  .asoc-carrusel .carrusel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    gap: 4px;
  }
  .asoc-carrusel .carrusel-img-wrap {
    position: relative; border-radius: 8px; overflow: hidden;
    background: #fff; border: 1px solid #dce8f5;
    display: flex; align-items: center; justify-content: center;
    padding: 8px; box-sizing: border-box; flex-shrink: 0;
  }
  .asoc-carrusel .carrusel-img { width: 100%; height: 100%; object-fit: contain; display: block; }
  .asoc-carrusel .carrusel-caption {
    font-size: 0.68rem; font-weight: 600; color: var(--brand-blue-dark);
    text-align: center; margin: 0; padding: 0 0 8px;
    line-height: 1.3; width: 100%;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
  }
  .asoc-carrusel .carrusel-btn {
    position: absolute; top: 50%; transform: translateY(-60%);
    width: 2rem; height: 2rem; border-radius: 50%;
    background: var(--white); border: 1.5px solid #dce8f5;
    color: var(--brand-blue-dark); font-size: 0.85rem;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all 0.2s; z-index: 2; padding: 0;
  }
  .asoc-carrusel .carrusel-btn:hover:not(:disabled) { background: var(--gold); color: #fff; border-color: var(--gold); }
  .asoc-carrusel .carrusel-btn:disabled { opacity: 0.25; cursor: default; pointer-events: none; }
  .asoc-carrusel .carrusel-prev { left: 4px; }
  .asoc-carrusel .carrusel-next { right: 4px; }
  .asoc-carrusel .carrusel-dots {
    display: flex; justify-content: center; gap: 5px; padding: 6px 0 10px;
  }
  .asoc-carrusel .carrusel-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #c8d8ee; cursor: pointer; transition: all 0.2s;
  }
  .asoc-carrusel .carrusel-dot.active { background: var(--gold); transform: scale(1.3); }

  .asociados-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 700; color: var(--dark); line-height: 1.2; margin-bottom: 1rem;
  }
  .asociados-info h2 span { color: var(--gold); }
  .asociados-info p { color: var(--text-light); font-size: 0.92rem; line-height: 1.8; margin-bottom: 1rem; }
  .cuota-box {
    background: var(--dark); color: var(--white);
    border-radius: 4px; padding: 1.5rem 2rem;
    margin-top: 1.5rem;
    border-left: 4px solid var(--gold);
  }
  .cuota-box strong { font-family: 'Playfair Display', serif; font-size: 1.1rem; display: block; margin-bottom: 0.3rem; }
  .cuota-box p { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin: 0; }

  /* ── VOLUNTARIOS ── */
  .voluntarios-section {
    padding: 6rem 5%;
    background: var(--mid);
    position: relative; overflow: hidden;
  }
  .voluntarios-section .section-header h2 { color: var(--white); }
  .voluntarios-section .section-header p { color: rgba(255,255,255,0.55); }
  .vol-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem;
  }
  .vol-card {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px; padding: 2rem 1.5rem;
    text-align: center; transition: all 0.35s;
  }
  .vol-card:hover {
    background: rgba(193,143,89,0.1); border-color: rgba(193,143,89,0.4);
    transform: translateY(-4px);
  }
  .vol-card .vc-icon { font-size: 2.5rem; margin-bottom: 1rem; }
  .vol-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
  .vol-card p { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.6; }

  @media (max-width: 900px) {
    .nav-hamburger { display: block; }
    .nav-links { display: none; }
    .about-grid { grid-template-columns: 1fr; }
    .about-badge-float { right: 0; }
    .asociados-grid { grid-template-columns: 1fr; }
    .asociados-cards { grid-template-columns: 1fr 1fr; }
    .pillars-grid { grid-template-columns: 1fr; }
  }

  /* ── FOOTER ── */
  footer {
    background: var(--dark);
    color: rgba(255,255,255,0.5);
    padding: 3.5rem 5% 2rem;
    border-top: 1px solid rgba(255,255,255,0.07);
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
  }
  .footer-brand p {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 300px;
  }
  footer h4 {
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
  }
  footer ul { list-style: none; }
  footer ul li { margin-bottom: 0.6rem; }
  footer ul a {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.3s;
  }
  footer ul a:hover { color: var(--gold); }
  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 1.5rem;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem;
    font-size: 0.8rem;
  }
  .footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: 2px;
  }
  .footer-logo span { color: var(--gold); }

  .logo_asdefor{
    width: 8rem;
  }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.7s ease forwards;
  }
  .fade-up:nth-child(1) { animation-delay: 0.1s; }
  .fade-up:nth-child(2) { animation-delay: 0.2s; }
  .fade-up:nth-child(3) { animation-delay: 0.3s; }
  .fade-up:nth-child(4) { animation-delay: 0.4s; }

  .socios-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px;
  margin-top:40px;
}

.socio-card{
  background:#f5f5f5;
  padding:20px;
  border-radius:8px;
  text-align:center;
  border:1px solid #ddd;
  transition:all .3s;
}

.socio-card:hover{
  transform:translateY(-5px);
  box-shadow:0 8px 20px rgba(0,0,0,0.1);
}

.socio-card h4{
  margin-bottom:8px;
}

.socio-card span{
  font-size:14px;
  color:#777;
}

.mapa {
  padding: 7px;
  border-radius: 10px;
  background: linear-gradient(145deg,#ce9764,#1d1b16);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: all 0.25s ease;
}

.mapa iframe {
  width: 100%;
  height: 380px;
  border-radius: 12px;
  border: none;
  display: block;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.15);
}

.mapa:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(193,143,89,0.4);
}

.legal-page {
      max-width: 820px;
      margin: 0 auto;
      padding: 9rem 2rem 6rem;
    }
    .legal-page h1 {
      font-family: 'Playfair Display', serif;
      font-size: 2rem;
      color: var(--brand-blue-dark);
      text-align: center;
      text-transform: uppercase;
      letter-spacing: 2px;
      margin-bottom: 0.5rem;
    }
    .legal-subtitle {
      text-align: center;
      font-size: 0.85rem;
      color: var(--text-light);
      margin-bottom: 3rem;
    }
    .legal-page h2 {
      font-family: 'Playfair Display', serif;
      font-size: 1.1rem;
      color: var(--brand-blue-dark);
      margin: 2.5rem 0 0.75rem;
      padding-left: 0.9rem;
      border-left: 3px solid var(--gold);
    }
    .legal-page h3 {
      font-family: 'DM Sans', sans-serif;
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--brand-blue-dark);
      margin: 1.8rem 0 0.5rem;
    }
    .legal-page p {
      font-size: 0.93rem;
      color: var(--text);
      line-height: 1.85;
      margin-bottom: 1.2rem;
    }
    .legal-page ul {
      margin: 0 0 1.2rem 1.5rem;
    }
    .legal-page ul li {
      font-size: 0.93rem;
      color: var(--text);
      line-height: 1.8;
      margin-bottom: 0.3rem;
    }
    .legal-page a {
      color: var(--brand-blue-mid);
      text-decoration: none;
    }
    .legal-page a:hover { text-decoration: underline; }
    .legal-page hr {
      border: none;
      border-top: 1px solid #d0daea;
      margin: 2.5rem 0;
    }
    .legal-info-box {
      background: #eef3f9;
      border: 1px solid #c8d8ee;
      border-radius: 6px;
      padding: 1.4rem 1.8rem;
      margin: 1.5rem 0;
      font-size: 0.9rem;
      color: var(--text);
      line-height: 1.8;
    }
    .legal-info-box strong { color: var(--brand-blue-dark); }
    @media (max-width: 640px) {
      .legal-page { padding: 8rem 1.1rem 5rem; }
    }
#cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9999;
    background: var(--dark);
    border-top: 3px solid var(--gold);
    padding: 1.25rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
  }
  #cookie-banner p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.6;
    flex: 1;
    min-width: 220px;
    margin: 0;
  }
  #cookie-banner a {
    color: var(--gold-light);
    text-decoration: underline;
  }
  .cookie-banner-btns {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
  }
  .btn-cookie-accept {
    background: var(--gold);
    color: #fff;
    border: none;
    padding: 0.6rem 1.4rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.2s;
  }
  .btn-cookie-accept:hover { background: var(--gold-light); }
  .btn-cookie-reject {
    background: transparent;
    color: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 0.6rem 1.2rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    border-radius: 3px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
  }
  .btn-cookie-reject:hover {
    border-color: rgba(255,255,255,0.5);
    color: rgba(255,255,255,0.85);
  }

  /* ── CONTENIDO DE LA PÁGINA ── */
  .cookies-page {
    max-width: 820px;
    margin: 0 auto;
    padding: 9rem 2rem 6rem;
  }
  .cookies-page h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--brand-blue-dark);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
  }
  .cookies-subtitle {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 3rem;
  }
  .cookies-page p {
    font-size: 0.93rem;
    color: var(--text);
    line-height: 1.85;
    margin-bottom: 1.2rem;
  }
  .cookies-page h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--brand-blue-dark);
    margin: 2.5rem 0 0.75rem;
    padding-left: 0.9rem;
    border-left: 3px solid var(--gold);
  }
  .cookies-page hr {
    border: none;
    border-top: 1px solid #d0daea;
    margin: 2.5rem 0;
  }
  .cookies-page ul {
    margin: 0 0 1.2rem 1.5rem;
  }
  .cookies-page ul li {
    font-size: 0.93rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 0.3rem;
  }

  /* ── TABLA DE COOKIES ── */
  .cookie-category {
    border: 1px solid #c8d8ee;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    overflow: hidden;
  }
  .cookie-cat-header {
    background: #eef3f9;
    padding: 0.85rem 1.2rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--brand-blue-dark);
    border-bottom: 1px solid #c8d8ee;
  }
  .cookie-cat-desc {
    padding: 0.9rem 1.2rem;
    font-size: 0.87rem;
    color: var(--text-light);
    line-height: 1.75;
    border-bottom: 1px solid #c8d8ee;
  }
  .cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.84rem;
  }
  .cookie-table th {
    background: #f5f8fc;
    text-align: left;
    padding: 0.6rem 1rem;
    color: var(--brand-blue-dark);
    font-weight: 600;
    border-bottom: 1px solid #c8d8ee;
  }
  .cookie-table td {
    padding: 0.7rem 1rem;
    vertical-align: top;
    color: var(--text);
    border-bottom: 1px solid #eef3f9;
    line-height: 1.6;
  }
  .cookie-table tr:last-child td { border-bottom: none; }

  /* ── ESTADO CONSENTIMIENTO ── */
  .consent-status {
    background: #eef3f9;
    border: 1px solid #c8d8ee;
    border-radius: 6px;
    padding: 1.4rem 1.8rem;
    margin: 2rem 0;
  }
  .consent-status p { margin-bottom: 0.4rem; font-size: 0.88rem; }
  .consent-status strong { color: var(--brand-blue-dark); }
  .cs-actions {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
  }
  .cs-actions button {
    background: none;
    border: none;
    color: var(--brand-blue-mid);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
  }
  .cs-actions button:hover { color: var(--brand-blue-dark); }
  .cs-sep { color: #aaa; }

  .note-box {
    background: #fff8e6;
    border-left: 4px solid #f0b429;
    border-radius: 0 4px 4px 0;
    padding: 1rem 1.3rem;
    margin: 2rem 0;
    font-size: 0.88rem;
    color: #6b5000;
    line-height: 1.7;
  }

  @media (max-width: 640px) {
    .cookie-table { display: block; overflow-x: auto; }
    .cookies-page { padding: 8rem 1.1rem 5rem; }
    #cookie-banner { flex-direction: column; align-items: flex-start; }
    .cookie-banner-btns { width: 100%; }
    .btn-cookie-accept, .btn-cookie-reject { flex: 1; text-align: center; }
  }

/* separación del nav fijo */
@media (max-width: 768px){

  .legal-container{
    margin-top: 120px;
    padding: 0 18px;
  }

  .legal-container h1{
    font-size: 1.7rem;
  }

  .legal-container h2{
    font-size: 1.3rem;
  }

}
  /* ── MOBILE ── */
  @media (max-width: 900px) {
    .nav-links { display: none; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .platforms-grid { grid-template-columns: 1fr 1fr; }
    .sedes-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    section { padding: 4rem 5%; }
    .section-header h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
    .hero-img { width: 100%; clip-path: none; opacity: 0.18; }
    .hero-content { max-width: 100%; padding: 0 5%; }
    .hero h1 { font-size: clamp(2rem, 6vw, 3.5rem); }
  }
  @media (max-width: 768px) {
    .contact-left { gap: 2rem; }
    .contact-info h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
    .mapa iframe { height: 350px; }
    .contact-form-wrap { padding: 2rem; }
    .form-row { grid-template-columns: 1fr; gap: 0.8rem; }
  }
  @media (max-width: 600px) {
    .slider-content { padding: 1.5rem 4%; }
    .slider-content h1 { font-size: clamp(1.8rem, 6vw, 3rem); margin-bottom: 1rem; }
    .slider-content p { font-size: clamp(0.85rem, 1.8vw, 0.95rem); margin-bottom: 1.5rem; }
    .hero-btns { gap: 0.6rem; }
    .slider-btn { width: clamp(40px, 7vw, 50px); height: clamp(40px, 7vw, 50px); font-size: 1.2rem; }
    .slider-prev { left: 0.8rem; }
    .slider-next { right: 0.8rem; }
    .slider-dots { bottom: 1rem; gap: 0.6rem; }
    .slider-dot { width: 10px; height: 10px; }
    .platforms-grid { grid-template-columns: 1fr; }
    .sedes-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .cta-band { text-align: center; justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 1rem; align-items: flex-start; }
    nav { padding: 0 4%; height: 5rem; }
    .mobile-menu { top: 5rem; }
    .contact-info h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); margin-bottom: 1rem; }
    .contact-item { padding: 1rem; }
    .mapa iframe { height: 300px; }
    .contact-form-wrap { padding: 1.5rem; }
    .contact-form-wrap h3 { font-size: 1.2rem; }
    .form-row { gap: 0.6rem; }
    .nav-jump-to-top {
      width: 36px;
      height: 36px;
      font-size: 0.9rem;
      margin-right: 0.3rem;
    }
  }
  @media (max-width: 400px) {
    nav { padding: 0 3%; height: 4.5rem; }
    .mobile-menu { top: 4.5rem; }
    .hero h1 { font-size: 1.8rem; }
    .btn-primary, .btn-outline { padding: 11px 20px; font-size: 0.8rem; }
    .contact-form-wrap { padding: 1.2rem; }
    .contact-form-wrap h3 { font-size: 1.1rem; }
    .contact-item { padding: 0.8rem; gap: 0.8rem; }
    .contact-item-icon { width: 36px; height: 36px; font-size: 1rem; }
    .mapa iframe { height: 250px; }
    .form-group input,
    .form-group select,
    .form-group textarea {
      padding: 10px 12px;
      font-size: 0.85rem;
    }
    .form-group textarea { min-height: 100px; }
    .nav-jump-to-top {
      width: 32px;
      height: 32px;
      font-size: 0.8rem;
      margin-right: 0.2rem;
    }
  }

/* ══ ASOCIADOS V2 ══ */

/* Layout: columna carruseles + columna info sticky */
.asociados-grid-v2 {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 4rem;
  align-items: start;
}
.asociados-col-carruseles {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  min-width: 0; /* evita overflow en flex */
}
.asoc-bloque {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #d8e6f5;
  box-shadow: 0 2px 12px rgba(26,58,107,0.06);
  min-width: 0;
}
.asoc-card--static {
  background: var(--dark);
  border-radius: 0;
  padding: 1.2rem 1.5rem;
  text-align: left;
  cursor: default;
}
.asoc-card--static:hover { transform: none; box-shadow: none; }
.asoc-card--static h4 {
  font-size: 0.95rem; font-weight: 700;
  color: var(--white); margin-bottom: 0.2rem;
}
.asoc-card--static p {
  font-size: 0.8rem; color: rgba(255,255,255,0.5);
  line-height: 1.5; margin: 0;
}

/* ── CARRUSEL ── */
.asoc-carrusel-static {
  position: relative;
  background: var(--light);
  /* En móvil el JS usa el ancho real del contenedor */
}

/* Wrapper para centrar el viewport calculado */
.carrusel-wrapper {
  display: flex;
  align-items: flex-start; /* alinear arriba para que el caption no flote */
  justify-content: center;
  padding: 0 2.5rem;
  box-sizing: border-box;
  position: relative;
}

/* Viewport: ancho calculado por JS (4 items exactos) */
.carrusel-viewport {
  overflow: hidden;   /* corta track en X e Y — evita captions fantasma */
  position: relative;
  width: 100%;
  flex-shrink: 0;
}

.carrusel-track {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Slide: fila de items */
.carrusel-slide {
  flex-shrink: 0;
  overflow: hidden;   /* contiene los captions dentro del slide */
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  box-sizing: border-box;
  /* gap y padding controlados por JS vía variables CSS */
  gap: 10px;
  padding: 14px 0 6px;
}

/* Item */
.carrusel-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  /* width fijado por JS */
}

/* Cuadro imagen cuadrado */
.carrusel-img-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce8f5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-sizing: border-box;
  flex-shrink: 0;
  /* width y height fijados por JS */
}
.carrusel-img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.carrusel-img-placeholder { opacity: 0; }
.carrusel-placeholder-label {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-size: 0.6rem; font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.5px; text-transform: uppercase;
  pointer-events: none; gap: 3px;
}
.carrusel-placeholder-label::before {
  content: '+'; font-size: 1.2rem;
  color: var(--gold); font-weight: 300; line-height: 1;
}
.carrusel-img-wrap:has(.carrusel-img[src]:not([src=""])) .carrusel-placeholder-label { display: none; }
.carrusel-img-wrap:has(.carrusel-img[src]:not([src=""])) .carrusel-img { opacity: 1; }

.carrusel-caption {
  font-size: 0.68rem; font-weight: 600;
  color: var(--brand-blue-dark);
  font-family: 'DM Sans', sans-serif;
  text-align: center; margin: 0;
  padding-bottom: 8px;
  line-height: 1.3;
  width: 100%;
  /* Limitar a 2 líneas máximo para que no empuje el layout */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Botones — dentro del wrapper, a los lados del viewport */
.carrusel-btn {
  position: absolute;
  top: 50%; transform: translateY(-60%);
  background: var(--white);
  border: 1px solid #c8d8ee;
  color: var(--brand-blue-dark);
  width: 2rem; height: 2rem;
  border-radius: 50%; font-size: 0.85rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  flex-shrink: 0;
}
.carrusel-btn:hover:not(:disabled) { background: var(--gold); color: #fff; border-color: var(--gold); }
/* Estado deshabilitado */
.carrusel-btn:disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}
.carrusel-prev { left: 4px; }
.carrusel-next { right: 4px; }

/* Dots */
.carrusel-dots {
  display: flex; justify-content: center;
  gap: 5px; padding: 6px 0 10px;
}
.carrusel-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #c8d8ee; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.carrusel-dot.active { background: var(--gold); transform: scale(1.3); }

/* Info lateral sticky */
.asociados-info--sticky { position: sticky; top: 8rem; }

/* ── RESPONSIVE ── */

/* Tablet (≤ 1100px): columna info va abajo */
@media (max-width: 1100px) {
  .asociados-grid-v2 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .asociados-info--sticky { position: static; }
}

/* Tablet pequeña (≤ 768px) */
@media (max-width: 768px) {
  .asociados-col-carruseles { gap: 1.8rem; }
  .carrusel-wrapper { padding: 0 2.2rem; }
  .carrusel-btn { width: 1.8rem; height: 1.8rem; font-size: 0.75rem; }
}

/* Móvil (≤ 480px) */
@media (max-width: 480px) {
  .carrusel-wrapper { padding: 0 1.8rem; }
  .carrusel-btn { width: 1.6rem; height: 1.6rem; font-size: 0.65rem; }
  .asoc-card--static { padding: 1rem 1.2rem; }
  .asoc-card--static h4 { font-size: 0.88rem; }
  .asociados-col-carruseles { gap: 1.2rem; }
  .asoc-bloque { border-radius: 4px; }
  .cuota-box { padding: 1.2rem 1.2rem; }
}

/* ── SERVICIOS CON BOTÓN FIJO ── */
.services {
  padding: 6rem 5%;
  background: var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5px;
  background: rgba(0,0,0,0.07);
  border: 1.5px solid rgba(0,0,0,0.07);
}

.service-card {
  background: var(--white);
  padding: 2.5rem 2rem 5.5rem; /* Añadir espacio inferior para botón fijo */
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card-body {
  flex: 1;
}

.service-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.4s;
}

.service-card:hover { background: var(--dark); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 52px; height: 52px;
  background: rgba(193,143,89,0.1);
  border: 1px solid rgba(193,143,89,0.3);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  transition: all 0.35s;
}

.service-card:hover .service-icon {
  background: rgba(193,143,89,0.2);
  border-color: var(--gold);
}

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--dark);
  transition: color 0.35s;
}

.service-card:hover h3 { color: var(--white); }

.service-card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  transition: color 0.35s;
}

.service-card:hover .service-card-body p { color: rgba(255,255,255,0.6); }

.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  position: absolute; bottom: 1.5rem; left: 2rem; right: 2rem;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: gap 0.3s;
}

.service-link:hover { gap: 10px; }

/* ── ACORDEONES ASOCIADOS ── */
.asoc-card-accordion {
  padding: 1.8rem;
  background: linear-gradient(135deg, rgba(238, 243, 249, 0.8), rgba(238, 243, 249, 0.5));
  border: 1px solid rgba(45, 106, 191, 0.15);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.asoc-card-accordion:hover {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(45, 106, 191, 0.08), rgba(91, 155, 213, 0.05));
  box-shadow: 0 8px 24px rgba(45, 106, 191, 0.15);
}

.asoc-card-header {
  margin-bottom: 1rem;
}

.asoc-card-header h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.asoc-card-header p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}

.asoc-toggle {
  display: inline-block;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.asoc-accordion:hover .asoc-toggle {
  color: var(--gold-light);
}

.asoc-arrow {
  display: inline-block;
  transition: transform 0.3s;
  margin-left: 0.5rem;
}

.asoc-card-accordion.open .asoc-arrow {
  transform: rotate(180deg);
}

/* Carrusel dentro del acordeón */
.asoc-carrusel-accordion {
  padding: 2rem;
  background: var(--light);
  border: 1px solid rgba(45, 106, 191, 0.1);
  border-radius: 8px;
  margin-bottom: 2rem;
}

.asoc-carrusel-accordion.visible {
  display: block !important;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Carrusel dentro del acordeón con estructura similar */
.asoc-carrusel-accordion .carrusel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(0.5rem, 2vw, 2.5rem);
  box-sizing: border-box;
  position: relative;
}

@media (max-width: 768px) {
  .asoc-carrusel-accordion .carrusel-wrapper {
    flex-direction: row;
    padding: 0;
    gap: 0;
    position: relative;
    height: 100%;
  }
}

.asoc-carrusel-accordion .carrusel-viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
  flex-shrink: 0;
}

.asoc-carrusel-accordion .carrusel-track {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.asoc-carrusel-accordion .carrusel-slide {
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  box-sizing: border-box;
  padding: 10px 0 6px;
}

.asoc-carrusel-accordion .carrusel-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.asoc-carrusel-accordion .carrusel-img-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce8f5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.asoc-carrusel-accordion .carrusel-img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}

.asoc-carrusel-accordion .carrusel-caption {
  font-size: 0.68rem; font-weight: 600;
  color: var(--brand-blue-dark);
  text-align: center; margin: 0;
  padding-bottom: 8px;
  line-height: 1.3;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.asoc-carrusel-accordion .carrusel-btn {
  position: absolute;
  top: 50%; transform: translateY(-60%);
  background: var(--white);
  border: 1px solid #c8d8ee;
  color: var(--brand-blue-dark);
  width: 2rem; height: 2rem;
  border-radius: 50%; font-size: 0.85rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .asoc-carrusel-accordion .carrusel-btn {
    position: relative;
    top: auto;
    transform: none;
    margin: 0 0.5rem;
  }
  
  .asoc-carrusel-accordion .carrusel-prev,
  .asoc-carrusel-accordion .carrusel-next {
    position: relative;
    left: auto;
    right: auto;
  }
}

.asoc-carrusel-accordion .carrusel-btn:hover:not(:disabled) { 
  background: var(--gold); 
  color: #fff; 
  border-color: var(--gold); 
}

.asoc-carrusel-accordion .carrusel-btn:disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}

.asoc-carrusel-accordion .carrusel-prev { left: 4px; }
.asoc-carrusel-accordion .carrusel-next { right: 4px; }

@media (max-width: 768px) {
  .asoc-carrusel-accordion {
    padding: 1.5rem;
  }
  
  .asoc-carrusel-accordion .carrusel-wrapper {
    flex-direction: row;
    padding: 0;
    gap: 0;
    position: relative;
  }
  
  .asoc-carrusel-accordion .carrusel-viewport {
    flex: 1;
    order: 2;
  }
  
  .asoc-carrusel-accordion .carrusel-dots {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    order: unset;
  }
  
  .asoc-carrusel-accordion .carrusel-prev {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    order: 1;
    margin: 0;
    z-index: 10;
  }
  
  .asoc-carrusel-accordion .carrusel-next {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    order: 3;
    margin: 0;
    z-index: 10;
  }
}

.asoc-carrusel-accordion .carrusel-dots {
  display: flex; 
  justify-content: center;
  gap: 5px; 
  padding: 6px 0 10px;
}

.asoc-carrusel-accordion .carrusel-dot {
  width: 6px; height: 6px; 
  border-radius: 50%;
  background: #c8d8ee; 
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.asoc-carrusel-accordion .carrusel-dot.active { 
  background: var(--gold); 
  transform: scale(1.3); 
}

/* Responsive servicios */
@media (max-width: 600px) {
  .service-card {
    padding: 2rem 1.5rem 4.5rem;
  }
  .service-link {
    font-size: 0.75rem;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1rem;
  }
}

/* About Section - Bloques inferiores */
.about-section .campaign-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

.campaign-card {
  padding: 2rem;
  background: var(--light);
  border-radius: 4px;
  border-top: 3px solid var(--gold);
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.campaign-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--dark);
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
}

.campaign-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.75;
  margin: 0;
}

.campaign-card p.tagline {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
}

@media (max-width: 768px) {
  .about-section .campaign-grid {
    margin-top: 3rem;
    margin-bottom: 2rem;
    gap: 1.5rem;
  }
  
  .campaign-card {
    padding: 1.5rem;
    margin-bottom: 0.5rem;
  }
}

/* ── RESPONSIVE OPTIMIZATION ── */
/* Mobile First Approach */

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }
  
  nav {
    padding: 0 2%;
    height: 4.5rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .nav-hamburger {
    display: block;
  }
  
  .mobile-menu {
    top: 4.5rem;
    padding: 1rem 3%;
  }
  
  .section-header {
    padding: 2rem 1.5rem;
  }
  
  .section-header h2 {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }
  
  h1, h2, h3 {
    word-break: break-word;
  }
  
  .contact-item {
    padding: 1rem;
    gap: 0.8rem;
  }
  
  .contact-item-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  nav {
    padding: 0 3%;
  }
  
  .nav-hamburger {
    display: block;
  }
  
  .nav-links {
    display: none;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-left {
    order: 2;
  }
  
  .contact-right {
    order: 1;
  }
}

@media (min-width: 769px) {
  .nav-hamburger {
    display: none;
  }
  
  .mobile-menu {
    display: none;
  }
}

@media (max-width: 1024px) {
  .section-image img {
    max-height: 350px;
  }
}

/* ── SWIPE GESTURES ── */
.asoc-carrusel-accordion .carrusel-track {
  touch-action: pan-y pinch-zoom;
  cursor: grab;
}

.asoc-carrusel-accordion .carrusel-track:active {
  cursor: grabbing;
}

@media (max-width: 768px) {
  .asoc-carrusel-accordion .carrusel-track {
    touch-action: pan-y;
  }
}