* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a {
    text-decoration: none;
}
#intro-loader{
    position:fixed;
    inset:0;
    z-index:999999;
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:hidden;
    background:#dfeeff;
    transition:opacity .5s ease, visibility .5s ease;
}
#intro-loader.hide{
    opacity:0;
    visibility:hidden;
    pointer-events:none;
}
.loader-bg{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:0;
    animation:bgFade .6s ease forwards;
}
@keyframes bgFade{
    from{ opacity:0; }
    to{ opacity:1; }
}
.loader-logo{
    position:relative;
    width:420px;
    height:420px;
    z-index:2;
}
.logo-ring{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:contain;
    z-index:1;
    opacity:0;
    animation:ringFade .5s ease forwards;
    animation-delay:1.1s;
}
@keyframes ringFade{
    from{ opacity:0; }
    to{ opacity:1; }
}
.logo-center{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:contain;
    z-index:2;
    opacity:0;
    transform:scale(1.5);
    will-change:transform,opacity;
    backface-visibility:hidden;
    animation:
        logoFade .7s ease-in-out .4s forwards,
        centerZoom 1.8s cubic-bezier(.18,.85,.25,1) 1.1s forwards;
}
@keyframes logoFade{
    0%{ opacity:0; }
    20%{ opacity:.08; }
    40%{ opacity:.25; }
    60%{ opacity:.55; }
    80%{ opacity:.82; }
    100%{ opacity:1; }
}
@keyframes centerZoom {
    0%   { transform: scale(1.50); }
    10%  { transform: scale(1.475); }
    20%  { transform: scale(1.435); }
    30%  { transform: scale(1.375); }
    40%  { transform: scale(1.315); }
    50%  { transform: scale(1.255); }
    60%  { transform: scale(1.195); }
    70%  { transform: scale(1.135); }
    80%  { transform: scale(1.075); }
    90%  { transform: scale(1.02); }
    100% { transform: scale(1); }
}
body {
    background-color: #ffffff;
    overflow-x: hidden;
    background-image: url('../img/Palm_Ice_Arena_Body.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
}
:root{
    --header-height: 135px;
}
/* STICKY CONTAINER */
.sticky-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: transparent;
    box-shadow: rgba(0, 0, 0, 0.20) 0px 25px 20px -20px;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
    background-color:#fff;
    border-bottom:1px solid #e5e7eb;
    padding:8px 0;
    width:100%;
}
.top-bar-container {
    max-width:1280px;
    margin:0 auto;
    padding:0 11px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:16px;
}
.partners-logos {
    display:flex;
    align-items:center;
    gap:24px;
    flex-wrap:wrap;
    padding: 0px 0px 0px 45px;
}
.partner-logo {
    height:38px;
    width:auto;
    object-fit:contain;
    filter:saturate(1.5);
}
.partners-logos .divider-line {
    display:inline-block;
    width:1px;
    height:30px;
    background-color:#d1d5db;
    margin:0 12px;
    flex-shrink:0;
}
.partners-logos a {
    display:inline-flex;
    align-items:center;
    text-decoration:none;
    transition:transform .3s ease;
}
.partners-logos a:hover {
    transform:scale(1.15);
}
.partners-logos a .partner-logo {
    display:block;
    transition:filter .3s ease;
}
.top-right-actions {
    display:flex;
    align-items:center;
    justify-content: center;
    gap:20px;
}
.social-icon {
    position:relative;
    width:32px;
    height:32px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}
.social-icon-img {
    width:100%;
    height:100%;
    object-fit:contain;
}
.top-right-actions .social-icon {
    width:38px;
    height:38px;
}
.social-icon-img {
    width:100%;
    height:100%;
    object-fit:contain;
    border-radius: 5px;
}
.top-right-actions .social-icon-img {
    border-radius:4px;
}
.contact-us-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    padding: 0 10px;
    color: #183254 !important;
    font-family: "Barlow", sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    border-radius: 4px;
    white-space: nowrap;
    background-color: transparent;
    transition: background-color 0.3s ease, color 0.3s ease;
    flex-shrink:0;
}
.contact-us-btn::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 0;
    height: 2px;
    background: #ffffff;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}
