:root {
    /* Colors */
    --primary: #4A148C;
    --primary-light: #7B1FA2;
    --secondary: #009688;
    --secondary-light: #4DB6AC;
    --accent: #E91E63;
    --accent-light: #F06292;
    --bg-light: #F8F9FA;
    --text-dark: #212121;
    --text-muted: #616161;
    --white: #ffffff;
    --violet-dark: #4B0082;
    --youtube-red: #FF0000;
    
    /* Gradients */
    --grad-purple: linear-gradient(135deg, #4A148C, #7B1FA2);
    --grad-teal: linear-gradient(135deg, #009688, #4DB6AC);
    --grad-pink: linear-gradient(135deg, #E91E63, #F06292);
    --grad-hero: linear-gradient(rgba(74, 20, 140, 0.85), rgba(0, 150, 136, 0.6));
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    
    /* Layout */
    --container-max: 1200px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, .logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.glass-nav.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    color: var(--white);
    letter-spacing: -1px;
}

.logo span {
    font-weight: 300;
}

.glass-nav.scrolled .logo {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
}

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

.glass-nav.scrolled .nav-links a {
    color: var(--text-dark);
}

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

.btn-primary-sm {
    background-color: var(--secondary);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700 !important;
}

.btn-primary-sm:hover {
    background-color: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 1.5rem;
}

.glass-nav.scrolled .mobile-menu-btn {
    color: var(--text-dark);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    padding: 40px 24px;
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.mobile-menu-header .logo {
    color: var(--primary);
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 2rem;
    cursor: pointer;
}

.mobile-nav-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.mobile-nav-links a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
}

.btn-whatsapp-mobile {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #25D366;
    color: var(--white) !important;
    padding: 16px;
    border-radius: var(--radius-md);
    font-size: 1.2rem !important;
    justify-content: center;
}

.mobile-menu-footer {
    margin-top: auto;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.social-links-mobile {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.social-links-mobile a {
    color: var(--primary);
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--grad-hero);
}

.hero-content {
    max-width: 800px;
    padding: 0 24px;
    z-index: 10;
}

.badge {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero h1 span {
    color: transparent;
    -webkit-text-stroke: 1px var(--white);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    opacity: 0.9;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-5px);
    background-color: var(--bg-light);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-10px) translateX(-50%);}
    60% {transform: translateY(-5px) translateX(-50%);}
}

/* Sections General */
section {
    padding: 100px 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary);
    margin-bottom: 16px;
    position: relative;
}

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

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 60px;
}

/* About Section */
.about {
    background: var(--white);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.image-border {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--secondary);
    border-radius: var(--radius-md);
    z-index: -1;
}

.lead {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-dark);
}

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

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-item i {
    color: var(--secondary);
    background: rgba(0, 150, 136, 0.1);
    padding: 10px;
    border-radius: 50%;
}

.feature-item span {
    font-weight: 600;
}

/* YouTube Button */
.about-cta {
    margin-top: 40px;
}

.btn-youtube {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--youtube-red);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.btn-youtube:hover {
    background: #d40000;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

/* Services Section Video Background */
.services {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.video-bg-container, .footer-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.video-bg-element {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.8));
    z-index: 1;
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(74, 20, 140, 0.85), rgba(0, 0, 0, 0.9));
    z-index: 1;
}

.services .container, .footer .container {
    position: relative;
    z-index: 2;
}

.services .section-title {
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.services .section-subtitle {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

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

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border-bottom: 4px solid transparent;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 24px;
    border-radius: var(--radius-sm);
}

.service-card .card-content {
    padding: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--white);
}

.card-icon.purple { background: var(--grad-purple); }
.card-icon.teal { background: var(--grad-teal); }
.card-icon.pink { background: var(--grad-pink); }

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

.service-list {
    margin: 20px 0;
}

.service-list li {
    margin-bottom: 10px;
    padding-left: 24px;
    position: relative;
    font-weight: 600;
}

.service-list li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.highlight {
    font-weight: 700;
    color: var(--secondary);
    margin-top: 16px;
}

.card-footer {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-muted);
    margin-top: 24px;
}

/* Gallery Section */
.gallery {
    padding: 120px 0;
    background: var(--white);
    position: relative;
}

.btn-toggle-gallery {
    background: var(--grad-purple);
    color: var(--white);
    padding: 18px 48px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 auto;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-toggle-gallery:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.gallery-container {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-container.is-visible {
    max-height: 3000px;
    opacity: 1;
    margin-top: 60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    height: 280px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(75, 0, 130, 0.6));
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--white);
    font-size: 1.5rem;
}

/* Pricing CTA Section */
.pricing-cta {
    background: var(--white);
    padding: 120px 0;
}

.pricing-cta-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.cta-title {
    color: var(--violet-dark);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.1;
}

.cta-subtitle {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    font-weight: 400;
}

.pricing-ranges {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.range-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.range-item:hover {
    transform: translateX(10px);
    background: #f0f0f0;
}

.range-label {
    font-weight: 700;
    color: var(--text-dark);
}

.range-value {
    font-weight: 600;
    color: var(--violet-dark);
}

.cta-concept {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.btn-cta-purple {
    background: var(--violet-dark);
    color: var(--white);
    padding: 20px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    box-shadow: 0 10px 20px rgba(75, 0, 130, 0.2);
}

.btn-cta-purple:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(75, 0, 130, 0.3);
    color: var(--white);
}

.pricing-cta-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 40px;
    background: #000; /* Fallback */
}

.footer h2 {
    font-size: 3.5rem;
    margin-bottom: 16px;
}

.footer p {
    font-size: 1.3rem;
    opacity: 0.8;
    margin-bottom: 40px;
    font-style: italic;
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
    color: var(--white);
}

.whatsapp-icon-svg {
    width: 24px;
    height: 24px;
}

/* Footer Social Buttons */
.footer-social-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-btn.instagram { background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); }
.social-btn.facebook { background: #1877F2; }
.social-btn.youtube { background: var(--youtube-red); }

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--white);
    filter: brightness(1.1);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-footer {
    font-size: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    margin-bottom: 8px !important;
    opacity: 1 !important;
}

.logo-footer span { font-weight: 300; }

.copyright {
    font-size: 0.9rem !important;
    opacity: 0.6 !important;
    font-style: normal !important;
    margin-bottom: 24px !important;
}

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

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

.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.fade-in-up-delay {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.3s;
}

.fade-in-up-delay-2 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.6s;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

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

/* Decorative Floating Art */
.floating-art {
    position: absolute;
    pointer-events: none;
    z-index: 5;
    mix-blend-mode: multiply;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.art-juancho {
    width: 280px;
    bottom: -40px;
    right: -40px;
    transform: rotate(-10deg);
}

.art-cocinero {
    width: 300px;
    bottom: -60px;
    left: 10%;
    transform: rotate(10deg);
}

@media (max-width: 992px) {
    .art-juancho, .art-cocinero {
        width: 120px;
    }
    .art-juancho { right: 2%; bottom: -10px; }
    .art-cocinero { left: 2%; bottom: -20px; }
}

@media (max-width: 768px) {
    .floating-art {
        display: none;
    }
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .about-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 3rem; }
    .pricing-cta-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    .pricing-cta-image {
        order: -1;
    }
    .cta-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .hero-cta { flex-direction: column; }
    .footer h2 { font-size: 2.5rem; }
    .about-features { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .footer-social-grid {
        flex-direction: column;
        align-items: center;
    }
    .social-btn {
        width: 100%;
        justify-content: center;
    }
}
