:root {
    --color-bg: #FFFFFF;
    --color-text: #000000;
    --color-gold: #D4AF37;
    --color-gold-light: #F3E5AB;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
}

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

html,
body {
    width: 100%;
    min-height: calc(100vh - 120px);
    overflow-x: clip;
    /* clip en lugar de hidden soluciona el bug de position: sticky */
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    position: relative;
}

/* PartÃ­culas en el fondo */
#particles-js {
    position: fixed;
    /* Fixed para que el polvo siga cayendo en toda la pÃ¡gina */
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 5 !important;
    /* Asegurar visibilidad sobre el fondo pero bajo el contenido */
    pointer-events: none !important;
    /* Evitar que bloquee clics en el formulario */
}

/* ==========================================================================
   ANIMACIONES DE REVELADO (SCROLL REVEAL)
   ========================================================================== */

.reveal-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
        transform 1s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Forzado para asegurar que el efecto se vea en mÃ³viles */
@media (max-width: 900px) {
    .stack-card.reveal-item {
        transition: opacity 1.2s ease, transform 1.2s ease !important;
    }
}

/* Retrasos opcionales para secuencias */
.reveal-delay-1 {
    transition-delay: 0.15s;
}

.reveal-delay-2 {
    transition-delay: 0.3s;
}

.reveal-delay-3 {
    transition-delay: 0.45s;
}

#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.95);
    /* Fondo sÃ³lido por defecto para visibilidad */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5rem;
    /* Reducido de 2.5rem para que estÃ© mÃ¡s arriba */
    transition: padding 0.3s ease;
}

#main-header.scrolled .header-container {
    padding: 1rem 5rem;
}

.logo img {
    height: 85px;
    /* TamaÃ±o ajustado para elegancia */
    object-fit: contain;
    mix-blend-mode: multiply;
    /* Asegura que fondos blancos en el logo se mezclen */
    transition: height 0.3s ease;
}

#main-header.scrolled .logo img {
    height: 60px;
    /* Logo mÃ¡s pequeÃ±o al scrollear */
}

/* Desktop Nav */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.desktop-nav ul li a {
    text-decoration: none;
    color: var(--color-text);
    font-size: 0.95rem;
    /* Letras un poco mÃ¡s grandes */
    font-weight: 500;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.desktop-nav ul li a:hover,
.desktop-nav ul li a.active {
    color: var(--color-gold);
}

.btn-reservar {
    text-decoration: none;
    color: var(--color-text);
    border: 1px solid var(--color-text);
    padding: 0.8rem 2.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    transition: all 0.4s ease;
    background: transparent;
    text-transform: uppercase;
    display: inline-block;
}

.btn-reservar:hover {
    background-color: var(--color-gold-light);
    border-color: var(--color-gold-light);
    color: var(--color-text);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-reservar.full-width {
    width: 100%;
    text-align: center;
}

/* Mobile Toggle & Menu */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--color-text);
    padding: 0.5rem;
}

.mobile-toggle svg {
    width: 28px;
    height: 28px;
    transition: transform 0.5s ease-in-out;
}

.mobile-toggle.is-open svg {
    transform: rotate(-45deg);
}

.hamburger .line-1 {
    stroke-dasharray: 12 63;
    transition: all 0.5s ease-in-out;
}

.mobile-toggle.is-open .hamburger .line-1 {
    stroke-dasharray: 20 300;
    stroke-dashoffset: -32.42px;
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: none;
    flex-direction: column;
    padding: 2rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease-out;
}

.mobile-menu.is-open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 1rem;
    text-align: center;
    width: 100%;
}

.mobile-menu ul li a {
    text-decoration: none;
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    padding: 0.8rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.mobile-menu ul li a:hover {
    color: var(--color-gold);
    background-color: #f9fafb;
}

main {
    position: relative;
    z-index: 5;
    display: flex;
    min-height: calc(100vh - 100px);
    padding-top: 100px;
    /* SeparaciÃ³n de la imagen del header */
}

main#inicio {
    padding-left: 5rem;
}

.content-left {
    flex: 1.2;
    display: flex;
    align-items: center;
    padding-bottom: 8rem;
    /* Ajuste Ã³ptico vertical */
}

.text-wrapper {
    max-width: 800px;
}

.text-wrapper h1 {
    font-family: var(--font-serif);
    font-size: 8vw;
    line-height: 0.85;
    /* Interlineado ajustado */
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    text-transform: uppercase;
    color: var(--color-text);
}

.text-wrapper p {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0.4em;
    /* Amplio espaciado entre letras */
    color: #444;
    text-transform: uppercase;
    margin-left: 0.5rem;
}

.scroll-down {
    position: absolute;
    bottom: 3rem;
    left: 5rem;
    animation: bounce 2s infinite;
    z-index: 10;
}

.scroll-down a {
    color: var(--color-text);
    transition: color 0.3s;
    display: inline-block;
}

.scroll-down a:hover {
    color: var(--color-gold);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.content-right {
    flex: 1.3;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
}

.image-wrapper {
    position: relative;
    width: 100%;
    /* La imagen ocupa mÃ¡s espacio para mostrarse mÃ¡s completa */
    height: 100%;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    /* Enfocado en el rostro */
}

/* Efecto de recorte suave fundido con el blanco */
.fade-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, #FFFFFF 0%, rgba(255, 255, 255, 0) 25%),
        linear-gradient(to top, #FFFFFF 0%, rgba(255, 255, 255, 0) 15%);
    pointer-events: none;
}

/* Media Queries para adaptabilidad */
@media (max-width: 1024px) {
    .header-container {
        padding: 2rem 3rem;
    }

    #main-header.scrolled .header-container {
        padding: 1rem 3rem;
    }

    main {
        padding-left: 3rem;
    }

    .text-wrapper h1 {
        font-size: 9vw;
    }
}

