/* ============================================
   CAPSULES MOYRA - DESERT EXPERIENCE
   Custom Styles
   ============================================ */

/* ============================================
   GLOBAL STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 20px 0 20px;
    transition: all 0.3s ease;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 60px;
    margin: 0 40px;
    height: 70px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

/* Logo */
.nav-logo {
    flex-shrink: 0;
}

.nav-logo a {
    display: block;
    line-height: 0;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

/* Center Menu */
.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 45px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #7F8D98;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #505548;
}

.nav-menu a.nav-book-now {
    color: #505548;
    font-weight: 600;
}

/* Right Side */
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

/* Language Flags */
.nav-flags {
    display: flex;
    align-items: center;
    gap: 10px;
}

.flag-btn {
    background: none;
    border: 2px solid transparent;
    padding: 0;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0.5;
}

/* Activo: borde slate, opacity full. Visualiza el idioma actual. */
.flag-btn.is-active {
    opacity: 1;
    border-color: #d3a39f;
}

.flag-btn:hover {
    opacity: 1;
}

.flag-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hamburger Menu */
.hamburger-menu {
    background: #3B3539;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    transition: all 0.3s ease;
}

.hamburger-menu:hover {
    background: #505548;
    transform: scale(1.05);
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-menu[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.hamburger-menu[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Menu Overlay Background */
.menu-overlay-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #2B3840;
    opacity: 0;
    visibility: hidden;
    z-index: 9997;
    pointer-events: none;
}

/* Menu Overlay Content */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9998;
    pointer-events: none;
    padding: 10px;
}

.menu-overlay-container {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 100px 60px 60px;
    opacity: 0;
}

/* Left Column - Menu Links */
.menu-links-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.menu-link-wrapper {
    overflow: hidden;
    position: relative;
}

.menu-link {
    display: block;
    text-decoration: none;
}

.menu-link-text {
    font-size: clamp(48px, 6vw, 120px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -2px;
    color: #7F8D98;
    transition: color 0.3s ease;
    display: block;
    transform: translateY(0);
    will-change: transform;
}

.menu-link:hover .menu-link-text {
    color: #fff;
}

/* Right Column - Hero Capsule */
.menu-hero-capsule {
    flex: 0 0 30vw;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-left: 60px;
}

.menu-hero-image {
    width: 100%;
    height: 80vh;
    border-radius: 60px;
    overflow: hidden;
    position: relative;
    transform: scale(0.45);
    transform-origin: center;
}

.menu-hero-image img {
    width: 112%;
    height: 112%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Body lock when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Scroll behavior for header - when scrolled past hero */
.site-header.scrolled {
    padding: 0px 0px 0px;
}

.site-header.scrolled .main-nav {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    max-width: calc(100% - 0px);
    border-radius: 0px;
    margin: 0px 0px;
}

/* Responsive */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 30px;
    }

    .nav-menu a {
        font-size: 12px;
    }

    .menu-overlay-container {
        padding: 80px 40px 40px;
    }

    .menu-link-text {
        font-size: clamp(40px, 7vw, 100px);
    }
}

@media (max-width: 1024px) {
    .nav-center {
        display: none;
    }

    .menu-overlay-container {
        flex-direction: column;
        gap: 40px;
        justify-content: center;
    }

    .menu-links-column {
        flex: 1;
        gap: 15px;
    }

    .menu-hero-capsule {
        flex: 0 0 auto;
        width: 100%;
        padding-left: 0;
    }

    .menu-hero-image {
        width: 80%;
        height: 40vh;
        margin: 0 auto;
    }

    .menu-link-text {
        font-size: clamp(36px, 6vw, 80px);
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 15px 0;
    }

    .main-nav {
        padding: 0 20px;
        height: 60px;
        margin: 0 15px;
        max-width: calc(100% - 30px);
    }

    .nav-logo img {
        height: 32px;
    }

    .nav-flags {
        gap: 8px;
    }

    .flag-btn {
        width: 24px;
        height: 24px;
    }

    .hamburger-menu {
        width: 44px;
        height: 44px;
    }

    .hamburger-line {
        width: 18px;
    }

    .menu-overlay-container {
        padding: 100px 30px 30px;
    }

    .menu-link-text {
        font-size: clamp(32px, 8vw, 60px);
    }

    .menu-hero-image {
        width: 100%;
        height: 35vh;
    }
}

@media (max-width: 480px) {
    .main-nav {
        padding: 0 15px;
        height: 55px;
    }

    .nav-logo img {
        height: 28px;
    }

    .nav-right {
        gap: 12px;
    }

    .hamburger-menu {
        width: 40px;
        height: 40px;
    }

    .menu-overlay-container {
        padding: 80px 20px 20px;
    }

    .menu-link-text {
        font-size: clamp(28px, 9vw, 48px);
        letter-spacing: -1px;
    }

    .menu-links-column {
        gap: 10px;
    }

    .menu-hero-capsule {
        display: none;
    }
}

/* ============================================
   HEALTH GUIDANCE SECTION
   ============================================ */
.section-mod {
    padding: 120px 0px;
}

.col-center {
    margin: auto;
}
.accordion-button:not(.collapsed)::after {
    background-image: none !important;
    transform: var(--bs-accordion-btn-icon-transform);
}
#healthguidance {
    will-change: transform, opacity;
}
.color-txt{
    color: #606060;
}
#healthguidance-img > .container-fluid {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 999999;
    width: calc(100% - 6rem);
    max-width: 1320px;
}

