@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Poppins:wght@300;400;600;700&family=Lato:wght@400;700&display=swap');

/* ========== Variables y Reset ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Original Palette Restored */
    --primary-color: #ff69b4;
    /* Hot Pink */
    --secondary-color: #9932cc;
    /* Dark Orchid */
    --accent-color: #ff1493;
    /* Deep Pink */
    --text-color: #333333;
    /* Dark text for light bg */
    --text-muted: #555555;

    /* Gradients */
    --gradient: linear-gradient(135deg, #ff69b4 0%, #9932cc 50%, #ff1493 100%);
    --gradient-hover: linear-gradient(135deg, #ff1493 0%, #9932cc 50%, #ff69b4 100%);
    --dark-bg: #F0FFFF;
    /* Azure - Blanco Agua */
    --dark-surface: #E0F7FA;
    /* Light Cyan Surface */

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(0, 0, 0, 0.05);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.8;
    background-color: var(--dark-bg);
    color: var(--text-color);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ========== Animaciones ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes bounce {

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

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

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes float {

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

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

@keyframes pulse {

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

    50% {
        transform: scale(1.05);
    }
}

@keyframes scrollDown {
    0% {
        opacity: 0;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
    }

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

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-slide-up {
    animation: slideUp 1s ease-out;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

.animate-card {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease-out forwards;
    animation-delay: var(--delay);
}

/* ========== Header y Navegación - Creative Luxury Design ========== */
header {
    position: static;
    width: 100%;
    padding: 0.8rem 4rem;
    background: rgba(240, 255, 255, 0.95);
    /* Light background */
    backdrop-filter: blur(25px);
    display: flex;
    justify-content: center;
    /* Centered layout */
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 105, 180, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.5;
}

header.scrolled {
    padding: 0.6rem 4rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.98) 0%, rgba(20, 0, 10, 0.98) 100%);
    box-shadow: 0 8px 40px rgba(255, 105, 180, 0.15);
    border-bottom: 1px solid rgba(255, 105, 180, 0.4);
}

.scroll-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient);
    width: 0%;
    transition: width 0.1s ease;
    z-index: 1001;
    box-shadow: 0 0 15px rgba(255, 105, 180, 0.7);
}

.logo {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    font-weight: 700;
    font-weight: 700;
    background: var(--gradient);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.5s ease;
    position: relative;
    animation: shimmer 3s linear infinite;
    text-decoration: none;
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.logo:hover {
    transform: scale(1.08);
    letter-spacing: 4px;
}

.logo-img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(255, 105, 180, 0.6)) brightness(1.1);
    transition: all 0.5s ease;
}

.logo:hover .logo-img {
    filter: drop-shadow(0 0 20px rgba(255, 105, 180, 0.9)) brightness(1.3);
    transform: rotate(5deg);
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    flex: 1;
    position: relative;
}

.nav-left {
    justify-content: flex-end;
    padding-right: 2rem;
}

.nav-right {
    justify-content: flex-start;
    padding-left: 2rem;
}

.nav-left ul,
.nav-right ul {
    display: flex;
    list-style: none;
    gap: 1rem;
    margin: 0;
    padding: 0;
    transform: translateX(0);
}

/* nav ul removed as it is now handled above */

.nav-left a,
.nav-right a {
    font-family: 'Lato', sans-serif;
    color: #333333;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    backdrop-filter: none;
    z-index: 1;
    box-shadow: none;
}

.nav-left a.active,
.nav-right a.active {
    color: var(--primary-color);
    background: transparent;
    box-shadow: none;
    border: none;
}

.nav-left a.active::after,
.nav-right a.active::after {
    width: 100%;
    opacity: 1;
}

/* Removed ::before background effect */

/* Removed hover::before effect */

.nav-left a::after,
.nav-right a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    z-index: 1;
}

.nav-left a:hover,
.nav-right a:hover {
    color: var(--primary-color);
    background: transparent;
    box-shadow: none;
    border: none;
}

.nav-left a:hover::after,
.nav-right a:hover::after {
    width: 100%;
    opacity: 1;
}

/* ========== Cursos Button - Special Style ========== */
.cursos-btn {
    position: absolute;
    right: 5rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    color: white;
    background: var(--gradient);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.cursos-btn:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.5);
}

