/* Variables CSS para colores y espaciado */
:root {
    --primary-color: #021f3c;      /* Azul océano gallego */
    --secondary-color: #ffffff;     /* Blanco  */
    --accent-color: #d4a017;       /* Dorado más suave para botones y detalles */
    --desa-carta: #f7c948;        /* Amarillo cálido para Desayunos/Carta */
    --text-color: #374151;         /* Gris oscuro */
    --background-color: #f8fafc;   /* Gris claro */
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --header-height: 60px;
    --breadcrumb-height: 40px;
    --subcategory-height: 48px; /* Reducido de 60px a 48px */
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    padding-top: calc(var(--header-height) + var(--breadcrumb-height));
}

body.has-subcategory {
    padding-top: calc(var(--header-height) + var(--breadcrumb-height) + var(--subcategory-height));
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo flotante */
.logo {
    position: fixed;
    top: 10px;
    left: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 25px;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.2);
}

.logo-shield img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

/* Botón menú móvil */
.mobile-menu-btn {
    position: fixed;
    top: 10px;
    right: 20px;
    z-index: 1001;
    background: var(--primary-color);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    display: none;
}

.mobile-menu-btn:hover {
    background: #023E8A;
    transform: scale(1.05);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--secondary-color);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    z-index: 999;
    height: var(--header-height);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 200px;
}

/* Navegación principal */
.nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    background: none;
    border: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 20px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

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

/* Navegación móvil */
.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.mobile-nav.active {
    max-height: 500px;
}

.mobile-nav-item {
    border-bottom: 1px solid #f3f4f6;
}

.nav-mobile-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    color: var(--text-color);
    padding: 15px 20px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

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

/* Breadcrumbs */
.breadcrumbs {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #f9fafb;
    border-bottom: 1px solid var(--border-color);
    z-index: 997;
    height: var(--breadcrumb-height);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    height: 100%;
    font-size: 14px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.breadcrumb-home,
.breadcrumb-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 0 6px;
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.breadcrumb-separator {
    margin: 0 6px;
    color: #9ca3af;
}

/* Barra de subcategorías móvil */
.mobile-subcategory-bar {
    position: fixed;
    top: calc(var(--header-height) + var(--breadcrumb-height));
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border-color);
    z-index: 996;
    height: var(--subcategory-height);
    display: none;
}

.mobile-subcategory-bar.active {
    display: block;
}

.subcategory-buttons {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 10px;
    overflow-x: auto;
    padding: 0 10px;
}

.subcategory-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.subcategory-btn:hover,
.subcategory-btn.active {
    background: var(--desa-carta);
    color: var(--primary-color);
}

