:root {
  --primary: #1A1D20;
  --secondary: #D4AF37;
  --accent: #2E5B88;
  --background: #F8F9FA;
  --surface: #FFFFFF;
  --text-primary: #212529;
  --text-muted: #6C757D;
  --border: #E9ECEF;
}

html {
    overflow-y: scroll;
    scroll-behavior: smooth;
    scroll-padding-top: 95px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
}

body {
    background: white;
}

.modal {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(92%, 680px);
    max-height: 92vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1.75rem 2.5rem;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);

    opacity: 0;
    transform: translateY(50%);

    transition: opacity 0.5s, transform 0.5s, display 0.5s, overlay 0.5s;
    transition-behavior: allow-discrete;

    &::backdrop {
        background: rgba(10, 12, 14, 0.72);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        opacity: 0;
        transition: opacity 0.5s;
    }
}

.modal[open] {
    opacity: 1;
    transform: translateY(0);

    &::backdrop {
        opacity: 1;
    }
}

@starting-style {
    .modal[open] {
        opacity: 0;
        transform: translateY(-40px);

        &::backdrop {
            opacity: 0;
        }
    }
}

.modal::-webkit-scrollbar {
    width: 8px;
}

.modal::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.5);
    border-radius: 4px;
}

.modal-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#btn-cerrar {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    background: var(--background);
    color: var(--text-primary);
    box-shadow: none;
}

#btn-cerrar:hover {
    background: var(--secondary);
    color: #fff;
    transform: scale(1.1);
}

.modal-container img {
    display: block;
    width: 130px;
    height: 130px;
    object-fit: contain;
    margin-bottom: 10px;
}

.modal-fila {
    display: flex;
    gap: 15px;
}