.contact-us-btn:hover {
    background-color: #183254;
    color: #ffffff !important;
}
.contact-us-btn:hover::after {
    width: calc(100% - 24px);
}
.contact-us-btn:focus-visible {
    outline: 2px solid #2952ba;
    outline-offset: 2px;
}
header {
    position: relative;
    background-color: #ffffff;
    width: 100%;
}
nav {
    font-family: "Barlow", sans-serif;
    font-weight: 500;
    font-style: normal;
}
.menu-link {
    color: rgb(23, 48, 96) !important;
    background: #ffffff !important;
    transition: color 0.3s ease, background-color 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 4px !important;
    min-width: 0 !important;
    height: 100% !important;
    font-family: "Barlow", sans-serif;
    font-weight: 500 !important;
    font-style: normal !important;
    line-height: 18px !important;
    text-align: center !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    font-size: 0.95rem !important;
    white-space: nowrap;
}
.menu-link:hover {
    color: #183254 !important;
    background: #ffffff !important;
}
.nav-link-container:hover > .menu-link {
    color: #ffffff !important;
    background: #183254 !important;
}
.nav-link-container:hover > .menu-link:hover {
    color: #ffffff !important;
    background: #183254 !important;
}
.menu-link.active {
    color: #ffffff !important;
    background: #183254 !important;
}
.desktop-menu > a.menu-link,
.nav-link-container > a.menu-link {
    background: #ffffff !important;
    background-image: none !important;
    box-shadow: none !important;
    border: none !important;
}
.desktop-menu > a.menu-link:hover,
.nav-link-container > a.menu-link:hover {
    background: #183254 !important;
    background-image: none !important;
    color: #ffffff !important;
}
.nav-link {
    position: relative;
    color: rgb(23, 48, 96);
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.nav-link::after {
    content: "";
    position: absolute;
    height: 2px;
    transition: all 0.3s ease;
}
.nav-link:hover {
    color: #FFFFFF;
}
.style-2::after {
    content:"";
    position:absolute;
    left:50%;
    bottom:20px;
    width:0;
    height:2px;
    transform:translateX(-50%);
    background:#fff;
    transition:width .3s ease;
}
.style-2:hover::after,.style-2.active::after,.nav-link-container:hover>.style-2::after {
    width:calc(100% - 24px);
}
.nav-link.active {
    color: #ffffff;
}
.desktop-menu-arrow {
    display: inline-block;
    font-size: 0.6rem;
    color: inherit;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    pointer-events: none;
    margin-left: 0;
    line-height: 1;
    transform: rotate(0deg);
    transform-origin: center center;
}
.nav-link-container:hover > .nav-link .desktop-menu-arrow {
    transform: rotate(180deg);
}
.nav-link.active .desktop-menu-arrow {
    transform: rotate(180deg);
}
.nav-link-container:hover > .nav-link.active .desktop-menu-arrow {
    transform: rotate(180deg);
}

.nav-link-container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: stretch;
}
.nav-link-container:hover > a:not(.menu-link) {
    background: #183254;
    color: #fff !important;
}
.submenu {
    position: absolute;
    top: calc(100% + 38px);
    left: 0;
    background: #f3f3f3;
    min-width: 290px;
    padding: 8px 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;
    z-index: 999;
}
.submenu a {
    display: block;
    margin: 0 20px;
    color: #173060;
    transition:
        background-color .25s ease,
        color .25s ease,
        padding-left .25s ease;
}
.submenu-hockey {
    min-width: 560px;
    width: 560px;
    padding: 12px 20px;
}
.submenu-hockey-grid {
    display: flex;
    gap: 5px;
    justify-content: space-between;
}
.submenu-hockey-column {
    flex: 1;
    min-width: 250px;
}
.submenu-hockey-section {
    margin-bottom: 16px;
}
.submenu-hockey-section-title {
    display: inline-block;
    padding: 0 20px;
    color: #173060;
    font-size: 17px;
    font-weight: 500;
    line-height: 25px;
    letter-spacing: normal;
    text-transform: none;
    background-color: transparent;
    font-family: "Barlow", sans-serif;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    margin-bottom: 8px;
}
.submenu-hockey a {
    display: block;
    margin: 0 20px;
    padding: 5px 0 5px 12px;
    color: #4b5563;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    font-family: "Barlow", sans-serif;
}
.submenu-hockey a:hover {
    background: #173060;
    color: #FFFFFF;
    padding-left: 18px;
}
.submenu-newrink {
    min-width: 400px;
    width: 400px;
    padding: 12px 20px;
}
.submenu-newrink-section {
    margin-bottom: 8px;
}
.submenu-newrink-section-title {
    display: inline-block;
    padding: 0 20px;
    color: #173060;
    font-size: 20px;
    font-weight: 500;
    line-height: 25px;
    letter-spacing: normal;
    text-transform: none;
    background-color: transparent;
    font-family: "Barlow", sans-serif;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    margin-bottom: 8px;
}
.submenu-newrink a {
    display: block;
    margin: 0 20px;
    padding: 5px 0 5px 12px;
    color: #4b5563;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    font-family: "Barlow", sans-serif;
}
.submenu-newrink a:hover {
    background: #183254;
    color: #FFFFFF;
    padding-left: 18px;
}
.submenu-academy {
    min-width: 400px;
    width: 400px;
    padding: 12px 20px;
}
.submenu-academy-section {
    margin-bottom: 8px;
}
.submenu-academy-section-title {
    display: inline-block;
    padding: 0 20px;
    color: #173060;
    font-size: 15px;
    font-weight: 500;
    line-height: 25px;
    letter-spacing: normal;
    text-transform: none;
    background-color: transparent;
    font-family: "Barlow", sans-serif;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    margin-bottom: 8px;
}
.submenu-academy a {
    display: block;
    margin: 0 20px;
    padding: 5px 0 5px 12px;
    color: #4b5563;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    font-family: "Barlow", sans-serif;
}
.submenu-academy a:hover {
    background: #183254;
    color: #FFFFFF;
    padding-left: 18px;
}
.nav-link-container {
    height: 100%;
    position: relative;
    display: flex;
    align-items: stretch;
}
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 290px;
    background: #FFFFFF;
    border-top: 5px solid #183254;
    padding: 8px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
    z-index: 999;
}
.nav-link-container:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-link-container:hover > .menu-link,
.nav-link-container:hover > a:not(.menu-link) {
    background: #183254!important;
    color: #ffffff !important;
}
.nav-link-container:hover > .menu-link {
    background: #183254 !important;
    color: #ffffff !important;
}
.nav-link-container:hover > a:not(.menu-link) {
    background: #183254 !important;
    color: #ffffff !important;
}
.submenu a {
    display: block;
    padding: 8px 22px;
    color: #4b5563;
    font-size: 14px;
    font-weight: 500;
    transition: all .2s ease;
    font-family: "Barlow", sans-serif;
}
.submenu a:hover {
    background: #183254;
    color: #FFFFFF;
    padding-left: 28px;
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    z-index: 55;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}
.mobile-menu-dropdown.open {
    max-height: 85vh;
    overflow-y: auto;
}
.mobile-menu-container {
    padding: 0;
    border-top: 1px solid #e5e7eb;
    max-height: calc(85vh - 70px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.mobile-menu-container::-webkit-scrollbar,
.mobile-submenu::-webkit-scrollbar {
    width: 6px;
}
.mobile-menu-container::-webkit-scrollbar-thumb,
.mobile-submenu::-webkit-scrollbar-thumb {
    background: rgba(41, 82, 186, 0.3);
    border-radius: 3px;
}
.mobile-menu-container::-webkit-scrollbar-track,
.mobile-submenu::-webkit-scrollbar-track {
    background: transparent;
}
.mobile-home-icon {
    font-size: 0.95rem;
    color: #005da4;
    margin-right: 8px;
    transition: color 0.25s ease;
}

/* ✅ FIX ALINEACIÓN VERTICAL: base común para enlaces de primer nivel */
.mobile-nav-link-left,
.mobile-nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px 48px 14px 16px; /* padding-right reserva espacio al chevron */
    font-size: 1rem;
    font-weight: 600;
    color: #183254;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.25s ease;
    cursor: pointer;
    text-align: left;
    position: relative;
    box-sizing: border-box;
}
.mobile-nav-link-left {
    font-family: "Bai Jamjuree", sans-serif;
}
.mobile-nav-link {
    font-family: "Barlow", sans-serif;
}
.mobile-nav-link-left:hover,
.mobile-nav-link-left.active,
.mobile-nav-link:hover,
.mobile-nav-parent.is-open > .mobile-nav-link {
    background-color: #183254;
    color: #ffffff !important;
}
.mobile-nav-link-left:hover .mobile-home-icon,
.mobile-nav-link-left.active .mobile-home-icon {
    color: #ffffff;
}

/* ✅ FIX ALINEACIÓN VERTICAL: todos los chevrons en la MISMA coordenada X */
.mobile-link-arrow,
.mobile-toggle-icon-arrow,
.mobile-toggle-icon > i {
    position: absolute;
    right: 16px;                /* ← misma X para todos */
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    flex-shrink: 0;
    color: #005da4;
    font-size: 0.85rem;
    line-height: 1;
    transition: transform 0.3s ease, color 0.3s ease;
    pointer-events: none;
}
.mobile-nav-link-left:hover .mobile-link-arrow,
.mobile-nav-link-left.active .mobile-link-arrow,
.mobile-nav-parent.is-open .mobile-toggle-icon > i {
    color: #ffffff;
}

/* ✅ FIX ALINEACIÓN VERTICAL: el botón toggle cubre toda la fila
   (así el click abre/cierra desde cualquier punto y el icono
   se posiciona contra el borde derecho del enlace, no del botón) */
.mobile-toggle-icon {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
    z-index: 5;
    border-radius: 0;
    background: transparent;
}
.mobile-toggle-icon:hover {
    background: transparent;
}

/* Contenedor padre: relative para anclar los chevrons absolute */
.mobile-nav-parent {
    position: relative;
    border-bottom: 1px solid #e5e7eb;
    display: block;
}

/* ✅ FIX ALINEACIÓN VERTICAL: rotación manteniendo el centrado vertical */
.mobile-nav-parent.is-open .mobile-toggle-icon-arrow,
.mobile-nav-parent.is-open .mobile-toggle-icon > i,
.mobile-toggle-icon.open i {
    transform: translateY(-50%) rotate(180deg);
}

/* Submenús */
.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #f8f9fb;
}
.mobile-submenu.open {
    max-height: 1200px;
    overflow-y: auto;
}
.mobile-submenu a {
    display: block;
    padding: 11px 20px 11px 30px;
    font-size: 0.88rem;
    font-weight: 500;
    font-family: "Barlow", sans-serif;
    color: #4b5563;
    border-left: 3px solid transparent;
    transition: all 0.25s ease;
    text-transform: none;
}
.mobile-submenu a:hover {
    background-color: #005da4;
    color: #ffffff !important;
    border-left-color: #D4AF37;
    padding-left: 35px;
}
.mobile-submenu .submenu-section-title-mobile {
    display: block;
    padding: 12px 20px 6px 20px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #183254;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: "Bai Jamjuree", sans-serif;
    background: #eef3fc;
    border-top: 1px solid #e5e7eb;
}
.mobile-submenu .submenu-section-title-mobile:first-child {
    border-top: none;
}
.mobile-submenu .submenu-item-indent {
    padding-left: 30px;
}

