/* ============================================
   RESTAURANTE - Paleta tierra cálida
   ============================================ */

:root {
    --primary: #8B3A1F;
    --primary-dark: #6B2A14;
    --primary-soft: #A85530;
    --accent: #D4A04A;
    --accent-dark: #B58736;
    --accent-light: #FAF1DD;
    --olive: #6B7849;
    --bg: #FFFDF8;
    --bg-soft: #FAF6EE;
    --bg-cream: #F5EFE0;
    --text: #2D1B11;
    --text-soft: #6B5447;
    --text-muted: #A89B8E;
    --border: #E5DCC9;
    --border-strong: #D4C8B0;
    --success: #5B8C4F;
    --danger: #C04B2C;
    --warning: #D4A04A;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(139, 58, 31, 0.06);
    --shadow-md: 0 6px 20px rgba(139, 58, 31, 0.08);
    --shadow-lg: 0 16px 40px rgba(139, 58, 31, 0.12);

    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* ============================================
   ANNOUNCE & NAVBAR
   ============================================ */
.announce {
    background: var(--primary);
    color: white;
    padding: 8px 0;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
}

.announce .accent { color: var(--accent); font-weight: 700; }

.navbar {
    background: white;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 26px;
    color: var(--primary);
    line-height: 1;
}

.logo .accent { color: var(--accent); font-style: italic; }

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-soft);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.nav-links a:hover, .nav-links a.active { color: var(--primary); }