.text-slate {
    color: #7F8D98;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.section-mod ul.service--cards {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-mod ul.service--cards li {
    border: 2px solid #fff;
    border-radius: 24px;
    padding: 40px 35px;
    transition: transform 0.3s ease;
    opacity: 0;
    transform: scale(0.9);
}

.section-mod ul.service--cards li:hover {
    transform: scale(1.02);
}

/* Services Section Text Animation */
#servicesSection .services-title {
    opacity: 0;
    transform: translateY(50px);
}

#servicesSection .services-description {
    opacity: 0;
    transform: translateY(30px);
}

 

.section-mod ul li h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 26px;
    font-style: italic;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 400;
}

.section-mod ul li p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.health-title {
    opacity: 0;
    transform: translateY(50px);
}

.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

:not(.capsules-col)> .card {
    flex: 1 1 calc(20% - 15px);
    max-width: 500px;
    padding: 50px 40px;
    border: 2px solid #EAE7E7;
    border-radius: 30px;
    background: transparent;
    opacity: 0;
    transform: scale(0.9);
    /* Solo transitionamos hover (border y bg) para no chocar con GSAP en transform/opacity de los hijos */
    transition: border-color 0.3s ease, background-color 0.3s ease;
    background-color: #EAE7E7
}
:not(.capsules-col)>.card:hover{
    border: 2px solid #D3DDE4 !important;
    background-color: #D3DDE4;
}
:not(.capsules-col)>.card img{
    height: 70px;
    display: inline-block;
    width: fit-content;
    margin-bottom: 20px;
}

/* Wrapper de los SVG inline para mantener el tamano del icono */
.card-icon {
    display: inline-block;
    height: 70px;
    margin-bottom: 20px;
    will-change: transform, opacity;
}

.card-icon svg {
    height: 100%;
    width: auto;
}

/* Flor del welcome section (logo simbolo de Primrose) */
.flower-icon {
    width: 74px;
    height: 74px;
}

.flower-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}
.card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 22px !important;
    font-style: italic;
    margin-bottom: 30px;
    color: #7F8D98 !important; 
    min-height: 54px;
}

.card p {
    font-size: 18px;
    line-height: 1.3;
    color: #7F8D98 !important;
}

/* ============================================
   IMAGE REVEAL SECTION
   ============================================ */
.section-img-reveal {
    padding: 0 40px 80px 40px;
    overflow: hidden;
}

.img-reveal-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 32px;
    will-change: border-radius;
}

.img-reveal-inner {
    width: 100%;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    position: relative;
}

.img-reveal-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.4);
    will-change: transform;
    display: block;
}

.doctor-title {
    opacity: 0;
    transform: translateY(50px);
}

.doctor-description {
    opacity: 0;
    font-size: 18px;
    transform: translateY(30px);
    color: #606060;
}

/* Second Parallax Section */
#secondParallax .container-fluid {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 999999;
    width: calc(100% - 6rem);
    max-width: 1320px;
}

.second-parallax-title {
    opacity: 0;
    transform: translateY(50px);
}

.second-parallax-description {
    opacity: 0;
    transform: translateY(30px);
}

/* Estado inicial del boton dentro de los parallax: oculto y desplazado para que entre con el timeline */
.section-img-reveal .btn-primary {
    opacity: 0;
    transform: translateY(30px);
}

/* ============================================
   FAQ SECTION
   ============================================ */
#faqSection { 
    padding: 120px 0;
}

.faq-title {
    opacity: 0;
    transform: translateY(50px);
}

.faq-item {
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(127, 141, 152, 0.2);
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(30px);
}

.faq-item:last-child {
    border-bottom: none;
}