/* ============================================================
   HEADER - Acciones
   ============================================================ */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
.header-nav-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 18px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #173060;
    transition: background-color 0.25s ease, color 0.25s ease;
    border-top: 5px solid #FFFFFF;
    text-decoration: none;
    font-family: "Barlow", sans-serif;
    cursor: pointer;
}
.header-nav-link:hover {
    background: #183254;
    color: #fff !important;
}
.header-nav-link.active {
    background: #183254;
    color: #fff !important;
}
.header-nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 20px;
    width: 0;
    height: 2px;
    transform: translateX(-50%);
    background: #FFFFFF;
    transition: width 0.3s ease;
}
.header-nav-link:hover::after,
.header-nav-link.active::after {
    width: calc(100% - 24px);
}
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 60;
    position: relative;
}
.hamburger-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #183254;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}
.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}
.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}
.header-container {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    height: 80px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    max-width: 1280px;
    margin: 0 auto;
    background-color: #ffffff;
}
.desktop-nav-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
}
.logo-wrapper {
    display: flex;
    align-items: center;
}

/* ============================================================
   ✅ LOGO MOBILE (header left)
   ============================================================ */
.mobile-header-logo {
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.mobile-header-logo img {
    display: block;
    height: 50px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
}
.mobile-header-logo:hover img {
    transform: scale(1.05);
}

/* ============================================================
   HOME ICON
   ============================================================ */
.home-icon-img {
    display: block;
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin: 0 20px;
    transition: filter 0.25s ease, transform 0.25s ease;
}

/* ============================================================
   DESKTOP MENU
   ============================================================ */
.desktop-menu {
    height: 100%;
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    border-top: solid 2px #173060;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
}

.desktop-menu > a,
.desktop-menu > .nav-link-container {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    width: auto !important;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.desktop-menu > a:first-child {
    min-width: 0 !important;
    flex: 1 1 0 !important;
    padding: 0 4px !important;
    background: #ffffff;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease;
}
.desktop-menu > a:first-child .home-icon-img {
    width: 46px;
    height: 46px;
    margin: 0;
    transition: filter 0.25s ease, transform 0.25s ease;
}
.desktop-menu > a:first-child:hover {
    cursor: pointer;
    background: #183254;
}
.desktop-menu > a:first-child:hover .home-icon-img {
    transform: scale(1.05);
}
.desktop-menu > a:first-child.active {
    background: #183254 !important;
}

.desktop-menu .nav-link-container > a {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.desktop-menu > a.nav-link:last-child {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    width: auto !important;
    padding: 0 4px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.1px !important;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.desktop-menu > a:not(.menu-link):not(:first-child),
.nav-link-container > a:not(.menu-link) {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 100%;
    padding: 0 4px;
    font-family: "Barlow", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 18px;
    text-align: center;
    text-transform: uppercase;
    color: #183254;
    text-decoration: none;
}
.desktop-menu > a:not(.menu-link):not(:first-child):hover,
.nav-link-container > a:not(.menu-link):hover {
    cursor: pointer;
    background: linear-gradient(
        to bottom,
        #005da4,
        #183254
    );
    color: #fff !important;
}
.desktop-menu > a:not(.menu-link).active,
.nav-link-container > a:not(.menu-link).active {
    background: #183254;
    color: #fff !important;
}
.nav-link-container {
    display: flex;
    align-items: stretch;
    height: 100%;
}
.nav-link-container .menu-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
}
.desktop-menu .menu-link.active,
.desktop-menu .nav-link.menu-link.active,
.desktop-menu .nav-link.style-2.menu-link.active {
    color: #ffffff !important;
    background: #183254!important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    line-height: 1 !important;
    font-family: "Barlow", sans-serif;
    text-transform: uppercase !important;
    font-weight: 500 !important;
    height: 100% !important;
    min-width: 0 !important;
    padding: 0 4px !important;
}
.desktop-menu .menu-link.active .desktop-menu-arrow {
    color: #ffffff !important;
    transform: rotate(180deg) !important;
    flex-shrink: 0 !important;
}
.desktop-menu .menu-link.active:hover,
.nav-link-container:hover > .menu-link.active {
    color: #ffffff !important;
    background: #183254 !important;
}
.youth-programs {
    position: relative;
    margin-top: var(--header-height);
}
.container-two {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0px auto;
    background-color: #ffffff;
    padding: 40px 20px;
}
.side-image {
  flex: 1;
}
.side-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.youth-programs-two {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 0;
}
.youth-programs-background{
    margin-top: 2rem;
    margin-bottom: 2rem;
    background-color:#ffffff;
}
.new-section-wrapper {
    max-width: 1280px;
    margin: 0 auto;
}
.new-section-container {
    display: flex;
    gap: 2rem;
    align-items: stretch;
}

/* ============================================================
   NEW SECTION IMAGE
   ============================================================ */
.new-section-image {
    flex: 0 0 35%;
    min-width: 150px;
    max-height: 350px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.new-section-image img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* ============================================================
   NEW SECTION CARDS
   ============================================================ */
.new-section-cards {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.new-card {
    background: #ffffff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem 1.5rem 1rem;
    position: relative;
    border-radius: 0;
    box-shadow: 0 2px 12px rgba(23, 48, 96, 0.06);
}
.new-card:hover {
    cursor: pointer;
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}
.new-card-image-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    margin-top: -50px;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.10);
    background: #ffffff;
    position: relative;
    z-index: 2;
}
.new-card-image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.new-card:hover .new-card-image-circle img {
    cursor:pointer;
    transform: scale(1.08);
}
.new-card-title {
    padding: 0.3rem 1rem 0.2rem 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #173060;
    font-family: "Bai Jamjuree", sans-serif;
    font-style:italic;
    margin: 0;
    line-height: 1.2;
    text-align: center;
}
.new-card-desc {
    padding: 0 1rem 1.2rem 1rem;
    font-size: 0.85rem;
    color: #4b5563;
    font-family: "Bai Jamjuree", sans-serif;
    line-height: 1.5;
    margin: 0;
    flex: 1;
    text-align: center;
}

/* ============================================================
   NEW SECTION BUTTONS
   ============================================================ */
.new-section-buttons {
    width: 1280px;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 32px;
    margin-top: 0.5rem;
    padding: 0 10px;
}

.story-highlight,
a.story-highlight {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 4px;
    min-height: 160px;
    width: auto;
    max-width: none;
    flex: 1 1 0;
    min-width: 0;
    padding: 14px 12px;
    background-color: #f8f9fb;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.story-highlight::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(24, 50, 84, 0.7);
    z-index: 1;
    pointer-events: none;
    transition: background-color 0.4s ease;
}

.story-highlight::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 0;
    background: rgba(0, 93, 164, 0.9);
    z-index: 2;
    transition: height 0.4s ease, top 0.4s ease;
}

.story-highlight:hover::after {
    top: 0;
    height: 100%;
}

.story-highlight:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(23, 48, 96, 0.20);
}

.story-highlight:focus-visible {
    outline: 2px solid #2952ba;
    outline-offset: 3px;
}

.story-highlight .highlight-title,
.story-highlight .highlight-desc {
    position: relative;
    z-index: 3;
    margin: 0;
    transition: color 0.3s ease;
}

.story-highlight .highlight-title {
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, .5);
    line-height: 1.2;
}

