/* ==========================================================================
   CSS Variables & Base Setup
   ========================================================================== */
:root {
    /* Colors — Gold as PRIMARY brand color */
    --clr-primary: #b8922e;
    /* Rich Gold */
    --clr-primary-light: #d4aa50;
    --clr-primary-dark: #8c6c1c;

    --clr-accent: #2d4c3b;
    /* Deep Pine Green (secondary) */
    --clr-accent-hover: #1b3024;

    --clr-bg-main: #faf9f7;
    /* Off-white / Warm Cream */
    --clr-bg-light: #ffffff;
    --clr-bg-dark: #1a1a1a;

    --clr-text-main: #2e2e2e;
    --clr-text-muted: #6b6b6b;
    --clr-text-light: #f5f5f5;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Utilities */
    --transition: all 0.3s ease-in-out;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 40px rgba(184, 146, 46, 0.18);
    --border-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--clr-text-main);
    background-color: var(--clr-bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Accessibility: Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--clr-primary);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--clr-accent);
}

.section-title p {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--clr-primary);
    color: var(--clr-text-light);
}

.btn-primary:hover {
    background-color: var(--clr-primary-dark);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--clr-primary);
    border-color: var(--clr-primary);
}

.btn-outline:hover {
    background-color: var(--clr-primary);
    color: var(--clr-text-light);
}

.btn-link {
    color: var(--clr-accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-link:hover {
    color: var(--clr-primary);
    gap: 12px;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-style: italic;
    font-weight: 700;
    color: var(--clr-primary);
    letter-spacing: 0.5px;
    transition: var(--transition);
}

/* Navbar scrolled state — white with gold accent border */
.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    padding: 8px 0;
    box-shadow: none;
    border-bottom: 2px solid var(--clr-primary);
}

.navbar.scrolled .logo-text {
    font-size: 1.5rem;
}

.navbar.scrolled .nav-links a {
    color: var(--clr-primary);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--clr-primary-dark);
}

.navbar.scrolled .hamburger {
    color: var(--clr-primary);
}


.nav-links {
    display: flex;
    gap: 30px;
    margin-left: auto;
}

.nav-links a {
    font-weight: 500;
    color: var(--clr-text-main);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-accent);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--clr-primary);
}

.nav-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--clr-primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 700px;
    background-image: url('../img/hero-bg.webp');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(20, 14, 4, 0.12) 0%,
            rgba(20, 14, 4, 0.0) 30%,
            rgba(20, 14, 4, 0.0) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 550px;
    margin-left: 0;
    margin-top: -10px;
    background: rgba(222, 224, 221, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--clr-primary-dark);
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: var(--clr-text-main);
    font-weight: 500;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Outline button adapts to new hero bg */
.hero-buttons .btn-outline {
    color: var(--clr-primary-dark);
    border-color: var(--clr-primary-dark);
    background-color: transparent;
}

.hero-buttons .btn-outline:hover {
    background-color: var(--clr-primary-dark);
    color: #fff;
}

