:root {
    --color-white: #FFFFFF;
    --color-gold: #D4AF37;
    --color-gold-hover: #b5952f;
    --color-beige: #F9F4EF;
    --color-pink: #FADADD;
    --color-pink-dark: #e0b0b0;
    --color-black: #1A1A1A;
    --color-text-gray: #4A4A4A;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    color: var(--color-text-gray);
    line-height: 1.6;
    background-color: var(--color-white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--color-black);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 25px;
    letter-spacing: -0.5px;
    color: var(--color-black);
    width: 100%;
    display: block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--color-gold);
}

.btn {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-gold {
    background-color: var(--color-gold);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--color-gold-hover);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-gold:hover::before {
    width: 100%;
}

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

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: 60px;
    object-fit: cover;
    border-radius: 50%;
}

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

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-black);
}

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

.lang-btn {
    background: transparent;
    border: 1px solid var(--color-black);
    padding: 5px 10px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: bold;
    transition: var(--transition);
}

.lang-btn:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.5) 0%, rgba(26, 26, 26, 0.2) 100%), url('images/natural-clinic-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    opacity: 0;
    /* For animation */
    transform: translateY(30px);
    /* For animation */
    animation: heroFadeUp 1s ease-out forwards;
}

.hero-content h1 {
    font-size: 4.5rem;
    color: var(--color-white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
    font-size: 2rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 2;
}

@keyframes bounce {

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

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

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

/* Scroll Animations */
@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

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

/* About Section */
.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    /* Ensure shadow respects radius if needed, though for img it's usually fine directly on img */
}

/* Removed gold border line ::after */

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    /* Shadow from bottom */
    transition: all 0.5s ease;
    display: block;
    /* Remove bottom space */
}

.about-image:hover img {
    transform: translateY(-10px) scale(1.02);
    /* Lift and subtle scale animation */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    /* Stronger shadow on hover */
}

.about-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.about-text .section-title {
    margin-bottom: 30px;
}

.signature {
    font-family: 'Herr Von Muellerhoff', cursive;
    /* You might want to import this font */
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-top: 30px;
}

.social-icons-about {
    margin-top: 20px;
}

.social-icons-about a {
    font-size: 1.5rem;
    color: var(--color-black);
    margin-right: 15px;
}

.social-icons-about a:hover {
    color: var(--color-pink-dark);
}

/* Services Section */
.bg-light {
    background-color: var(--color-beige);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-card {
    background: var(--color-white);
    padding: 40px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-bottom: 3px solid transparent;
    position: relative;
    overflow: hidden;
    flex: 1 1 300px;
    max-width: 400px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-bottom-color: var(--color-gold);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 3.5rem;
    color: var(--color-gold);
    margin-bottom: 25px;
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    height: 250px;
    background-color: #ddd;
    border-radius: 5px;
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    opacity: 0.8;
}

/* Instagram Videos Section */
.section-subtitle {
    text-align: center;
    margin-top: -30px;
    margin-bottom: 40px;
    color: var(--color-text-gray);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    align-items: start;
}

.video-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

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

.video-wrapper {
    aspect-ratio: 9/16;
    /* Fallback for older browsers */
    height: 0;
    padding-bottom: 177.77%;
    position: relative;
    overflow: hidden;
    background: #000;
}

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

.video-placeholder {
    aspect-ratio: 9/16;
    /* Fallback for older browsers */
    height: 0;
    padding-bottom: 177.77%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
    /* Ensure content doesn't spill */
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 15px;
    text-align: center;
}

.video-info h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.video-info p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.btn-link {
    color: var(--color-gold);
    font-weight: bold;
    font-size: 0.9rem;
}

.btn-link:hover {
    color: var(--color-gold-hover);
}

.instagram-btn-container {
    text-align: center;
    margin-top: 40px;
}

/* LinkedIn Section */
.linkedin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.linkedin-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    display: flex;
    gap: 20px;
    transition: var(--transition);
}

.linkedin-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #0077b5;
}

.linkedin-icon {
    font-size: 2.5rem;
    color: #0077b5;
}

.linkedin-content h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.linkedin-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.btn-text {
    color: #0077b5;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-linkedin {
    background-color: #0077b5;
    color: white;
}

.btn-linkedin:hover {
    background-color: #005e93;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-question {
    color: var(--color-gold);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.faq-answer {
    color: var(--color-text-gray);
    font-size: 0.95rem;
}

/* Locations Section */
.bg-gold-light {
    background-color: rgba(212, 175, 55, 0.1);
}

.locations-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    text-align: center;
    flex-wrap: wrap;
}

.location-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.location-box h3 {
    margin-bottom: 15px;
    color: var(--color-gold);
}

.location-box i {
    font-size: 2rem;
    margin-top: 15px;
    color: var(--color-text-gray);
}

.location-divider {
    width: 2px;
    height: 100px;
    background-color: var(--color-gold);
}

.locations-note {
    text-align: center;
    margin-top: 30px;
    font-style: italic;
    color: var(--color-text-gray);
}

/* Testimonials Section */
.testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
}

