:root {
    /* Brand Colors */
    --color-primary: #FFD700;
    --color-primary-dark: #C9A800;
    --color-primary-light: #FFE44D;
    --color-dark: #333333;
    --color-light: #F5F5F5;
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-gray-700: #2A2A2A;
    --color-gray-600: #444444;
    --color-gray-400: #888888;
    --color-gray-200: #E0E0E0;

    /* Typography */
    --font-display: 'anek-bold', sans-serif;
    --font-body: 'anek-regular', sans-serif;
    --font-semibold: 'anek-semibold', sans-serif;
    --font-medium: 'anek-medium', sans-serif;

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration-fast: 0.3s;
    --duration-base: 0.6s;
    --duration-slow: 0.9s;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
img {
    max-width: 100%;
    height: auto;
}
.skip-nav {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-black);
    color: var(--color-white);
    padding: 8px 16px;
    z-index: 100;
    font-family: 'anek-semibold';
    text-decoration: none;
}
.skip-nav:focus {
    top: 0;
}
.lineas_grandes {
    pointer-events: none;
}
body {
    background-color: var(--color-light);
    overflow-x: hidden;
    color: var(--color-dark);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
button, a {
    cursor: pointer;
}
p {
    line-height: 1.65;
}
header {
    width: 100dvw;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
    position: fixed;
    z-index: 8;
    top: 0;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
.header-wrapper {
    width: 90%;
    height: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-logo {
    width: 110px;
    height: 45px;
}
.header-logo img {
    width: 100%;
    height: 100%;
}
.header-wrapper > .nav-desktop {
    width: 700px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
}
header a {
    width: auto;
    height: 30px;
    display: flex;
    text-decoration: none;
    position: relative;
}
header a img {
    width: 15px;
    height: 15px;
    margin-right: 10px;
    margin-top: 4px;
    opacity: 0.7;
}
header a p {
    font-size: 17px;
    font-family: 'anek-semibold';
    color: var(--color-dark);
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}
header a:hover p {
    color: var(--color-black);
}
.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-desktop a:hover::after {
    width: 100%;
}


main {
    height: auto;
    margin-top: 80px;
    overflow-x: hidden;
}

.fondo_top {
    width: 100%;
    height: auto;
    position: absolute;
    z-index: 5;
    top: 80px;
}
.fondo-top-mobile {
    display: none;
}

.menu_lateral {
    width: 30px;
    height: 20px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: absolute;
    left: 6%;
    z-index: 12;
}
  
.menu_lateral span {
    display: block;
    height: 2.5px;
    background-color: var(--color-dark);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}
  
  /* Menú oculto */
.menu {
    display: none;
    width: 100%;
    height: 100dvh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
}
.menu-panel {
    width: 35%;
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 6;
    background-color: var(--color-white);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.1);
}
.menu-overlay {
    width: 65%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 5;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.menu a {
    text-decoration: none;
    color: black;
    transition: background-color 0.2s;
    width: 100%;
    height: 100px;
    align-items: center;
    border-bottom: 1px solid black;
}
.menu a img {
    margin-left: 20%;
    margin-bottom: 11px;
}
.menu a p {
    margin-top: 2px;
}
.menu-first-link {
    margin-top: 80px;
}
  
.menu a:hover {
    background-color: #f0f0f0;
}
  
  /* Mostrar menú cuando esté activo */
.menu.show {
    display: flex;
}
  
  /* Animación del icono cuando está activo */
.menu_lateral.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
  
.menu_lateral.active span:nth-child(2) {
    opacity: 0;
}
  
.menu_lateral.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
  


.btn_1 {
    width: 60px;
    height: 60px;
    position: absolute;
    bottom: 1%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    transition: all linear .2s;
    
}
.btn_1:hover {
    transform: scale(1.1);
}
.btn_1:hover .btn_blanco {
    fill: var(--color-primary);
}
.btn_1:hover .btn_ama {
    fill: white;
}
.btn_negro {
    position: absolute;
    width: 100%;
    height: 100%;
    fill: black;
}
.btn_blanco {
    position: absolute;
    width: 40px;
    height: 40px;
    fill: white;
    transition: all linear .2s;
}
.btn_ama {
    position: absolute;
    width: 20px;
    height: 20px;
    fill: var(--color-primary);
    transition: all linear .2s;
}
.dec_top {
    width: 45%;
    position: absolute;
    height: 30px;
    top: 0;
    background: rgb(255,255,255);
    background: linear-gradient(270deg, rgba(255,255,255,0) 0%, rgba(255,215,0,1) 42%);
}

.lineas_grandes {
    width: 20%;
    height: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;

}
.lineas_grandes img {
    position: absolute;
}
.linea-grande-img {
    width: 100%;
    height: 100%;
}
.linea-pequena-img {
    width: 70%;
    height: 70%;
}

.titulos {
    width: auto;
    min-width: 200px;
    height: auto;
    position: relative;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;

}
.titulos h1,
.titulos h2 {
    text-align: center;
    font-size: 34px;
    font-family: 'anek-bold';
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    color: var(--color-black);
}
.titulos svg {
    width: 100%;
    height: 15px;
    position: relative;
    bottom: 5px;
}


.lineas_rectas {
    width: 350px;
    height: 250px;
    position: relative;
    left: -70px;
    top: 18%;
    pointer-events: none;
}

.lineas_rectas img {
    position: absolute;
}
.linea-recta-grande {
    width: 100%;
}
.linea-recta-pequena {
    width: 75%;
    top: 35px;
    left: 40px;

}
.btn_grande {
    width: 40%;
    height: 150px;
    position: relative;
    border-radius: 20px;
    border: 2px solid var(--color-primary);
    background-color: var(--color-black);
    display: grid;
    grid-template-columns: 70% 30%;
    grid-template-rows: 20% 80%;
    grid-template-areas:
    "dec btn"
    "titulo btn";
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}
.btn-grande-dec {
    grid-area: dec;
    width: 170px;
    margin-top: 30px;
    margin-left: 20px;
    height: 15px;
}
.btn-grande-titulo {
    grid-area: titulo;
    font-family: 'anek-bold';
    font-size: 32px;
    margin: auto;
    margin-left: 20px;
}
.btn_grande > .btn_variante {
    grid-area: btn;
    position: relative;
    bottom: initial;
    margin: auto;
    transform: rotateZ(-90deg);
}
.btn_grande:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.2), 0 4px 15px rgba(0, 0, 0, 0.15);
    border-color: var(--color-primary-light);
}

.btn_grande > .btn_variante > .btn_negro {
    fill: white;
}
.btn_grande > .btn_variante > .btn_blanco {
    fill: black;
}
.btn_grande:hover .btn_variante > .btn_negro {
    fill: black;
}
.btn_grande:hover .btn_variante > .btn_blanco {
    fill: var(--color-primary);
}
.btn_grande:hover .btn_variante > .btn_ama {
    fill: white;
}






.sliderv2-container, .slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 100%;
    border-radius: 16px;
}
.slider-container {
    border-radius: 0;
}
.slider_v2, .slider_qs {
    display: flex;
    transition: transform 0.3s ease-in-out;
    height: 100%;
}