/* Hero Responsive */
@media (max-width: 768px) {
    .hero {
        background-position: 85% center;
    }

    .hero-content {
        margin-top: 0;
        padding: 25px 20px;
        max-width: 85%;
        margin-left: -5%;
    }

    .hero-content h1 {
        font-size: 2.4rem;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        display: flex;
        justify-content: center;
    }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards ease-out;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Services Section
   ========================================================================== */
/* Swiper Services Slider Styles */
.services-slider-container {
    position: relative;
    padding: 20px 40px 60px 40px;
    /* Space on sides for buttons and bottom for pagination */
}

@media (max-width: 768px) {
    .services-slider-container {
        padding: 10px 10px 50px 10px;
        /* Reduced padding on mobile */
    }
}

.services-slider {
    width: 100%;
    padding: 15px 5px;
    /* Padding to ensure card hover shadows aren't clipped */
    overflow: hidden;
}

.service-card {
    background: var(--clr-bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
    height: 100%;
    /* Keep cards consistent height */
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--clr-accent);
}

.service-img {
    height: 250px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Click indicator overlay */
.service-img::after {
    content: '\f00e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(184, 146, 46, 0.0);
    color: rgba(255, 255, 255, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: all 0.4s ease;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.service-card:hover .service-img::after {
    background: rgba(184, 146, 46, 0.35);
    color: rgba(255, 255, 255, 1);
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-content {
    padding: 30px;
    background: var(--clr-bg-light);
    position: relative;
    flex-grow: 1;
    /* Make content stretch to fill card height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--clr-primary);
}

.service-content p {
    color: var(--clr-text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
    flex-grow: 1;
}

/* Premium Swiper Navigation Styles */
.services-slider-container .swiper-button-next,
.services-slider-container .swiper-button-prev {
    width: 48px;
    height: 48px;
    background-color: var(--clr-bg-light);
    color: var(--clr-primary);
    border: 1px solid rgba(184, 146, 46, 0.2);
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.services-slider-container .swiper-button-next:hover,
.services-slider-container .swiper-button-prev:hover {
    background-color: var(--clr-primary);
    color: var(--clr-text-light);
    border-color: var(--clr-primary);
    box-shadow: var(--shadow-hover);
    transform: scale(1.05);
}

.services-slider-container .swiper-button-next::after,
.services-slider-container .swiper-button-prev::after {
    font-size: 1.1rem;
    font-weight: bold;
}

.services-slider-container .swiper-button-prev {
    left: -10px;
}

.services-slider-container .swiper-button-next {
    right: -10px;
}

@media (max-width: 992px) {
    .services-slider-container .swiper-button-prev {
        left: 0;
    }

    .services-slider-container .swiper-button-next {
        right: 0;
    }
}

@media (max-width: 768px) {

    .services-slider-container .swiper-button-next,
    .services-slider-container .swiper-button-prev {
        display: none;
        /* Hide arrow navigation on mobile (touch swiping is enough) */
    }
}

/* Custom Swiper Pagination Dots */
.services-slider-container .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: var(--clr-accent);
    opacity: 0.3;
    transition: var(--transition);
}

.services-slider-container .swiper-pagination-bullet-active {
    background-color: var(--clr-primary);
    opacity: 1;
    width: 24px;
    border-radius: 4px;
}

/* ==========================================================================
   Parallax People Section
   ========================================================================== */
.parallax-people {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #1a1a1a;
}

.parallax-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left,
            rgba(27, 21, 8, 0.85) 0%,
            rgba(27, 21, 8, 0.6) 50%,
            rgba(27, 21, 8, 0.25) 100%);
}

.parallax-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
}

.parallax-text {
    max-width: 550px;
    color: #fff;
    padding: 60px 0;
}

.parallax-text h2 {
    font-size: 2.5rem;
    color: var(--clr-primary-light);
    margin-bottom: 20px;
    line-height: 1.2;
}

.parallax-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 40px;
}

.parallax-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--clr-primary-light);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.7;
}

/* Scroll Reveal Animation — slide from right */
.scroll-reveal-right {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .parallax-people {
        background-attachment: scroll;
    }

    .parallax-content {
        justify-content: center;
    }

    .parallax-text {
        text-align: center;
        padding: 40px 0;
    }

    .parallax-text h2 {
        font-size: 2rem;
    }

    .parallax-stats {
        justify-content: center;
        gap: 25px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* ==========================================================================
   Promo Banner
   ========================================================================== */
.promo-banner {
    background: linear-gradient(135deg, #8c6c1c 0%, #b8922e 50%, #d4aa50 100%);
    color: var(--clr-text-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(196, 161, 101, 0.1);
    /* Gold glow */
}

.promo-banner::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.promo-content {
    position: relative;
    z-index: 1;
}

.promo-banner h2 {
    color: var(--clr-text-light);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.promo-banner p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
    opacity: 0.9;
}

.price-tag {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.price-tag span {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--clr-accent);
    font-weight: 700;
    display: block;
    margin-top: 5px;
}

.promo-banner .btn-primary {
    background-color: #fff;
    color: var(--clr-primary-dark);
    font-weight: 600;
}

.promo-banner .btn-primary:hover {
    background-color: var(--clr-accent);
    color: var(--clr-text-light);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.about-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.about-list i {
    color: var(--clr-accent);
    font-size: 1.2rem;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
}

/* ==========================================================================
   Testimonials / Reseñas Section
   ========================================================================== */
.testimonials {
    background-color: #f3efe8;
}

.testimonials-slider {
    padding-bottom: 50px;
}

.testimonial-card {
    background: var(--clr-bg-light);
    border-radius: var(--border-radius);
    padding: 40px 35px 30px;
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: var(--transition);
    border-top: 3px solid var(--clr-primary);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.testimonial-quote {
    font-size: 2rem;
    color: var(--clr-primary);
    opacity: 0.3;
    margin-bottom: 10px;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--clr-text-muted);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
    flex-grow: 1;
}

.testimonial-stars {
    margin-bottom: 20px;
    display: flex;
    gap: 3px;
}

.testimonial-stars i {
    color: var(--clr-primary);
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-light));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.testimonial-author h4 {
    font-size: 1.05rem;
    margin-bottom: 2px;
    color: var(--clr-text-main);
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--clr-primary);
    font-weight: 500;
}

/* Swiper pagination for testimonials */
.testimonials-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--clr-primary);
    opacity: 0.3;
}

.testimonials-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--clr-primary);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: var(--clr-bg-light);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item .icon {
    width: 50px;
    height: 50px;
    background: rgba(45, 76, 59, 0.1);
    color: var(--clr-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-item h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.info-item p,
.info-item a {
    color: var(--clr-text-muted);
}

.info-item a:hover {
    color: var(--clr-accent);
}

.contact-map {
    border-radius: var(--border-radius);
    overflow: hidden;
    min-height: 350px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--clr-bg-dark);
    color: var(--clr-text-light);
    padding: 60px 0 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--clr-accent);
    transform: translateY(-3px);
}