.menu-toggle {
    display: none;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(244, 229, 184, 0.1));
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(244, 229, 184, 0.2));
    transform: scale(1.1);
}

/* ========== Hero Section ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(255, 105, 180, 0.4), rgba(153, 50, 204, 0.4)),
        url('https://images.unsplash.com/photo-1560066984-138dadb4c035?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: float 20s infinite ease-in-out;
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, #000000 100%);
}

.hero-text {
    font-family: 'Lato', sans-serif;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
    font-weight: 700;
    letter-spacing: -1px;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    color: #ffffff;
    /* Keep white for Hero overlay */
    letter-spacing: 2px;
    text-transform: uppercase;
}

.services-list {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    color: #000;
    /* Dark text on gold button */
    background: var(--gradient);
    border: none;
    border-radius: 2px;
    /* Sharper corners for elegance */
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.6s;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

.cta-btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-btn-secondary:hover {
    background: var(--gradient);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: scrollDown 2s infinite;
}

/* ========== About Section ========== */
.about {
    padding: 2rem 1rem;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent, rgba(240, 255, 255, 0.8));
    pointer-events: none;
}

.about-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: 'Playfair Display', serif;
    letter-spacing: -1px;
}

.about-grid {
    font-family: 'Lato', sans-serif;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
}

.about-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 2px;
    padding: 3rem;
    text-align: center;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(30px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-card.visible {
    opacity: 1;
    transform: translateY(0);
    animation: slideUp 0.8s ease-out forwards;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.9);
}

.about-icon {
    font-size: 3rem;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
}

.about-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
}

.about-card p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1rem;
}

/* About Stats */
.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.stat-item {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.stat-item.visible {
    opacity: 1;
    transform: translateY(0);
    animation: slideUp 0.8s ease-out forwards;
}

.stat-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(255, 105, 180, 0.3);
}

.stat-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(255, 105, 180, 0.5));
}

.stat-number {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 1.2rem;
    color: rgba(0, 0, 0, 0.85);
    line-height: 1.6;
}

/* ========== Services Section ========== */
.services {
    padding: 2rem 1rem;
    background: var(--dark-surface);
}

.services h2 {
    text-align: center;
    margin-bottom: 2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 3.5rem;
    font-family: 'Playfair Display', serif;
    letter-spacing: -1px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    transition: all 0.5s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.2);
    border-color: var(--primary-color);
}

.service-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.8s ease;
    filter: grayscale(20%);
}

.service-card:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    background: linear-gradient(to top, #F0FFFF, transparent);
    transform: translateY(0);
    transition: all 0.4s ease;
}

.service-content h3 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.service-content p {
    color: var(--text-color);
    font-size: 1rem;
    opacity: 0.9;
}

/* ========== Gallery Section ========== */
.gallery {
    padding: 2rem 1rem;
    background: linear-gradient(to bottom, #F0FFFF, #E0F7FA);
}

.gallery h2 {
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
}

.gallery-subtitle {
    text-align: center;
    color: #666666;
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(255, 105, 180, 0.4);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.9);
}

/* ========== Testimonials Section ========== */
.testimonials {
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #E0F7FA 0%, #F0FFFF 100%);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
}

.testimonials-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 0 60px;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
    min-height: 350px;
}

.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.testimonial-avatar {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.testimonial-stars {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.testimonial-service {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: #fff;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-nav:hover {
    background: var(--gradient);
    border-color: transparent;
    transform: translateY(-50%) scale(1.1);
}

.testimonial-nav.prev {
    left: 0;
}

.testimonial-nav.next {
    right: 0;
}

/* ========== Scroll to Top ========== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--gradient);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.6);
}



/* ========== Pestañas Page Specific Styles ========== */
#servicios-pestanas .service-card,
#servicios-faciales .service-card,
#servicios-micorp .service-card {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100%;
    background: rgba(255, 255, 255, 0.05);
}

#servicios-pestanas .service-card img,
#servicios-faciales .service-card img,
#servicios-micorp .service-card img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}

#servicios-pestanas .service-content,
#servicios-faciales .service-content,
#servicios-micorp .service-content {
    position: relative;
    transform: none;
    background: transparent;
    padding: 1.5rem;
    flex-grow: 1;
    opacity: 1;
}