.story-highlight .highlight-desc {
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 0.8rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, .5);
    line-height: 1.3;
}

.story-highlight.highlight-alt {
    background-color: #eef3fc;
}

.story-highlight.btn-bg-calendar {
    background-image: url('../img/Calendar.png');
}
.story-highlight.btn-bg-stick {
    background-image: url('../img/StickNPuck.png');
}
.story-highlight.btn-bg-proshop {
    background-image: url('../img/ProShop.png');
}
.story-highlight.btn-bg-perfomance {
    background-image: url('../img/PerformanceCenter.png');
}
.story-highlight.btn-bg-restaurant {
    background-image: url('../img/Restaurant.png');
}

.new-btn {
    display: none !important;
}

/* ============================================================
   FEATURE SECTION CON TARJETAS
   ============================================================ */
.feature-section-cards {
    display:flex;
    justify-content:center;
}
.feature-wrapper-cards{
    position: relative;
    background-color: #ffffff;
    padding:2rem 2rem;
}
.feature-header-cards {
    text-align: center;
    margin-bottom: 3rem;
}
.feature-title-cards {
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #173060;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.title-line {
    width: 80px;
    height: 3px;
    background: #2952ba;
    margin: 0.8rem auto;
    border-radius: 2px;
}
.title-sub {
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 1rem;
    color: #6b7280;
    margin: 0;
}
.feature-grid-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.feature-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(23, 48, 96, 0.05);
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(23, 48, 96, 0.12);
}
.card-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}
.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.feature-card:hover .card-image-wrapper img {
    transform: scale(1.06);
}
.card-number {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(41, 82, 186, 0.85);
    color: #ffffff;
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
}
.feature-card h3 {
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #173060;
    padding: 1rem 1.2rem 0.3rem 1.2rem;
    margin: 0;
}
.feature-card p {
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.6;
    padding: 0 1.2rem 1.2rem 1.2rem;
    margin: 0;
}
.quote-box-cards {
    position: relative;
    max-width: 850px;
    margin: 2rem auto;
    padding: 2.5rem 3rem;
    background: #f8f9fb;
    border-radius: 12px;
    border-left: 4px solid #2952ba;
}
.quote-icon-cards {
    position: absolute;
    top: 15px;
    left: 20px;
    color: #2952ba;
    font-size: 2rem;
    opacity: 0.2;
}
.quote-box-cards p {
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #31456a;
    font-style: italic;
    margin: 0 0 1rem 0;
    padding-left: 2.5rem;
}
.quote-author {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-left: 2.5rem;
}
.quote-author strong {
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 0.9rem;
    color: #173060;
    font-weight: 600;
}
.quote-author span {
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 1rem;
    color: #2952ba;
    font-weight: 700;
}
.feature-buttons-cards {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1rem 0;
}
.btn-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.8rem;
    background: #f0f4f9;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(23, 48, 96, 0.06);
    min-width: 280px;
}
.btn-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.10);
}
.btn-card i:first-child {
    font-size: 1.4rem;
    color: #2952ba;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(41, 82, 186, 0.08);
    border-radius: 50%;
    flex-shrink: 0;
    transition: background 0.3s ease, transform 0.3s ease;
}
.btn-card:hover i:first-child {
    background: rgba(41, 82, 186, 0.15);
    transform: scale(1.05);
}
.btn-card div {
    flex: 1;
}
.btn-card small {
    display: block;
    font-size: 0.65rem;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-card strong {
    display: block;
    font-size: 0.95rem;
    color: #173060;
    font-weight: 700;
    font-family: "Bai Jamjuree", sans-serif;
}
.btn-card .fa-chevron-right {
    font-size: 0.8rem;
    color: #2952ba;
    opacity: 0.4;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.btn-card:hover .fa-chevron-right {
    opacity: 0.9;
    transform: translateX(4px);
}
.btn-card-primary {
    background: #eef3fc;
    border-color: rgba(41, 82, 186, 0.12);
}
.btn-card-primary i:first-child {
    color: #5db1c5;
    background: rgba(93, 177, 197, 0.12);
}
.btn-card-primary:hover i:first-child {
    background: rgba(93, 177, 197, 0.2);
}
.btn-card-primary .fa-chevron-right {
    color: #5db1c5;
}
.feature-section {
    display: none !important;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section {
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 3;
    width: 100%;
}

.container-faq {
    width: 100%;
    max-width: 1280px;
    padding: 60px 20px;
    background: #ffffff;
    box-sizing: border-box;
}

.faq-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
}

.faq-header {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    text-align: left;
}

.faq-subtitle {
    display: inline-block;
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #005da4;
    position: relative;
    padding-left: 36px;
}

.faq-subtitle::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 2px;
    background: #005da4;
    border-radius: 2px;
}

.faq-title {
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: #173060;
    margin: 0;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #f8f9fb;
    border: 1px solid rgba(24, 50, 84, 0.08);
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(0, 93, 164, 0.25);
    background: #ffffff;
}

.faq-item[open] {
    border-color: rgba(0, 93, 164, 0.3);
    box-shadow: 0 8px 24px rgba(24, 50, 84, 0.08);
    background: #ffffff;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #183254;
    line-height: 1.4;
    transition: color 0.25s ease;
    user-select: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::marker {
    display: none;
    content: "";
}

.faq-item summary:hover {
    color: #005da4;
}

.faq-item summary i {
    color: #005da4;
    font-size: 0.85rem;
    transition: transform 0.35s ease, color 0.25s ease, background 0.25s ease;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 93, 164, 0.08);
    line-height: 1;
}

.faq-item summary:hover i {
    background: rgba(0, 93, 164, 0.15);
}

.faq-item[open] summary i {
    transform: rotate(180deg);
    background: #005da4;
    color: #ffffff;
}

.faq-item p {
    margin: 0;
    padding: 0 24px 20px;
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.75;
}

.faq-item p + p {
    padding-top: 0;
}

.faq-item[open] summary {
    border-bottom: 1px solid rgba(24, 50, 84, 0.06);
    margin-bottom: 16px;
    padding-bottom: 18px;
}

/* ============================================================
   HERO WRAPPER
   ============================================================ */
.hero-wrapper{
    position: relative;
    width:100%;
    height:700px;
    background-image: url('../img/background_section_five.png');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-color:#ffffff;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    position: relative;
    z-index: 10;
}
.site-footer {
    position: relative;
    z-index: 10;
    color: #173060;
}
.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1.5rem 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    align-items: start;
    justify-items: stretch;
    text-align: center;
}

