/* Estilos personalizados para el modelo de Cocina */
:root {
    --primary: #249D8F;
    --secondary: #5B8A72;
    --accent: #FCBF49;
    --neutral: #EAE2B7;
    --text-dark: #1f1f1f;
    --text-light: #fefefe;
    --bg: #fffaf5;
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Poppins', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text-dark);
    line-height: 1.6;
}

section {
    scroll-margin-top: 110px;
}

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

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

.container {
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navbar */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.navbar {
    padding: 1rem 0;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.logo-wrapper:hover {
    transform: translateY(-1px);
}

.logo {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--secondary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logo-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.logo-title {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin: 0;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
    margin: 0;
    line-height: 1;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    position: relative;
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
    transition: color 0.2s ease;
    padding: 0.5rem 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.btn-primary i {
    font-size: 1.1rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.2s ease;
}

.mobile-toggle:hover {
    transform: scale(1.05);
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero */
.hero {
    padding: min(8vw, 5rem) 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-light);
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 0.85rem 1.9rem;
    background: var(--accent);
    color: var(--text-dark);
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.hero-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.9rem;
}

.stat-card {
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.stat-card span {
    display: block;
    font-size: 0.8rem;
    opacity: 0.7;
}

.stat-card strong {
    display: block;
    font-size: 1rem;
    margin-top: 0.2rem;
}

/* About */
.about {
    padding: 5rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section-eyebrow {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 1.2rem;
    color: #475467;
}

.location {
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

.about-image {
    border-radius: 28px;
    overflow: hidden;
}

/* Menu */
.menu {
    padding: 5rem 0;
    background: #fff;
}

.section-heading-group {
    text-align: center;
    margin-bottom: 2.5rem;
}

.menu h2 {
    font-size: 2.2rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: #6d6d6d;
    margin-bottom: 2.5rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.menu-item {
    background: #fff9f4;
    border-radius: 24px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 12px 30px rgba(158, 78, 17, 0.08);
}

.menu-image {
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #fff;
}

.menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.menu-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.3rem;
}

.price {
    font-weight: 700;
    color: var(--primary);
}

.empty-message {
    text-align: center;
    padding: 2rem;
    color: #777;
    border: 2px dashed rgba(0, 0, 0, 0.08);
    border-radius: 20px;
}

/* Gallery */
.gallery {
    padding: 5rem 0;
    background: var(--bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.1);
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-placeholders {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.placeholder {
    height: 140px;
    background: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

/* Contact */
.contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    align-items: center;
}

.contact-info p {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    margin-bottom: 0.8rem;
}

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

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    min-width: 140px;
    border-radius: 15px;
    color: var(--text-light);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
}

.social-btn.facebook { background: #1877f2; }
.social-btn.instagram { background: linear-gradient(120deg,#f77737,#c13584,#962fbf); }
.social-btn.tiktok { background: #010101; }

.social-copy {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.map-section {
    background: var(--bg);
    padding-bottom: 4rem;
}

.map-card {
    margin: 0 auto;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.map-card iframe {
    width: 100%;
    border: none;
    height: clamp(260px, 40vw, 400px);
    display: block;
}

.map-card .map-footer {
    background: #fff;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.map-card .map-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

/* Footer */
.footer {
    padding: 2.5rem 1.5rem;
    background: #1a1a1a;
    color: #cfcfcf;
    text-align: center;
}

.footer-supporters {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-supporters__label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-supporters__logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.footer-supporters__item {
    width: clamp(110px, 24vw, 150px);
    height: 68px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.footer-supporters__item img {
    max-width: 100%;
    max-height: 46px;
    object-fit: contain;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.3));
    transition: transform 0.25s ease;
}

.footer-supporters__item span {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    letter-spacing: 0.08em;
}

.footer-supporters__item:hover img {
    transform: scale(1.03);
}

/* WhatsApp Floating */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

/* Responsive */
@media (max-width: 900px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-wrapper {
        position: fixed;
        top: 85px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 1.5rem;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 2rem 1.5rem;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav-wrapper.is-open {
        transform: translateX(0);
    }

    .nav-links {
        flex-direction: column;
        gap: 0.25rem;
        width: 100%;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
        border-radius: 12px;
        transition: all 0.2s ease;
    }

    .nav-link:hover {
        background: rgba(0, 0, 0, 0.03);
    }

    .nav-link::before {
        left: 1rem;
        transform: translateX(0) scaleX(0);
        width: 4px;
        height: 100%;
        border-radius: 0 2px 2px 0;
    }

    .nav-link:hover::before,
    .nav-link.active::before {
        transform: translateX(0) scaleX(1);
    }

    .btn-primary {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .hero-grid {
        text-align: center;
    }

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

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