/* --------------
   RESET BÁSICO
----------------*/
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #FFF7CC; /* amarillo pastel suave */
    color: #333;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: min(1120px, 100% - 2.5rem);
    margin-inline: auto;
}

/* --------------
   HEADER
----------------*/
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 0.75rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: "Baloo 2", cursive;
    font-size: 1.25rem;
    color: #486190;
}

.logo img {
    height: 44px;
    width: auto;
}

/* NAV */
.site-nav ul {
    display: flex;
    gap: 1.25rem;
    font-weight: 500;
}

.site-nav a {
    padding: 0.35rem 0.1rem;
    border-bottom: 2px solid transparent;
    color: #486190;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover {
    border-color: rgba(72, 97, 144, 0.4);
}

.site-nav a.active {
    border-color: #f7931e;
    color: #f7931e;
}

/* NAV TOGGLE (MÓVIL) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #486190;
    border-radius: 999px;
}

/* --------------
   HERO
----------------*/
.hero {
    padding-block: 3rem 3.5rem;
    background: linear-gradient(135deg, #FFF7CC 0%, #FFF2B3 40%, #FFEFA3 100%);
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
    gap: 2rem;
}

.hero-text h1 {
    font-family: "Baloo 2", cursive;
    font-size: clamp(2.1rem, 3vw, 2.8rem);
    color: #486190;
    margin-bottom: 0.75rem;
}

.hero-text p {
    max-width: 36rem;
    margin-bottom: 1rem;
}

.hero-sub {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #555;
}

.hero-image {
    justify-self: center;
}

.hero-image img {
    max-width: 260px;
}

/* BOTONES */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn.primary {
    background-color: #486190;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
}

.btn.outline {
    background-color: transparent;
    border-color: #486190;
    color: #486190;
}

.btn.outline:hover {
    background-color: #486190;
    color: #ffffff;
}

/* --------------
   SECCIONES GENERALES
----------------*/
.section {
    padding-block: 2.5rem;
}

.section-alt {
    background-color: #fffdf1;
}

.section-title {
    font-family: "Baloo 2", cursive;
    font-size: 1.8rem;
    color: #486190;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-weight: 500;
    color: #555;
    margin-bottom: 1.5rem;
}

/* GRID UTILITARIO */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

/* TARJETAS DE PLATOS */
.card {
    background-color: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.dish-card img {
    height: 180px;
    width: 100%;
    object-fit: cover;
}

.card-body {
    padding: 0.9rem 1rem 1.1rem;
}

.card-body h3 {
    font-family: "Baloo 2", cursive;
    font-size: 1.1rem;
    color: #486190;
    margin-bottom: 0.35rem;
}

.card-body p {
    font-size: 0.9rem;
}

/* SOBRE NOSOTROS */
.about-grid {
    display: grid;
    gap: 1.8rem;
}

/* TAQUIZAS */
.events-grid {
    display: grid;
    gap: 1.5rem;
}

.events-grid h3 {
    font-family: "Baloo 2", cursive;
    font-size: 1.3rem;
    color: #486190;
    margin-bottom: 0.5rem;
}

/* HORARIOS */
.hours-grid {
    display: grid;
    gap: 1.5rem;
}

.small {
    font-size: 0.85rem;
    color: #666;
}

/* --------------
   PÁGINAS: MENÚ
----------------*/
.page-header {
    padding-block: 2.2rem 1rem;
    background-color: #fffdf1;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.page-header h1 {
    font-family: "Baloo 2", cursive;
    font-size: 2rem;
    color: #486190;
    margin-bottom: 0.4rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.menu-category {
    font-family: "Baloo 2", cursive;
    font-size: 1.4rem;
    color: #486190;
    margin-bottom: 0.75rem;
}

.menu-item {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 0.85rem 0.9rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.menu-item:last-child {
    margin-bottom: 0;
}

.menu-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.menu-info p {
    font-size: 0.86rem;
}

.menu-info .en {
    color: #777;
    font-style: italic;
}

.menu-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
}

.menu-price {
    font-weight: 600;
    color: #f7931e;
    font-size: 0.98rem;
}

.menu-meta img {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    object-fit: cover;
}

/* --------------
   PÁGINA CONTACTO
----------------*/
.contact-grid {
    display: grid;
    gap: 2rem;
}

.contact-info h2,
.contact-map h2 {
    font-family: "Baloo 2", cursive;
    color: #486190;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact-info p,
.contact-map p {
    margin-bottom: 0.6rem;
}

.contact-buttons {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.map-placeholder {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    color: #777;
    border: 1px dashed rgba(0, 0, 0, 0.12);
}

/* --------------
   FOOTER
----------------*/
.site-footer {
    background-color: #2f3c57;
    color: #f6f6f6;
    padding-block: 1.2rem;
    margin-top: 2rem;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.footer-phone a {
    font-weight: 600;
}

/* --------------
   RESPONSIVE
----------------*/
@media (max-width: 768px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p,
    .hero-sub {
        margin-inline: auto;
    }

    .hero-actions {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .site-nav {
        position: absolute;
        inset-inline: 0;
        top: 100%;
        background-color: #ffffff;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.18s ease, opacity 0.18s ease;
    }

    .site-nav.open {
        transform: translateY(0%);
        opacity: 1;
        pointer-events: auto;
    }

    .site-nav ul {
        flex-direction: column;
        padding: 0.7rem 1.5rem 0.9rem;
        gap: 0.4rem;
    }

    .nav-toggle {
        display: flex;
    }

    .menu-item {
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .menu-meta img {
        display: none;
    }

    .card-body p {
        font-size: 0.85rem;
    }
}
