/* =============================================
   EL COCHITO SINALOENSE — website.css
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800;900&family=Pacifico&family=Inter:wght@400;500;600&display=swap');

/* --- Variables --- */
:root {
    --azul-profundo:  #153A6A;
    --azul-medio:     #1B447D;
    --azul-brillante: #2E90F4;
    --azul-claro:     #6AB7FF;
    --amarillo:       #F5C518;
    --naranja:        #E96C19;
    --blanco:         #FFFFFF;
    --cafe:           #8A4F24;
    --verde:          #49A94D;
    --footer-bg:      #0d2444;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--azul-profundo);
    color: var(--blanco);
    overflow-x: hidden;
}

/* =============================================
   BOTONES GLOBALES
   ============================================= */
.btn-cochito {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn-cochito:hover { transform: translateY(-3px); }
.btn-cochito:active { transform: translateY(0); }

.btn-menu {
    background-color: var(--amarillo);
    color: var(--azul-profundo);
    box-shadow: 0 4px 20px rgba(245,197,24,0.4);
}
.btn-menu:hover {
    background-color: #ffd740;
    color: var(--azul-profundo);
    box-shadow: 0 8px 28px rgba(245,197,24,0.55);
}

.btn-review {
    background-color: var(--naranja);
    color: var(--blanco);
    box-shadow: 0 4px 20px rgba(233,108,25,0.4);
}
.btn-review:hover {
    background-color: #ff7d2a;
    color: var(--blanco);
    box-shadow: 0 8px 28px rgba(233,108,25,0.55);
}

/* =============================================
   TIPOGRAFÍA COMPARTIDA
   ============================================= */
.section-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--amarillo);
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 2.4rem;
    color: var(--blanco);
    text-shadow: 1px 2px 8px rgba(0,0,0,0.4);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-family: 'Pacifico', cursive;
    font-size: 1.1rem;
    color: var(--naranja);
    margin-bottom: 1.25rem;
}

.section-text {
    color: rgba(255,255,255,0.8);
    line-height: 1.75;
    font-size: 0.97rem;
    margin-bottom: 0.75rem;
}

/* =============================================
   PRELOADER
   ============================================= */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: var(--azul-profundo);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

#preloader.preloader-show {
    opacity: 1;
    visibility: visible;
}

#preloader.preloader-hide {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    width: 100px;
    filter: drop-shadow(0 4px 16px rgba(46,144,244,0.4));
    animation: preloader-pulse 1.2s ease-in-out infinite;
}

.preloader-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(46,144,244,0.2);
    border-top-color: var(--amarillo);
    border-radius: 50%;
    animation: preloader-spin 0.8s linear infinite;
}

@keyframes preloader-spin {
    to { transform: rotate(360deg); }
}

@keyframes preloader-pulse {
    0%, 100% { transform: scale(1);   opacity: 1; }
    50%       { transform: scale(1.06); opacity: 0.85; }
}

/* =============================================
   NAVBAR
   ============================================= */
.cochito-navbar {
    background-color: rgba(13, 36, 68, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 2px solid var(--azul-brillante);
    padding: 0.5rem 0;
}

.cochito-navbar .nav-link {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85) !important;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    transition: color 0.2s, background-color 0.2s;
}

.cochito-navbar .nav-link:hover,
.cochito-navbar .nav-link.active {
    color: var(--amarillo) !important;
    background-color: rgba(245,197,24,0.08);
}

.navbar-toggler { border: none; }
.navbar-toggler:focus { box-shadow: none; }

/* =============================================
   HERO CAROUSEL
   ============================================= */
#hero { padding-top: 72px; }

.carousel-item {
    height: 92vh;
    min-height: 520px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(13,36,68,0.55) 0%, rgba(13,36,68,0.75) 100%);
}

.carousel-caption-custom {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem;
    z-index: 2;
}

