/* ==========================================================================
   Hamburguesería 143 (HBA143) - Official Web Application
   Palette: White (#FFFFFF), Black (#111111), Brand Orange (#FF5023)
   ========================================================================== */

/* --- CSS Variables & Theme Tokens --- */
:root {
    --bg-main: #FFFFFF;
    --bg-surface: #FAFAFA;
    --bg-card: #FFFFFF;
    
    --brand-black: #111111;
    --brand-black-soft: #1C1C1C;
    --brand-orange: #FF5023;
    --brand-orange-hover: #E03E14;
    --brand-orange-light: rgba(255, 80, 35, 0.08);
    
    --border-light: #EAEAEA;
    --border-orange: rgba(255, 80, 35, 0.25);
    
    --text-primary: #111111;
    --text-secondary: #4B5563;
    --text-muted: #6B7280;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.03);
    --shadow-card: 0 6px 24px rgba(0, 0, 0, 0.04);
    --shadow-card-hover: 0 16px 36px rgba(0, 0, 0, 0.09);
    --shadow-glow-orange: 0 8px 24px rgba(255, 80, 35, 0.28);
    
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

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

/* --- Layout Containers --- */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.orange-text { color: var(--brand-orange); }
.text-orange { color: var(--brand-orange); }
.text-black { color: var(--brand-black); }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    font-size: 0.88rem;
    font-weight: 800;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.btn-primary {
    background: var(--brand-orange);
    color: #FFFFFF;
    box-shadow: var(--shadow-glow-orange);
}

.btn-primary:hover {
    background: var(--brand-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(255, 80, 35, 0.4);
}

.btn-black {
    background: var(--brand-black);
    color: #FFFFFF;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-black:hover {
    background: var(--brand-black-soft);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.btn-nav {
    padding: 10px 20px;
    font-size: 0.82rem;
}

/* --- Sticky Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 14px 0;
    transition: all var(--transition-normal);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.brand-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

/* --- SECTION 1: LA EXPERIENCIA HAMBURGUESERÍA 143 (AL PRINCIPIO) --- */
.experience-section {
    padding: 135px 0 75px; /* Amplitud para despejar el header */
    background: var(--bg-main);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--brand-orange-light);
    border: 1px solid var(--border-orange);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--brand-orange);
    margin-bottom: 16px;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background: var(--brand-orange);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--brand-orange);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
    100% { transform: scale(0.95); opacity: 1; }
}

.main-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.15;
    color: var(--brand-black);
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.section-lead {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grid de Cajas de Experiencia (Espaciosas & Elegantes) */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 50px;
}

.exp-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px 28px; /* Espacio interno amplio */
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-fast);
}

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

.highlight-card {
    border: 2px solid var(--brand-orange);
    box-shadow: 0 12px 35px rgba(255, 80, 35, 0.12);
}

.exp-icon-box {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: var(--brand-orange-light);
    color: var(--brand-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.exp-icon-box.orange-box {
    background: var(--brand-orange);
    color: #FFFFFF;
    box-shadow: var(--shadow-glow-orange);
}

.exp-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--brand-black);
    margin-bottom: 14px;
}

.exp-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* --- SECTION 2: PEDIR DELIVERY POR SEDE (MÓDULO UNIFICADO) --- */
.order-section {
    padding: 80px 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
}

.order-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.section-subtitle {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--brand-orange);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 6px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--brand-black);
    margin-bottom: 10px;
}

.section-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.sedes-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 28px;
}

.sede-order-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 22px 24px; /* Generoso espacio interno */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-fast);
}

.bqto-card {
    border-left: 5px solid var(--brand-orange);
}

.traki-card {
    border-left: 5px solid var(--brand-black);
}

.sede-order-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
}

.card-left-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sede-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.bqto-circle {
    background: var(--brand-orange-light);
    color: var(--brand-orange);
}

.traki-circle {
    background: rgba(0, 0, 0, 0.06);
    color: var(--brand-black);
}

.card-details h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--brand-black);
    line-height: 1.2;
    margin-bottom: 4px;
}