.modal-campo {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.modal-container form {
    width: 100%;
    max-width: 600px;

    display: flex;
    flex-direction: column;
}

.modal-container form h3 {
    text-align: center;
    margin: 0 0 10px;
    font-size: 26px;
    color: var(--primary);
}

.modal-container form h3::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    margin: 14px auto 0;
    background: linear-gradient(90deg, var(--secondary), #f1d86c);
    border-radius: 2px;
}

.modal-container form p {
    text-align: center;
    margin: 0 0 27px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.modal-container form label {
    margin-bottom: 7px;
    font-weight: 700;
    font-size: 14px;
    color: var(--primary);
}

.modal-container form input {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    background: var(--background);
    border: 2px solid var(--border);
    color: var(--text-primary);
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.modal-container form input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

.modal-container form button[type="submit"] {
    width: 100%;
    margin-top: 8px;
    padding: 15px;
}

input[type="file"]::file-selector-button {
    padding: 8px 14px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #f1d86c 0%, #d4af37 50%, #b8912a 100%);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    margin-right: 10px;
}

input[type="file"]::file-selector-button:hover {
    filter: brightness(1.08);
}

.header {
    position: sticky;
    top: 0;
    font-weight: 600;
    background: linear-gradient(180deg, #dde0e5 0%, #c9cdd3 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
    padding: 5px 8%;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid rgba(212, 175, 55, 0.5);
    border-top: 3px solid var(--secondary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}

body.transparent-nav .header {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: transparent;
    border-top-color: transparent;
    box-shadow: none;
}

body.transparent-nav .header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(238, 240, 243, 0.92) 0%, rgba(217, 221, 226, 0.96) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.6s ease;
}

body.transparent-nav .header.scrolled::before {
    opacity: 1;
}

body.transparent-nav .header.scrolled {
    border-bottom-color: rgba(212, 175, 55, 0.5);
    border-top-color: var(--secondary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.14);
}

body.transparent-nav .registro-cl {
    min-height: 100vh;
    margin-top: -85px;
}

body.transparent-nav .header .logo img {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.75));
    transition: filter 0.6s ease;
}

body.transparent-nav .header.scrolled .logo img {
    filter: none;
}

@media (min-width: 901px) {
    body.transparent-nav .header .nav-links a {
        color: rgba(255, 255, 255, 0.95);
        text-shadow: 0 1px 5px rgba(0, 0, 0, 0.35);
    }

    body.transparent-nav .header.scrolled .nav-links a {
        color: var(--primary);
        text-shadow: none;
    }

    body.transparent-nav.hero-claro .header .nav-links a {
        color: var(--primary);
        text-shadow: none;
    }

    body.transparent-nav.hero-claro .header .logo img {
        filter: none;
    }
}

.header .logo {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.header .logo img {
    height: 70px;
    width: auto;
    display: block;
}

.header nav {
    flex: 1;
    display: flex;
    align-items: center;
}

.header .nav-links {
    list-style: none;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header .nav-links li {
    display: inline-block;
    padding: 0 20px;
}

.header .nav-links li:hover {
    transform: scale(1.1);
    transition: all 0.5s ease 0s;
}

.header .nav-links a {
    font-weight: 600;
    font-size: 16.5px;
    letter-spacing: 0.5px;
    color: var(--primary);
    text-decoration: none;
    transition: 0.3s;
    padding-bottom: 8px;
}

.header .nav-links a.active {
    color: #D4AF37;
    border-bottom: 2px solid #D4AF37;
    padding-bottom: 8px;
}

.header .nav-links li a:hover {
    color: #D4AF37;
}

.header nav .btn {
    margin-left: 24px;
}

.nav-toggle {
    display: none;
    border: none;
    cursor: pointer;
}

button {
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #fff;
    padding: 12px 28px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(135deg, #f1d86c 0%, #d4af37 45%, #b8912a 100%);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease, background 0.3s ease, color 0.3s ease;
}

button:hover {
    filter: brightness(1.08);
    box-shadow: 0 12px 26px rgba(212, 175, 55, 0.45);
}

.header .btn button {
    padding: 11px 26px;
    font-size: 15px;
    font-weight: 700;
    background: linear-gradient(135deg, #f3cb19 0%, #d8bd63 50%, #b8912a 100%);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.35);
}

.header .btn button:hover {
    background: #fff;
    color: var(--secondary);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 22px rgba(212, 175, 55, 0.5);
}

.registro-cl {
    position: relative;
    min-height: calc(100vh - 85px);
    background: url(../imagenes/banner.jpeg) no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.registro-cl::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 15, 17, 0.62) 0%, rgba(26, 29, 32, 0.5) 50%, rgba(13, 15, 17, 0.66) 100%);
}

.registro-cl > * {
    position: relative;
    z-index: 1;
}

.landing-page {
    text-align: center;
    line-height: 1.5;
    max-width: 860px;
    padding: 40px 20px;
    color: #fff;
}

.landing-page h1 {
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.landing-page h1::after {
    content: "";
    display: block;
    width: 90px;
    height: 4px;
    margin: 22px auto 0;
    background: linear-gradient(90deg, var(--secondary), #f1d86c);
    border-radius: 2px;
}

.landing-page p {
    font-size: clamp(16px, 2vw, 22px);
    color: rgba(255, 255, 255, 0.94);
    margin-bottom: 34px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.landing-page .btn {
    padding: 15px 38px;
    font-size: 16px;
    border-radius: 30px;
    background: linear-gradient(135deg, #f1d86c 0%, #d4af37 45%, #b8912a 100%);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.35);
}

.landing-page .btn:hover {
    background: #fff;
    color: var(--secondary);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px) scale(1.05);
}

 .banner-presentacion {
    width: 100%;
    min-height: 500px;
    padding: 100px 8%;
    background: linear-gradient(180deg, var(--background) 0%, #fff 100%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.banner-contenido {
    padding: 20px 0;
}

.banner-contenido h4 {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary);
}

.banner-contenido h2 {
    margin: 0 0 22px;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--primary);
}

.banner-contenido p {
    max-width: 550px;
    line-height: 1.7;
    margin-bottom: 34px;
    color: var(--text-muted);
    font-size: 16px;
}

.banner-botones {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.banner-botones a {
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.banner-botones a:first-child {
    background: linear-gradient(135deg, #f1d86c 0%, #d4af37 45%, #b8912a 100%);
    color: #fff;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.banner-botones a:first-child:hover {
    transform: translateY(-3px);
    filter: brightness(1.08);
    box-shadow: 0 14px 30px rgba(212, 175, 55, 0.45);
}

.banner-botones a:last-child {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.banner-botones a:last-child:hover {
    background: var(--primary);
    color: var(--secondary);
    transform: translateY(-3px);
}

.banner-imagen {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.imagen-contenedor {
    width: 400px;
    height: 500px;
    overflow: hidden;
    border-radius: 24px;
    border: 5px solid var(--secondary);
    box-shadow:
        0 30px 60px rgba(26, 29, 32, 0.25),
        0 0 0 12px rgba(212, 175, 55, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.imagen-contenedor::before {
    content: "";
    position: absolute;
    inset: -18px;
    border: 2px solid rgba(212, 175, 55, 0.25);
    border-radius: 34px;
    pointer-events: none;
}

.imagen-contenedor img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.nuestro-equipo {
    width: 100%;
    padding: 100px 8%;

    text-align: center;
}

.equipo-introduccion {
    max-width: 850px;
    margin: 0 auto 70px;
}

.equipo-introduccion span {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 18px;
    padding: 7px 18px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 24px;
    background: rgba(212, 175, 55, 0.08);
}

.equipo-introduccion h2 {
    text-align: center;
    margin: 0 0 25px;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary);
}

.equipo-introduccion h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    margin: 22px auto 0;
    background: linear-gradient(90deg, var(--secondary), #f1d86c);
    border-radius: 2px;
}

.equipo-introduccion p {
    margin: 0 auto;
    max-width: 750px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
}

.equipo-integrantes {
    max-width: 1100px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 40px;
}

.integrante {
    text-align: center;

    transition: transform 0.3s ease;
}

.integrante:hover {
    transform: translateY(-8px);
}

.integrante-imagen {
    width: 100%;
    height: 380px;

    overflow: hidden;

    border-radius: 25px;

    margin-bottom: 20px;
}

.integrante-imagen img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.4s ease;
}

.integrante:hover .integrante-imagen img {
    transform: scale(1.05);
}

.integrante h3 {
    margin: 0 0 7px;

    font-size: 22px;
}

.integrante > span {
    font-size: 14px;
    font-weight: 500;
}

.testimonios {
    padding: 100px 8%;
    background: var(--background);
    text-align: center;
}

.testimonios-head h3 {
    color: var(--secondary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.testimonios-head h2 {
    max-width: 750px;
    margin: 0 auto 60px;
    font-size: 34px;
    color: var(--primary);
}

.carousel {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    padding: 45px 55px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(26, 29, 32, 0.08);
}

.carousel-slide blockquote {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-primary);
    margin: 0 0 25px;
    position: relative;
}

.carousel-slide blockquote::before {
    content: "\201C";
    display: block;
    font-size: 56px;
    line-height: 0.4;
    color: var(--secondary);
    margin-bottom: 18px;
}

.carousel-slide .testimonio-nombre {
    display: block;
    font-weight: 700;
    font-size: 17px;
    color: var(--primary);
    margin-bottom: 5px;
}

.carousel-slide .testimonio-cargo {
    color: var(--secondary);
    font-size: 14px;
    font-weight: 600;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;

    width: 44px;
    height: 44px;
    padding: 0;

    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-btn:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border-radius: 50%;
    background: #ccccd1;
    transition: background 0.3s ease, transform 0.3s ease;
}

.carousel-dot:hover {
    background: var(--secondary);
}

.carousel-dot.active {
    background: var(--secondary);
    transform: scale(1.25);
}

.footer {
    background: #262b31;
    color: #fff;
    border-top: 4px solid var(--secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
    gap: 40px;
    padding: 70px 8% 50px;
}

.footer-brand img {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.42));
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    max-width: 420px;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-social a {
    --brand: #fff;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--brand);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.footer-social a svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    display: block;
}

.footer-social a:hover {
    transform: translateY(-4px);
    background: var(--brand);
    color: #fff;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

.footer-social .social-whatsapp {
    --brand: #25D366;
}

.footer-social .social-linkedin {
    --brand: #0A66C2;
}

.footer-social .social-facebook {
    --brand: #1877F2;
}

.footer-social .social-tiktok {
    --brand: #25F4EE;
}

.footer-social .social-instagram {
    --brand: #E1306C;
}

.footer-social .social-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.footer-col h3 {
    color: var(--secondary);
    font-size: 18px;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 2px;
    background: var(--secondary);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a,
.footer-col li span {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-col li a:hover {
    color: var(--secondary);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 18px;
}

.footer-col form {
    display: flex;
}

.footer-col form input {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-right: none;
    border-radius: 10px 0 0 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    outline: none;
    font-size: 14px;
}

.footer-col form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-col form button {
    border-radius: 0 10px 10px 0;
    padding: 14px 20px;
    font-size: 13px;
    white-space: nowrap;
}

.footer-col form button:hover {
    filter: brightness(1.12);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    padding: 22px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 5px 4%;
    }

    .landing-page h1 {
        font-size: 34px;
    }

    .landing-page p {
        font-size: 18px;
    }

    .banner-presentacion {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 70px 5%;
        gap: 40px;
    }

    .banner-contenido {
        padding: 0;
    }

    .banner-contenido p {
        margin: 0 auto 30px;
    }

    .banner-botones {
        justify-content: center;
    }

    .imagen-contenedor {
        width: 280px;
        height: 360px;
        box-shadow:
            0 20px 40px rgba(26, 29, 32, 0.25),
            0 0 0 8px rgba(212, 175, 55, 0.08);
    }

    .imagen-contenedor::before {
        inset: -12px;
        border-radius: 28px;
    }

    .equipo-integrantes {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .testimonios {
        padding: 70px 5%;
    }

    .carousel-slide {
        padding: 35px 25px;
    }

    .carousel-btn {
        top: auto;
        bottom: -60px;
        transform: translateY(0);
    }

    .carousel-btn.prev {
        left: 30%;
    }

    .carousel-btn.next {
        right: 30%;
    }

    .carousel-btn:hover {
        transform: translateY(0) scale(1.1);
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        padding: 50px 6%;
    }
}

@media (max-width: 900px) {
    body.transparent-nav .header {
        background: #dde0e5;
        border-bottom: 1px solid rgba(212, 175, 55, 0.35);
        border-top: 3px solid var(--secondary);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    }

    body.transparent-nav .header::before {
        display: none;
    }

    body.transparent-nav .header.scrolled {
        border-bottom-color: rgba(212, 175, 55, 0.5);
        border-top-color: var(--secondary);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.14);
    }

    body.transparent-nav .header .logo img {
        filter: none;
    }

    body.transparent-nav .header .nav-links a {
        color: var(--primary);
        text-shadow: none;
    }

    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 10px;
        border-radius: 8px;
        background: transparent;
        box-shadow: none;
    }

    .nav-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        border-radius: 2px;
        background: var(--secondary);
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .nav-toggle.activo span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.activo span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.activo span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .header nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: center;
        background: #dde0e5;
        border-bottom: 3px solid var(--secondary);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        padding: 10px 0 22px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s ease, opacity 0.3s ease;
    }

    .header nav.abierto {
        max-height: 460px;
        opacity: 1;
    }

    .header .nav-links {
        flex-direction: column;
        gap: 4px;
        width: 100%;
    }

    .header .nav-links li {
        display: block;
        padding: 12px 0;
        width: 100%;
        text-align: center;
    }

    .header .nav-links a {
        font-size: 16px;
    }

    .header .nav-links li:hover {
        transform: scale(1);
    }

    .header nav .btn {
        margin: 14px 0 0;
    }
}

@media (max-width: 560px) {
    .modal {
        width: min(94%, 480px);
        padding: 2.2rem 1.25rem 2rem;
    }

    .modal-fila {
        flex-direction: column;
        gap: 0;
    }

    .modal-container img {
        width: 105px;
        height: 105px;
    }

    .modal-container form h3 {
        font-size: 21px;
    }

    .modal-container form input {
        padding: 13px 16px;
    }
}

.seccion {
    padding: 100px 8%;
}

.seccion-valores {
    background: var(--surface);
}

.nuestra-historia {
    background: linear-gradient(180deg, var(--background) 0%, #fff 100%);
}

.seccion-forma-trabajo {
    background: linear-gradient(180deg, #fff 0%, var(--background) 100%);
}

.btn-pill {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 30px;
    background: linear-gradient(135deg, #f1d86c 0%, #d4af37 45%, #b8912a 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.btn-pill:hover {
    transform: translateY(-3px);
    filter: brightness(1.08);
    box-shadow: 0 14px 30px rgba(212, 175, 55, 0.45);
}

.btn-pill-outline {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    border: 2px solid #fff;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.btn-pill-outline:hover {
    background: #fff;
    color: var(--secondary);
    transform: translateY(-3px);
}

.sobre-nosotros {
    position: relative;
    min-height: calc(100vh - 85px);
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 20%, rgba(212, 175, 55, 0.35), transparent 42%),
        radial-gradient(circle at 10% 90%, rgba(46, 91, 136, 0.14), transparent 46%),
        linear-gradient(135deg, #fbfbfc 0%, #f1f3f6 55%, #e8eaee 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 130px 8%;
}

body.transparent-nav .sobre-nosotros {
    min-height: 100vh;
    margin-top: -85px;
}

.sobre-nosotros::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(26, 29, 32, 0.16) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 70%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 70%);
}

.sobre-nosotros::after {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    right: -160px;
    top: -160px;
    border: 2px solid rgba(212, 175, 55, 0.35);
    border-radius: 50%;
    box-shadow:
        0 0 0 46px rgba(212, 175, 55, 0.05),
        0 0 0 92px rgba(212, 175, 55, 0.03);
    pointer-events: none;
}

.sobre-nosotros > * {
    position: relative;
    z-index: 1;
}

.sobre-contenido {
    max-width: 860px;
}

.sobre-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #8a6a12;
    margin-bottom: 22px;
    padding: 7px 18px;
    border: 1px solid rgba(212, 175, 55, 0.65);
    border-radius: 24px;
    background: rgba(212, 175, 55, 0.16);
}

.sobre-nosotros h1 {
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 24px;
}

.sobre-nosotros h1::after {
    content: "";
    display: block;
    width: 90px;
    height: 4px;
    margin: 22px auto 0;
    background: linear-gradient(90deg, var(--secondary), #b8912a);
    border-radius: 2px;
}

.sobre-nosotros p {
    max-width: 720px;
    margin: 0 auto 18px;
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.8;
    color: #3f4650;
}

.sobre-fichas {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.sobre-fichas span {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #8a6a12;
    border: 1px solid rgba(212, 175, 55, 0.5);
    background: rgba(212, 175, 55, 0.12);
    padding: 8px 18px;
    border-radius: 24px;
}

.sobre-acciones {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.sobre-acciones .btn-pill-outline {
    border: 2px solid var(--secondary);
    color: #8a6a12;
}

.sobre-acciones .btn-pill-outline:hover {
    background: var(--secondary);
    color: #fff;
}

.timeline {
    position: relative;
    max-width: 1050px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, var(--secondary) 0%, #f1d86c 100%);
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 45px 55px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-item::after {
    content: "";
    position: absolute;
    top: 24px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--secondary);
    border: 4px solid #fff;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.35), 0 6px 16px rgba(0, 0, 0, 0.25);
}

.timeline-item:nth-child(odd)::after {
    right: -9px;
}

.timeline-item:nth-child(even)::after {
    left: -9px;
}

.timeline-fecha {
    display: inline-block;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
    background: linear-gradient(135deg, #f1d86c 0%, #d4af37 50%, #b8912a 100%);
    padding: 7px 18px;
    border-radius: 20px;
    margin-bottom: 14px;
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.35);
}

.timeline-contenido {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 26px 28px;
    box-shadow: 0 14px 34px rgba(26, 29, 32, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-contenido:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(26, 29, 32, 0.14);
}

.timeline-contenido h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 10px;
}

.timeline-contenido p {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--text-muted);
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    max-width: 1100px;
    margin: 0 auto;
}

.valor-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 45px 32px 40px;
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.valor-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f1d86c 0%, #d4af37 50%, #b8912a 100%);
}

.valor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 50px rgba(26, 29, 32, 0.14);
}

.valor-icono {
    width: 78px;
    height: 78px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}

.valor-icono svg {
    width: 34px;
    height: 34px;
    stroke-width: 1.8;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.valor-card h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 14px;
}

.valor-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
}

.forma-trabajo-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    max-width: 1150px;
    margin: 0 auto;
}

.forma-trabajo-texto span {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 18px;
    padding: 7px 18px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 24px;
    background: rgba(212, 175, 55, 0.08);
}

.forma-trabajo-texto h2 {
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary);
    margin: 0 0 20px;
}

.forma-trabajo-texto h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    margin: 20px 0 0;
    background: linear-gradient(90deg, var(--secondary), #f1d86c);
    border-radius: 2px;
}

.forma-trabajo-texto p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.forma-trabajo-lista {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.forma-trabajo-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px 26px;
    box-shadow: 0 10px 26px rgba(26, 29, 32, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.forma-trabajo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(26, 29, 32, 0.12);
}

.forma-trabajo-item .check {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}

.forma-trabajo-item .check svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.forma-trabajo-item h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 6px;
}

.forma-trabajo-item p {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--text-muted);
}

.seccion-estadisticas {
    position: relative;
    padding: 100px 8%;
    background: var(--primary);
    overflow: hidden;
}

.seccion-estadisticas::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(212, 175, 55, 0.14), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(46, 91, 136, 0.3), transparent 45%);
}

.seccion-estadisticas > * {
    position: relative;
    z-index: 1;
}

.seccion-estadisticas .equipo-introduccion h2 {
    color: #fff;
}

.seccion-estadisticas .equipo-introduccion p {
    color: rgba(255, 255, 255, 0.78);
}

.estadisticas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.estadistica {
    text-align: center;
    padding: 40px 20px 36px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 20px;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.estadistica:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(212, 175, 55, 0.55);
}

.estadistica-numero {
    display: block;
    font-size: clamp(38px, 4vw, 54px);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #f1d86c 0%, #d4af37 60%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.estadistica-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

html.js .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

html.js .reveal.visible {
    opacity: 1;
    transform: none;
}

html.js .timeline-item:nth-child(2),
html.js .valor-card:nth-child(2),
html.js .forma-trabajo-item:nth-child(2),
html.js .estadistica:nth-child(2),
html.js .integrante:nth-child(2) {
    transition-delay: 0.12s;
}

html.js .timeline-item:nth-child(3),
html.js .valor-card:nth-child(3),
html.js .forma-trabajo-item:nth-child(3),
html.js .estadistica:nth-child(3),
html.js .integrante:nth-child(3) {
    transition-delay: 0.24s;
}

html.js .timeline-item:nth-child(4),
html.js .estadistica:nth-child(4) {
    transition-delay: 0.36s;
}

@media (prefers-reduced-motion: reduce) {
    html.js .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 992px) {
    .valores-grid {
        grid-template-columns: 1fr 1fr;
    }

    .forma-trabajo-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .estadisticas {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sobre-nosotros {
        padding: 120px 5%;
    }

    .timeline::before {
        left: 8px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        width: 100%;
        left: 0;
        text-align: left;
        padding: 0 0 40px 48px;
    }

    .timeline-item::after,
    .timeline-item:nth-child(odd)::after,
    .timeline-item:nth-child(even)::after {
        left: -1px;
        right: auto;
    }
}

@media (max-width: 640px) {
    .seccion,
    .seccion-estadisticas {
        padding: 70px 6%;
    }

    .valores-grid {
        grid-template-columns: 1fr;
    }

    .estadisticas {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: no-preference) {
    @view-transition {
        navigation: auto;
    }

    @keyframes vt-salida {
        from { opacity: 1; transform: translateY(0); }
        to { opacity: 0; transform: translateY(-16px); }
    }

    @keyframes vt-entrada {
        from { opacity: 0; transform: translateY(16px); }
        to { opacity: 1; transform: translateY(0); }
    }

    ::view-transition-old(root) {
        animation: vt-salida 0.32s ease-in both;
    }

    ::view-transition-new(root) {
        animation: vt-entrada 0.32s ease-out both;
    }
}

.seccion-servicios {
    background: linear-gradient(180deg, var(--background) 0%, #fff 100%);
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.servicio-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 40px 32px 34px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 12px 30px rgba(26, 29, 32, 0.06);
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.servicio-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f1d86c 0%, #d4af37 50%, #b8912a 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 50px rgba(26, 29, 32, 0.14);
    border-color: rgba(212, 175, 55, 0.4);
}

.servicio-card:hover::before {
    opacity: 1;
}

.servicio-card::after {
    content: "+";
    position: absolute;
    top: 22px;
    right: 22px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
    color: var(--secondary);
    border: 1px solid rgba(212, 175, 55, 0.5);
    background: rgba(212, 175, 55, 0.1);
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.servicio-card:hover::after,
.servicio-card:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}

.servicio-card:hover::after {
    background: var(--secondary);
    color: #fff;
}

.servicio-card:active {
    transform: translateY(-3px) scale(0.985);
    box-shadow: 0 10px 24px rgba(26, 29, 32, 0.1);
}

.servicio-card:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 3px;
}

.servicio-icono {
    width: 72px;
    height: 72px;
    margin-bottom: 22px;
    border-radius: 20px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.servicio-card:hover .servicio-icono {
    background: var(--secondary);
    color: #fff;
    border-color: var(--secondary);
    transform: scale(1.06);
}

.servicio-icono svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.servicio-card h3 {
    font-size: 21px;
    color: var(--primary);
    margin-bottom: 12px;
}

.servicio-card > p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 22px;
    flex: 1 0 auto;
}

.servicio-feat {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px dashed var(--border);
}

.servicio-feat li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.servicio-feat li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: none;
    stroke: var(--secondary);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cta-banner {
    position: relative;
    padding: 90px 8%;
    background: var(--primary);
    text-align: center;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 15%, rgba(212, 175, 55, 0.16), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(46, 91, 136, 0.3), transparent 45%);
}

.cta-banner > * {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 16px;
}

.cta-banner h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    margin: 22px auto 0;
    background: linear-gradient(90deg, var(--secondary), #f1d86c);
    border-radius: 2px;
}

.cta-banner p {
    max-width: 640px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.7;
}

.cta-acciones {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

html.js .servicio-card:nth-child(2) {
    transition-delay: 0.12s;
}

html.js .servicio-card:nth-child(3) {
    transition-delay: 0.24s;
}

html.js .servicio-card:nth-child(4) {
    transition-delay: 0.36s;
}

@media (min-width: 701px) and (max-width: 1080px) {
    .servicios-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }
    .servicios-grid .servicio-card:last-child {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 110px 1fr;
        grid-template-rows: auto auto auto;
        column-gap: 30px;
        align-items: center;
        padding: 34px 40px;
    }
    .servicios-grid .servicio-card:last-child .servicio-icono {
        grid-column: 1;
        grid-row: 1 / 4;
        margin: 0;
    }
    .servicios-grid .servicio-card:last-child h3 {
        grid-column: 2;
        grid-row: 1;
        align-self: end;
        margin-bottom: 8px;
    }
    .servicios-grid .servicio-card:last-child > p {
        grid-column: 2;
        grid-row: 2;
        flex: none;
        margin-bottom: 16px;
    }
    .servicios-grid .servicio-card:last-child .servicio-feat {
        grid-column: 2;
        grid-row: 3;
        margin-top: 0;
    }
}

@media (max-width: 700px) {
    .servicios-grid {
        grid-template-columns: 1fr;
    }
    .servicios-grid .servicio-card:last-child {
        grid-column: auto;
        display: flex;
    }
}

@media (max-width: 640px) {
    .cta-banner {
        padding: 70px 6%;
    }
}

.seccion-testimonios {
    background: linear-gradient(180deg, var(--background) 0%, #fff 100%);
}

.asesor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1240px;
    margin: 0 auto;
}

.asesor-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 0 0 34px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(26, 29, 32, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.asesor-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f1d86c 0%, #d4af37 50%, #b8912a 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.asesor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 50px rgba(26, 29, 32, 0.14);
}

.asesor-card:hover::before {
    opacity: 1;
}

.asesor-foto {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1d86c 0%, #d4af37 50%, #b8912a 100%);
}

.asesor-foto::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 62%, rgba(26, 29, 32, 0.35) 100%);
    pointer-events: none;
}

.asesor-foto-icono {
    width: 48px;
    height: 48px;
    fill: none;
    stroke: rgba(255, 255, 255, 0.85);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.asesor-foto img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.asesor-card:hover .asesor-foto img {
    transform: scale(1.05);
}

.asesor-foto img[src=""] {
    display: none;
}

.asesor-info {
    padding: 26px 30px 0;
    text-align: center;
}

.asesor-info h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 3px;
}

.asesor-info span {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
}

.asesor-card blockquote {
    margin: 16px 0 0;
    padding: 0 30px;
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-muted);
    text-align: center;
    position: relative;
}

.asesor-card blockquote::before {
    content: "\201C";
    display: block;
    font-size: 44px;
    line-height: 0.6;
    color: var(--secondary);
    margin-bottom: 14px;
}

.seccion-diferencias {
    position: relative;
    padding: 100px 8%;
    background: var(--primary);
    overflow: hidden;
}

.seccion-diferencias::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(212, 175, 55, 0.14), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(46, 91, 136, 0.3), transparent 45%);
}

.seccion-diferencias > * {
    position: relative;
    z-index: 1;
}

.seccion-diferencias .equipo-introduccion h2 {
    color: #fff;
}

.seccion-diferencias .equipo-introduccion p {
    color: rgba(255, 255, 255, 0.78);
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.diff-card {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 20px;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.diff-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(212, 175, 55, 0.55);
}

.diff-icono {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}

.diff-icono svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.diff-card h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 14px;
}

.diff-card p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14.5px;
    line-height: 1.75;
}

.diff-firma {
    display: block;
    margin-top: 18px;
    font-size: 13px;
    font-weight: 700;
    color: var(--secondary);
}

.seccion-faq {
    background: var(--surface);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(26, 29, 32, 0.05);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 14px 30px rgba(26, 29, 32, 0.09);
}

.faq-item[open] {
    border-color: rgba(212, 175, 55, 0.45);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-respuesta {
    padding: 0 24px 20px;
}

.faq-respuesta p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
}

.faq-asesor {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 700;
    font-style: normal;
    color: var(--secondary);
}

.seccion-galeria {
    background: linear-gradient(180deg, var(--background) 0%, #fff 100%);
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    max-width: 1150px;
    margin: 0 auto;
}

.galeria-item {
    position: relative;
    aspect-ratio: 4 / 3;
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 12px 30px rgba(26, 29, 32, 0.08);
    background: linear-gradient(135deg, #f1d86c 0%, #d4af37 50%, #b8912a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeria-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(26, 29, 32, 0.16);
}

.galeria-icono {
    width: 40px;
    height: 40px;
    fill: none;
    stroke: rgba(255, 255, 255, 0.85);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.galeria-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.galeria-item:hover img {
    transform: scale(1.06);
}

.galeria-item img[src=""] {
    display: none;
}

.galeria-item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 36px 16px 13px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
    background: linear-gradient(180deg, transparent 0%, rgba(26, 29, 32, 0.78) 100%);
}

html.js .galeria-item:nth-child(2) {
    transition-delay: 0.1s;
}

html.js .galeria-item:nth-child(3) {
    transition-delay: 0.2s;
}

html.js .galeria-item:nth-child(4) {
    transition-delay: 0.3s;
}

html.js .galeria-item:nth-child(5) {
    transition-delay: 0.4s;
}

html.js .galeria-item:nth-child(6) {
    transition-delay: 0.5s;
}

html.js .asesor-card:nth-child(2),
html.js .diff-card:nth-child(2) {
    transition-delay: 0.12s;
}

html.js .asesor-card:nth-child(3),
html.js .diff-card:nth-child(3) {
    transition-delay: 0.24s;
}

html.js .asesor-card:nth-child(4) {
    transition-delay: 0.36s;
}

@media (max-width: 768px) {
    .galeria-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .galeria-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .asesor-grid,
    .diff-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 860px) {
    .asesor-grid,
    .diff-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .seccion-diferencias {
        padding: 70px 6%;
    }
}

.galeria-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(10, 12, 14, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.galeria-modal.abierto {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.galeria-modal-panel {
    width: min(94%, 1020px);
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    opacity: 0;
    transform: translateY(26px) scale(0.96);
    transition: opacity 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.galeria-modal.abierto .galeria-modal-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.galeria-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 26px 16px;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    position: sticky;
    top: 0;
    z-index: 2;
}

.galeria-badge {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 6px;
}

.galeria-modal-head h3 {
    font-size: 22px;
    color: var(--primary);
    margin: 0;
}

.galeria-cerrar {
    width: 42px;
    height: 42px;
    padding: 0;
    flex-shrink: 0;
    border-radius: 50%;
    font-size: 16px;
    background: var(--background);
    color: var(--text-primary);
    box-shadow: none;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.galeria-cerrar:hover {
    background: var(--secondary);
    color: #fff;
    transform: rotate(90deg);
}

.galeria-modal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 28px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.galeria-modal-item {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: linear-gradient(135deg, #f1d86c 0%, #d4af37 50%, #b8912a 100%);
    cursor: zoom-in;
    opacity: 1;
    animation: galeriaAparecer 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
    animation-delay: var(--i, 0ms);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

@keyframes galeriaAparecer {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.galeria-modal-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(26, 29, 32, 0.18);
}

.galeria-modal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.galeria-modal-item:hover img {
    transform: scale(1.07);
}

.galeria-modal-item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 34px 14px 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
    background: linear-gradient(180deg, transparent 0%, rgba(26, 29, 32, 0.82) 100%);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.galeria-modal-grid::-webkit-scrollbar {
    width: 8px;
}

.galeria-modal-grid::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.5);
    border-radius: 4px;
}

.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 95;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(8, 10, 12, 0.94);
    outline: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal.abierto {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox-modal.zoom-activo {
    justify-content: flex-start;
    align-items: flex-start;
    overflow: auto;
}

.lightbox-figura {
    max-width: 92vw;
    max-height: 88vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.lightbox-modal.abierto .lightbox-figura {
    opacity: 1;
    transform: scale(1);
}

.lightbox-figura img {
    max-width: 100%;
    max-height: 82vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    object-fit: contain;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.lightbox-modal.zoom-activo .lightbox-figura {
    max-width: none;
    max-height: none;
    align-items: flex-start;
    gap: 10px;
    padding: 40px;
}

.lightbox-modal.zoom-activo .lightbox-figura img {
    max-width: none;
    max-height: none;
    cursor: zoom-out;
}

.lightbox-figura figcaption {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-align: center;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.lightbox-cerrar {
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 3;
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    box-shadow: none;
    backdrop-filter: blur(4px);
    transition: transform 0.3s ease, background 0.3s ease;
}

.lightbox-cerrar:hover {
    background: var(--secondary);
    color: #fff;
    transform: rotate(90deg);
}

.lightbox-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 50%;
    font-size: 20px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    box-shadow: none;
    backdrop-filter: blur(4px);
    transition: transform 0.3s ease, background 0.3s ease;
}

.lightbox-btn.prev {
    left: 22px;
}

.lightbox-btn.next {
    right: 22px;
}

.lightbox-btn:hover:not(:disabled) {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-50%) scale(1.08);
}

.lightbox-btn:disabled {
    opacity: 0.3;
    cursor: default;
}

@media (max-width: 760px) {
    .galeria-modal-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 520px) {
    .galeria-modal-grid {
        grid-template-columns: 1fr;
    }
    .lightbox-btn.prev {
        left: 10px;
    }
    .lightbox-btn.next {
        right: 10px;
    }
}