:root {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F7F7F7;
    --text-main: #1A1A1A;
    --text-muted: #666666;
    --wa-green: #25D366;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

h1, h2, h3 { font-weight: 600; line-height: 1.2; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.text-center { text-align: center; }
.section-title { font-size: 2.5rem; font-weight: 500; margin-bottom: 3rem; letter-spacing: -0.02em; }

/* Navbar */
.navbar {
    position: fixed; top: 30px; left: 50%; transform: translateX(-50%);
    width: max-content; max-width: 95%; padding: 0.8rem 1rem;
    display: flex; justify-content: space-between; align-items: center; gap: 4rem;
    background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(15px);
    border-radius: 50px; z-index: 1000; border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.navbar.scrolled { 
    top: 20px; /* En escritorio se mantiene arriba */
    padding: 0.6rem 0.8rem; gap: 2rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15); 
}

.navbar img { max-height: 50px; width: auto; object-fit: contain; transition: all 0.6s; }
.navbar.scrolled img { max-height: 40px; }
.brand-logo { display: flex; align-items: center; gap: 0.8rem; }
.brand-text { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; color: var(--text-main); transition: all 0.6s; }
.navbar.scrolled .brand-text { font-size: 1.2rem; }

.navbar nav { display: flex; align-items: center; gap: 2.5rem; transition: all 0.6s; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-socials a { display: flex; align-items: center; justify-content: center; padding: 0.6rem 1.5rem; gap: 0.6rem; border-radius: 50px; background: var(--text-main); color: #FFF; text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1); border: 1px solid transparent; }
.nav-socials a:hover { transform: scale(1.05); box-shadow: 0 5px 15px rgba(0,0,0,0.2); background: #333; border-color: transparent; }
.mobile-icon { display: none; }
.hero-logo-mobile { display: none; }
.mobile-fb-btn { display: none !important; }
.nav-links a { text-decoration: none; color: var(--text-main); font-weight: 500; font-size: 0.95rem; transition: all 0.3s; position: relative; opacity: 0.7; display: flex; align-items: center; gap: 0.5rem; }
.nav-links a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 50%; background-color: var(--text-main); transition: all 0.3s ease; transform: translateX(-50%); }
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Hero */
.hero { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden;}
.hero-bg { position: absolute; inset: 0; background: url('assets/kitchen.jpg') center/cover; opacity: 0.12; z-index: -1; transform: scale(1.05); animation: slowZoom 20s infinite alternate; mask-image: linear-gradient(to bottom, black 60%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%); }

@keyframes slowZoom { from { transform: scale(1.05); } to { transform: scale(1.15); } }

.hero-content { z-index: 1; padding: 0 20px; }
.hero h1 { font-size: 5.5rem; line-height: 1.05; margin-bottom: 1.5rem; letter-spacing: -0.03em; }
.hero p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 3rem; max-width: 500px; margin-left: auto; margin-right: auto; }

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

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 1rem 2.5rem; text-decoration: none; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.1em; transition: all 0.3s; border-radius: 50px; font-weight: 500; }
.primary-btn { background-color: var(--text-main); color: #FFF; }
.primary-btn:hover { background-color: #333; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

.scroll-indicator { position: absolute; bottom: 40px; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.scroll-indicator .line { width: 1px; height: 40px; background: var(--text-muted); animation: scrollLine 2s infinite; transform-origin: top; }

@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Services (Interactive Grid) */
.services { padding: 8rem 0; background: var(--bg-secondary); }
.interactive-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }

.service-card { position: relative; height: 420px; border-radius: 16px; overflow: hidden; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.service-info { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 2.5rem; color: #FFF; transition: background 0.4s; }

.service-card:hover img { transform: scale(1.08); }
.service-card:hover .service-info { background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.1) 100%); }

.service-info h3 { font-size: 2rem; margin-bottom: 0.5rem; transform: translateY(20px); transition: transform 0.4s ease; font-weight: 500; }
.service-info p { font-size: 1.05rem; opacity: 0; transform: translateY(20px); transition: all 0.4s ease; color: #EEE; }
.service-info .icon { position: absolute; top: 2.5rem; right: 2.5rem; font-size: 1.5rem; opacity: 0; transform: translateX(-20px) rotate(-45deg); transition: all 0.4s ease; background: #FFF; color: #000; width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

.service-card:hover h3 { transform: translateY(0); }
.service-card:hover p { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.service-card:hover .icon { opacity: 1; transform: translateX(0) rotate(0deg); transition-delay: 0.2s; }

/* Stats & About (Two Columns Layout) */
.stats-section { padding: 8rem 0; background: var(--bg-primary); border-top: 1px solid rgba(0,0,0,0.05); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }

/* Stats Independent Cards */
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; width: 100%; text-align: center; }

.stat-box { background: #FFFFFF; border-radius: 30px; padding: 2.5rem 1rem; box-shadow: 0 15px 35px rgba(0,0,0,0.05); display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(0,0,0,0.03); transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease; }
.stat-box:hover { transform: translateY(-8px); box-shadow: 0 25px 50px rgba(0,0,0,0.08); }
.stat-number { display: flex; align-items: baseline; justify-content: center; gap: 0.2rem; }
.stat-box h3 { font-size: 3.5rem; display: inline-block; font-weight: 300; letter-spacing: -0.05em; color: var(--text-main); line-height: 1; }
.stat-box span { font-size: 2.2rem; font-weight: 300; color: var(--text-muted); line-height: 1; }
.stat-box p { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-muted); margin-top: 1rem; font-weight: 500; line-height: 1.4; }

/* About Text */
.about-text-container { text-align: left; }
.about-heading { font-size: 2.5rem; font-weight: 400; margin-bottom: 2rem; color: var(--text-main); }
.about-divider { width: 60px; height: 3px; background: var(--text-main); margin: 0 0 2rem 0; opacity: 0.8; }
.about-text { font-size: 1.25rem; line-height: 1.8; color: var(--text-main); font-weight: 300; opacity: 0.8; }
.about-text strong { font-weight: 500; color: var(--text-main); }

/* Gallery Accordion */
.gallery { padding: 8rem 0; background: var(--bg-secondary); }
.accordion-gallery { display: flex; width: 100%; height: 600px; gap: 1.5rem; }

.accordion-gallery .g-item { flex: 1; position: relative; border-radius: 16px; overflow: hidden; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.accordion-gallery .g-item img { width: 100%; height: 100%; object-fit: cover; transition: filter 0.4s, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.accordion-gallery .g-item:hover img { transform: scale(1.05); }

.accordion-gallery .g-item.expanded { flex: 3; }

/* Footer */
.footer { padding: 6rem 0 4rem; background: var(--text-main); color: #FFF; text-align: center; }
.footer-brand-logo { justify-content: center; margin-bottom: 1.5rem; }
.footer-brand-logo .brand-text { color: #FFF; font-size: 1.8rem; }
.footer-logo { max-height: 55px; filter: brightness(0) invert(1); }
.footer-links a { color: #FFF; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; opacity: 0.6; transition: opacity 0.3s; font-size: 1.1rem; }
.footer-links a:hover { opacity: 1; }
.footer-brand p { color: #999; margin-bottom: 2rem; }

/* WhatsApp Removed from fixed position */

/* Animations & Reveal */
.fade-up { opacity: 0; transform: translateY(30px); animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.fade-up.delay-1 { animation-delay: 0.2s; }
.fade-up.delay-2 { animation-delay: 0.4s; }

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

.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

@media (max-width: 768px) {
    .hero h1 { font-size: 2.8rem; }
    .hero-content p { font-size: 1.1rem; }
    .hero-logo-mobile { display: flex; flex-direction: column; align-items: center; justify-content: center; margin-bottom: 2rem; gap: 0.5rem; }
    .hero-logo-mobile img { height: 60px; }
    .hero-logo-mobile span { font-size: 1.8rem; font-weight: 500; letter-spacing: -0.02em; }
    
    .hero-buttons { flex-wrap: wrap; justify-content: center; }
    .mobile-fb-btn { display: inline-flex !important; gap: 0.5rem; justify-content: center; align-items: center; }
    
    /* Bottom App Navigation */
    .navbar { top: auto; bottom: 20px; width: 90%; padding: 0.8rem 1rem; gap: 0; justify-content: center; border-radius: 50px; }
    .navbar.scrolled { top: auto; bottom: 20px; }
    .brand-logo, .nav-socials { display: none; }
    
    .nav-links { display: flex; width: 100%; justify-content: space-between; gap: 0; padding: 0; }
    .nav-links li { flex: 1; display: flex; justify-content: center; }
    .nav-links a { flex-direction: column; opacity: 0.4; padding: 0.2rem; }
    .nav-links a::after { display: none; }
    .nav-links a.active { opacity: 1; color: var(--text-main); transform: scale(1.05); }
    .mobile-icon { display: block; font-size: 1.25rem; margin-bottom: 0.2rem; }
    .desktop-text { font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

    /* Adjust Objects & Photos for Mobile */
    .about-layout { grid-template-columns: 1fr; gap: 3rem; }
    .stats-grid { gap: 1rem; }
    .stat-box { padding: 1.5rem 0.5rem; border-radius: 20px; }
    .stat-box h3 { font-size: 2.5rem; }
    .stat-box span { font-size: 1.5rem; }
    .stat-box p { font-size: 0.7rem; margin-top: 0.5rem; }
    
    .about-text-container { text-align: center; }
    .about-divider { margin: 0 auto 1.5rem; }
    .about-heading { font-size: 2rem; margin-bottom: 1rem; }
    .about-text { font-size: 1.1rem; }
    
    .interactive-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .service-card { height: 300px; border-radius: 20px; }
    .service-card img { filter: brightness(0.6); }
    
    .gallery { padding: 4rem 0; }
    .accordion-gallery { flex-direction: column; height: 500px; gap: 1rem; }
    .accordion-gallery .g-item { border-radius: 20px; }
    .accordion-gallery .g-item.expanded { flex: 3; }
}