.testimonial-card {
    min-width: 300px;
    flex: 1;
    background: var(--color-beige);
    padding: 30px;
    border-radius: 10px;
    position: relative;
    scroll-snap-align: center;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-card span {
    font-weight: bold;
    display: block;
    text-align: right;
    color: var(--color-gold);
}

/* Contact Section */
.bg-dark {
    background-color: var(--color-black);
}

.text-white {
    color: var(--color-white);
}

.text-white h2,
.text-white h3,
.text-white h4 {
    color: var(--color-white);
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-details {
    margin: 40px 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-right: 20px;
    margin-top: 5px;
}

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

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

.btn-social {
    background-color: transparent;
    border: 1px solid white;
    color: white;
    padding: 10px 20px;
}

.btn-social:hover {
    background-color: white;
    color: var(--color-black);
}

.contact-map {
    flex: 1;
    min-width: 300px;
}

.contact-map iframe {
    width: 100%;
    height: 350px;
    border: 0;
    border-radius: 10px;
}

/* Contact Form Styles */
.contact-form {
    background: var(--color-white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    color: var(--color-black);
}

.contact-form h3 {
    color: var(--color-black);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-gray);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background-color: #f9f9f9;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    text-decoration: none;
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-whatsapp {
    background-color: #25D366;
}

.float-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

/* Gallery Carousel Styles */
.gallery-carousel-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.gallery-carousel-container {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.gallery-track {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.5s ease-in-out;
}

.gallery-card {
    min-width: 100%;
    height: 500px;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #f8f8f8;
}

/* Training Carousel Adjustments */
.training-carousel {
    max-width: 400px;
    margin: 0 auto 60px auto;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.4);
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0 !important;
    /* Crucial: Sin padding para que las imágenes toquen los bordes */
}

.training-carousel .gallery-track {
    gap: 0;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

.training-carousel .gallery-card {
    flex: 0 0 100% !important;
    /* Fuerza el ancho al 100% literal del contenedor */
    max-width: 100%;
    aspect-ratio: 9 / 16;
    position: relative;
    background-color: #000;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    height: auto;
    overflow: hidden;
    /* Cortar cualquier desborde interno */
}

.training-carousel .video-wrapper,
.training-carousel .image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.training-carousel .video-caption {
    position: absolute;
    bottom: 0;
    /* Directo al fondo, sin saltos */
    left: 0;
    right: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.6) 30%,
            rgba(0, 0, 0, 0.2) 60%,
            transparent 100%);
    color: #fff;
    padding: 100px 20px 45px 20px;
    /* Más padding abajo para cubrir todo */
    text-align: center;
    z-index: 5;
    pointer-events: none;
}

.training-carousel .carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.training-carousel .video-caption h4 {
    margin: 0;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    font-family: var(--font-heading);
}

.training-carousel video,
.training-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cubrir todo el espacio sin deformar ni dejar barras */
    object-position: center;
    display: block;
}

.training-carousel .carousel-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.training-carousel .carousel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.08);
}

.training-carousel .indicator {
    width: 6px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.4);
    margin: 0 4px;
    transition: all 0.3s ease;
}

.training-carousel .indicator.active {
    background-color: #fff;
    width: 18px;
    border-radius: 10px;
}

/* Mobile adjustments for training carousel */
@media (max-width: 768px) {
    .training-carousel {
        max-width: 90%;
    }

    .training-carousel .gallery-card {
        aspect-ratio: 9 / 16;
    }
}

/* Mobile adjustments for training carousel */
@media (max-width: 768px) {
    .training-carousel {
        max-width: 95%;
    }

    .training-carousel .gallery-card {
        height: 350px;
        /* Even more compact on mobile */
    }
}

/* Custom Scrollbar for better feel */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold-dark);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-black);
}

/* Background Patterns and Section Enhancements */
.section {
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 5% 15%, rgba(212, 175, 55, 0.04) 0%, transparent 25%),
        radial-gradient(circle at 95% 85%, rgba(212, 175, 55, 0.04) 0%, transparent 25%);
    pointer-events: none;
    z-index: -1;
}

/* Consolidated title styles globally at the top of the file */

.bg-light {
    background-color: #faf7f2;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-.1343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 86c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm66 3c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm-46-45c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm26 18c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm16-18c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-33 49c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-21-6c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-7-32c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm0-18c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm32 32c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm0-43c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-16 8c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm24 20c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-44-3c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm22 15c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-28 17c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm54-62c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm1-15c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-56 12c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm61 58c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-21 22c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-22-2c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-27-8c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm7 1c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm13-10c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1z' fill='%23d4af37' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }

    /* Solo aplicar padding si NO es el carrusel de entrenamiento */
    .gallery-carousel-wrapper:not(.training-carousel) {
        padding: 60px 40px;
        background: rgba(255, 255, 255, 0.4);
        border-radius: 40px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.02);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(212, 175, 55, 0.1);
        margin: 0 auto;
    }
}


.carousel-btn:hover {
    background: var(--color-white);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background-color: var(--color-gold);
}

