/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Light Blue Theme */
    --primary-blue: #5585b5;
    --primary-blue-light: #6fa0cc;
    --primary-blue-dark: #3d6a96;
    --accent-gold: #6fa0cc;
    --text-dark: #000000;
    --text-light: #D8DDE8;
    --text-gray: #A6A6A6;
    --overlay-dark: rgba(85, 133, 181, 0.3);
    --overlay-gradient: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(85, 133, 181, 0.3) 100%);
    
    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-padding: 40px;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background-color: #f9faf9;
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
/* Animación desde la izquierda */
.animate-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-left.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Animación desde la derecha */
/* Performance-optimized animations - GPU accelerated */
.animate-right {
    opacity: 0;
    transform: translate3d(60px, 0, 0);
    will-change: auto;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-right.animated {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Animación desde abajo - GPU accelerated */
.animate-up {
    opacity: 0;
    transform: translate3d(0, 50px, 0);
    will-change: auto;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1) var(--animation-delay, 0s),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) var(--animation-delay, 0s);
}

.animate-up.animated {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Animación de fade - optimized */
.animate-fade {
    opacity: 0;
    will-change: auto;
    transition: opacity 0.8s ease var(--animation-delay, 0s);
}

.animate-fade.animated {
    opacity: 1;
}

/* Animación de escala - GPU accelerated */
.animate-scale {
    opacity: 0;
    transform: scale3d(0.9, 0.9, 1);
    will-change: auto;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1) var(--animation-delay, 0s),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) var(--animation-delay, 0s);
}

.animate-scale.animated {
    opacity: 1;
    transform: scale3d(1, 1, 1);
}

/* Media query for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .animate-up,
    .animate-right,
    .animate-fade,
    .animate-scale {
        opacity: 1;
        transform: none;
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ========================================
   TOP CONTACT BAR
   ======================================== */
.top-bar {
    background-color: transparent;
    padding: 12px 0;
    font-size: 13px;
    color: var(--text-light);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.address-section,
.contact-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info .icon {
    opacity: 0.9;
    flex-shrink: 0;
}

.contact-info span {
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.main-header {
    background-color: transparent;
    padding: 20px 0;
    position: absolute;
    top: 45px;
    left: 0;
    right: 0;
    z-index: 1001;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 45px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue-light);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-blue-light);
}

.nav-link-cta {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    padding: 10px 24px;
    border-radius: 25px;
    color: #D8DDE8;
    font-weight: 600;
}

.nav-link-cta::after {
    display: none;
}