.hero-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: var(--blanco);
    text-shadow:
        2px 2px 0 var(--azul-brillante),
        0 4px 20px rgba(0,0,0,0.7);
    line-height: 1.1;
    margin-bottom: 1rem;
    max-width: 700px;
}

.hero-text {
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 600px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    border: none;
}
.carousel-indicators button.active { background-color: var(--amarillo); }

/* =============================================
   FEATURES
   ============================================= */
.section-features {
    background-color: var(--azul-medio);
    padding: 5rem 0;
    border-top: 3px solid var(--azul-brillante);
    border-bottom: 3px solid var(--azul-brillante);
}

.feature-card {
    background: linear-gradient(160deg, rgba(46,144,244,0.1), rgba(21,58,106,0.6));
    border: 1px solid rgba(46,144,244,0.3);
    border-radius: 16px;
    padding: 2.5rem 1.75rem;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(46,144,244,0.2);
}

.feature-icon {
    font-size: 2.2rem;
    color: var(--amarillo);
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(245,197,24,0.4);
}

.feature-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--blanco);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.feature-text {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin: 0;
}

/* =============================================
   ABOUT
   ============================================= */
.section-about {
    background-color: var(--azul-profundo);
    padding: 6rem 0;
}

.about-img-wrapper {
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid var(--azul-brillante);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.about-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.about-img-wrapper:hover .about-img { transform: scale(1.04); }

/* =============================================
   SIGNATURE DISHES
   ============================================= */
.section-dishes {
    background-color: var(--azul-medio);
    padding: 6rem 0;
    border-top: 3px solid var(--azul-brillante);
}

.dish-card {
    background: linear-gradient(160deg, rgba(27,68,125,0.9), rgba(13,36,68,0.95));
    border: 1px solid rgba(46,144,244,0.3);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.dish-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
    border-color: var(--amarillo);
}

.dish-img-wrapper {
    overflow: hidden;
    height: 200px;
}

.dish-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.dish-card:hover .dish-img { transform: scale(1.08); }

.dish-body {
    padding: 1.25rem;
}

.dish-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--amarillo);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.dish-desc {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    margin: 0;
}

/* =============================================
   EXPERIENCE CTA
   ============================================= */
.section-cta {
    position: relative;
    background-image: url('../images/slide1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 7rem 0;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13,36,68,0.85), rgba(233,108,25,0.35));
}

.cta-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--blanco);
    text-shadow: 2px 2px 0 var(--azul-brillante), 0 4px 16px rgba(0,0,0,0.6);
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    max-width: 520px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* =============================================
   LOCATION PREVIEW
   ============================================= */
.section-location {
    background-color: var(--azul-profundo);
    padding: 5rem 0;
}

.location-card {
    background: linear-gradient(160deg, rgba(27,68,125,0.7), rgba(13,36,68,0.9));
    border: 2px solid var(--azul-brillante);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 8px 32px rgba(46,144,244,0.15);
}

.location-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0 2rem;
}

.location-icon {
    font-size: 1.8rem;
    color: var(--amarillo);
}

.location-text {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

/* =============================================
   FINAL CTA
   ============================================= */
.section-final-cta {
    background: linear-gradient(135deg, var(--azul-medio), var(--azul-profundo));
    border-top: 3px solid var(--amarillo);
    padding: 5rem 0;
    text-align: center;
}

/* =============================================
   FOOTER
   ============================================= */
.cochito-footer {
    background-color: var(--footer-bg);
    border-top: 3px solid var(--azul-brillante);
}

.footer-logo {
    width: 120px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.footer-text {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
}

.footer-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--amarillo);
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--amarillo); }

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

.footer-contact li i {
    color: var(--azul-claro);
    margin-top: 2px;
    flex-shrink: 0;
}

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

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(46,144,244,0.15);
    border: 1px solid rgba(46,144,244,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}