.accordion-button {
    background: transparent;
    border: none;
    padding: 30px 0px 0px 0;
    font-size: 20px;
    font-weight: 500;
    color: #7F8D98;
    box-shadow: none;
    position: relative;
}

.accordion-button:not(.collapsed) {
    background: transparent;
    color: #7F8D98;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}
 .lead2 {
     font-size: 1.25rem;
 }
.accordion-button::after {
    content: '+';
    background: none;
    width: auto;
    height: auto;
    font-size: 32px;
    font-weight: 300;
    color: #D3A39F;
    transform: none;
}

.accordion-button:not(.collapsed)::after {
    content: '−';
    transform: none;
}

.accordion-body {
    padding: 10px 30px 30px 0;
    color: #7F8D98;
    font-size: 16px;
    line-height: 1.8;
}

/* ============================================
   WELCOME SECTION — Clip-path text reveal
   ============================================ */
#welcomeSection {
    padding: 120px 0;
}

.welcome-text {
    font-size: clamp(28px, 5.5vw, 52px);
    line-height: 1.15;
    letter-spacing: -0.03em;
    font-weight: 500;
}

/* Animated Text Lines - Line by Line Reveal */
.animated-text-lines {
    overflow: visible;
}

.text-line-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    line-height: 1.6;
}

.text-line {
    display: block;
    margin: 0;
    transform: translateY(100%);
    will-change: transform;
}

.welcome-line {
    position: relative;
    display: block;
    margin-bottom: -0.02em;
}

.welcome-line-base {
    display: block;
    color: #D3DDE4;
    white-space: nowrap;
}
 
h1,
h2,
h3,
h4,
h5,
h6 { 
    letter-spacing: .1px;
}
body .lead {
    font-size: 1.45rem;
    font-weight: 300;
}
.welcome-clip {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    color: #7F8D98;
    white-space: nowrap;
    clip-path: inset(0 0 100% 0);
    will-change: clip-path;
}

/* ============================================
   HERO SECTION
   ============================================ */

#heroSection {
    height: calc(100vh - 30px);
    width: calc(100% - 30px);
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin: auto;
    margin-top: 15px;
}

#heroSection video {
    background-color: #000;
    height: auto;
    left: 50%;
    min-height: 100%;
    min-width: 100%;
    position: absolute;
    top: 55%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: -3;
    background-size: cover;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform, opacity;
    transform-origin: center center;
    z-index: -3;
}

@keyframes heroZoomIn {
    0% {
        opacity: 0;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: screen;
    opacity: 0.6;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
}

.hero-title {
    opacity: 0;
    transform: translateY(50px);
}

.hero-tagline {
    opacity: 0;
    transform: translateY(30px);
}


body .btn{
    border-radius: 999px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 15px 15px 22px;
    border-radius: 999px;
    text-decoration: none;
    background: #C2C6C1;
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    letter-spacing: 0px;
    text-transform: uppercase;
}

.btn-primary .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #fff;
    transition: all 0.3s ease;
    flex-shrink: 0;
    padding: 17px;
}

.btn-primary .icon svg {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #b0b4af;
    color: #737C70;
}

.btn-primary:hover svg {
    transform: rotate(45deg);
}

.btn-primary:hover .icon svg path {
    fill: #737C70;
}

.btn-white {
    background: #fff;
    color: #3B3539;
    border: 2px solid #fff;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-white:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 50px;
    font-size: 18px;
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.newsletter-card {
    background: #505548;
    border-radius: 40px;
    padding: 120px 100px;
    margin: 0 auto;
}

/* Newsletter Title Animation - Clip-path reveal */
.newsletter-title-animated {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 400;
    margin-bottom: 30px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.newsletter-title-line {
    position: relative;
    display: block;
}

.newsletter-title-base {
    display: block;
    color: hsla(285, 5%, 71%, 0.06);
    white-space: nowrap;
}

.newsletter-title-clip {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    color: #C4C8BC;
    white-space: nowrap;
    clip-path: inset(0 0 100% 0);
    will-change: clip-path;
}

/* Newsletter Description Animation */
.newsletter-description-animated {
    margin-bottom: 50px;
}

.newsletter-description-animated .text-line-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    line-height: 1.6;
}

.newsletter-text {
    font-size: clamp(16px, 1.5vw, 20px);
    color: #C4C8BC;
    display: block;
    margin: 0;
    transform: translateY(100%);
    will-change: transform;
}

.newsletter-title {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 400;
    color: #C4C8BC;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.newsletter-description {
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.6;
    color: #C4C8BC;
    margin-bottom: 50px;
    max-width: 800px;
}

.newsletter-form {
    width: 100%;
}

.newsletter-input-wrapper {
    position: relative;
    max-width: 720px;
    display: flex;
    align-items: center;
    border: 2px solid #C4C8BC;
    border-radius: 100px;
    padding: 8px 8px 8px 30px;
    transition: all 0.3s ease;
}

.newsletter-input-wrapper:focus-within {
    border-color: #fff;
}

.newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #C4C8BC;
    font-size: 16px;
    letter-spacing: 0.5px;
    padding: 12px 20px;
}