.card-subinfo {
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.card-hours {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.btn-order {
    flex-shrink: 0;
}

.order-stats-strip {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 10px;
    border-top: 1px solid var(--border-light);
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Oso Visual Enmarcado */
.order-visual {
    display: flex;
    justify-content: center;
}

.bear-frame-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 20px 20px 0 20px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.07);
    overflow: hidden;
}

.bear-frame-img {
    width: 280px;
    height: 320px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* --- Modal --- */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 460px;
    padding: 32px 24px;
    position: relative;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    transform: scale(0.92);
    transition: transform var(--transition-fast);
}

.modal-backdrop.active .modal-card {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--bg-surface);
    color: var(--text-secondary);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.modal-close-btn:hover {
    background: var(--brand-orange);
    color: #FFFFFF;
}

.modal-bear-wrapper {
    display: inline-block;
    background: #FFFFFF;
    border: 2px solid var(--border-light);
    border-radius: 16px;
    padding: 6px 6px 0 6px;
    margin-bottom: 12px;
}

.modal-bear-img {
    height: 75px;
    width: auto;
    object-fit: contain;
    object-position: top center;
    display: block;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--brand-black);
    margin-bottom: 6px;
}

.modal-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.modal-options {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.modal-option-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.modal-option-card:hover {
    transform: translateX(4px);
}

.option-bqto:hover {
    border-color: var(--brand-orange);
    background: var(--brand-orange-light);
}

.option-traki:hover {
    border-color: var(--brand-black);
    background: rgba(0, 0, 0, 0.05);
}

.option-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.option-bqto .option-icon { background: var(--brand-orange); color: #FFFFFF; }
.option-traki .option-icon { background: var(--brand-black); color: #FFFFFF; }

.option-text h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 900;
    color: var(--brand-black);
    margin-bottom: 2px;
}

.option-subtext {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.option-arrow {
    font-size: 1rem;
    color: var(--text-muted);
}

/* --- Mobile Floating Bar --- */
.mobile-float-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--brand-black);
    color: #FFFFFF;
    padding: 10px 16px;
    z-index: 999;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.mobile-float-text {
    font-size: 0.82rem;
    color: #FFFFFF;
}

.mobile-float-text i {
    color: var(--brand-orange);
}

.mobile-float-btns {
    display: flex;
    gap: 8px;
}

.mobile-float-btn {
    padding: 7px 14px;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: var(--radius-full);
}

.mobile-float-btn.bqto {
    background: var(--brand-orange);
    color: #FFFFFF;
}

.mobile-float-btn.traki {
    background: #FFFFFF;
    color: var(--brand-black);
}

/* --- Footer --- */
.footer {
    background: var(--brand-black);
    color: #FFFFFF;
    padding: 48px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-logo {
    height: 34px;
    margin-bottom: 14px;
}

.footer-brand p {
    color: #9CA3AF;
    font-size: 0.85rem;
    max-width: 360px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.social-icon:hover {
    background: var(--brand-orange);
    color: #FFFFFF;
    border-color: var(--brand-orange);
}

.footer-links-group h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: #FFFFFF;
}

.footer-links-group ul {
    list-style: none;
}

.footer-links-group li {
    margin-bottom: 10px;
}

.footer-links-group a {
    color: #9CA3AF;
    font-size: 0.85rem;
    transition: color var(--transition-fast);
}

.footer-links-group a:hover {
    color: var(--brand-orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    font-size: 0.8rem;
    color: #6B7280;
}

/* ==========================================================================
   RESPONSIVE MOBILE STYLES (Espacio Generoso & Sin Aprieto)
   ========================================================================== */
@media (max-width: 1024px) {
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .order-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .order-visual {
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 18px;
    }

    .experience-section {
        padding: 110px 0 50px;
    }

    .main-title {
        font-size: 2.1rem;
    }

    .section-lead {
        font-size: 0.95rem;
    }

    .exp-card {
        padding: 28px 20px;
    }

    .order-section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .sede-order-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 18px;
    }

    .btn-order {
        width: 100%;
    }

    .order-stats-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .bear-frame-img {
        width: 220px;
        height: 250px;
    }

    .mobile-float-bar {
        display: flex;
    }

    body {
        padding-bottom: 54px;
    }
}