@media (max-width: 768px) {

    /* body { overflow-y: auto; } - Removido porque rompe position: sticky (revelado cinemático) en móviles */
    main {
        flex-direction: column;
        height: auto;
        padding: 0 1.5rem;
        margin-top: 55px;
        /* Reducido a 55px para ajustarse al menú ultra-estrecho */
        /* Espacio para el fixed header */
    }

    .header-container {
        padding: 0.4rem 1.2rem;
        /* Relleno ultra-estrecho */
    }

    #main-header.scrolled .header-container {
        padding: 0.25rem 1.2rem;
        /* Relleno mínimo al hacer scroll */
    }

    .desktop-nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .logo img {
        height: 36px;
        /* Logo de 36px súper compacto, estilizado y sutil */
    }

    .btn-reservar {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }

    .content-left {
        padding-top: 1.5rem;
        padding-bottom: 5rem;
        text-align: center;
    }

    .text-wrapper p {
        letter-spacing: 0.15em;
        font-size: 13px;
    }

    .scroll-down {
        left: 0;
        right: 0;
        text-align: center;
        bottom: 1rem;
    }

    .content-right {
        height: 60vh;
    }

    .image-wrapper {
        width: 100%;
    }

    .instagram-section {
        padding: 4rem 1.5rem;
    }

    .ig-layout-container {
        flex-direction: column;
        gap: 3rem;
    }

    .ig-left {
        justify-content: center;
    }

    .instagram-post {
        max-width: 100%;
        /* Que no quede gigante en mÃ³viles, se adapta al 100% de la pantalla */
    }

    .ig-text-wrapper h2 {
        font-size: 2.5rem;
        text-align: center;
    }

    .ig-text-wrapper p {
        text-align: center;
    }
}

/* --- Cinematic Video Section --- */
.video-section {
    position: relative;
    width: 100%;
    height: 170vh;
    /* Permite espacio para hacer scroll y que las secciones pasen por encima */
    z-index: 1;
    /* Nivel base para que otras secciones lo tapen */
    background-color: transparent;
}

.video-sticky-wrapper {
    position: -webkit-sticky;
    /* Para compatibilidad con iOS Safari */
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100vh - 120px);
    /* Fijo al tamaÃ±o de pantalla completo */
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: calc(100vh - 120px);
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: calc(100vh - 120px);
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
    pointer-events: none;
}

/* --- Services Section --- */
.services-section {
    margin-top: -70vh;
    /* Superpone esta secciÃ³n sobre el video para crear el efecto de que pasa por encima */
    background-color: #121212;
    padding: 6rem 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 5;
    /* Alto para que pase sobre el video */
    color: #fff;
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
}

.services-subtitle {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

.services-header h2 {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.services-header p {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: #a0a0a0;
    font-weight: 300;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    /* SeparaciÃ³n aÃºn mayor */
    max-width: 1600px;
    /* Casi todo el ancho de pantallas ultra-grandes */
    width: 100%;
}

.service-card {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background-color: #000;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover img {
    transform: scale(1.05);
    /* Zoom cinemÃ¡tico */
}

.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    transition: background 0.5s ease;
}

.service-card:hover .service-content {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
}

.service-content h3 {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
    transition: transform 0.5s ease;
}

.service-card:hover .service-content h3 {
    transform: translateY(-10px);
}

.service-hover-text {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(20px);
}

.service-card:hover .service-hover-text {
    max-height: 200px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 1rem;
}

.service-hover-text p {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.6;
    color: #d1d1d1;
    margin-bottom: 1.5rem;
}

.service-link {
    color: #fff;
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.service-card:hover .service-link::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Responsividad para la cuadrÃ­cula de servicios */
@media (max-width: 1024px) {
    .services-section {
        padding: 5rem 3rem;
    }

    .services-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 4rem 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        /* Menos espacio entre tarjetas */
        max-width: 280px;
        /* Tarjetas muy reducidas y compactas en mÃ³viles */
        margin: 0 auto;
        /* Perfectamente centradas */
    }

    .services-header h2 {
        font-size: 2.2rem;
        /* TÃ­tulo un poco mÃ¡s pequeÃ±o para equilibrar */
    }

    .service-card {
        aspect-ratio: 1/1.2;
        /* Ligeramente menos alta para no ocupar toda la pantalla */
    }
}

/* --- Instagram Section --- */
.instagram-section {
    background-color: transparent;
    /* Permite ver el fondo blanco y las partÃ­culas detrÃ¡s */
    min-height: calc(100vh - 120px);
    /* Ocupa la pantalla completa al deslizar */
    padding: 6rem 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 5;
}

.ig-layout-container {
    display: flex;
    align-items: center;
    max-width: 1400px;
    /* MÃ¡s amplio en escritorio */
    width: 100%;
    gap: 4rem;
    /* Reduje un poco el gap para dar mÃ¡s espacio al post */
}

.ig-left {
    flex: 1.3;
    /* Toma mÃ¡s espacio que la derecha */
    display: flex;
    justify-content: flex-start;
    /* Alineado a la izquierda */
}

.ig-right {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.ig-text-wrapper {
    max-width: 500px;
}

.ig-text-wrapper h2 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    font-weight: 600;
    line-height: 1.1;
}

.ig-text-wrapper p {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: #444;
    line-height: 1.8;
    letter-spacing: 0.05em;
}

.instagram-post {
    background-color: #ffffff;
    width: 100%;
    max-width: 800px;
    /* MÃ¡s amplio para ocupar la izquierda completa */
    border-radius: 8px;
    border: 1px solid #dbdbdb;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #000000;
}

.ig-header {
    display: flex;
    align-items: center;
    padding: 14px;
}

.ig-avatar-wrapper {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    /* Evita que se deforme o escale inesperadamente */
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
    border: 1px solid #dbdbdb;
    background-color: #fafafa;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ig-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: normal;
}

.ig-user-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ig-username {
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
}

.ig-location {
    font-size: 12px;
    line-height: 15px;
}

.ig-more {
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    font-size: 18px;
    margin-top: -8px;
}

.ig-carousel-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #fafafa;
}