.social-icon:hover {
    background-color: var(--amarillo);
    border-color: var(--amarillo);
    color: var(--azul-profundo);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: rgba(0,0,0,0.3);
    border-top: 1px solid rgba(46,144,244,0.2);
    padding: 1rem 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
}

.footer-bottom a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom a:hover { color: var(--amarillo); }

/* =============================================
   PAGE HERO (estático)
   ============================================= */
.page-hero {
    padding-top: 72px;
    height: 75vh;
    min-height: 480px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(13,36,68,0.55) 0%, rgba(13,36,68,0.78) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 1.5rem;
    max-width: 780px;
}

/* =============================================
   SINALOA / BRAND SECTION
   ============================================= */
.section-sinaloa {
    position: relative;
    background-color: var(--azul-medio);
    border-top: 3px solid var(--azul-brillante);
    border-bottom: 3px solid var(--azul-brillante);
    padding: 6rem 0;
}

.sinaloa-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(46,144,244,0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* =============================================
   MENU PAGE
   ============================================= */
.section-menu-intro {
    background-color: var(--azul-profundo);
    padding: 4rem 0 2rem;
}

.section-menu {
    background-color: var(--azul-profundo);
    padding: 2rem 0 5rem;
}

.menu-category {
    margin-bottom: 3.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(46,144,244,0.2);
}

.menu-category:last-of-type { border-bottom: none; }

.menu-cat-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--amarillo);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.menu-cat-title i { color: var(--naranja); font-size: 1.2rem; }

.menu-subcat-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--azul-claro);
    margin: 1.5rem 0 0.75rem;
}

.menu-cat-note {
    font-size: 0.88rem;
    color: var(--naranja);
    font-weight: 600;
    margin-bottom: 1rem;
}

.menu-item {
    background: linear-gradient(160deg, rgba(27,68,125,0.7), rgba(13,36,68,0.85));
    border: 1px solid rgba(46,144,244,0.2);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    height: 100%;
    transition: border-color 0.2s;
}

.menu-item:hover { border-color: rgba(245,197,24,0.4); }

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.menu-item-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: var(--blanco);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.menu-item-price {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: var(--amarillo);
    white-space: nowrap;
    flex-shrink: 0;
}

.menu-item-prices {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.4rem;
}

.menu-item-prices span {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--amarillo);
    background: rgba(245,197,24,0.1);
    border: 1px solid rgba(245,197,24,0.3);
    border-radius: 20px;
    padding: 0.15rem 0.6rem;
}

.menu-item-desc {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
    margin: 0;
}

.menu-item-badge {
    font-size: 0.7rem;
    font-weight: 700;
    background: var(--naranja);
    color: var(--blanco);
    border-radius: 20px;
    padding: 0.1rem 0.5rem;
    vertical-align: middle;
    margin-left: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.menu-item-side {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 1rem;
}

.menu-specials {
    background: linear-gradient(135deg, rgba(233,108,25,0.08), rgba(245,197,24,0.05));
    border: 1px solid rgba(233,108,25,0.3);
    border-radius: 16px;
    padding: 1.5rem;
}

.menu-notice {
    background: rgba(46,144,244,0.08);
    border: 1px solid rgba(46,144,244,0.25);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-top: 2rem;
}

.menu-notice i { color: var(--azul-claro); }

/* =============================================
   CONTACT PAGE
   ============================================= */
.section-contact {
    background-color: var(--azul-profundo);
    padding: 5rem 0;
}

.contact-info-card,
.contact-form-card {
    background: linear-gradient(160deg, rgba(27,68,125,0.7), rgba(13,36,68,0.9));
    border: 1px solid rgba(46,144,244,0.3);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
}

.contact-card-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--amarillo);
    margin-bottom: 1.75rem;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(46,144,244,0.15);
    border: 1px solid rgba(46,144,244,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amarillo);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--azul-claro);
    margin-bottom: 0.2rem;
}

.contact-info-value {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    line-height: 1.5;
    display: block;
    transition: color 0.2s;
}