#servicios-pestanas .service-card:hover .service-content,
#servicios-faciales .service-card:hover .service-content,
#servicios-micorp .service-card:hover .service-content {
    transform: none;
}

#servicios-pestanas .service-content h3,
#servicios-faciales .service-content h3,
#servicios-micorp .service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

#servicios-pestanas .service-content p,
#servicios-faciales .service-content p,
#servicios-micorp .service-content p {
    opacity: 0.8;
    font-size: 0.95rem;
}

/* ========== Contact Section ========== */
.contact {
    padding: 2rem 1rem;
    background: linear-gradient(to bottom, #F0FFFF, #E0F7FA);
    position: relative;
}

.contact h2 {
    text-align: center;
    margin-bottom: 2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 3.5rem;
    font-family: 'Playfair Display', serif;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#contact-form input,
#contact-form textarea {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    color: #333;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.9);
}

#contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    padding: 1rem 2rem;
    background: var(--gradient);
    color: #000;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Lato', sans-serif;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.contact-info {
    color: #333;
    font-family: 'Lato', sans-serif;
}

.contact-info p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 0.5rem;
}

.contact-info a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.contact-info a:hover {
    color: var(--primary-color);
}



/* ========== Footer ========== */
.site-footer {
    background: linear-gradient(to bottom, #E0F7FA, #F0FFFF);
    color: #333;
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(255, 105, 180, 0.2);
    font-family: 'Lato', sans-serif;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient);
}

.footer-column p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-column ul li a::before {
    content: '›';
    color: var(--primary-color);
    font-weight: bold;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gradient);
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}



/* ========== Social Media Carousel ========== */
.social-carousel {
    padding: 0;
    background: var(--dark-bg);
    overflow: hidden;
    position: relative;
}

.carousel-container {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 105vh;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s ease;
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    height: 105vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    /* Fix for focal point cutting off */
    filter: none;
    transition: filter 0.3s ease;
}

.carousel-slide:hover img {
    filter: brightness(0.9);
}

.social-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1.2rem 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.social-btn:hover {
    background: var(--gradient);
    border-color: transparent;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 12px 40px rgba(255, 105, 180, 0.5);
}

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

