body {
    font-family: "Manrope", sans-serif;
}

:root {
    --ap-header-height: 5rem;
}

.menu-hero {
    position: relative;
    height: 320px;
    background-position: center;
    background-size: 100%;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.menu-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(35, 25, 15, 1), rgba(35, 25, 15, 0.6), transparent);
    z-index: 1;
}

.menu-hero .hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 40px 0;
}

.menu-hero .hero-label {
    color: #f98c1f;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 12px;
    margin-bottom: 10px;
    display: block;
}

.menu-hero h2 {
    font-size: 56px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin: 0;
    color: white !important;
}

@media (max-width: 768px) {
    .menu-hero h2 {
        font-size: 36px;
    }
}

.category-nav {
    background: white;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
    margin-bottom: 40px;
    position: sticky;
    top: var(--ap-header-height);
    z-index: 998;
}

.category-nav-shell {
    position: relative;
}

.category-nav-toggle {
    display: none;
}

.category-nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

.category-nav a {
    display: inline-block;
    margin: 0;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    border-bottom: 3px solid transparent;
    padding: 0 0 8px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.category-nav a.active {
    border-bottom-color: #f98c1f;
    color: #f98c1f;
}

.category-nav a:hover {
    color: #f98c1f;
}

.menu-section {
    margin-bottom: 60px;
}

.menu-section h3 {
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    display: flex;
    align-items: center;
}

.menu-section h3::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #f98c1f;
    opacity: 0.2;
    margin-left: 20px;
}

.menu-item {
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.menu-item-image {
    width: 100%;
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.menu-item:hover .menu-item-image {
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transform: scale(1.02);
}

.menu-item h4 {
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    color: #333;
    letter-spacing: 0.5px;
}

.menu-item:hover h4 {
    color: #f98c1f;
}

.menu-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.section-familial {
    background: rgba(249, 140, 31, 0.1);
    border: 2px solid rgba(249, 140, 31, 0.2);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
}

.familial-image {
    width: 100%;
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-bottom: 30px;
}

.familial-content h3 {
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 15px 0;
    line-height: 1.1;
    letter-spacing: -1px;
}

.familial-badge {
    background: #f98c1f;
    color: white;
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.familial-content p {
    font-size: 18px;
    color: #666;
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.6;
}

.familial-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.familial-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #666;
    font-size: 15px;
}

.familial-list li::before {
    content: '●';
    color: #f98c1f;
    font-size: 18px;
    margin-right: 15px;
}

@media (max-width: 768px) {
    :root {
        --ap-header-height: 4.5rem;
    }

    .menu-hero {
        height: 260px;
        background-size: cover;
    }

    .menu-hero .hero-content {
        padding: 30px 0 24px;
    }

    .category-nav {
        padding: 14px 0;
        margin-bottom: 28px;
    }

    .category-nav-shell {
        width: 100%;
    }

    .category-nav-toggle {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.9rem 1rem;
        border: 1px solid rgba(249, 140, 31, 0.28);
        border-radius: 0.9rem;
        background: rgba(249, 140, 31, 0.08);
        color: #111111;
        font-size: 0.78rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .category-nav-toggle-icon {
        width: 0.65rem;
        height: 0.65rem;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg) translateY(-2px);
        transition: transform 0.2s ease;
        flex-shrink: 0;
    }

    .category-nav-toggle[aria-expanded="true"] .category-nav-toggle-icon {
        transform: rotate(-135deg) translateY(1px);
    }

    .category-nav-inner {
        position: absolute;
        top: calc(100% + 0.65rem);
        left: 0;
        right: 0;
        z-index: 5;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.55rem;
        padding: 0.8rem;
        background: #ffffff;
        border: 1px solid rgba(249, 140, 31, 0.16);
        border-radius: 1rem;
        box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
    }

    .category-nav-inner.open {
        display: flex;
    }

    .category-nav a {
        width: 100%;
        font-size: 11px;
        letter-spacing: 0.08em;
        line-height: 1.2;
        white-space: normal;
        padding: 0.8rem 0.85rem;
        border: 1px solid rgba(249, 140, 31, 0.24);
        border-radius: 0.85rem;
        background: rgba(249, 140, 31, 0.08);
        border-bottom-width: 1px;
        text-align: left;
    }

    .category-nav a.active {
        background: #f98c1f;
        border-color: #f98c1f;
        color: #111111;
    }

    .menu-section h3 {
        font-size: 22px;
    }

    .section-familial {
        padding: 25px;
    }

    .menu-hero h2 {
        font-size: 40px;
    }
}

@media (max-width: 480px) {
    :root {
        --ap-header-height: 4.15rem;
    }

    .menu-hero {
        height: 220px;
    }

    .menu-hero .hero-label {
        letter-spacing: 2px;
        font-size: 11px;
    }

    .menu-hero h2 {
        font-size: 31px;
        line-height: 1.05;
    }

    .category-nav {
        padding: 12px 0;
    }

    .category-nav-toggle {
        padding: 0.8rem 0.85rem;
        font-size: 0.72rem;
    }

    .category-nav a {
        font-size: 11px;
        padding: 0.7rem 0.75rem;
    }

    .menu-section {
        margin-bottom: 42px;
    }
}