.newsletter-input::placeholder {
    color: #8B8F84;
    font-size: 15px;
    letter-spacing: 1px;
}

.newsletter-submit-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #8B8F84;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    color: #696D62;
}

.newsletter-submit-btn:hover {
    background: #B5C1A1;
    transform: scale(1.05);
}

.newsletter-submit-btn svg {
    width: 24px;
    height: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .newsletter-card {
        padding: 50px 30px;
        border-radius: 30px;
    }

    .newsletter-title {
        font-size: 36px;
    }

    .newsletter-description {
        font-size: 16px;
    }

    .newsletter-input-wrapper {
        padding: 6px 6px 6px 20px;
    }

    .newsletter-submit-btn {
        width: 50px;
        height: 50px;
    }
}

/* ============================================
   MAP SECTION
   ============================================ */
#mapSection {
    padding: 80px 0;
    background: #FAF1E3;
}

.map-pin {
    opacity: 0;
    transform: translateY(-30px) scale(0.5);
}

.map-thumbnail {
    opacity: 0;
    transform: scale(0.8);
}

/* ============================================
   VENDOR SECTION
   ============================================ */
#vendorSection {
    padding: 80px 0;
}

.vendor-text-animated .text-line-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    line-height: 1.6;
    display: inline-block;
}

.vendor-text-animated .text-line {
    display: block;
    margin: 0;
    transform: translateY(100%);
    will-change: transform;
    font-size: 18px;
}

.vendor-title {
    color: #98899D;
    font-size: clamp(28px, 5.5vw, 72px);
    line-height: 1.15;
    letter-spacing: -0.03em;
    font-weight: 500;
    margin: 20px 0 40px 0;
}

.vendor-farmers-market {
    position: relative;
    display: inline-block;
}

.vendor-underline {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #98899D;
    transform: scaleX(0);
    transform-origin: left;
    will-change: transform;
}

/* ============================================
   INFO CARDS SECTION (Contact Us / What is CCC)
   ============================================ */
.info-card {
    background: #4e444a;
    border-radius: 30px;
    padding: 60px 50px;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card-title {
    font-size: clamp(32px, 3.5vw, 32px);
    color: #98899D;
    font-weight: 500;
    margin-bottom: 30px;
    letter-spacing: -0.04em;
}

.info-card-text {
    color: #98899D;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
}

.info-card-email {
    color: #98899D;
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 0;
    opacity: 0.8;
}

.btn-white-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    border-radius: 50px;
}

.btn-white-outline:hover {
    background: #fff;
    color: #5C615A;
    transform: translateY(-2px);
}

/* ============================================
   ACTIVITIES SECTION
   ============================================ */

/* ── Sección contenedora ── */
#activitiesSection {
    height: 100vh;
    overflow: hidden;
}

.p-0{
    padding: 0px;
}

/* ── Lista horizontal ── */
.carrousel-gallery {
    display: flex;
    flex-wrap: nowrap;
    list-style: none;
    padding: 8px;
    margin: 0;
    gap: 10px;
    width: max-content;
    will-change: transform;
}

/* ── Cada card ── */
.carrousel-gallery li {
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    width: 85vw;
    height: 78vh;
    border-radius: 20px;
}

/* ── Wrapper de imagen (el que GSAP anima) ── */
.carrousel-gallery .card-img-wrapper {
    position: absolute;
    width: 112%;
    height: 112%;
    top: -6%;
    left: -6%;
    will-change: transform;
}

/* ── La imagen llena el wrapper ── */
.carrousel-gallery .card-img-wrapper picture {
    display: block;
    width: 100%;
    height: 100%;
}

.carrousel-gallery .card-img-wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ============================================
   SLIDE CONTENT OVERLAY
   ============================================ */

/* Capa de overlay que cubre toda la card */
.slide-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.35) 0%,
        transparent 35%,
        transparent 55%,
        rgba(0, 0, 0, 0.55) 100%
    );
}

/* Flex interior que empuja top hacia arriba y bottom hacia abajo */
.slide-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 30px;
    position: absolute;
    inset: 0;
}

/* ── FILA SUPERIOR ── */
.slide-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.slide-title {
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0;
}