a.contact-info-value:hover { color: var(--amarillo); }

.contact-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(46,144,244,0.4), transparent);
    margin: 1.75rem 0;
}

.contact-social-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--azul-claro);
    margin-bottom: 0.75rem;
}

.contact-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--azul-claro);
    margin-bottom: 0.4rem;
}

.contact-input {
    background-color: rgba(13,36,68,0.8);
    border: 1px solid rgba(46,144,244,0.35);
    border-radius: 10px;
    color: var(--blanco);
    padding: 0.7rem 1rem;
    font-size: 0.92rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-input::placeholder { color: rgba(255,255,255,0.3); }

.contact-input:focus {
    background-color: rgba(13,36,68,0.95);
    border-color: var(--azul-brillante);
    box-shadow: 0 0 0 3px rgba(46,144,244,0.15);
    color: var(--blanco);
    outline: none;
}

.contact-input.is-invalid {
    border-color: var(--naranja);
}

textarea.contact-input { resize: vertical; min-height: 130px; }

.section-map {
    background-color: var(--azul-profundo);
    padding: 0 0 5rem;
}

.map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(46,144,244,0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.map-wrapper iframe {
    width: 100%;
    height: 420px;
    display: block;
}

/* =============================================
   GALLERY PAGE
   ============================================= */
.section-gallery {
    background-color: var(--azul-profundo);
    padding: 5rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(46,144,244,0.2);
    display: block;
    aspect-ratio: 4 / 3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.07); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13,36,68,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    font-size: 1.8rem;
    color: var(--amarillo);
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
}

/* =============================================
   MENUQR PAGE
   ============================================= */
.main-wrapper {
    min-height: 100vh;
    background-color: var(--azul-profundo);
    background-image:
        radial-gradient(ellipse at top, #1a5296 0%, #153A6A 50%, #0a1f3d 100%),
        url('../images/qr_back.jpg');
    background-blend-mode: multiply;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.brand-card {
    width: 100%;
    max-width: 480px;
    background: linear-gradient(160deg, rgba(27,68,125,0.85) 0%, rgba(21,58,106,0.95) 100%);
    border: 2px solid var(--azul-brillante);
    border-radius: 24px;
    box-shadow: 0 0 40px rgba(46,144,244,0.25), 0 8px 32px rgba(0,0,0,0.5);
    padding: 2.5rem 2rem;
    text-align: center;
    backdrop-filter: blur(6px);
}

.brand-logo {
    width: 160px;
    max-width: 60%;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}

.brand-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 3rem;
    color: var(--blanco);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 2px 2px 0 var(--azul-brillante), 0 4px 16px rgba(0,0,0,0.6);
    line-height: 1;
    margin-bottom: 0.2rem;
}

.brand-subtitle {
    font-family: 'Pacifico', cursive;
    font-size: 1.4rem;
    color: var(--naranja);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    margin-bottom: 0.6rem;
}

.brand-tagline {
    font-size: 0.85rem;
    color: var(--azul-claro);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    opacity: 0.85;
}

.buttons-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.divider {
    width: 60%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--azul-brillante), transparent);
    margin: 1.25rem auto;
}

.construction-icon {
    font-size: 2.5rem;
    color: var(--amarillo);
    text-shadow: 0 2px 12px rgba(245,197,24,0.5);
    margin-bottom: 0.75rem;
}

.construction-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--amarillo);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
    margin-bottom: 0.5rem;
}

.construction-text {
    font-size: 0.95rem;
    color: var(--azul-claro);
    line-height: 1.6;
    margin-bottom: 0;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .section-title  { font-size: 2rem; }
    .about-img      { height: 280px; }
    .section-cta    { background-attachment: scroll; }
    .carousel-item  { height: 75vh; }
}

@media (max-width: 400px) {
    .brand-title { font-size: 2.4rem; }
    .brand-card  { padding: 2rem 1.25rem; }
}