.slide_v2, .slide_qs {
    min-width: 100%;
    box-sizing: border-box;
}

.slide_v2 img, .slide_qs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.botones_v2 {
    position: absolute;
    width: auto;
    height: 40px;
    display: flex;
    justify-content: space-between;
    bottom: 0;
    z-index: 3;
    padding-left: 40px;
}

.boton_v2, .boton_qs {
    background-color: white;
    border: 2px solid black;
    width: 15px;
    height: 15px;
    cursor: pointer;
    border-radius: 100%;
    margin-right: 5px;
}


.boton_v2.activo_v2, .boton_qs.activo_v2 {
    background-color: white;
    width: 15px;
    height: 15px;
    position: relative;
    transition: all linear .3s;
    border: 2px solid black;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.boton_v2.activo_v2::before, .boton_qs.activo_v2::before {
    content: '';
    width: 9px;
    height: 9px;
    display: flex;
    background-color: black;
    border-radius: 100%;
    position: absolute;
}

.botones_laterales {
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    justify-content: space-between;
    top: 0;
}
.prev, .prev2, .next, .next2 {
    width: 50px;
    height: 100%;
    background-color: transparent;
    border-radius: 0;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;

}
.next, .next2 {
    transform: scaleX(-1);
}
.prev img, .prev2 img, .next2 img, .next img {
    width: 80%;
    height: 250px;
}
.prev:hover, .prev2:hover, .next2:hover, .next:hover {
    background: rgb(245,245,245);
    background: linear-gradient(270deg, rgba(245,245,245,0) 0%, rgba(51,51,51,0.4) 23%);
    
    transition: all linear 0.2s;
}
.dec_slider1, .dec_slider2 {
    width: 200px;
    height: 20px;
    display: flex;
    align-items: center;
    position: absolute;
}
.dec-slider-barra {
    position: absolute;
    z-index: 2;
    width: 80px;
    height: 10px;
}
.dec-slider-linea {
    position: absolute;
    width: 100%;
    height: 3px;
    z-index: 1;
}
.dec_slider1 {
    top: 130px;
    left: -60px;
    transform: rotateZ(90deg);
}
.dec_slider2 {
    bottom: 40px;
    transform: scaleX(-1);
    right: 40px;
}
/* ===== FOOTER ===== */
footer {
    background-color: var(--color-black);
    color: rgba(255, 255, 255, 0.75);
    padding: 4rem 0 0;
    position: relative;
    z-index: 2;
}
.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 3rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
    gap: 3rem;
}
.footer-brand img {
    width: 160px;
    height: auto;
    margin-bottom: 1rem;
}
.footer-brand p {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    max-width: 280px;
}
.footer-col h4 {
    font-family: var(--font-semibold);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-white);
    margin-bottom: 1.25rem;
}
.footer-col ul {
    list-style: none;
    padding: 0;
}
.footer-col li {
    margin-bottom: 0.6rem;
}
.footer-col a {
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-col a:hover {
    color: var(--color-primary);
}
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}
.footer-social a:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
}
.footer-social img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}
.footer-social a:hover img {
    filter: brightness(0);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 2rem;
    text-align: center;
}
.footer-bottom p {
    font-family: var(--font-body);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 1450px) {
    .btn_grande {
        width: 45%;
    }
    .btn-grande-titulo {
        margin-left: 30px;
        line-height: 40px;
        width: 100%;
    }
}
@media (max-width: 1300px) {
    .botones_laterales {
        display: none;
    }
}
@media (max-width: 1230px) {
    .btn-grande-dec {
        margin-left: 30px;
        margin-top: 15px;
    }
}