/* Badge tipo píldora (Easy / Open / Family...) */
.slide-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 100px;
    padding: 6px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.3px;
    white-space: nowrap;
    height: 36px;
}

/* ── FILA INFERIOR ── */
.slide-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}

.slide-desc {
    font-size: clamp(13px, 1.2vw, 16px);
    font-weight: 300;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    max-width: 65%;
}

/* Contador: número actual + total */
.slide-counter {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.slide-counter-current {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(177, 166, 150, 0.9);
    border-radius: 100px;
    padding: 4px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    height: 32px;
    min-width: 52px;
}

.slide-counter-total {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 100px;
    padding: 4px 14px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    height: 32px;
    min-width: 52px;
}

/* ============================================
   MARQUEE SECTION
   ============================================ */

.marquee-section {
    overflow: hidden;
    width: 100%;
    padding: 40px 0;
    cursor: pointer;
}

.marquee-track {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: max-content;
    will-change: transform;
}

.marquee-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.marquee-text {
    font-size: clamp(80px, 12vw, 180px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #98899D;
    white-space: nowrap;
    padding-right: 40px;
}

.vertical-align {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.activity-card {
    opacity: 0;
    transform: translateY(60px);
    transition: transform 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-10px);
}

/* ============================================
   REVIEWS SECTION
   ============================================ */
#reviewsSection {
    padding: 80px 0;
    background: #f8f9fa;
}

.review-card {
    opacity: 0;
    transform: translateX(-50px);
}

/* ============================================
   CTA SECTION
   ============================================ */
#ctaSection {
    padding: 100px 0;
    background: #1a1a1a;
}

.cta-content {
    opacity: 0;
    transform: scale(0.9);
}

/* ============================================
   UTILITIES
   ============================================ */