/* Hero Section (para secciones distintas a inicio, como Desayunos y Carta) */
.hero-section {
    padding: 60px 20px;
    background-image: url('../img/fondo-web-inicio.webp');
    background-size: cover;
    background-position: center;
    color: white;
    border-radius: 16px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 75%; /* Comportamiento original para otras secciones */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

/* Hero Section específica para Inicio */
.hero-section-inicio {
    padding: 60px 20px;
    background: linear-gradient(rgba(2, 31, 60, 0.7), rgba(2, 31, 60, 0.7)), url('../img/fondo-web-inicio.jpg') center/cover no-repeat;
    color: white;
    border-radius: 16px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-section-inicio .hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-section h2,
.hero-section-inicio h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 10px;
}


.hero-section h1,
.hero-section-inicio h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 20px;
    opacity: 0.9;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-button {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
}

.hero-button:hover {
    background: var(--desa-carta);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Contenido principal */
.main {
    min-height: calc(100vh - var(--header-height) - var(--breadcrumb-height));
    padding: 20px 0 60px;
}

/* Layout de contenido con submenú - 25%/75% */
.content-layout {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.content-sidebar {
    flex: 0 0 25%;
}

.content-main {
    flex: 1;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-description {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.7;
}

.subcategory-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.subcategory-card {
    background: #e6f0fa;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.subcategory-card:hover,
.subcategory-card.active {
    background: var(--desa-carta);
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
    color: var(--primary-color);
}

.subcategory-card h4 {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 16px;
}

.subcategory-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

/* Grid de platos */
.dishes-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dish-card {
    background: white;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.dish-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.dish-content {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    align-items: center;
    padding: 20px;
    gap: 10px;
}

.dish-image {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #9ca3af;
    border-radius: 8px;
    flex-shrink: 0;
}

.dish-info {
    flex: 1;
    min-width: 0;
}

.dish-name {
    font-weight: 600;
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.dish-description {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 12px;
    line-height: 1.5;
}

.dish-allergens {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.allergen-tag {
    background: #fef3c7;
    color: #92400e;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.dish-price-column {
    text-align: right;
    flex-shrink: 0;
    min-width: 80px;
}

.dish-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
}

/* Formulario de reservas */
.reservation-form {
    max-width: 600px;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: var(--primary-color);
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-color);
    background: #f9fafb;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(2, 31, 60, 0.2);
}

.form-group textarea {
    resize: vertical;
}

.form-button {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    align-self: center;
}

.form-button:hover {
    background: var(--desa-carta);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Estilos para secciones sin submenú */
.menus-section, .takeaway-section, .about-section, .reservations-section {
    padding: 40px 0;
}

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

.menu-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.menu-card h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 15px;
}

.menu-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-color);
    margin-top: 20px;
}

/* Reservas */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.method {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.method i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.method h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.method a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.method a:hover {
    text-decoration: underline;
}

/* Botón volver arriba */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #048ac6;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--desa-carta);
    transform: translateY(-2px);
}

.back-to-top:hover .fas.fa-arrow-up {
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: rgba(1, 23, 46, 0.9);
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

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

.footer-section a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.footer-section a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 15px;
    color: var(--accent-color);
}

.footer-section p,
.footer-section address {
    margin-bottom: 10px;
    line-height: 1.6;
    font-style: normal;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-nav-link {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
}

.footer-nav-link:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    color: #cbd5e1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .header-content {
        padding: 0 80px;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .content-layout {
        flex-direction: column;
        gap: 20px;
    }
    
    .content-sidebar {
        flex: none;
    }
    
    .dish-content {
        gap: 10px;
    }
    
    .dish-image {
        justify-self: center;
    }
    
    .dish-price-column {
        text-align: center;
    }
    
    .logo {
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: auto;
        padding: 8px 20px;
    }
    
    .logo-shield {
        margin-right: 10px;
    }
    
    .logo-text {
        display: block;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-section {
        padding: 40px 15px;
    }
    
    .hero-content {
        max-width: 75%; /* Comportamiento original para otras secciones */
        margin: 0 auto;
        align-items: center;
        text-align: center;
    }

    .hero-section-inicio {
        padding: 40px 15px;
    }
    
    .hero-section h1,
    .hero-section-inicio h1 {
        font-size: 36px;
    }

    .hero-section h2,
    .hero-section-inicio h2 {
        font-size: 28px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-button {
        width: 100%;
        max-width: 250px;
        padding: 10px 20px;
    }

    .reservation-form {
        padding: 20px;
    }
    
    .form-button {
        width: 100%;
        max-width: 250px;
    }

    
    /* Barra de subcategorías móvil */
    .mobile-subcategory-bar {
        height: var(--subcategory-height);
    }

    .subcategory-buttons {
        gap: 12px;
        padding: 0 10px;
    }

    .subcategory-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        padding: 8px 16px;
        border-radius: 12px;
        background: var(--primary-color);
        color: white;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        min-width: unset;
        white-space: nowrap;
        line-height: 1.2;
    }

    .subcategory-btn:hover,
    .subcategory-btn.active {
        background: var(--desa-carta);
        border-color: var(--primary-color);
        box-shadow: var(--shadow);
        transform: translateY(-2px);
        color: var(--primary-color);
    }

    /* Restaurar estilos de subcategory-card para móviles */
    .subcategory-card {
        background: white;
        color: var(--text-color);
    }

    .subcategory-card:hover,
    .subcategory-card.active {
        background: white;
        color: var(--text-color);
    }

    .subcategory-card h4 {
        color: var(--primary-color);
    }

    .subcategory-card p {
        color: #6b7280;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 0 70px;
    }
    
    .logo {
        padding: 6px 15px;
    }
    
    .mobile-menu-btn {
        right: 10px;
        width: 40px;
        height: 40px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .dishes-container {
        gap: 12px;
    }
    
    .dish-card {
        border-radius: 12px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        margin: 0 10px;
    }
    
    .dish-content {
        display: grid;
        grid-template-columns: 80px 1fr;
        grid-template-areas: 
            "image info"
            "image price";
        padding: 12px;
        gap: 12px;
        align-items: start;
        text-align: left;
    }
    
    .dish-image {
        grid-area: image;
        width: 80px;
        height: 80px;
        border-radius: 8px;
        background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 32px;
    }
    
    .dish-info {
        grid-area: info;
    }
    
    .dish-name {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .dish-description {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 8px;
    }
    
    .dish-allergens {
        gap: 4px;
    }
    
    .allergen-tag {
        font-size: 10px;
        padding: 2px 6px;
    }
    
    .dish-price-column {
        grid-area: price;
        text-align: right;
        padding-top: 0;
    }
    
    .dish-price {
        font-size: 18px;
        color: var(--accent-color);
    }
    
    .hero-section {
        padding: 40px 15px;
    }

    .hero-content {
        max-width: 75%; /* Comportamiento original para otras secciones */
        margin: 0 auto;
        align-items: center;
        text-align: center;
    }

    .hero-section-inicio {
        padding: 40px 15px;
    }

    .hero-section h1,
    .hero-section-inicio h1 {
        font-size: 28px;
    }

    .hero-section h2,
    .hero-section-inicio h2 {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-button {
        font-size: 14px;
    }

    .form-group label {
        font-size: 12px;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 12px;
    }
    
    .form-button {
        font-size: 14px;
    }

    .subcategory-buttons {
        gap: 15px;
        padding: 0 10px;
    }

    .subcategory-btn {
        font-size: 12px;
        padding: 8px 16px;
    }
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Estados de carga */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: var(--text-color);
}

.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* fin */


/* ========================================
   MENÚS 
   ======================================== */

/* Secciones generales */
.menu-section {
    padding: 40px 20px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.menu-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--primary-color);
    text-align: center; 
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
}

.menu-section h2::after {
    content: '';
    width: 100%;
    height: 3px;
    background: var(--accent-color);
    display: block;
    margin: 12px auto 0;
    border-radius: 2px;
}

.menu-intro {
    font-size: 16px;
    color: var(--text-color);
    text-align: center;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto 25px;
}

.menu-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px dashed var(--border-color);
}

.menu-price-final {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.price-circle {
    background: var(--accent-color);
    color: var(--primary-color);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(212, 160, 23, 0.3);
    transition: all 0.3s ease;
}

.menu-section:hover .price-circle {
    background: var(--desa-carta);
    transform: scale(1.05);
}

.menu-includes {
    color: #6b7280;
    font-style: italic;
    font-size: 15px;
    margin: 6px 0;
}

/* ========================================
   MENÚS ESPECIALES – 
   2 columnas desktop, 1 móvil, tarjetas elevadas
   ======================================== */

   #special-menus {
    padding: 40px 20px;
    background: var(--background-color);
}

#special-menus .text-center h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
    text-align: center;
}

#special-menus .menu-general-description {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto 30px;
    text-align: center;
}

/* Tarjetas de Menú 1 / Menú 2 */
#special-menus .card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

#special-menus .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Header (AZUL, no rojo) */
#special-menus .card-header {
    background: var(--primary-color);
    color: white;
    padding: 18px;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

#special-menus .card-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

/* Body */
#special-menus .card-body {
    padding: 25px;
}

/* Columnas Primeros / Segundos */
#special-menus .row {
    display: flex;
    gap: 20px;
}

#special-menus .col-md-6 {
    flex: 1;
}

#special-menus .col-md-6 h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Cada plato */
#special-menus .mb-3 {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

#special-menus .mb-3:hover {
    background: #fff8e6;
    border-color: var(--desa-carta);
    box-shadow: 0 2px 8px rgba(247, 201, 72, 0.2);
}