/* Platform-specific colors on hover */
.social-btn.tiktok:hover {
    background: linear-gradient(135deg, #000000, #ee1d52);
}

.social-btn.instagram:hover {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.social-btn.facebook:hover {
    background: linear-gradient(135deg, #1877f2, #42b72a);
}

/* Carousel Navigation Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.carousel-arrow:hover {
    background: var(--gradient);
    border-color: transparent;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.5);
}

.carousel-arrow-left {
    left: 20px;
}

.carousel-arrow-right {
    right: 20px;
}

.carousel-arrow svg {
    width: 24px;
    height: 24px;
}

/* ========== CONSOLIDATED RESPONSIVE DESIGN ========== */
/* All media queries consolidated here to prevent conflicts */

@media (max-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .about-grid,
    .services-container {
        gap: 2rem;
    }
}

/* Mobile Menu Hidden on Desktop */
.mobile-nav,
.mobile-menu-overlay,
.menu-toggle {
    display: none;
}

@media (max-width: 768px) {

    /* Header & Nav */
    header {
        padding: 0.8rem 1.5rem;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    header.scrolled {
        padding: 0.8rem 1.5rem;
    }

    .logo {
        font-size: 1.4rem;
        letter-spacing: 2px;
        z-index: 1003;
    }

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

    /* Mobile Menu - Off-Canvas Sidebar */
    /* Hide Default Navs on Mobile */
    .nav-left,
    .nav-right {
        display: none !important;
    }

    /* Mobile Nav Sidebar */
    .mobile-nav {
        position: fixed;
        top: 0;
        right: -300px;
        /* Hidden via off-canvas */
        width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
        z-index: 10002;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        display: flex;
        flex-direction: column;
        padding: 2rem;
        border-left: 1px solid rgba(255, 105, 180, 0.3);
    }

    .mobile-nav.active {
        right: 0;
    }

    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(5px);
        z-index: 10001;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-nav-content {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .menu-close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        background: none;
        border: none;
        font-size: 2.5rem;
        color: var(--primary-color);
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    .menu-close:hover {
        transform: rotate(90deg) scale(1.1);
    }

    .mobile-logo {
        display: block;
        text-align: center;
        margin-bottom: 3rem;
        margin-top: 1rem;
    }

    .mobile-logo img {
        width: 80px;
        filter: drop-shadow(0 0 10px rgba(255, 105, 180, 0.4));
    }

    .mobile-links {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .mobile-links li a {
        font-family: 'Playfair Display', serif;
        font-size: 1.5rem;
        color: #333;
        text-decoration: none;
        font-weight: 700;
        transition: color 0.3s ease;
        display: block;
    }

    .mobile-links li a:hover {
        color: var(--primary-color);
        transform: translateX(5px);
    }

    .mobile-social {
        margin-top: auto;
        display: flex;
        justify-content: center;
        gap: 1.5rem;
    }

    .mobile-social a {
        color: var(--text-muted);
        text-decoration: none;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .menu-toggle {
        display: block;
        z-index: 1003;
        position: relative;
        font-size: 1.8rem;
        padding: 0.6rem 1rem;
        background: transparent;
        color: var(--primary-color);
        border: none;
        cursor: pointer;
    }

    /* Sections Layout */
    .hero h1 {
        font-size: 3.5rem;
        line-height: 1.2;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .services-list {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .section-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }

    .about-grid,
    .services-container,
    .gallery-grid,
    .testimonials-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        width: 100%;
    }

    .about-content,
    .services-container,
    .contact-container {
        padding: 0 1rem;
    }

    /* Cards Mobile Optimization */
    .about-card,
    .service-card,
    .stat-item,
    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .service-card img {
        height: 300px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-column ul li a {
        justify-content: center;
    }

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

    .cursos-btn {
        display: none;
    }

    /* Carousel Mobile - CRITICAL */
    .carousel-slide,
    .carousel-container {
        height: 50vh !important;
        min-height: 300px;
    }

    .social-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 80%;
        max-width: 300px;
        justify-content: center;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.3);
    }

    .carousel-arrow-left {
        left: 10px;
    }

    .carousel-arrow-right {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .nav-left,
    .nav-right {
        background: rgba(10, 10, 10, 0.99);
    }

    .carousel-slide,
    .carousel-container {
        height: 35vh !important;
        /* Slightly smaller for better aspect ratio on phones */
        min-height: 250px;
    }

    .contact-container {
        gap: 3rem;
    }

    .submit-btn {
        width: 100%;
        padding: 1.2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    p {
        font-size: 1rem;
    }

    /* Service Pages Specific Mobile - REFINED & ROBUST */
    /* Applies to Home Page #servicios AND individual service pages */
    .service-card,
    #servicios-pestanas .service-card,
    #servicios-faciales .service-card,
    #servicios-micorp .service-card {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: auto;
        border-radius: 10px;
        overflow: hidden;
    }

    .service-card img,
    #servicios-pestanas .service-card img,
    #servicios-faciales .service-card img,
    #servicios-micorp .service-card img {
        height: 250px;
        width: 100%;
        object-fit: cover;
        filter: none;
        /* Ensure brightness is good on mobile */
    }

    .service-content,
    #servicios-pestanas .service-content,
    #servicios-faciales .service-content,
    #servicios-micorp .service-content {
        position: relative;
        transform: none;
        background: #F0FFFF;
        /* Solid light background for readability */
        padding: 1.5rem;
        opacity: 1;
        text-align: left;
        /* Ensure left alignment */
    }

    .service-content h3,
    #servicios-pestanas .service-content h3,
    #servicios-faciales .service-content h3,
    #servicios-micorp .service-content h3 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .service-content p {
        color: #333;
        /* Ensure high contrast */
        font-size: 1rem;
    }

    .social-btn {
        width: 90%;
        /* More width for long text */
        white-space: nowrap;
        /* Prevent awkward wrapping */
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 0.85rem;
        /* Slight reduction for Facebook text */
        padding: 0.8rem 1rem;
    }
}

/* WhatsApp Float - Image Based */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    z-index: 10000;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

.whatsapp-float img {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

/* ========== iOS Specific Fixes ========== */
@supports (-webkit-touch-callout: none) {

    /* Fix for zoomed/blurry background on iOS */
    .hero {
        background-attachment: scroll;
    }
}