.object-fit-cover {
    object-fit: cover;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   SPACING UTILITIES - Margin & Padding
   ============================================ */

/* Margin Bottom (mb-) */
.mb-0 { margin-bottom: 0px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px !important; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px !important; }
.mb-50 { margin-bottom: 50px; }
.mb-60 { margin-bottom: 60px; }
.mb-70 { margin-bottom: 70px; }
.mb-80 { margin-bottom: 80px; }
.mb-90 { margin-bottom: 90px; }
.mb-100 { margin-bottom: 100px; }
.mb-110 { margin-bottom: 110px; }
.mb-120 { margin-bottom: 120px; }
.mb-130 { margin-bottom: 130px; }
.mb-140 { margin-bottom: 140px; }
.mb-150 { margin-bottom: 150px; }
.mb-160 { margin-bottom: 160px; }
.mb-170 { margin-bottom: 170px; }
.mb-180 { margin-bottom: 180px; }
.mb-190 { margin-bottom: 190px; }
.mb-200 { margin-bottom: 200px; }
.mb-210 { margin-bottom: 210px; }
.mb-220 { margin-bottom: 220px; }
.mb-230 { margin-bottom: 230px; }
.mb-240 { margin-bottom: 240px; }
.mb-250 { margin-bottom: 250px; }
.mb-260 { margin-bottom: 260px; }
.mb-270 { margin-bottom: 270px; }
.mb-280 { margin-bottom: 280px; }
.mb-290 { margin-bottom: 290px; }
.mb-300 { margin-bottom: 300px; }

/* Margin Top (mt-) */
.mt-0 { margin-top: 0px; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }
.mt-60 { margin-top: 60px; }
.mt-70 { margin-top: 70px; }
.mt-80 { margin-top: 80px; }
.mt-90 { margin-top: 90px; }
.mt-100 { margin-top: 100px; }
.mt-110 { margin-top: 110px; }
.mt-120 { margin-top: 120px; }
.mt-130 { margin-top: 130px; }
.mt-140 { margin-top: 140px; }
.mt-150 { margin-top: 150px; }
.mt-160 { margin-top: 160px; }
.mt-170 { margin-top: 170px; }
.mt-180 { margin-top: 180px; }
.mt-190 { margin-top: 190px; }
.mt-200 { margin-top: 200px; }
.mt-210 { margin-top: 210px; }
.mt-220 { margin-top: 220px; }
.mt-230 { margin-top: 230px; }
.mt-240 { margin-top: 240px; }
.mt-250 { margin-top: 250px; }
.mt-260 { margin-top: 260px; }
.mt-270 { margin-top: 270px; }
.mt-280 { margin-top: 280px; }
.mt-290 { margin-top: 290px; }
.mt-300 { margin-top: 300px; }

/* Padding Bottom (pb-) */
.pb-0 { padding-bottom: 0px; }
.pb-10 { padding-bottom: 10px; }
.pb-20 { padding-bottom: 20px; }
.pb-30 { padding-bottom: 30px; }
.pb-40 { padding-bottom: 40px; }
.pb-50 { padding-bottom: 50px; }
.pb-60 { padding-bottom: 60px; }
.pb-70 { padding-bottom: 70px; }
.pb-80 { padding-bottom: 80px; }
.pb-90 { padding-bottom: 90px; }
.pb-100 { padding-bottom: 100px; }
.pb-110 { padding-bottom: 110px; }
.pb-120 { padding-bottom: 120px; }
.pb-130 { padding-bottom: 130px; }
.pb-140 { padding-bottom: 140px; }
.pb-150 { padding-bottom: 150px; }
.pb-160 { padding-bottom: 160px; }
.pb-170 { padding-bottom: 170px; }
.pb-180 { padding-bottom: 180px; }
.pb-190 { padding-bottom: 190px; }
.pb-200 { padding-bottom: 200px; }
.pb-210 { padding-bottom: 210px; }
.pb-220 { padding-bottom: 220px; }
.pb-230 { padding-bottom: 230px; }
.pb-240 { padding-bottom: 240px; }
.pb-250 { padding-bottom: 250px; }
.pb-260 { padding-bottom: 260px; }
.pb-270 { padding-bottom: 270px; }
.pb-280 { padding-bottom: 280px; }
.pb-290 { padding-bottom: 290px; }
.pb-300 { padding-bottom: 300px; }

/* Padding Top (pt-) */
.pt-0 { padding-top: 0px; }
.pt-10 { padding-top: 10px; }
.pt-20 { padding-top: 20px; }
.pt-30 { padding-top: 30px; }
.pt-40 { padding-top: 40px; }
.pt-50 { padding-top: 50px; }
.pt-60 { padding-top: 60px; }
.pt-70 { padding-top: 70px; }
.pt-80 { padding-top: 80px; }
.pt-90 { padding-top: 90px; }
.pt-100 { padding-top: 100px; }
.pt-110 { padding-top: 110px; }
.pt-120 { padding-top: 120px; }
.pt-130 { padding-top: 130px; }
.pt-140 { padding-top: 140px; }
.pt-150 { padding-top: 150px; }
.pt-160 { padding-top: 160px; }
.pt-170 { padding-top: 170px; }
.pt-180 { padding-top: 180px; }
.pt-190 { padding-top: 190px; }
.pt-200 { padding-top: 200px; }
.pt-210 { padding-top: 210px; }
.pt-220 { padding-top: 220px; }
.pt-230 { padding-top: 230px; }
.pt-240 { padding-top: 240px; }
.pt-250 { padding-top: 250px; }
.pt-260 { padding-top: 260px; }
.pt-270 { padding-top: 270px; }
.pt-280 { padding-top: 280px; }
.pt-290 { padding-top: 290px; }
.pt-300 { padding-top: 300px; }

/* Padding Y (py-) - Top and Bottom */
.py-0 { padding-top: 0px; padding-bottom: 0px; }
.py-10 { padding-top: 10px; padding-bottom: 10px; }
.py-20 { padding-top: 20px; padding-bottom: 20px; }
.py-30 { padding-top: 30px; padding-bottom: 30px; }
.py-40 { padding-top: 40px; padding-bottom: 40px; }
.py-50 { padding-top: 50px; padding-bottom: 50px; }
.py-60 { padding-top: 60px; padding-bottom: 60px; }
.py-70 { padding-top: 70px; padding-bottom: 70px; }
.py-80 { padding-top: 80px; padding-bottom: 80px; }
.py-90 { padding-top: 90px; padding-bottom: 90px; }
.py-100 { padding-top: 100px; padding-bottom: 100px; }
.py-110 { padding-top: 110px; padding-bottom: 110px; }
.py-120 { padding-top: 120px; padding-bottom: 120px; }
.py-130 { padding-top: 130px; padding-bottom: 130px; }
.py-140 { padding-top: 140px; padding-bottom: 140px; }
.py-150 { padding-top: 150px; padding-bottom: 150px; }
.py-160 { padding-top: 160px; padding-bottom: 160px; }
.py-170 { padding-top: 170px; padding-bottom: 170px; }
.py-180 { padding-top: 180px; padding-bottom: 180px; }
.py-190 { padding-top: 190px; padding-bottom: 190px; }
.py-200 { padding-top: 200px; padding-bottom: 200px; }
.py-210 { padding-top: 210px; padding-bottom: 210px; }
.py-220 { padding-top: 220px; padding-bottom: 220px; }
.py-230 { padding-top: 230px; padding-bottom: 230px; }
.py-240 { padding-top: 240px; padding-bottom: 240px; }
.py-250 { padding-top: 250px; padding-bottom: 250px; }
.py-260 { padding-top: 260px; padding-bottom: 260px; }
.py-270 { padding-top: 270px; padding-bottom: 270px; }
.py-280 { padding-top: 280px; padding-bottom: 280px; }
.py-290 { padding-top: 290px; padding-bottom: 290px; }
.py-300 { padding-top: 300px; padding-bottom: 300px; }


/* ================================================================
   ===============  HERO OVERLAY (services / about / contact)  ====
   ================================================================ */

#heroSection:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #7F8D98 0%, #7f8d9800 50%);
}