.nav-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-cart {
    position: relative;
    width: 42px;
    height: 42px;
    background: var(--bg-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.nav-cart:hover { background: var(--accent); color: white; }

.nav-cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--primary);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.nav-cart-badge[data-count="0"] { display: none; }

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.estado-resto {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.estado-resto::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px rgba(91, 140, 79, 0.2);
}

.estado-abierto { background: #E8F4DD; color: var(--success); }
.estado-cerrado { background: #FBE5DD; color: var(--danger); }

/* ============================================
   HERO
   ============================================ */
.hero {
    padding: 90px 0 100px;
    background:
        linear-gradient(135deg, rgba(139, 58, 31, 0.92), rgba(107, 42, 20, 0.85)),
        url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?w=1600&q=80') center/cover;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content { animation: fadeUp 0.8s ease-out; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(212, 160, 74, 0.2);
    color: var(--accent);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(40px, 5.5vw, 64px);
    margin-bottom: 24px;
    line-height: 1.05;
}

.hero h1 em {
    color: var(--accent);
    font-style: italic;
}

.hero p.lead {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 480px;
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    gap: 24px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

.hero-feature svg { color: var(--accent); flex-shrink: 0; }

.hero-visual {
    position: relative;
    animation: fadeRight 1s ease-out;
}

.hero-image {
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 8px solid rgba(212, 160, 74, 0.3);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-floating {
    position: absolute;
    background: white;
    color: var(--text);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 3.5s ease-in-out infinite;
}

.hero-floating-1 { top: 20px; left: -20px; }
.hero-floating-2 { bottom: 30px; right: -20px; animation-delay: 1.5s; }

.hero-floating .icon {
    width: 36px;
    height: 36px;
    background: var(--accent-light);
    color: var(--accent-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-floating strong { color: var(--primary); display: block; font-weight: 700; font-size: 13px; margin-bottom: 2px; }
.hero-floating span { color: var(--text-muted); font-size: 11px; }

/* ============================================
   BOTONES
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius-full);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
    justify-content: center;
}

.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 16px rgba(139, 58, 31, 0.3); }

.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 16px rgba(212, 160, 74, 0.4); }

.btn-outline { background: transparent; color: white; border-color: rgba(255,255,255,0.4); }
.btn-outline:hover { background: white; color: var(--primary); border-color: white; }

.btn-light { background: white; color: var(--primary); border-color: var(--border); }
.btn-light:hover { background: var(--bg-cream); border-color: var(--accent); }

.btn-whatsapp { background: #25D366; color: white; }
.btn-whatsapp:hover { background: #1FB855; transform: translateY(-2px); }

.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 15px; }
.btn-sm { padding: 9px 16px; font-size: 13px; }

/* ============================================
   SECCIONES
   ============================================ */
.section { padding: 80px 0; }
.section-bg { background: var(--bg-soft); }
.section-cream { background: var(--bg-cream); }

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 50px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.eyebrow::before, .eyebrow::after {
    content: '';
    height: 1px;
    width: 28px;
    background: var(--accent);
}

.section h2 {
    font-size: clamp(32px, 4.5vw, 46px);
    color: var(--primary);
    margin-bottom: 14px;
    line-height: 1.1;
}

.section h2 em { color: var(--accent); font-style: italic; }

.section-subtitle {
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.7;
}

/* ============================================
   MENÚ - CATEGORÍAS TABS
   ============================================ */
.menu-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    overflow-x: auto;
    padding: 4px;
}

.menu-tab {
    padding: 10px 20px;
    border-radius: var(--radius-full);
    background: white;
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 1.5px solid var(--border);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.menu-tab:hover { color: var(--primary); border-color: var(--primary); }

.menu-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ============================================
   PLATILLOS GRID
   ============================================ */
.platillos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.platillo-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.platillo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.platillo-card.no-disponible {
    opacity: 0.6;
}

.platillo-card.no-disponible .platillo-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.4);
}

.platillo-img {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-cream);
    position: relative;
}

.platillo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.platillo-card:hover .platillo-img img { transform: scale(1.05); }

.platillo-tags {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.platillo-tag {
    padding: 3px 9px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: white;
    color: var(--text);
    box-shadow: var(--shadow-sm);
}

.tag-destacado { background: var(--accent); color: white; }
.tag-vegetariano { background: var(--olive); color: white; }
.tag-picante { background: var(--danger); color: white; }
.tag-no-dispo { background: var(--text-muted); color: white; }

.platillo-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.platillo-cat {
    font-size: 11px;
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 6px;
}

.platillo-card h3 {
    font-size: 21px;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.2;
}

.platillo-desc {
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 14px;
    flex: 1;
}

.platillo-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    margin-bottom: 14px;
}

.platillo-precio {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
}

.platillo-tiempo {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.platillo-add-btn {
    background: var(--primary);
    color: white;
    padding: 11px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    width: 100%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.platillo-add-btn:hover { background: var(--accent); }
.platillo-add-btn:disabled { background: var(--text-muted); cursor: not-allowed; }

.platillo-no-dispo-msg {
    background: var(--bg-cream);
    color: var(--text-soft);
    padding: 11px;
    border-radius: var(--radius-md);
    font-size: 12px;
    text-align: center;
    font-weight: 600;
}

/* ============================================
   CARRITO DRAWER
   ============================================ */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(45, 27, 17, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
    z-index: 200;
}

.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 420px;
    background: white;
    z-index: 201;
    transform: translateX(100%);
    transition: transform var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
}

.cart-drawer.open { transform: translateX(0); }

.cart-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-cream);
}

.cart-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

.cart-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--text-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-close:hover { background: white; color: var(--primary); }

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}

.cart-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.cart-item:last-child { border-bottom: none; }

.cart-item img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.cart-item-name {
    font-weight: 600;
    font-size: 13px;
    color: var(--primary);
    margin-bottom: 4px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-cream);
    border-radius: var(--radius-full);
    padding: 4px;
    width: fit-content;
}

.qty-btn {
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qty-btn:hover { background: var(--primary); color: white; }

.qty-value {
    min-width: 20px;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
}

.cart-item-price {
    text-align: right;
}

.cart-item-price .price {
    font-weight: 700;
    color: var(--primary);
    font-size: 14px;
    margin-bottom: 4px;
}

.cart-item-remove {
    color: var(--text-muted);
    font-size: 11px;
    text-decoration: underline;
}

.cart-item-remove:hover { color: var(--danger); }

.cart-empty {
    padding: 60px 20px;
    text-align: center;
}

.cart-empty-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--text-muted);
}

.cart-empty h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 6px;
}

.cart-empty p { color: var(--text-soft); font-size: 14px; margin-bottom: 20px; }

.cart-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    background: var(--bg-cream);
}

.cart-summary { margin-bottom: 14px; }

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13px;
    color: var(--text-soft);
}