.footer-text {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* ==========================================================================
   Media Queries (Responsive — All Devices)
   ========================================================================== */

/* --- Tablets landscape & small desktops (max 992px) --- */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

/* --- Tablets portrait (max 768px) --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 25px;
        z-index: 9998;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.3rem;
        color: var(--clr-primary) !important;
    }

    .hamburger {
        display: block;
        z-index: 9999;
    }

    .hero {
        min-height: 60vh;
    }

    .parallax-people {
        min-height: 400px;
    }

    .parallax-content {
        justify-content: center;
    }

    .parallax-text {
        text-align: center;
        padding: 40px 20px;
    }

    .parallax-text h2 {
        font-size: 1.8rem;
    }

    .parallax-stats {
        justify-content: center;
        gap: 25px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .social-links {
        justify-content: center;
    }

    .container {
        padding: 0 20px;
    }
}

/* --- Mobile phones (max 480px) --- */
@media (max-width: 480px) {
    .logo-text {
        font-size: 1.4rem;
    }

    .navbar.scrolled .logo-text {
        font-size: 1.2rem;
    }

    .hero {
        min-height: 50vh;
    }

    .section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .section-title p {
        font-size: 0.9rem;
    }

    .parallax-text h2 {
        font-size: 1.5rem;
    }

    .parallax-text p {
        font-size: 0.95rem;
    }

    .parallax-stats {
        flex-direction: column;
        gap: 15px;
    }

    .about-text h2 {
        font-size: 1.6rem;
    }

    .testimonial-card {
        padding: 25px 20px 20px;
        min-height: auto;
    }

    .contact-grid {
        padding: 20px;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 1.7rem;
        bottom: 20px;
        right: 20px;
    }
}

/* ==========================================================================
   Lightbox Modal
   ========================================================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    cursor: pointer;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 85%;
    max-height: 85vh;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.4s ease;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 3rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
    z-index: 10001;
}

.lightbox-close:hover {
    color: var(--clr-primary);
    transform: rotate(90deg);
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    color: #fff;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.7);
    }

    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
}

/* ==========================================================================
   Preloader
   ========================================================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #faf9f7;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-style: italic;
    font-weight: 700;
    color: var(--clr-primary);
    display: block;
    margin-bottom: 20px;
    animation: preloaderFade 1.5s ease-in-out infinite;
}

@keyframes preloaderFade {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(211, 170, 66, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

.preloader-progress {
    width: 0%;
    height: 100%;
    background: var(--clr-primary);
    border-radius: 3px;
    animation: preloaderBar 1.5s ease-in-out forwards;
}

@keyframes preloaderBar {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* ==========================================================================
   Global Scroll Reveal
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Back to Top Button
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 45px;
    height: 45px;
    background: var(--clr-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(211, 170, 66, 0.3);
    z-index: 9998;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--clr-primary-dark);
    transform: translateY(-3px);
}

/* ==========================================================================
   Navbar Active Link
   ========================================================================== */
.nav-links a.active {
    color: var(--clr-primary) !important;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--clr-primary);
    border-radius: 2px;
}