.footer-col {
    width: 100%;
    min-width: 0;
}
.footer-col-center {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    padding-top: 0.5rem;
}
.footer-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.footer-logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    object-fit: contain;
}
.footer-heading {
    font-family: "Bai Jamjuree", sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    color: #173060;
    text-align: center;
}
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    text-align: center;
    font-family: "Bai Jamjuree", sans-serif;
}
.footer-list li {
    margin-bottom: 0.6rem;
    line-height: 1.4;
}
.footer-block {
    margin-bottom: 1.8rem;
}
.footer-contact-link {
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 1.05rem;
    color: #173060;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s ease;
}
.footer-contact-link:hover {
    color: #2952ba;
}
.footer-address {
    font-family: "Bai Jamjuree", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #173060;
    margin: 0;
    text-align: center;
}
.footer-social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ============================================================
   MAPA EN FOOTER
   ============================================================ */
.footer-map-wrapper {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(23, 48, 96, 0.12);
    border: 1px solid rgba(23, 48, 96, 0.08);
    background: #eef3fc;
    margin-top: 0.25rem;
}
.footer-map-wrapper iframe {
    width: 100%;
    height: 210px;
    display: block;
    border: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(23, 48, 96, 0.2);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.8rem;
    flex-wrap: wrap;
}
.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.5rem 1.5rem;
    font-family: "Bai Jamjuree", sans-serif;
}
.footer-copyright {
    text-align: right;
    font-size: 0.8rem;
    color: #173060;
    font-family: "Bai Jamjuree", sans-serif;
}
.site-footer a {
    text-decoration: none;
}
.footer-style-1 {
    position: relative;
    display: inline-block;
    color: #173060;
}
.footer-style-1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1px;
    background: #173060;
    transition: width 0.3s ease;
}
.footer-style-1:hover::after {
    width: 100%;
}
.footer-color {
    color: #173060;
}