#special-menus .mb-3 img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

#special-menus .mb-3 p {
    margin: 0;
    font-size: 15px;
    color: var(--text-color);
    flex: 1;
    line-height: 1.5;
}

#special-menus .text-muted {
    font-size: 0.82rem;
    color: #9ca3af !important;
    display: block;
    margin-top: 4px;
}

/* Nota final */
#special-menus .menu-note {
    font-size: 16px;
    color: var(--text-color);
    font-style: italic;
    max-width: 800px;
    margin: 30px auto 20px;
    text-align: center;
    line-height: 1.7;
    padding: 15px;
    background: #f0f7ff;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 10px 10px 0;
}

/* Botón WhatsApp */
#special-menus .btn-success {
    background: var(--desa-carta);
    color: var(--primary-color);
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(247, 201, 72, 0.4);
    transition: all 0.3s ease;
}

#special-menus .btn-success:hover {
    background: var(--desa-carta);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(247, 201, 72, 0.4);
}

#special-menus .btn-success i {
    font-size: 1.4rem;
}

/* Responsive - 2 columnas desktop, 1 columna móvil */
@media (max-width: 768px) {
    #special-menus .row {
        flex-direction: column;
        gap: 20px;
    }

    #special-menus .col-md-6 {
        width: 100%;
    }

    #special-menus .mb-3 {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    #special-menus .mb-3 img {
        width: 100%;
        max-width: 200px;
        height: 120px;
        margin: 0 auto 10px;
    }

    #special-menus .btn-success {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    #special-menus {
        padding: 30px 15px;
    }

    #special-menus .card-header h3 {
        font-size: 1.3rem;
    }

    #special-menus .mb-3 img {
        height: 100px;
    }
}
/* LÍNEA DORADA COMPLETA DEBAJO DE "PRIMEROS" Y "SEGUNDOS" */
#special-menus .col-md-6 h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
}