.nav-link-cta:hover {
    background: linear-gradient(135deg, var(--primary-blue-light) 0%, var(--primary-blue) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(58, 159, 208, 0.4);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle::before {
    content: '▼';
    font-size: 8px;
    transition: transform 0.3s ease;
    margin-left: 5px;
}

.dropdown:hover .dropdown-toggle::before {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(6, 18, 46, 0.68);
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    padding: 10px 0;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    margin-top: 15px;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 10px;
}

.dropdown-item {
    display: block;
    padding: 10px 22px;
    color: rgba(225, 232, 245, 0.9);
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
    align-self: start;
}

.dropdown-item:hover {
    background: rgba(58, 159, 208, 0.15);
    color: #7ec8e8;
    border-left-color: var(--primary-blue-light);
    padding-left: 28px;
}

/* Mega Menu — 2-column layout for Therapies */
.dropdown-menu--cols {
    display: block;
    min-width: 510px;
    left: 0;
    transform: none;
    padding: 10px 0 0;
}

.dropdown-cols-inner {
    column-count: 2;
    column-gap: 0;
    padding: 0;
}

.dropdown-cols-inner .dropdown-item {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
}

.dropdown-item--all {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    color: var(--primary-blue-light);
    font-weight: 600;
    font-size: 11.5px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 25px;
    margin-top: 4px;
    background: rgba(58, 159, 208, 0.04);
    border-radius: 0 0 12px 12px;
    transition: all 0.25s ease;
}

.dropdown-item--all:hover {
    background: rgba(58, 159, 208, 0.14);
    border-left-color: transparent;
    padding-left: 25px;
    color: var(--primary-blue-light);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.hero-background.hidden {
    opacity: 1;
    pointer-events: auto;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

/* Secondary-page heroes: keep the motion but soften the footage with a
   moderate blur so it reads as a textured backdrop rather than a literal
   video. The main landing hero (.hero) is intentionally excluded and stays
   sharp. The slight scale hides the soft transparent edges the blur creates. */
.service-hero .hero-video,
.therapy-hero .hero-video,
.page-hero .hero-video,
.contact-hero .hero-video,
.faq-hero .hero-video,
.blog-hero .hero-video {
    filter: blur(7px);
    transform: translate(-50%, -50%) scale(1.09);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    z-index: 5;
}

.hero .container {
    position: relative;
    z-index: 3;
    max-width: 100%;
    margin: 0;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 100px;
}

.hero-content {
    max-width: 850px;
    color: var(--text-light);
    animation: fadeInUp 1.2s ease-out;
    margin-top: 115px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    margin-top: 40px;
    animation: fadeIn 1s ease-out 0.3s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-badge span {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-light);
}

.hero-title {
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 48px;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 3px;
    line-height: 1.8;
    margin-bottom: 50px;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    border-radius: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    color: #E8E8E8;
    box-shadow: 0 4px 12px rgba(85, 133, 181, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(85, 133, 181, 0.25);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #E8E8E8;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    opacity: 0.85;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
}

/* ========================================
   HERO LOTTIE ANIMATION
   ======================================== */
.hero-lottie {
    position: relative;
    width: 450px;
    height: 450px;
    flex-shrink: 0;
    animation: fadeIn 1.5s ease-out 0.5s both;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.3));
}

/* ========================================
   SCROLL INDICATOR
   ======================================== */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 3;
    animation: fadeIn 1s ease-out 1s both;
}

.scroll-arrow {
    animation: bounce 2s infinite;
}

.scroll-arrow svg {
    stroke: rgba(255, 255, 255, 0.8);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}



/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1200px) {
    .hero .container {
        padding-right: 400px;
    }
    
    .hero-title {
        font-size: 68px;
    }
}

@media (max-width: 1024px) {
    .hero .container {
        padding-right: 200px;
    }
    
    .main-nav ul {
        gap: 30px;
    }
    
    .nav-link {
        font-size: 12px;
    }
    
    .hero-title {
        font-size: 56px;
    }
    
    .hero-stats {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 20px;
    }
    
    .top-bar {
        font-size: 11px;
        padding: 8px 0;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .contact-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .main-header {
        top: 0;
        background: rgba(0, 0, 0, 0.95);
        padding: 15px 0;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .logo img {
        height: 45px !important;
    }
    
    /* Hide mobile-only links by default (desktop) */
    .mobile-only-link {
        display: none;
    }
    
    /* Hamburger Menu Responsive */
    .hamburger-menu {
        display: flex;
    }
    
    .main-nav ul {
        position: fixed;
        top: 125px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 125px);
        background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 30px 0 30px 0;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        z-index: 1000;
    }
    
    .main-nav ul::-webkit-scrollbar {
        display: none;
    }
    
    .main-nav ul.mobile-active {
        right: 0;
    }
    
    /* Mobile-only menu links - show in mobile */
    .mobile-only-link {
        display: block !important;
    }
    
    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link {
        display: block;
        padding: 18px 30px;
        font-size: 14px;
        width: 100%;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link-cta {
        margin: 15px 30px;
        text-align: center;
        border-radius: 8px;
        width: calc(100% - 60px);
    }
    
    /* Mobile Dropdown */
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        margin: 0;
        padding: 0;
        background: rgba(58, 159, 208, 0.05);
        border-radius: 0;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 500px;
    }

    /* Reset mega menu to single column on mobile */
    .dropdown-menu--cols {
        display: block;
        min-width: unset;
        left: unset;
        transform: none;
        padding: 0;
    }

    .dropdown-cols-inner {
        column-count: 1;
    }

    .dropdown-item--all {
        text-align: left;
        justify-content: flex-start;
        border-radius: 0;
        padding: 15px 30px 15px 45px;
        font-size: 13px;
        letter-spacing: 0.5px;
        background: rgba(58, 159, 208, 0.08);
        margin-top: 0;
    }
    
    .dropdown-toggle::before {
        position: absolute;
        right: 30px;
    }
    
    .dropdown-item {
        padding: 15px 30px 15px 45px;
        font-size: 13px;
    }
    
    /* Mobile-only link styling */
    .dropdown-item.mobile-only-link {
        background: rgba(58, 159, 208, 0.15);
        color: #3a9fd0;
        font-weight: 600;
        padding: 15px 30px;
        border-bottom: 2px solid rgba(58, 159, 208, 0.3);
    }
    
    .dropdown-item.mobile-only-link:hover {
        background: rgba(58, 159, 208, 0.25);
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    /* Hero Mobile Redesign */
    .hero {
        min-height: 100vh;
        height: auto;
        padding: 120px 0 60px 0;
    }
    
    .hero .container {
        padding-right: var(--container-padding);
        flex-direction: column;
        gap: 40px;
    }
    
    .hero-content {
        margin-top: 0;
        text-align: center;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
        line-height: 1.6;
        margin-bottom: 30px;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 40px;
    }
    
    .btn {
        text-align: center;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 30px 20px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 10px);
        text-align: center;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .hero-lottie {
        display: none;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .top-bar {
        display: none;
    }
    
    .main-nav ul {
        width: 100%;
        right: -100%;
        top: 75px;
        height: calc(100vh - 75px);
    }
    
    .hero {
        padding: 100px 0 50px 0;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 0.7rem;
        margin-bottom: 25px;
    }
    
    .btn {
        padding: 14px 30px;
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.6rem;
    }
    
    .hero-stats {
        gap: 25px 15px;
    }
}

/* ========================================
   PATIENTS REVIEWS SECTION
   ======================================== */
/* ========================================
   PATIENT TESTIMONIALS SECTION
   ======================================== */
.reviews-section {
    background: #f9faf9;
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
    z-index: 100;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(85, 133, 181, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.reviews-header {
    text-align: center;
    margin-bottom: 28px;
}

.reviews-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 16px;
}

.reviews-section .section-title {
    color: var(--primary-blue-dark);
    margin-bottom: 16px;
}

.reviews-subtitle {
    font-size: 16px;
    color: rgba(30, 40, 60, 0.5);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-blue-dark);
    margin-bottom: 25px;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
}

.reviews-carousel-container {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
}

.reviews-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 32px;
}

.carousel-nav {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(85, 133, 181, 0.2);
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    z-index: 2;
}

.carousel-nav:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: scale(1.08);
}

.carousel-nav svg {
    stroke: var(--primary-blue);
    transition: stroke 0.25s ease;
}

.carousel-nav:hover svg {
    stroke: #E8E8E8;
}

.reviews-content {
    flex: 1;
    position: relative;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-item {
    position: absolute;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
    visibility: hidden;
}

.review-item.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
    position: relative;
}

.review-item.exit-left {
    opacity: 0;
    transform: translateY(-10px);
}

.review-text {
    font-size: 19px;
    line-height: 1.8;
    color: rgba(30, 40, 60, 0.75);
    margin-bottom: 24px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    font-style: italic;
    font-weight: 300;
}

.review-attribution {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.review-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #E8E8E8;
    flex-shrink: 0;
    border: 2px solid rgba(203, 152, 0, 0.4);
}

.review-author-details {
    text-align: left;
}

.review-author {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--primary-blue-dark);
    margin-bottom: 4px;
}

.review-stars {
    display: flex;
    gap: 3px;
}

.review-stars svg {
    width: 14px;
    height: 14px;
    color: var(--accent-gold);
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: none;
    background: rgba(85, 133, 181, 0.18);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.indicator:hover {
    background: rgba(85, 133, 181, 0.4);
}

.indicator.active {
    background: var(--accent-gold);
    width: 24px;
    border-radius: 3px;
}

.reviews-cta {
    text-align: center;
    margin-top: 16px;
}

.reviews-google-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border: 1.5px solid rgba(85, 133, 181, 0.2);
    border-radius: 30px;
    background: white;
    color: var(--primary-blue-dark);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.reviews-google-btn:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 16px rgba(85, 133, 181, 0.12);
    transform: translateY(-2px);
}

    .reviews-carousel {
        padding: 0 20px;
    }

    .carousel-nav {
        width: 38px;
        height: 38px;
    }

    .review-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }

    .reviews-carousel {
        gap: 12px;
    }

    .review-text {
        font-size: 15px;
    }
}