.ig-carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease-in-out;
}

.ig-carousel-track img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ig-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    color: #262626;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    opacity: 0.8;
    transition: opacity 0.2s;
}

.ig-nav-btn:hover {
    opacity: 1;
}

.ig-nav-btn.prev {
    left: 10px;
}

.ig-nav-btn.next {
    right: 10px;
}

.ig-nav-btn svg {
    width: 16px;
    height: 16px;
}

.ig-footer {
    padding: 14px;
}

.ig-actions {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.ig-action-left {
    display: flex;
    gap: 16px;
}

.ig-action-left svg,
.ig-action-right svg {
    width: 24px;
    height: 24px;
    cursor: pointer;
    color: #262626;
    transition: transform 0.1s;
}

.ig-action-left svg:active,
.ig-action-right svg:active {
    transform: scale(0.9);
}

.ig-likes {
    font-size: 14px;
    margin-bottom: 8px;
}

.ig-likes strong {
    font-weight: 600;
}

.ig-date {
    font-size: 10px;
    color: #8e8e8e;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Sobre MÃ­ Section --- */
.about-section {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 120px);
    background-color: #121212;
    /* Fondo negro mate */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    /* Para el fade-in */
    transform: translateY(30px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
    z-index: 10;
}

.about-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.about-container {
    display: flex;
    width: 100%;
    flex: 1;
    align-items: center;
}

/* Lado Izquierdo: Imagen */
.about-left {
    flex: 1;
    height: calc(100vh - 120px);
    position: relative;
    overflow: hidden;
}

.about-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.about-parallax-inner {
    width: 100%;
    height: 120%;
    /* Extra height for parallax */
    position: absolute;
    top: -10%;
    left: 0;
}

.about-img {
    width: 95%;
    height: 95%;
    object-fit: cover;
    /* Vuelve a llenar el espacio como antes (mÃ¡s amplia) */
    object-position: center top;
    /* Alinea hacia arriba para ver el rostro */
    margin-top: 5%;
    /* Un poquito mÃ¡s abajo y reducida que el 100% original */
    animation: slowZoom 20s infinite alternate linear;
}

.about-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent 0%, transparent 60%, #121212 100%);
    z-index: 2;
    pointer-events: none;
}

.about-image-text {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 5;
    font-family: var(--font-serif);
    font-size: 6.5rem;
    line-height: 1.1;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.7);
    pointer-events: none;
}

.about-jenn-logo {
    height: 1.6em;
    /* MÃ¡s del doble de grande para superar el texto SOY */
    width: auto;
    display: inline-block;
    margin-top: -15px;
    /* Ajuste para que se acerque al texto SOY superior */
    margin-left: -5%;
    /* Ligeramente a la izquierda si el logo tiene mÃ¡rgenes propios */
    filter: drop-shadow(2px 2px 15px rgba(0, 0, 0, 0.6));
    max-width: 150%;
    /* Permite que el logo sobresalga del contenedor de texto si es muy ancho */
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

/* Lado Derecho: Texto */
.about-right {
    flex: 1;
    padding: 4rem 6rem;
    display: flex;
    align-items: center;
    z-index: 3;
}

.about-text-content {
    max-width: 600px;
    opacity: 0;
    transform: translateX(50px);
    /* Slide-in desde la derecha */
    transition: opacity 1s ease-out 0.4s, transform 1s ease-out 0.4s;
}

.about-section.is-visible .about-text-content {
    opacity: 1;
    transform: translateX(0);
}

.about-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 2rem;
    font-weight: 400;
}

.about-description {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: #f4f4f4;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.fw-semibold {
    font-weight: 600;
    color: #fff;
}

.highlight-profession {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--color-gold);
    display: inline-block;
    margin-right: 0.2rem;
}

/* Botones CTA */
.about-cta-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
    align-items: center;
}