/* ================================================================
   ===============  SERVICES — MARQUEE + CAPSULES STACK  ==========
   ================================================================ */

.why-marquee, .capsules {
    --cap-darkBrown: #7F8D98;
    --cap-lightBrown: #F4EFE7;
    --cap-white: #FFFFFF;
    --cap-accent: #D5A8A5;
}

.why-marquee {
    position: relative;
    overflow: hidden;
    height: 306px;
    color: var(--cap-darkBrown);
    background-color: #fff;
}
.why-title {
    font-size: 18px;
    line-height: 23px;
    letter-spacing: -0.2px;
    font-weight: 600;
    padding: 24px 40px 0 40px;
    color: var(--cap-darkBrown);
    position: relative;
    z-index: 2;
}
.why-title .serif {
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    font-weight: 500;
}
.why-slider {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    min-width: max-content;
    padding: 30px 30px;
    will-change: transform;
    margin-top: -10px;
}
.why-track {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 40px;
    padding-right: 40px;
    white-space: nowrap;
}
.why-track span {
    font-size: clamp(90px, 14vw, 180px);
    line-height: 1;
    font-weight: 500;
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    color: var(--cap-darkBrown);
    will-change: transform;
}
.why-track span i {
    font-style: normal;
    color: var(--cap-accent);
    font-size: 0.6em;
    display: inline-block;
}

/* Capsules — single row, 4 cols absolute. Cada col mantiene width fija
   (50% - 5px gap interno) y se anima con transform/opacity, NO con width. */
.capsules {
    position: relative;
    width: calc(100vw - 60px);
    height: calc(100vh - 80px);
    overflow: hidden;
    margin: 0 auto !important;
}
.capsules-row {
    position: relative;
    height: calc(100vh - 80px);
    padding: 0;
}
.capsules-col {
    position: absolute;
    top: 0;
    height: 100%;
    width: calc(50% - 5px);
    will-change: transform, opacity;
}
.capsules-col[data-ref="content1"] { left: 0;   z-index: 1; }
.capsules-col[data-ref="content2"] { left: 50%; z-index: 2; transform: translateY(100%); }
.capsules-col.img1                  { left: 50%; z-index: 3; }
.capsules-col[data-ref="content3"] { left: 50%; z-index: 3; }
.capsules-col[data-ref="content3"] .card--text { background: transparent; border: 0; }

.capsules .card {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}
.capsules .card--text {
    background: var(--cap-darkBrown);
    padding: 70px 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--cap-white);
}
.capsules .card--text h2 {
    font-size: clamp(32px, 3.4vw, 48px);
    line-height: 1.05;
    letter-spacing: -0.5px;
    color: var(--cap-lightBrown);
    font-weight: 500;
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    margin: 0;
    max-width: 90%;
}
.capsules .card-foot {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
}
.capsules .card-index {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
    align-self: flex-end;
}
.capsules .card-index span {
    display: inline-block;
    border: 2px solid var(--cap-white);
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    color: var(--cap-white);
    background: transparent;
}
.capsules .card-index .muted { opacity: 0.4; }
.capsules .card--text p {
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    color: var(--cap-white);
    margin: 0;
    max-width: 420px;
}
.capsules .card--image { position: relative; }
.capsules .card--image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    will-change: clip-path;
}
.capsules .card--image img[data-ref="image1"] { z-index: 1; }
.capsules .card--image img[data-ref="image2"] {
    z-index: 2;
    clip-path: inset(0% 0% 100% 0%);
    transform: scale(1.05);
}
.capsules .card--image img[data-ref="image3"] {
    z-index: 3;
    clip-path: inset(0% 0% 100% 0%);
    transform: scale(1.05);
}