/* Journey Section */
.journey-section {
    width: 100%;
    position: relative;
    z-index: 100;
}

.journey-block {
    width: 100%;
    padding: 100px 0;
    position: relative;
}

.journey-block.dark {
    background: linear-gradient(135deg, #3d6a96 0%, #5585b5 100%);
    color: #E8E8E8;
}

.journey-block.light {
    background: #f9faf9;
    color: #333;
}

.journey-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.journey-content.reverse {
    direction: rtl;
}

.journey-content.reverse > * {
    direction: ltr;
}

.journey-text {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.journey-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.journey-block.dark .journey-title {
    color: #E8E8E8;
}

.journey-block.light .journey-title {
    color: #5585b5;
}

.journey-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.95;
    margin: 0;
}

.journey-btn {
    display: inline-block;
    padding: 16px 45px;
    background: white;
    color: var(--primary-blue);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    align-self: flex-start;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.journey-block.dark .journey-btn {
    background: white;
    color: var(--primary-blue);
}

.journey-block.light .journey-btn {
    background: var(--primary-blue);
    color: #E8E8E8;
}

.journey-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.journey-block.dark .journey-btn:hover {
    background: var(--accent-gold);
    color: #E8E8E8;
}

.journey-block.light .journey-btn:hover {
    background: var(--primary-blue-light);
}

.journey-image {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.journey-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.health-icon,
.wellness-icon {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(58, 159, 208, 0.4);
    z-index: 10;
}

.wellness-icon {
    background: white;
    border: 3px solid var(--primary-blue);
}

.health-icon svg,
.wellness-icon svg {
    width: 80px;
    height: 80px;
}

/* Responsive */
@media (max-width: 1024px) {
    .journey-content {
        gap: 60px;
        padding: 0 30px;
    }

    .journey-title {
        font-size: 2.5rem;
    }

    .journey-image {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .journey-block {
        padding: 60px 0;
    }

    .journey-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }

    .journey-content.reverse {
        direction: ltr;
    }

    .journey-title {
        font-size: 2rem;
    }

    .journey-description {
        font-size: 1rem;
    }

    .journey-image {
        height: 350px;
    }

    .health-icon,
    .wellness-icon {
        width: 100px;
        height: 100px;
        bottom: -15px;
        right: -15px;
    }

    .health-icon svg,
    .wellness-icon svg {
        width: 65px;
        height: 65px;
    }
}

@media (max-width: 480px) {
    .journey-block {
        padding: 50px 0;
    }

    .journey-title {
        font-size: 1.75rem;
    }

    .journey-btn {
        padding: 14px 35px;
        font-size: 0.95rem;
    }

    .journey-image {
        height: 300px;
        border-radius: 15px;
    }
}

/* ========================================
   NEWSLETTER CAROUSEL SECTION
   ======================================== */
.newsletter-section {
    background: #f9faf9;
    margin: 0;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    min-height: auto;
    z-index: 100;
}

.newsletter-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-subtitle {
    font-size: 0.95rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 15px;
}

.newsletter-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 25px;
    line-height: 1.3;
}

.newsletter-description {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}


/* Tarjetas de libros clicables */
.newsletter-cards {
    position: relative;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.newsletter-card {
    background: white;
    border-radius: 16px;
    padding: 25px 20px;
    box-shadow: 
        0 4px 20px rgba(58, 159, 208, 0.12),
        0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(58, 159, 208, 0.1);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 260px;
    flex-shrink: 0;
}

/* Animación de scroll - solo si JS está activo */
.newsletter-card:not(.visible) {
    opacity: 0;
    transform: translateY(30px);
}

.newsletter-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Todas las tarjetas aparecen simultáneamente */
.newsletter-card:nth-child(n) { transition-delay: 0s; }

.newsletter-card:hover {
    transform: translateY(-12px);
    box-shadow: 
        0 20px 40px rgba(58, 159, 208, 0.2),
        0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}

.newsletter-card-image {
    width: 150px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 18px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
}

.newsletter-card:hover .newsletter-card-image {
    transform: scale(1.05);
}

.newsletter-card-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.newsletter-card-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
    flex-grow: 1;
}

.newsletter-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid rgba(58, 159, 208, 0.1);
    width: 100%;
    justify-content: center;
}

.newsletter-card-cta svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.newsletter-card:hover .newsletter-card-cta {
    color: var(--primary-blue-dark);
}

.newsletter-card:hover .newsletter-card-cta svg {
    transform: translateX(5px);
}


/* Responsive Newsletter Section */
@media (max-width: 768px) {
    .newsletter-section {
        padding: 60px 0;
    }
    
    .newsletter-title {
        font-size: 2rem;
    }
    
    .newsletter-description {
        font-size: 0.95rem;
    }
    
    .newsletter-cards {
        gap: 20px;
    }
    
    .newsletter-card {
        width: 100%;
        max-width: 320px;
    }
    
    .newsletter-card-image {
        width: 180px;
        height: 240px;
    }
}

@media (max-width: 480px) {
    .newsletter-title {
        font-size: 1.75rem;
    }
    
    .newsletter-card {
        padding: 20px;
    }
    
    .newsletter-card-image {
        width: 160px;
        height: 220px;
    }
}

/* ========================================
   LOCATION & CONTACT SECTION
   ======================================== */
.location-section {
    background: linear-gradient(135deg, #3d6a96 0%, #5585b5 100%);
    padding: 100px 0;
    position: relative;
    z-index: 100;
}

.location-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.location-info {
    color: #E8E8E8;
}

.location-title {
    font-family: var(--font-body);
    font-size: 3rem;
    font-weight: 700;
    color: #E8E8E8;
    margin-bottom: 15px;
    line-height: 1.2;
}

.location-subtitle {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-icon svg {
    stroke: white;
}

.contact-text h3 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.contact-text p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.6;
    color: #E8E8E8;
}

.contact-text a {
    color: #E8E8E8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--accent-gold);
}

.available-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue-light) 0%, var(--primary-blue) 100%);
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(85, 133, 181, 0.3);
}