.btn-pill {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    /* Pill shape */
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.btn-pill.outline-gold {
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    background-color: transparent;
}

.btn-pill.outline-gold:hover {
    background-color: var(--color-gold);
    color: #000;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-pill.outline-white {
    border: 1px solid transparent;
    /* MÃ¡s discreto */
    color: #fff;
    background-color: transparent;
    padding: 1rem 1rem;
}

.btn-pill.outline-white:hover {
    color: var(--color-gold);
    transform: translateX(5px);
}

.about-footer-logo {
    width: 100%;
    display: flex;
    flex-direction: column;
    /* Cambiado para apilar logo y redes */
    align-items: center;
    padding: 3rem 0;
    background-color: #121212;
}

.about-footer-logo img {
    height: 40px;
    opacity: 0.5;
    filter: sepia(1) hue-rotate(10deg) saturate(2);
    /* Tono dorado mate */
    transition: opacity 0.3s;
}

.about-footer-logo img:hover {
    opacity: 0.8;
}

/* Redes Sociales Pie de PÃ¡gina */
.social-footer {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.social-icon {
    width: 26px;
    height: 26px;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.social-icon:hover {
    color: var(--color-gold);
    transform: translateY(-4px) scale(1.1);
    filter: drop-shadow(0 5px 15px rgba(212, 175, 55, 0.3));
}

/* Responsividad Sobre MÃ­ */
@media (max-width: 1024px) {
    .about-right {
        padding: 4rem 3rem;
    }

    .about-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
    }

    .about-left {
        height: 50vh;
        width: 100%;
    }

    .about-gradient-overlay {
        background: linear-gradient(to bottom, transparent 0%, transparent 50%, #121212 100%);
    }

    .about-right {
        padding: 3rem 2rem;
        height: auto;
    }

    .about-text-content {
        transform: translateY(30px);
        /* Slide up en mÃ³vil en vez de slide left */
    }

    .about-section.is-visible .about-text-content {
        transform: translateY(0);
    }

    .about-cta-group {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .btn-pill {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   NUEVA PÃGINA SOBRE MÃ (DISEÃ‘O DIVIDIDO: VIDEO IZQUIERDA, TEXTO DERECHA)
   ========================================================================== */

/* Nivel Intermedio: PartÃ­culas global para el fondo negro oscuro */
.sobremi-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: auto;
    /* Para interacciÃ³n con hover */
}



/* Contenedor Principal Dividido */
.sobremi-split-content {
    position: relative;
    z-index: 1;
    /* Por encima de partículas */
    min-height: calc(100vh - 120px);
    padding-top: 120px;
    /* Espacio para el header */
    padding-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sobremi-split-container {
    display: flex;
    max-width: 100%;
    /* Ocupar 100% */
    width: 100%;
    margin: 0;
    align-items: stretch;
    /* Estirar para igualar alturas */
    gap: 0;
    /* Quitamos gap para que se junten perfectamente */
}

/* Izquierda: Video */
.sobremi-left {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    /* Animación de entrada */
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInRight 1s ease-out forwards;
}

.sobremi-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    /* Ocupa el 100% de la mitad izquierda */
    border-radius: 0;
    /* Sin bordes redondos para tocar los extremos de la pantalla */
    overflow: hidden;
    box-shadow: none;
    height: calc(100vh - 120px);
    min-height: 550px;
    /* Seguridad contra recortes en pantallas pequeñas */
}

.sobremi-inline-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay sutil al video si queremos que se funda con el lado derecho */
.sobremi-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Degradado que empieza transparente a la izquierda y termina blanco a la derecha */
    background: linear-gradient(to right, transparent 50%, #ffffff 100%);
    pointer-events: none;
}

/* Ocultar flecha indicadora de móvil en escritorio */
.mobile-scroll-indicator {
    display: none;
}

/* Derecha: Texto */
.sobremi-right {
    flex: 1;
    background-color: #ffffff;
    /* Fondo blanco */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 4rem;
    height: calc(100vh - 120px);
    min-height: 550px;
    /* Seguridad contra recortes en pantallas pequeñas */
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    /* Sombra sutil para separar del video */
    /* Animación de entrada */
    opacity: 0;
    transform: translateX(30px);
    animation: slideInLeft 1s ease-out forwards;
    animation-delay: 0.3s;
}

.sobremi-text-content {
    color: #000000;
    /* Letras negras */
    max-width: 500px;
}

.sobremi-title-split {
    font-size: 3rem;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    color: #000000;
}

.sobremi-subtitle-split {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-gold);
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.sobremi-description-split {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 400;
    /* Un poco mÃ¡s de peso para leer en blanco */
    color: #333333;
    /* Gris oscuro para lectura */
}

/* Grupo de Botones (Slide in desde abajo) */
.sobremi-cta-group-split {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s ease-out forwards;
    animation-delay: 0.6s;
}

.btn-sobremi-solid {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #000000;
    /* BotÃ³n negro */
    color: #ffffff;
    /* Letras blancas */
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-sobremi-solid:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.btn-sobremi-outline {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: transparent;
    color: #000000;
    /* Texto negro */
    text-decoration: none;
    border: 1px solid #000000;
    /* Borde negro */
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.btn-sobremi-outline:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}



.sobremi-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #888;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    animation: bounce 2s infinite;
    pointer-events: none;
}

.sobremi-scroll-indicator svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-gold);
}

/* Transición de cierre (Fondo Negro Gradual) */
.sobremi-bottom-gradient {
    position: relative;
    z-index: 1;
    height: 150px;
    background: linear-gradient(to bottom, #ffffff, #121212);
}

.sobremi-footer {
    position: relative;
    z-index: 1;
    background-color: #121212;
    padding-top: 0;
}

/* Keyframes para las animaciones de la nueva pÃ¡gina */
@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive para Sobre Mí */
@media (max-width: 900px) {
    .sobremi-split-content {
        padding-top: 0 !important;
        display: block !important; /* Quita el flex para permitir el flujo natural de scroll */
        min-height: auto !important;
        background-color: transparent !important;
    }

    .sobremi-split-container {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
    }

    /* Izquierda (Video): Pasa a ser un contenedor sticky que cubre toda la pantalla (Efecto Inicio) */
    .sobremi-left {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 0 !important;
        height: 100vh !important; /* Video de pantalla completa y súper impactante */
        width: 100% !important;
        z-index: 1 !important;
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }

    .sobremi-video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        height: 100vh !important;
        margin: 0 !important;
        border-radius: 0 !important;
        min-height: auto !important;
    }

    /* Derecha (Texto): Se desliza sobre el video sticky con fondo opaco y sombra de profundidad */
    .sobremi-right {
        position: relative !important;
        z-index: 2 !important; /* Por encima del video */
        background-color: #ffffff !important; /* Fondo sólido para tapar el video al hacer scroll hacia abajo */
        height: auto !important;
        padding: 5rem 1.5rem 4rem 1.5rem !important; /* Padding elegante y generoso */
        box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.3) !important; /* Sombra premium de profundidad */
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }

    .sobremi-cta-group-split {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .sobremi-title-split {
        font-size: 2.2rem;
    }

    .sobremi-cta-group-split {
        flex-direction: column;
        align-items: center;
    }

    .btn-sobremi-solid,
    .btn-sobremi-outline {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   SECCIÃ“N VALORES Y MISIÃ“N
   ========================================================================== */

.valores-section {
    background-color: #121212;
    /* Uniforme con el resto del sitio */
    padding: 8rem 2rem;
    position: relative;
    z-index: 10;
}

.valores-container {
    max-width: 1200px;
    margin: 0 auto;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.valor-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* border-white/10 approx */
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
}

/* AnimaciÃ³n de entrada inicial */
.reveal-item {
    opacity: 1;
    /* Visible por defecto para mayor seguridad */
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-item.is-visible {
    animation: popIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(30px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Escalonamiento manual para las 4 tarjetas */
.reveal-item:nth-child(1) {
    transition-delay: 0.1s;
}

.reveal-item:nth-child(2) {
    transition-delay: 0.3s;
}

.reveal-item:nth-child(3) {
    transition-delay: 0.5s;
}

.reveal-item:nth-child(4) {
    transition-delay: 0.7s;
}

.valor-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.valor-svg {
    width: 45px;
    height: 45px;
    color: var(--color-gold);
    stroke: var(--color-gold);
    z-index: 2;
    transition: all 0.5s ease;
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.5;
    transition: all 0.5s ease;
    z-index: 1;
}

.valor-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.valor-card p {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: #a0a0a0;
    line-height: 1.6;
    font-weight: 300;
}

/* EFECTO HOVER */
.valor-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.valor-card:hover .valor-svg {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.valor-card:hover .icon-glow {
    opacity: 1;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.4) 0%, transparent 70%);
}

.valor-card:hover h3 {
    color: var(--color-gold);
}

@media (max-width: 768px) {
    .valores-section {
        padding: 5rem 1.5rem;
    }

    .valores-grid {
        gap: 2rem;
    }

    .valor-card {
        padding: 2.5rem 1.5rem;
    }
}

/* ==========================================================================
   SECCIÃ“N PERFECCIONAMIENTOS (TEXTO Y DORADOS)
   ========================================================================== */

.mosaic-section {
    background-color: #121212;
    padding: 10rem 5rem;
    position: relative;
    z-index: 10;
}

.mosaic-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.mosaic-tagline {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: #888;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.mosaic-title {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.mosaic-subtitle {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: #aaa;
    line-height: 1.6;
    font-weight: 300;
}

.perfeccionamientos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    max-width: 1500px;
    margin: 0 auto 5rem;
}

.perf-card {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 3.5rem 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.perf-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    /* Altura fija para consistencia */
}

.perf-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.2));
}

.perf-card h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.perf-card p {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: #aaa;
    line-height: 1.7;
    font-weight: 300;
}

.perf-border-gold {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--color-gold);
    transition: width 0.6s ease;
}

/* HOVER EFFECTS */
.perf-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.perf-card:hover .perf-border-gold {
    width: 100%;
}

.perf-card:hover h3 {
    color: var(--color-gold);
}

/* CTA GROUP */
.mosaic-cta-group {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.btn-cta-solid {
    background-color: #fff;
    color: #000;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-cta-solid:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
    background-color: #f0f0f0;
}

.btn-cta-outline {
    background-color: transparent;
    color: #fff;
    padding: 1.2rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.btn-cta-outline:hover {
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .mosaic-section {
        padding: 6rem 2rem;
    }

    .mosaic-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .mosaic-section {
        padding: 4rem 1.5rem !important;
    }

    .mosaic-title {
        font-size: 2.2rem !important;
        /* Tamaño elegante y legible que entra perfecto en móviles */
        line-height: 1.2 !important;
        word-wrap: break-word !important;
    }

    .mosaic-subtitle {
        font-size: 0.95rem !important;
        margin-bottom: 3rem !important;
    }

    .perfeccionamientos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mosaic-cta-group {
        flex-direction: column;
        align-items: center;
    }
}

/* ==========================================================================
   DISEÃ‘O DE TARJETAS APILADAS (SERVICIOS)
   ========================================================================== */

.servicios-stacked-layout {
    display: flex;
    min-height: calc(100vh - 120px);
    background-color: #000;
    /* Fondo negro */
}

/* Lado Izquierdo Fijo */
.servicios-sidebar {
    width: 40%;
    background-color: #000;
    /* Negro puro */
    position: sticky;
    top: 0;
    height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    color: #fff;
    z-index: 20;
    overflow: hidden;
}

.sidebar-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.sidebar-image-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    /* Imagen sutil */
}

.sidebar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.sidebar-content {
    position: relative;
    z-index: 10;
    padding: 0 5rem;
}

.sidebar-tagline {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--color-gold);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.sidebar-title {
    font-family: var(--font-serif);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 600;
}

.sidebar-description {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: #eee;
    line-height: 1.7;
    max-width: 400px;
}

/* Lado Derecho Scroll */
.servicios-cards-container {
    width: 60%;
    padding: 10rem 5rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    background-color: #000;
    /* Fondo negro */
}

.stack-card {
    background-color: #ffffff;
    border-radius: 30px;
    padding: 5rem;
    min-height: 500px;
    display: flex;
    gap: 3rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    /* Sombra mÃ¡s fuerte para resaltar */
    position: sticky;
    top: 8rem;
    transition: all 0.5s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.card-number {
    display: none;
    /* Eliminamos las enumeraciones */
}

.card-content {
    flex: 1;
}

.card-category-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: #121212;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

.sub-services-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.sub-service h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: #121212;
    margin-bottom: 0.8rem;
    border-bottom: 2px solid var(--color-gold);
    display: inline-block;
    padding-bottom: 0.3rem;
}

.sub-service p {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
    margin-top: 1rem;
}

.cta-card {
    background-color: #ffffff;
    /* Ahora blanco */
    color: #121212;
    text-align: center;
    justify-content: center;
    min-height: 400px;
}

.cta-card .card-category-title {
    color: #121212;
}

.cta-card p {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #555;
}

.cta-card .btn-cta-solid {
    background-color: #000;
    color: #fff;
}

.cta-card .btn-cta-solid:hover {
    background-color: #333;
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .sidebar-content {
        padding: 0 3rem;
    }

    .sidebar-title {
        font-size: 3.5rem;
    }

    .servicios-cards-container {
        padding: 5rem 3rem;
    }

    .stack-card {
        padding: 3rem;
    }
}

@media (max-width: 900px) {
    .servicios-stacked-layout {
        flex-direction: column;
    }

    .servicios-sidebar {
        width: 100%;
        height: 60vh;
        position: relative;
        padding: 0;
        text-align: center;
    }

    .sidebar-content {
        padding: 2rem;
    }

    .sidebar-description {
        margin-left: auto;
        margin-right: auto;
    }

    .servicios-cards-container {
        width: 100%;
        padding: 2rem;
        gap: 2rem;
    }

    .stack-card {
        position: relative;
        top: 0 !important;
        min-height: auto;
        flex-direction: column;
        gap: 1.5rem;
        padding: 2.5rem;
    }

    .sub-services-list {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .card-category-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .servicios-stacked-layout {
        flex-direction: column !important;
    }

    .servicios-sidebar {
        width: 100% !important;
        height: auto !important;
        min-height: 250px !important;
        position: relative !important;
        padding: 3rem 1.5rem !important;
        text-align: center !important;
    }

    .sidebar-content {
        padding: 0 !important;
        text-align: center !important;
        width: 100% !important;
    }

    .sidebar-title {
        font-size: 2.2rem !important;
        margin-bottom: 1rem !important;
    }

    .sidebar-description {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        max-width: 100% !important;
    }

    .servicios-cards-container {
        width: 100% !important;
        padding: 1.5rem 1rem !important;
        gap: 1.5rem !important;
        box-sizing: border-box !important;
    }

    .stack-card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 2rem 1.2rem !important;
        box-sizing: border-box !important;
        min-height: auto !important;
        gap: 1.2rem !important;
        border-radius: 20px !important;
        position: -webkit-sticky !important;
        /* Compatibilidad con Safari iOS */
        position: sticky !important;
        box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.15), 0 20px 40px rgba(0, 0, 0, 0.3) !important;
        /* Sombra premium de superposición */
    }

    .stack-card:nth-child(1) {
        top: 75px !important;
        z-index: 10 !important;
    }

    .stack-card:nth-child(2) {
        top: 105px !important;
        z-index: 20 !important;
    }

    .stack-card:nth-child(3) {
        top: 135px !important;
        z-index: 30 !important;
    }

    .stack-card:nth-child(4) {
        top: 165px !important;
        z-index: 40 !important;
    }

    .card-category-title {
        font-size: 1.8rem !important;
        margin-bottom: 1.5rem !important;
        text-align: center !important;
    }

    .sub-services-list {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        width: 100% !important;
    }

    .sub-service {
        text-align: center !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .sub-service h3 {
        font-size: 1.25rem !important;
        margin-bottom: 0.5rem !important;
        text-align: center !important;
    }

    .sub-service p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        margin-top: 0.5rem !important;
        color: #666 !important;
    }

    .cta-card {
        padding: 2.5rem 1.5rem !important;
    }

    .cta-card p {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }
}

/* ==========================================================================
   PÃGINA CONTACTOS
   ========================================================================== */

.page-contactos {
    background-color: #000;
    position: relative;
    color: #fff;
}

.page-contactos::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('imagenes/contacto_fondon.jpg');
    background-size: cover;
    background-position: center;
    filter: grayscale(90%) brightness(0.4);
    z-index: -1;
}

.contactos-main {
    padding-top: 100px;
    padding-left: 0 !important;
    padding-right: 0 !important;
    position: relative;
    z-index: 10;
    width: 100%;
}

.contactos-main-layout {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contactos-main-container {
    max-width: 1100px !important;
    width: 100%;
    margin: 0 auto 5rem !important;
    padding: 10rem 2rem 0;
    display: flex !important;
    flex-direction: column !important;
    gap: 6rem;
    align-items: center !important;
}

.contactos-content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6rem;
    align-items: center;
}

.contactos-hero-text {
    text-align: center !important;
    width: 100%;
}

.contactos-hero-text .sidebar-tagline {
    color: var(--color-gold);
    font-size: 1rem;
    letter-spacing: 0.5em;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
}

.contactos-hero-text .sidebar-title {
    color: #fff;
    font-size: 4.5rem;
    margin-bottom: 2.5rem;
    font-family: var(--font-serif);
    line-height: 1.1;
}

.contactos-hero-text .sidebar-description {
    color: #ddd;
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    width: 100%;
}

.contactos-box {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #121212;
    border-radius: 40px;
    padding: 5rem;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.contactos-box .card-category-title {
    font-size: 3rem;
    margin-bottom: 4rem;
    font-family: var(--font-serif);
    text-align: center;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    padding: 3.5rem 2rem;
    border-radius: 40px;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #fdfdfd;
    border: 1px solid #f5f5f5;
}

.contact-item:hover {
    background-color: #fff;
    transform: translateY(-10px);
    border-color: var(--color-gold);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.12);
}

.contact-text {
    width: 100%;
}

.contact-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    color: #121212;
}