/* ============================================================
   FOOTER CREDIT LINK
   ============================================================ */
.footer-copyright .footer-credit-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.footer-copyright .footer-credit-link:hover {
    color: #2952ba;
    border-bottom-color: #2952ba;
}

.footer-copyright .footer-credit-link:focus-visible {
    outline: 2px solid #2952ba;
    outline-offset: 2px;
}

/* ============================================================
   LOGOS SLIDER SECTION
   ============================================================ */
.logos-slider-section {
    overflow: hidden;
}
.logo-container{
    padding:3rem 0;
    background-color: #f8f9fb;
}
.logos-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 8%,
        #000 92%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 8%,
        #000 92%,
        transparent 100%
    );
}
.logos-slider-track {
    display: flex;
    align-items: center;
    gap: 6rem;
    width: max-content;
    animation: logosScroll 25s linear infinite;
    will-change: transform;
}
.logos-slider-track:hover {
    animation-play-state: paused;
}
@keyframes logosScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
.logo-slide {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 110px;
    overflow: hidden;
}
.slider-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: grayscale(0.15);
    user-select: none;
    pointer-events: auto;
}
.logo-slide:hover .slider-logo {
    transform: scale(1.18);
    filter: grayscale(0);
}

/* ============================================================
   AUTO SLIDER - Youth Programs
   ============================================================ */
.auto-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(23, 48, 96, 0.10);
    background: #f8f9fb;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}
.auto-slider.is-dragging {
    cursor: grabbing;
}
.auto-slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: transform;
}
.auto-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.auto-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    pointer-events: auto;
}
.auto-slider.is-dragging .auto-slide img {
    pointer-events: none;
}

/* ============================================================
   COMPACT MENU
   ============================================================ */
.desktop-menu--compact .nav-link-container > .menu-link,
.desktop-menu--compact > .nav-link {
    min-width: 0 !important;
    max-width: none !important;
    width: 100% !important;
    padding: 0 4px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.1px !important;
    white-space: nowrap;
    text-align: center;
    flex: 1 1 auto;
}

.desktop-menu--compact .nav-link-container > a:not(.menu-link) {
    min-width: 0 !important;
    max-width: none !important;
    width: 100% !important;
    padding: 0 4px !important;
    font-size: 0.95rem !important;
    flex: 1 1 auto;
}

.desktop-menu--compact > a:first-child {
    min-width: 0 !important;
    flex: 1 1 0 !important;
    padding: 0 4px !important;
}

.desktop-menu--compact > a.nav-link:last-child {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: 0 4px !important;
    font-size: 0.95rem !important;
}

.desktop-menu--compact .desktop-menu-arrow {
    font-size: 0.6rem;
    margin-left: 0;
}

.desktop-menu--compact .desktop-menu .menu-link.active,
.desktop-menu--compact .desktop-menu .nav-link.menu-link.active,
.desktop-menu--compact .desktop-menu .nav-link.style-2.menu-link.active {
    min-width: 0 !important;
}