.location-map {
    height: 550px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.location-map iframe {
    width: 100%;
    height: 100%;
}

/* ========================================
   FOOTER
   ======================================== */
.main-footer {
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
    color: #e0e0e0;
    padding-top: 80px;
    position: relative;
    z-index: 100;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 25px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    height: 50px;
    max-width: 180px;
    width: auto;
    margin-bottom: 30px;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #b0b0b0;
    margin-bottom: 30px;
    max-width: 350px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e0e0e0;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(58, 159, 208, 0.4);
}

.footer-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: #E8E8E8;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-blue);
    transform: translateX(5px);
}

.footer-bottom {
    padding: 30px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-legal p {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
}

.footer-legal-links {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--primary-blue);
}

.footer-legal-links .separator {
    color: #555;
}

.footer-credit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #888;
}

.websbio-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.websbio-link:hover {
    transform: scale(1.05);
}

.websbio-logo {
    height: 70px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.websbio-link:hover .websbio-logo {
    opacity: 1;
}

/* Location & Footer Responsive */
@media (max-width: 1024px) {
    .location-container {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 0 30px;
    }

    .location-map {
        height: 450px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .footer-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .location-section {
        padding: 70px 0;
    }

    .location-container {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 0 30px;
    }

    .location-title {
        font-size: 2.5rem;
    }

    .location-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    .contact-details {
        gap: 30px;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
    }

    .location-map {
        height: 400px;
    }

    .footer-content {
        padding: 0 30px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        align-items: center;
    }

    .footer-legal-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .location-section {
        padding: 60px 0;
    }

    .location-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }

    .location-title {
        font-size: 2rem;
    }

    .contact-detail-item {
        gap: 15px;
    }

    .contact-text h3 {
        font-size: 0.85rem;
    }

    .contact-text p {
        font-size: 1rem;
    }

    .location-map {
        height: 350px;
    }

    .main-footer {
        padding-top: 60px;
    }

    .footer-content {
        padding: 0 10px;
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding-bottom: 40px;
    }

    .footer-bottom {
        padding: 0;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-description {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}