#special-menus .col-md-6 h5::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: #03acf4; /* Azul */
    border-radius: 2px;
}


/* ============================================================= */
/* 1. FIX: La carta digital se veía cortada en móvil           */
/* ============================================================= */
@media (max-width: 900px) {
    .carta-digital-columns {
        grid-template-columns: 1fr !important;   /* 1 columna en pantallas pequeñas */
        gap: 32px 20px;
    }
    
    .carta-digital-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .carta-digital-identity,
    .carta-digital-actions {
        width: 100%;
    }
    
    .carta-digital-actions-buttons {
        justify-content: center;
    }
}

/* ============================================================= */
/* 2. FIX: Mejor espaciado en la página de la carta digital     */
/* ============================================================= */
.carta-digital-page {
    margin: 30px 0;
    padding: 32px 28px 40px !important;   /* más aire */
}

.carta-digital-watermark {
    font-size: 78px !important;
    opacity: 0.04;
}


/* ====================== TRÍPTICO - LIMPIO Y ELEGANTE ====================== */
.triptico-section {
    padding: 50px 20px;
    background: linear-gradient(180deg, #021f3c 0%, rgba(4, 138, 198, 0.7) 100%);
    color: white;
    text-align: center;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.triptico-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    margin-bottom: 5px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.triptico-subtitle {
    font-size: 1.4rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.triptico-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.triptico-img {
    width: 100%;
    max-width: 800px;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
    border: 4px solid rgba(255,255,255,0.15);
}

.triptico-actions {
    margin-top: 20px;
}

.btn-ver-pdf {
    background: #d4a017;
    color: #021f3c;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 1.4rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 12px 35px rgba(212,160,23,0.4);
    transition: all 0.3s;
}

.btn-ver-pdf:hover {
    background: #f7c948;
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 768px) {
    .triptico-title { font-size: 2.6rem; }
    .triptico-subtitle { font-size: 1.2rem; margin-bottom: 40px; }
    .triptico-img { border-radius: 14px; }
    .triptico-section { padding: 80px 15px; }
}
/* ====================== ZOOM PERFECTO EN MÓVILES ====================== */
.triptico-zoom-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 20px 0;
}

.triptico-zoom-img {
    width: 100%;
    max-width: 900px;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
    border: 4px solid rgba(255,255,255,0.15);
    transition: transform 0.3s ease;
    image-rendering: -webkit-optimize-contrast; /* Mejor calidad al hacer zoom */
}

/* ZOOM AL TOCAR (móvil) o al hacer hover (escritorio) */
.triptico-zoom-img:active,
.triptico-zoom-img:hover {
    transform: scale(1.02);
    box-shadow: 0 35px 80px rgba(0,0,0,0.7);
}

/* EN MÓVIL: permite hacer zoom con los dedos */
@media (max-width: 768px) {
    .triptico-zoom-img {
        max-width: 100vw;
        width: 100vw;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    /* Permite zoom del navegador */
    meta[name="viewport"] {
        content: "width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=yes";
    }
}




/* ====================== NOSOTROS ====================== */
.nosotros-section {
    padding: 20px 20px;
    background: linear-gradient(180deg, #021f3c 0%, rgba(4, 138, 198, 0.7) 100%);
    color: white;
    min-height: 100vh;
    border-radius: 20px;                    
    overflow: hidden;                       
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); 
}

.nosotros-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
    align-items: center;
}

.nosotros-texto {
    text-align: left;
}

.nosotros-titulo {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    margin-bottom: 25px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.nosotros-parrafo {
    font-size: 1.25rem;
    line-height: 1.9;
    margin-bottom: 25px;
    opacity: 0.95;
    text-align: justify;     
    text-justify: inter-word; 
}

.nosotros-foto img {
    width: 100%;
    height: 580px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 35px 80px rgba(0,0,0,0.5);
    border: 5px solid rgba(255,255,255,0.12);
}

/* LOCALIZACIÓN */
.nosotros-localizacion {
    background: white;
    color: #333;
    max-width: 1100px;
    margin: 0 auto;
    padding: 70px;
    border-radius: 32px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}

.localizacion-titulo {
    font-family: 'Playfair Display', serif;
    font-size: 2,4rem;
    color: #021f3c;
    text-align: center;
    margin-bottom: 50px;
}

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

.localizacion-texto h3 {
    font-size: 2.1rem;
    color: #021f3c;
    margin-bottom: 25px;
}

.localizacion-texto p {
    font-size: 1.22rem;
    line-height: 1.8;
    margin-bottom: 18px;
    color: #4b5563;
}

.localizacion-texto a {
    color: #d4a017;
    font-weight: 600;
    text-decoration: none;
}

.localizacion-texto a:hover {
    text-decoration: underline;
    color: #f7c948;
}

.localizacion-mapa iframe {
    width: 100%;
    height: 420px;
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .nosotros-grid { 
        grid-template-columns: 1fr; 
        text-align: center; 
        gap: 60px;
    }
    .nosotros-texto { order: 2; }
    .nosotros-foto { order: 1; }
    .nosotros-foto img { height: 420px; }
    .localizacion-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nosotros-titulo { font-size: 2.8rem; }
    .nosotros-foto img { height: 320px; }
    .nosotros-localizacion { padding: 50px 25px; }
    .localizacion-titulo { font-size: 2.5rem; }
}