@media (min-width: 1001px) {
    .header-actions {
        display: none;
    }
    .desktop-nav-wrapper {
        flex: 1 1 100%;
    }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

html, body {
    overflow-x: hidden;
    max-width: 100%;
}
img, iframe, video {
    max-width: 100%;
}

/* === TABLET — 1280px === */
@media (max-width: 1280px) {
    .desktop-menu > a,
    .nav-link-container > a{
        font-size:1rem;
    }
    .container-two {
        max-width: 1400px;
    }
    .new-section-wrapper{
        max-width: 1400px;
    }
    .partners-logos {
        padding: 0;
    }

    .new-section-buttons {
        width: 100%;
        padding: 1rem 12px;
        gap: 8px;
    }
    .story-highlight,
    a.story-highlight {
        min-height: 150px;
        padding: 14px 10px;
    }
    .story-highlight .highlight-title {
        font-size: 0.9rem;
    }
    .story-highlight .highlight-desc {
        font-size: 0.75rem;
    }
}

@media (max-width: 1275px){
    .partners-logos {
        padding: 0px 0px 0px 45px;
    }
}

/* === TABLET — 1024px === */
@media (max-width: 1024px) {
    /* ✅ TOP BAR: reduce tamaños pero mantiene fila */
    .top-bar {
        padding: 6px 0;
    }
    .partners-logos {
        gap: 10px;
        padding: 0;
    }
    .partner-logo {
        height: 22px;
    }
    .partners-logos .divider-line {
        height: 18px;
        margin: 0 6px;
    }
    .top-right-actions {
        gap: 10px;
    }
    .top-right-actions .social-icon {
        width: 22px;
        height: 22px;
    }
    .contact-us-btn {
        height: 24px;
        padding: 0 8px;
        font-size: 0.6rem;
    }
    .social-icon {
        width: 28px;
        height: 28px;
    }

    .container-two {
        padding: 28px 16px;
    }
    .feature-wrapper-cards {
        padding: 1.5rem 1rem;
    }
    .quote-box-cards {
        padding: 1.8rem 1.5rem;
        margin: 1.5rem auto;
    }
    .quote-box-cards p {
        padding-left: 1.5rem;
    }
    .quote-author {
        padding-left: 1.5rem;
    }
    .footer-inner {
        padding: 2rem 1rem 1rem;
    }

    .new-section-buttons {
        width: 100%;
        max-width: 100%;
        flex-wrap: wrap;
        gap: 12px;
        padding: 0 16px;
        margin-bottom: 28px;
        box-sizing: border-box;
    }
    .story-highlight,
    a.story-highlight {
        flex: 0 0 calc(50% - 6px);
        width: calc(50% - 6px);
        max-width: 100%;
        min-height: 160px;
        padding: 16px 18px;
    }
    .story-highlight .highlight-title {
        font-size: 1rem;
    }
    .story-highlight .highlight-desc {
        font-size: 0.8rem;
    }

    .new-section-image {
        flex: none;
        width: 100%;
        max-height: none;
        overflow: visible;
        padding: 1rem 1.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .new-section-image img {
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 320px;
        object-fit: contain;
    }

    .new-section-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 5rem 1.5rem;
        padding: 3.5rem 1rem 2rem 1rem;
    }
    .new-card {
        min-height: 340px;
        padding: 0 1.25rem 1.75rem 1.25rem;
        border-radius: 0;
    }
    .new-card-image-circle {
        width: 110px;
        height: 110px;
        margin-top: -55px;
    }
    .new-card-title {
        font-size: 1.15rem;
        padding-top: 0.5rem;
    }
    .new-card-desc {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .new-section-container {
        flex-direction: column;
    }
    .feature-grid-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .logos-slider-section {
        background-color:#ffffff;
    }
    .logos-slider-track {
        gap: 4rem;
        animation-duration: 22s;
    }
    .logo-slide {
        width: 180px;
        height: 95px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: start;
    }
    .footer-col-center {
        justify-content: center;
    }
    .footer-logo-wrap {
        justify-content: center;
    }
    .footer-logo {
        max-width: 190px;
    }
    .footer-map-wrapper iframe {
        height: 200px;
    }

    /* ✅ FAQ responsive 1024 */
    .container-faq {
        padding: 48px 24px;
    }
    .faq-title {
        font-size: 1.9rem;
    }
}

/* ============================================================
   ✅ TOP BAR MOBILE — APILADO VERTICAL (≤900px)
   Logos arriba, acciones abajo
   ============================================================ */
@media (max-width: 900px) {
    /* ✅ Contenedor apilado vertical */
    .top-bar {
        padding: 6px 0;
    }
    .top-bar-container {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 6px 10px;
    }

    /* ✅ Logos primero (arriba) */
    .partners-logos {
        order: 1;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
        padding: 0;
        overflow: visible;
        -webkit-mask-image: none;
        mask-image: none;
    }
    .partner-logo {
        height: 22px;
    }
    .partners-logos .divider-line {
        height: 18px;
        margin: 0 6px;
    }

    /* ✅ Acciones debajo (con separador) */
    .top-right-actions {
        order: 2;
        width: 100%;
        justify-content: center;
        gap: 12px;
        padding-top: 8px;
        border-top: 1px solid #e5e7eb;
    }
    .top-right-actions .social-icon {
        width: 26px;
        height: 26px;
    }
    .contact-us-btn {
        height: 28px;
        padding: 0 12px;
        font-size: 0.65rem;
    }

    /* Botones de nueva sección */
    .new-section-buttons {
        gap: 10px;
        padding: 0 14px;
    }
    .story-highlight,
    a.story-highlight {
        flex: 0 0 calc(50% - 5px);
        width: calc(50% - 5px);
        min-height: 140px;
        padding: 14px 12px;
    }
    .story-highlight .highlight-title {
        font-size: 0.95rem;
    }
    .story-highlight .highlight-desc {
        font-size: 0.75rem;
        line-height: 1.25;
    }
}

/* === MÓVIL GRANDE — 1000px (menú hamburguesa) === */
@media (max-width: 1000px) {
    .hamburger-btn {
        display: block;
    }
    .desktop-menu {
        display: none !important;
    }
    .header-container {
        justify-content: space-between;
        align-items: center;
        height: 70px;
        padding: 0 16px;
        gap: 10px;
    }
    .logo-wrapper img {
        height: 50px;
    }

    /* ✅ LOGO MOBILE: visible solo cuando aparece el hamburger */
    .mobile-header-logo {
        display: flex;
        margin-right: auto;
        padding-left: 4px;
    }
    .mobile-header-logo img {
        height: 46px;
    }
}

/* === TABLET / MÓVIL — 768px === */
@media (max-width: 768px) {
    .top-bar {
        padding: 5px 0;
    }

    .header-container {
        height: 64px;
        padding: 0 12px;
        background-color: #ffffff;
    }

    /* ✅ LOGO MOBILE: tamaño ajustado */
    .mobile-header-logo img {
        height: 42px;
    }

    .youth-programs {
        margin-top: 90px;
    }

    .new-section-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: stretch;
        gap: 10px;
        padding: 0 12px;
        margin-bottom: 22px;
    }
    .story-highlight,
    a.story-highlight {
        flex: 0 0 calc(50% - 5px);
        width: calc(50% - 5px);
        max-width: 100%;
        min-height: 120px;
        padding: 12px 10px;
        border-radius: 6px;
    }
    .story-highlight .highlight-title {
        font-size: 0.88rem;
        line-height: 1.15;
    }
    .story-highlight .highlight-desc {
        font-size: 0.7rem;
        line-height: 1.2;
    }

    .feature-title-cards {
        font-size: 1.8rem;
    }
    .title-sub {
        font-size: 0.9rem;
    }
    .feature-grid-cards {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .feature-buttons-cards {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    .btn-card {
        width: 100%;
        min-width: 0;
    }
    .quote-box-cards {
        padding: 1.5rem 1.2rem;
        border-left-width: 3px;
    }
    .quote-icon-cards {
        font-size: 1.5rem;
        top: 10px;
        left: 12px;
    }
    .quote-box-cards p {
        padding-left: 1rem;
        font-size: 0.9rem;
    }
    .quote-author {
        padding-left: 1rem;
    }

    .logos-slider-track {
        gap: 2.5rem;
        animation-duration: 18s;
    }
    .logo-slide {
        width: 140px;
        height: 80px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        text-align: center;
    }
    .footer-col-center {
        justify-content: center;
    }
    .footer-logo {
        max-width: 160px;
    }
    .footer-map-wrapper iframe {
        height: 220px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.8rem;
    }
    .footer-legal-links {
        justify-content: center;
        gap: 0.5rem 1rem;
    }
    .footer-copyright {
        text-align: center;
        font-size: 0.75rem;
    }

    /* ✅ FAQ responsive 768 */
    .container-faq {
        padding: 40px 18px;
    }
    .faq-wrapper {
        padding: 0;
    }
    .faq-title {
        font-size: 1.6rem;
    }
    .faq-item summary {
        padding: 16px 18px;
        font-size: 0.95rem;
        gap: 12px;
    }
    .faq-item p {
        padding: 0 18px 16px;
        font-size: 0.88rem;
    }
    .faq-item summary i {
        width: 26px;
        height: 26px;
        font-size: 0.75rem;
    }
}

/* === MOBILE PEQUEÑO — 640px === */
@media (max-width: 640px) {
    /* ✅ TOP BAR: tamaños compactos */
    .top-bar-container {
        gap: 6px;
        padding: 6px 8px;
    }
    .partners-logos {
        gap: 6px;
    }
    .partner-logo {
        height: 20px;
    }
    .partners-logos .divider-line {
        height: 16px;
        margin: 0 4px;
    }
    .top-right-actions {
        gap: 10px;
        padding-top: 6px;
    }
    .top-right-actions .social-icon {
        width: 24px;
        height: 24px;
    }
    .contact-us-btn {
        height: 26px;
        padding: 0 10px;
        font-size: 0.6rem;
    }

    .header-container {
        height: 60px;
        padding: 0 10px;
    }

    /* ✅ LOGO MOBILE: tamaño reducido */
    .mobile-header-logo img {
        height: 40px;
    }

    .new-section-buttons {
        gap: 8px;
        padding: 0 10px;
    }
    .story-highlight,
    a.story-highlight {
        flex: 0 0 calc(50% - 4px);
        width: calc(50% - 4px);
        min-height: 110px;
        padding: 10px 8px;
    }
    .story-highlight .highlight-title {
        font-size: 0.82rem;
    }
    .story-highlight .highlight-desc {
        font-size: 0.65rem;
    }

    .feature-title-cards {
        font-size: 1.6rem;
    }
    .new-card {
        min-height: 300px;
        padding: 0 1rem 1.5rem 1rem;
    }
    .new-card-image-circle {
        width: 95px;
        height: 95px;
        margin-top: -47px;
    }
    .new-card-title {
        font-size: 1.05rem;
    }
    .new-card-desc {
        font-size: 0.85rem;
    }
}

/* === MOBILE XS — 480px === */
@media (max-width: 480px) {
    /* ✅ TOP BAR: mínimo */
    .top-bar-container {
        gap: 5px;
        padding: 5px 6px;
    }
    .partners-logos {
        gap: 5px;
    }
    .partner-logo {
        height: 18px;
    }
    .partners-logos .divider-line {
        height: 14px;
        margin: 0 3px;
    }
    .top-right-actions {
        gap: 8px;
        padding-top: 5px;
    }
    .top-right-actions .social-icon {
        width: 22px;
        height: 22px;
    }
    .contact-us-btn {
        height: 24px;
        padding: 0 8px;
        font-size: 0.55rem;
    }

    .header-container {
        height: 56px;
        padding: 0 8px;
    }

    /* ✅ LOGO MOBILE: tamaño mínimo */
    .mobile-header-logo img {
        height: 38px;
    }

    .new-section-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .story-highlight,
    a.story-highlight {
        flex: 1 1 auto;
        width: 100%;
        min-height: 100px;
        padding: 14px 16px;
    }
    .story-highlight .highlight-title {
        font-size: 0.9rem;
    }
    .story-highlight .highlight-desc {
        font-size: 0.72rem;
    }

    .feature-title-cards {
        font-size: 1.4rem;
    }
    .new-section-cards {
        grid-template-columns: 1fr;
        gap: 4rem 0;
        padding: 3rem 1rem 1.5rem 1rem;
    }
    .new-card {
        min-height: auto;
        padding: 0 1rem 1.5rem 1rem;
    }
    .new-card-image-circle {
        width: 90px;
        height: 90px;
        margin-top: -45px;
    }

    .quote-box-cards {
        padding: 1.2rem 1rem;
    }
    .quote-box-cards p {
        font-size: 0.85rem;
    }
    .btn-card {
        padding: 0.7rem 1.2rem;
    }
    .btn-card strong {
        font-size: 0.85rem;
    }
    .btn-card small {
        font-size: 0.6rem;
    }

    .logo-slide {
        width: 120px;
        height: 70px;
    }
    .logos-slider-track {
        gap: 2rem;
        animation-duration: 16s;
    }

    .footer-legal-links {
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
    }

    /* ✅ FAQ responsive 480 */
    .container-faq {
        padding: 32px 14px;
    }
    .faq-title {
        font-size: 1.35rem;
    }
    .faq-subtitle {
        font-size: 0.72rem;
        letter-spacing: 1.5px;
    }
    .faq-item summary {
        padding: 14px 16px;
        font-size: 0.9rem;
    }
    .faq-item p {
        padding: 0 16px 14px;
    }
}

/* === EXTRA SMALL — 360px === */
@media (max-width: 360px) {
    .mobile-header-logo img {
        height: 34px;
    }

    .feature-title-cards {
        font-size: 1.25rem;
    }
    .quote-box-cards p {
        font-size: 0.8rem;
        padding-left: 0.5rem;
    }
}