.contact-text p {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
}

.contact-icon {
    width: 80px;
    height: 80px;
    background-color: #121212;
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.contact-icon svg {
    width: 36px;
    height: 36px;
}

.contact-item:hover .contact-icon {
    background-color: var(--color-gold);
    color: #fff;
    transform: scale(1.1);
}

.contact-item:hover h3 {
    color: var(--color-gold);
}

/* Nueva SecciÃ³n del Mapa (Rectangular Card) */
.contactos-map-section {
    width: 100%;
    max-width: 1200px !important;
    margin: 2rem auto 10rem !important;
    display: flex;
    justify-content: center;
}

.map-card {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 40px;
    padding: 2rem;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    width: 100%;
}

.map-card iframe {
    border-radius: 20px;
    display: block;
}

.whatsapp-icon-custom,
.png-icon {
    background-color: transparent !important;
    width: 80px;
    height: 80px;
}

.whatsapp-icon-custom img,
.png-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* RESPONSIVE CONTACTOS */
@media (max-width: 768px) {
    .contactos-main-container {
        padding: 6rem 1rem 0;
        gap: 3rem;
    }

    .contactos-hero-text .sidebar-title {
        font-size: 2.8rem;
        margin-bottom: 1.5rem;
    }

    .contactos-hero-text .sidebar-description {
        font-size: 1.1rem;
    }

    .contactos-box {
        padding: 3rem 1.5rem;
        border-radius: 30px;
    }

    .contactos-box .card-category-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .contact-items-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2x2 en mÃ³vil */
        gap: 1rem;
    }

    .contact-item {
        gap: 0.8rem;
        padding: 1.5rem 1rem !important;
        border-radius: 20px;
        height: 185px !important; /* Altura idéntica y uniforme para todas las tarjetas */
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        min-width: 0 !important; /* Permite que la tarjeta se encoja e iguale anchos */
    }

    .contact-icon {
        width: 45px;
        height: 45px;
    }

    .contact-icon svg {
        width: 20px;
        height: 20px;
    }

    .whatsapp-icon-custom {
        width: 45px;
        height: 45px;
    }

    .contact-text h3 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .contact-text p {
        font-size: 0.8rem;
        line-height: 1.4;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-all !important; /* Rompe correos largos para evitar estirar las columnas */
    }

    .contactos-map-section {
        margin-bottom: 5rem;
        padding: 0 1rem;
    }

    .map-card {
        padding: 1rem;
        border-radius: 25px;
    }
}