/* New About Section Styles */
.about-education {
    margin-top: 30px;
    margin-bottom: 30px;
}

.about-education h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--color-gold);
}

.education-list li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.education-list li i {
    color: var(--color-gold);
    width: 20px;
}

.about-quote {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--color-text-gray);
    border-left: 3px solid var(--color-gold);
    padding-left: 20px;
    margin: 30px 0;
}

.about-quote span {
    font-size: 0.9rem;
    font-family: var(--font-body);
    font-style: normal;
    display: block;
    margin-top: 10px;
    color: #888;
}

/* New Treatments Accordion Styles */
.treatments-container {
    max-width: 1200px;
    margin: 50px auto 0;
    text-align: center;
}

.treatments-heading {
    text-align: center;
    width: 100%;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--color-black);
    display: block;
}

.treatments-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 4px;
    background-color: var(--color-gold);
}

.treatments-accordion {
    column-count: 2;
    column-gap: 25px;
    display: block;
}

@media (max-width: 768px) {
    .treatments-accordion {
        column-count: 1;
    }
}

.accordion-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    display: inline-block;
    width: 100%;
    margin-bottom: 25px;
    break-inside: avoid;
}

.accordion-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(212, 175, 55, 0.3);
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-black);
    text-align: left;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: var(--color-beige);
}

.accordion-header span {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
}

.accordion-header i:not(.arrow) {
    color: var(--color-gold);
    font-size: 1.3rem;
    width: 25px;
    text-align: center;
}

.accordion-header .arrow {
    color: var(--color-text-gray);
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.accordion-item.active .arrow {
    transform: rotate(180deg);
    color: var(--color-gold);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #fafafa;
}

.accordion-content p {
    padding: 20px;
    padding-top: 0;
    color: var(--color-text-gray);
    line-height: 1.6;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
    /* Reset padding top for spacing */
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-container {
        flex-direction: column;
    }

    .about-image::after {
        display: none;
    }

    .locations-container {
        flex-direction: column;
        gap: 30px;
    }

    .location-divider {
        width: 100px;
        height: 2px;
    }

    .gallery-card {
        height: 300px;
    }
}

.video-placeholder-results {
    background-image: url('images/gallery-7.jpg');
    background-size: cover;
    background-position: center;
}

.video-placeholder-testimonials {
    background-image: url('images/gallery-8.jpg');
    background-size: cover;
    background-position: center;
}

/* Coffee Section */
.bg-coffee {
    background-color: #fdfbf7;
    /* Very light cream/coffee tone */
    position: relative;
    overflow: hidden;
}

.coffee-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
}

.coffee-text {
    flex: 1;
}

.coffee-text>p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
}

.coffee-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.coffee-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.coffee-feature i {
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-top: 5px;
}

.coffee-feature h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 5px;
    font-weight: 600;
}

.coffee-feature p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: #666;
}

.coffee-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.coffee-icon-wrapper {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--color-gold) 0%, #a67c00 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.3);
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.coffee-icon-wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    transform: scale(1.1);
    opacity: 0.3;
}

.coffee-icon-wrapper i {
    font-size: 8rem;
    color: white;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

    100% {
        transform: translateY(0px);
    }
}

@media (max-width: 768px) {
    .coffee-content {
        flex-direction: column;
        gap: 30px;
    }

    .coffee-icon-wrapper {
        width: 200px;
        height: 200px;
    }

    .coffee-icon-wrapper i {
        font-size: 5rem;
    }
}

/* Resultados Reales (Before/After) */
.results-section {
    background-color: var(--color-beige);
    padding: 80px 0;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.result-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.result-card img {
    width: 100%;
    height: auto;
    display: block;
}

.result-caption {
    padding: 20px;
    text-align: center;
}

.result-caption h4 {
    color: var(--color-black);
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Video Section */
.video-section {
    background-color: var(--color-white);
    padding: 80px 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.video-wrapper {
    position: relative;
    padding-bottom: 177.77%;
    /* 9:16 Aspect Ratio (Vertical) */
    height: 0;
    overflow: hidden;
    background: #000;
}

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

.video-caption {
    padding: 20px;
    text-align: center;
}

.video-caption h4 {
    color: var(--color-gold);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.video-caption p {
    color: var(--color-text-gray);
    font-size: 0.95rem;
}

/* Footer Styles */
.footer-bottom {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-col h4 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.copyright {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #888;
}

/* Mobile optimization for Video Section */
@media (max-width: 767px) {
    .video-grid .video-card.hidden-mobile {
        display: none;
    }

    .video-grid .video-card.show-mobile {
        display: block;
        animation: fadeIn 0.5s ease;
    }
}

.show-more-container {
    text-align: center;
    margin-top: 40px;
    display: none;
    /* Hidden by default, shown via JS on mobile */
}

@media (max-width: 767px) {
    .show-more-container {
        display: block;
    }
}

.btn-show-more {
    background: transparent;
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-show-more:hover {
    background: var(--color-gold);
    color: white;
}

.btn-show-more i {
    transition: transform 0.3s ease;
}

.btn-show-more.active i {
    transform: rotate(180deg);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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