@media (max-width: 960px) {
    .header-wrapper {
        justify-content: center;

    }
    .header-logo {
        width: 100px;
        height: 40px;
    }
    .header-wrapper > .nav-desktop {
        display: none;
    }
    .menu_lateral {
        display: flex;
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 876px) {
    .btn_grande {
        width: 70%;
        height: 120px;
    }
}
@media (max-width: 700px) {
    .menu-panel {
        width: 50%;
    }
}
@media (max-width: 600px) {
    .btn_grande {
        width: 80%;
    }
    .btn-grande-titulo {
        font-size: 24px;
        width: 100%;
        line-height: 40px;
        width: 200px;
    }
    .btn_grande > .btn_variante {
        transform: rotateZ(-90deg) scale(0.7);
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .footer-brand p { max-width: 100%; }
    .footer-brand img { margin: 0 auto 1rem; }
    .footer-social { justify-content: center; }
}
@media (max-width: 450px) {
    .menu-panel {
        width: 65%;
    }
}
.form-feedback {
    display: none;
    padding: 12px;
    margin-top: 10px;
    border-radius: 8px;
    font-family: 'anek-medium';
    text-align: center;
}
.form-feedback.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.form-feedback.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (hover: none) {
    .btn_pregunta:hover {
        background-color: transparent;
    }
    .btn_pregunta:hover svg {
        stroke: var(--color-primary);
    }
  }