.contactos-map-section {
    max-width: 1200px;
    /* MÃ¡s ancho en ordenadores */
    margin: 0 auto 10rem;
    padding: 0 2rem;
}

.map-container {
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.map-container iframe {
    display: block;
    filter: grayscale(0.2) contrast(1.1);
    /* Toque editorial suave */
}

/* ==========================================================================
   PÁGINA RESERVAS
   ========================================================================== */

.page-reservar {
    background-color: #000;
    position: relative;
    color: #fff;
}

.page-reservar::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('imagenes/contacto_fondon.jpg');
    background-size: cover;
    background-position: center;
    filter: grayscale(90%) brightness(0.4);
    z-index: -1;
}

.reservar-main {
    padding-top: 100px;
    position: relative;
    z-index: 10;
}

.reservar-container {
    max-width: 800px;
    margin: 5rem auto 10rem;
    padding: 0 2rem;
}

.reservar-box {
    background-color: #fff;
    border-radius: 30px;
    padding: 4rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.reservar-box h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #121212;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.form-group select,
.form-group input {
    width: 100%;
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color 0.3s;
    background-color: #fafafa;
}

.form-group select:focus,
.form-group input:focus {
    outline: none;
    border-color: var(--color-gold);
}

.btn-whatsapp-reservar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding: 1.2rem;
    background-color: #25D366;
    /* WhatsApp Green */
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    margin-top: 1rem;
    border: none;
    cursor: pointer;
}