.cart-summary-row.total {
    border-top: 1px dashed var(--accent);
    padding-top: 12px;
    margin-top: 8px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

/* ============================================
   CHECKOUT
   ============================================ */
.checkout-wrap {
    padding: 50px 0 80px;
    background: var(--bg-soft);
    min-height: 80vh;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 28px;
}

.checkout-main {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 32px;
}

.checkout-summary {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 24px;
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
}

.form-section {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.form-section:last-of-type { border-bottom: none; }

.form-section h3 {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section h3 .step-num {
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.tipo-entrega-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.tipo-entrega {
    position: relative;
    padding: 18px 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    background: white;
}

.tipo-entrega:hover { border-color: var(--accent); }

.tipo-entrega input { position: absolute; opacity: 0; }

.tipo-entrega:has(input:checked) {
    border-color: var(--primary);
    background: var(--accent-light);
}

.tipo-entrega .icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.tipo-entrega .titulo {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
}

.tipo-entrega .sub {
    font-size: 11px;
    color: var(--text-muted);
}

.metodo-pago-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.metodo-pago {
    position: relative;
    padding: 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    background: white;
}

.metodo-pago:hover { border-color: var(--accent); }
.metodo-pago input { position: absolute; opacity: 0; }
.metodo-pago:has(input:checked) {
    border-color: var(--primary);
    background: var(--accent-light);
}

.metodo-pago .icon { font-size: 22px; margin-bottom: 4px; }
.metodo-pago .titulo { font-size: 12px; font-weight: 700; color: var(--primary); }

.form-group { margin-bottom: 14px; }

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-label .req { color: var(--danger); }

.form-control {
    width: 100%;
    padding: 11px 14px;
    font-family: inherit;
    font-size: 14px;
    background: var(--bg-cream);
    border: 1.5px solid transparent;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    background: white;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 160, 74, 0.15);
}

textarea.form-control { resize: vertical; min-height: 70px; }

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B5447' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* RESUMEN CHECKOUT */
.summary-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.summary-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 16px;
}

.summary-item {
    display: grid;
    grid-template-columns: 50px 1fr auto;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    align-items: center;
    font-size: 13px;
}

.summary-item:last-child { border-bottom: none; }

.summary-item img {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.summary-item .nombre {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2px;
    font-size: 12px;
}

.summary-item .qty {
    color: var(--text-muted);
    font-size: 11px;
}

.summary-item .precio {
    font-weight: 700;
    color: var(--primary);
    font-size: 13px;
}

.summary-totals {
    background: var(--bg-cream);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-bottom: 14px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 13px;
    color: var(--text-soft);
}

.summary-row.total {
    border-top: 1px solid var(--border-strong);
    padding-top: 10px;
    margin-top: 6px;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

/* ============================================
   FOOTER & FAB
   ============================================ */
footer {
    background: var(--primary);
    color: rgba(255, 253, 248, 0.75);
    padding: 60px 0 30px;
}

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

.footer-brand .logo { color: white; margin-bottom: 16px; display: block; }
.footer-brand p { font-size: 14px; line-height: 1.6; margin-bottom: 16px; max-width: 280px; }

.footer-socials { display: flex; gap: 8px; }
.footer-socials a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}
.footer-socials a:hover { background: var(--accent); }

.footer-col h4 {
    font-family: var(--font-body);
    color: white;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col li { padding: 5px 0; font-size: 14px; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
}

.footer-bottom .powered { color: rgba(255, 255, 255, 0.5); }
.footer-bottom .powered a { color: var(--accent); }

.wa-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 90;
    animation: pulse-wa 2.5s infinite;
}

.wa-fab:hover { transform: scale(1.1); }

/* ============================================
   TOAST
   ============================================ */
.toast {
    position: fixed;
    bottom: 100px;
    right: 24px;
    background: var(--primary);
    color: white;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    z-index: 300;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }

/* ============================================
   CONFIRMACIÓN
   ============================================ */
.confirmation {
    max-width: 640px;
    margin: 50px auto;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.conf-header {
    text-align: center;
    padding: 50px 30px 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.conf-check {
    width: 88px;
    height: 88px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.conf-header h1 { font-size: 32px; margin-bottom: 8px; }
.conf-header p { color: rgba(255,255,255,0.85); }

.conf-numero {
    display: inline-block;
    margin-top: 16px;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-family: monospace;
    font-size: 13px;
}

.conf-body { padding: 32px; }

.conf-info {
    background: var(--accent-light);
    color: var(--accent-dark);
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.6;
    border: 1px solid var(--border-strong);
}

.conf-info strong { color: var(--primary); }

.conf-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    gap: 16px;
}

.conf-row:last-child { border-bottom: none; }

.conf-row .label {
    color: var(--text-soft);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.conf-row .value {
    color: var(--primary);
    font-weight: 500;
    text-align: right;
}

.conf-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    justify-content: center;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 14px rgba(37, 211, 102, 0); }
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { max-width: 380px; margin: 0 auto; }
    .hero-floating { display: none; }
    .platillos-grid { grid-template-columns: repeat(2, 1fr); }
    .checkout-grid { grid-template-columns: 1fr; }
    .checkout-summary { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .nav-links { display: none; }
    .nav-toggle { display: inline-flex; }
    .platillos-grid { grid-template-columns: 1fr; }
    .checkout-main { padding: 20px; }
    .form-row { grid-template-columns: 1fr; }
    .tipo-entrega-grid { grid-template-columns: 1fr; }
    .metodo-pago-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
}