/* ==========================================================================
   Cookie Notice
   ========================================================================== */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--clr-bg-dark);
    color: var(--clr-text-light);
    padding: 18px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.5s ease;
    font-size: 0.9rem;
}

.cookie-notice.visible {
    transform: translateY(0);
}

.cookie-notice.dismissed {
    transform: translateY(100%);
}

.cookie-notice p {
    margin: 0;
    opacity: 0.85;
}

.cookie-accept {
    background: var(--clr-primary);
    color: #fff;
    border: none;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.cookie-accept:hover {
    background: var(--clr-primary-dark);
}

@media (max-width: 768px) {
    .cookie-notice {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 15px 20px;
    }

    .back-to-top {
        left: 20px;
        bottom: 20px;
        width: 40px;
        height: 40px;
    }
}

/* ==========================================================================
   Google Reviews Badge
   ========================================================================== */
.google-reviews-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
    font-size: 0.95rem;
    color: var(--clr-text-secondary);
}

.google-reviews-badge img {
    display: inline-block;
}

.google-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.google-rating strong {
    font-size: 1.1rem;
    color: var(--clr-text-main);
}

.google-stars {
    color: #FBBC04;
    font-size: 0.85rem;
    display: flex;
    gap: 1px;
}

.btn-google-reviews {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #fff;
    color: #333;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
}

.btn-google-reviews:hover {
    border-color: #4285F4;
    color: #4285F4;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.15);
}

.btn-google-reviews i {
    font-size: 1.2rem;
    color: #4285F4;
}

@media (max-width: 480px) {
    .google-reviews-badge {
        font-size: 0.8rem;
    }

    .btn-google-reviews {
        font-size: 0.85rem;
        padding: 10px 20px;
    }
}

/* ==========================================================================
   Swiper Navigation Arrows — Responsive
   ========================================================================== */
.swiper-button-prev,
.swiper-button-next {
    color: var(--clr-primary) !important;
    background: rgba(255, 255, 255, 0.9);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: var(--transition);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--clr-primary);
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(183, 148, 82, 0.3);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 18px !important;
    font-weight: 700;
}

/* Tablet */
@media (max-width: 768px) {

    .swiper-button-prev,
    .swiper-button-next {
        width: 36px;
        height: 36px;
    }

    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 14px !important;
    }
}

/* Móvil */
@media (max-width: 480px) {

    .swiper-button-prev,
    .swiper-button-next {
        width: 32px;
        height: 32px;
        top: 50%;
    }

    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 12px !important;
    }

    .swiper-button-prev {
        left: 2px;
    }

    .swiper-button-next {
        right: 2px;
    }

    /* Carruseles en móvil: 1 tarjeta con padding para flechas */
    .services-slider,
    .testimonials-slider {
        padding: 0 30px;
    }
}

/* ==========================================================================
   Tratamientos Destacados — Rows alternantes
   ========================================================================== */
.treatments-detail {
    background: var(--clr-bg-light);
}

.treatment-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.treatment-row:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.treatment-row:last-child {
    margin-bottom: 0;
}

.treatment-row.reverse {
    flex-direction: row-reverse;
}

.treatment-image {
    flex: 0 0 40%;
    max-width: 40%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    aspect-ratio: 4 / 5;
}

.treatment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.treatment-row:hover .treatment-image img {
    transform: scale(1.08);
}

.treatment-info {
    flex: 1;
}

.treatment-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
    color: #fff;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.treatment-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--clr-text-main);
    margin-bottom: 15px;
}

.treatment-info p {
    color: var(--clr-text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.treatment-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.treatment-benefits li {
    padding: 6px 0;
    color: var(--clr-text-secondary);
    font-size: 0.95rem;
}

.treatment-benefits li i {
    color: var(--clr-primary);
    margin-right: 10px;
    font-size: 0.85rem;
}

.btn-treatment {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #25D366;
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
}

.btn-treatment:hover {
    background: #1ebe57;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-treatment i {
    font-size: 1.2rem;
}

/* Tablet */
@media (max-width: 768px) {

    .treatment-row,
    .treatment-row.reverse {
        flex-direction: column;
        gap: 25px;
    }

    .treatment-image {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .treatment-info h3 {
        font-size: 1.5rem;
    }
}

/* Móvil */
@media (max-width: 480px) {
    .treatment-row {
        margin-bottom: 40px;
    }

    .treatment-info h3 {
        font-size: 1.3rem;
    }

    .btn-treatment {
        width: 100%;
        justify-content: center;
    }
}