.btn-whatsapp-reservar:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.reservar-nota {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    text-align: center;
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .reservar-box {
        padding: 2.5rem 1.5rem;
    }

    .reservar-box h2 {
        font-size: 2rem;
    }
}



/* ==========================================================================
   MEJORAS MÓVILES ESPECÍFICAS (INICIO)
   ========================================================================== */

@media (max-width: 768px) {

    /* 1. Fluidez del Scroll */
    html,
    body {
        overflow-x: clip !important;
        /* clip en lugar de hidden soluciona el bug de position: sticky en móviles */
        scroll-behavior: auto !important;
    }

    /* 1.1 Hero Section Mobile Polish */
    main#inicio {
        padding: 0 1.5rem !important;
        margin-top: 110px !important;
    }

    .text-wrapper {
        width: 100% !important;
        text-align: center !important;
    }

    .text-wrapper h1 {
        font-size: 14vw !important;
        /* Elegant fluid typography instead of tiny 9vw */
        line-height: 0.95 !important;
        letter-spacing: -0.02em !important;
        margin-bottom: 1.5rem !important;
        font-weight: 700 !important;
    }

    .text-wrapper p {
        font-size: 0.85rem !important;
        letter-spacing: 0.25em !important;
        color: #555 !important;
        margin-bottom: 1rem !important;
    }

    .content-right {
        height: 50vh !important;
        margin-top: 2rem !important;
    }

    .fade-overlay {
        background: linear-gradient(to bottom, #FFFFFF 0%, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0) 80%, #FFFFFF 100%) !important;
    }

    /* 2. Instagram más amplio con diseño de tarjeta premium */
    .instagram-section {
        padding: 4rem 1.5rem !important;
    }

    .ig-text-wrapper h2 {
        font-size: 2.3rem !important;
        margin-bottom: 1rem !important;
    }

    .instagram-post {
        max-width: 100% !important;
        border-radius: 12px !important;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
    }

    /* 3. Efecto Video Cinematic (Reveal) - Replicando Escritorio */
    .video-section {
        height: 180vh !important;
        /* Aumentado a 180vh para dar suficiente pista de scroll y que el efecto se aprecie */
        position: relative !important;
        z-index: 1 !important;
        background-color: transparent !important;
        display: block !important;
    }

    .video-sticky-wrapper {
        position: -webkit-sticky !important;
        /* Compatibilidad con Safari iOS */
        position: sticky !important;
        top: 0 !important;
        height: 100vh !important;
        z-index: 1 !important;
        pointer-events: none !important;
        display: block !important;
        visibility: visible !important;
        transform: translate3d(0, 0, 0) !important;
        /* Aceleración de hardware en móviles */
        will-change: transform !important;
    }

    .bg-video,
    .video-overlay {
        width: 100% !important;
        height: 100vh !important;
        object-fit: cover !important;
        display: block !important;
        opacity: 1 !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
    }

    /* 4. Sección Servicios - Debe pasar por encima del video */
    .services-section {
        margin-top: -80vh !important;
        /* Aumentado a -80vh para crear una superposición de profundidad perfecta */
        position: relative !important;
        z-index: 10 !important;
        /* Por encima del video */
        background-color: #121212 !important;
        /* Opaco para cubrir el video */
        padding: 5rem 1.5rem !important;
    }

    .services-grid {
        max-width: 100% !important;
        padding: 0 0.5rem !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 2.2rem !important;
        /* Elegant vertical spacing on mobile */
    }

    .service-card {
        height: 350px !important;
        /* More balanced height for mobile */
        max-width: 100% !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;
        border: 1px solid rgba(255, 255, 255, 0.03) !important;
    }

    .service-content {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%) !important;
        height: 100% !important;
        padding: 2rem 1.5rem !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
    }

    .service-content h3 {
        font-size: 1.3rem !important;
        letter-spacing: 0.15em !important;
        margin-bottom: 0.5rem !important;
    }

    .service-hover-text {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        background: transparent !important;
        padding: 0 !important;
        display: block !important;
        max-height: none !important;
        margin-top: 0.2rem !important;
    }

    .service-hover-text p {
        display: block !important;
        visibility: visible !important;
        margin-bottom: 0.8rem !important;
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        color: #e0e0e0 !important;
        text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.8);
    }

    .service-link {
        display: inline-block !important;
        visibility: visible !important;
        color: var(--color-gold) !important;
        font-weight: 600 !important;
        font-size: 0.85rem !important;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
        text-transform: uppercase !important;
        letter-spacing: 0.1em !important;
    }

    /* 5. Sección SOY JENN - Imagen y Logo abajo a la izquierda */
    .about-section {
        position: relative !important;
        z-index: 10 !important;
        background-color: #121212 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        height: auto !important;
        display: block !important;
    }

    .about-container {
        flex-direction: column !important;
        display: flex !important;
    }

    .about-left {
        display: block !important;
        visibility: visible !important;
        width: 100% !important;
        height: 400px !important;
        /* Balanced height for mobile screens */
        order: 1 !important;
        position: relative !important;
    }

    .about-image-wrapper {
        height: 100% !important;
        display: block !important;
    }

    .about-parallax-inner {
        height: 100% !important;
        top: 0 !important;
        position: relative !important;
        display: block !important;
    }

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

    .about-image-text {
        font-size: 2.2rem !important;
        left: 20px !important;
        bottom: 30px !important;
        top: auto !important;
        transform: none !important;
        text-align: left !important;
        width: auto !important;
        z-index: 10 !important;
        display: block !important;
    }

    .about-jenn-logo {
        max-width: 180px !important;
        height: auto !important;
        margin-top: 0 !important;
        display: block !important;
    }

    .about-right {
        width: 100% !important;
        padding: 3.5rem 1.5rem !important;
        order: 2 !important;
        background-color: #121212 !important;
        display: block !important;
    }

    .about-text-content {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .about-description {
        text-align: justify !important;
        /* Editorial look */
        font-size: 0.95rem !important;
        line-height: 1.7 !important;
        color: #ccc !important;
        margin-bottom: 1.5rem !important;
    }

    .about-cta-group {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.2rem !important;
        width: 100% !important;
    }

    .about-cta-group .btn-pill {
        width: 100% !important;
        text-align: center !important;
        padding: 1rem 1.5rem !important;
        border-radius: 50px !important;
    }
}