/* SplitText masks para roll-up (lineas y chips) */
.capsules .split-mask { display: block; overflow: hidden; }
.capsules .split-line { display: block; will-change: transform; }
.capsules .card-index .split-mask {
    display: inline-block;
    overflow: hidden;
    border: none;
    padding: 0;
    border-radius: 0;
    background: transparent;
    line-height: inherit;
}

/* Appointment Options — chip de duracion */
#appointmentOptions .card-meta {
    margin: 0 0 10px 0;
    font-size: 14px;
    opacity: 0.85;
}

@media (max-width: 768px) {
    .why-marquee { height: 220px; }
    .why-title { padding: 20px; font-size: 16px; }
    .why-track span { font-size: 70px; }
    .capsules { height: auto; }
    .capsules-row { height: auto; padding: 0; }
    .capsules-col {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        height: 60vh;
        transform: none !important;
    }
    .capsules-col[data-ref="content2"],
    .capsules-col[data-ref="content3"] { display: none; }
    .capsules .card--image img[data-ref="image2"],
    .capsules .card--image img[data-ref="image3"] { display: none; }
}


/* ================================================================
   ===============  FAQ — IMAGENES PARALLAX (home/about/services)  ===
   ================================================================ */

.faq-images-wrapper { min-height: 70vh; }
.image-frame {
    position: absolute;
    height: 50vh;
    width: 280px;
    border-radius: 10px;
    overflow: hidden;
}
.image-frame.ifB {
    position: absolute;
    height: 50vh;
    width: 320px;
    border-radius: 10px;
    overflow: hidden;
}
.image-frame img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 130%;
    object-fit: cover;
    object-position: center;
    will-change: transform;
    display: block;
}
.image1 { left: 0; top: -10%; }
.image2 { right: 0; top: 15%; }


/* ================================================================
   ===============  CONTACT FORM  =================================
   ================================================================ */

.contact-grid { gap: 40px; }
.contact-info-title {
    font-size: clamp(28px, 2.6vw, 36px);
    margin-bottom: 12px;
    color: #7F8D98;
}
.contact-info-text {
    color: #606060;
    margin-bottom: 24px;
}
.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.contact-info-list li {
    padding: 14px 0;
    border-top: 1px solid #e6e6e6;
}
.contact-info-list li:last-child {
    border-bottom: 1px solid #e6e6e6;
}
.contact-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #7F8D98;
    margin-bottom: 4px;
}
.contact-info-list a {
    color: #7F8D98;
    text-decoration: none;
    font-weight: 500;
}

.contact-form {
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 32px;
}
.form-row.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.form-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
}
.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #7F8D98;
    margin-bottom: 6px;
}
.form-group .optional {
    color: #9aa3ab;
    font-weight: 400;
}
.form-group input,
.form-group textarea {
    width: 100%;
    font-family: inherit;
    font-size: 15px;
    color: #7F8D98;
    background: #ffffff;
    border: 1px solid #d8dade;
    border-radius: 10px;
    padding: 12px 14px;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: #606060; }
.form-group textarea {
    resize: vertical;
    min-height: 140px;
}
.form-error {
    display: none;
    font-size: 12px;
    color: #c0392b;
    margin-top: 6px;
}
.form-group.has-error input,
.form-group.has-error textarea { border-color: #c0392b; }
.form-group.has-error .form-error { display: block; }

/* Honeypot oculto fuera de viewport (no display:none para no engañar bots) */
.form-honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-submit-row {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 8px;
}
.form-feedback {
    margin: 0;
    font-size: 14px;
    color: #6b7480;
}
.form-feedback.is-success { color: #2e7d4f; }
.form-feedback.is-error   { color: #c0392b; }
#contactSubmit.is-loading { opacity: 0.7; pointer-events: none; }

@media (max-width: 768px) {
    .contact-grid { gap: 24px; }
    .form-row.two-cols { grid-template-columns: 1fr; }
    .contact-form { padding: 24px; }
}


/* ================================================================
   ===============  COOKIE BANNER (global)  =======================
   ================================================================ */

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 980px;
    background-color: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 18px 22px;
    z-index: 10001;
    display: none;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner__copy {
    flex: 1 1 280px;
    color: #7F8D98;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}
.cookie-banner__copy a {
    color: #D5A8A5;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.cookie-banner__btn {
    appearance: none;
    border: 1px solid #d8dade;
    background-color: #ffffff;
    color: #7F8D98;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
}
.cookie-banner__btn--primary {
    background-color: #7F8D98;
    border-color: #7F8D98;
    color: #ffffff;
}
@media (max-width: 600px) {
    .cookie-banner { bottom: 12px; padding: 16px; }
    .cookie-banner__actions { width: 100%; }
    .cookie-banner__btn { flex: 1; }
}
