@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,700;1,400&family=Montserrat:wght@400;600;700&display=swap');

:root {
    --bg-color: #fbf8f1; /* Crema cálido tapero */
    --text-color: #2c251f; /* Marrón muy oscuro */
    --primary-color: #c0392b; /* Terracotta / Rojo Fuerte */
    --secondary-color: #1a1a1a; 
    --accent-color: #e67e22; /* Ocre cálido */
    
    --heading-font: 'Lora', serif; /* Más amable y castizo que Playfair */
    --body-font: 'Montserrat', sans-serif;
    
    --agency-bar-height: 56px;
    --nav-height: 80px;
}

/* Reset y base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--body-font); background-color: var(--bg-color); color: var(--text-color);
    line-height: 1.6; overflow-x: hidden;
}

/* Utils */
.container { max-width: 1300px; margin: 0 auto; padding: 0 4vw; }
h1, h2, h3, h4 { font-family: var(--heading-font); color: var(--text-color); line-height: 1.15; }
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }

/* Tipografía pequeña */
.eyebrow { display: block; font-weight: 700; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.15em; color: var(--bg-color); margin-bottom: 1rem; }
.eyebrow-dark { display: block; font-weight: 700; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.15em; color: var(--primary-color); margin-bottom: 1rem; border-bottom: 2px solid var(--accent-color); padding-bottom: 0.5rem; display: inline-block; }

/* Botones con color alegre */
.btn {
    display: inline-flex; align-items: center; justify-content: center; font-family: var(--body-font); font-weight: 700;
    font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; padding: 1.2rem 2.5rem; cursor: pointer;
    text-decoration: none; border: none; transition: 0.3s; border-radius: 4px; /* Un poco redondeado, menos brutalista */
}
.btn-primary { background: var(--primary-color); color: #fff; box-shadow: 0 4px 15px rgba(192, 57, 43, 0.3); }
.btn-primary:hover { background: #96281e; transform: translateY(-2px); }
.btn-secondary { background: rgba(255,255,255,0.9); color: var(--text-color); }
.btn-secondary:hover { background: #fff; transform: translateY(-2px); }

/* B2B Agency Bar */
.agency-bar {
    position: fixed; top: 0; left: 0; width: 100%; height: var(--agency-bar-height);
    background: #111; color: #fff; display: flex; align-items: center; justify-content: space-between;
    padding: 0 4vw; z-index: 2000; font-family: sans-serif; font-size: 0.8rem;
}
.agency-left { display: flex; align-items: center; gap: 1rem; }
.agency-badge { background: #fff; color: #000; padding: 4px 8px; font-weight: 700; border-radius: 3px; }
.agency-actions { display: flex; gap: 1rem; align-items: center; }
.agency-link { color: #ccc; text-decoration: none; }
.agency-cta { background: var(--accent-color); color: #fff; padding: 6px 14px; border-radius: 3px; font-weight: 700; text-decoration: none; }
@media(max-width: 800px) { .agency-bar { flex-wrap: wrap; height: auto; padding: 10px 4vw; justify-content: center; gap:10px; text-align: center; } }

/* Sticky Nav Cálido */
.site-nav {
    position: fixed; top: var(--agency-bar-height); left: 0; width: 100%; height: var(--nav-height);
    background: rgba(251, 248, 241, 0.96); backdrop-filter: blur(8px); z-index: 100;
    display: flex; align-items: center; border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 4vw; display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--heading-font); font-size: 1.8rem; font-weight: 700; color: var(--primary-color); text-decoration: none; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { font-weight: 600; font-size: 0.85rem; text-transform: uppercase; color: var(--text-color); text-decoration: none; transition: 0.2s; }
.nav-links a:hover { color: var(--primary-color); }
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--primary-color); }

@media(max-width: 1000px) { .nav-links, .nav-actions { display: none; } .menu-toggle { display: block; } }

/* Hero Clásico y Vibrante */
.hero {
    position: relative; padding-top: calc(var(--agency-bar-height) + var(--nav-height));
    min-height: 90vh; display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center; z-index: -2;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
    background: linear-gradient(to bottom, rgba(44, 37, 31, 0.6), rgba(192, 57, 43, 0.6)); /* Ocre/Rojo Overlay */
}
.hero-content {
    max-width: 800px; color: #fff; padding: 2rem;
}
.hero-content h1 {
    font-size: clamp(3rem, 6vw, 5.5rem); color: #fff; margin-bottom: 1.5rem; font-style: italic;
}
.hero-content p {
    font-size: 1.2rem; font-weight: 400; opacity: 0.95; margin-bottom: 2.5rem; line-height: 1.8;
}
.hero-buttons { display: flex; gap: 1.5rem; justify-content: center; }
@media(max-width: 600px) { .hero-buttons { flex-direction: column; } }

/* Ticker Vibrante */
.ticker-strip {
    background: var(--accent-color); color: #fff; padding: 1rem 0; overflow: hidden; white-space: nowrap;
    font-weight: 700; font-size: 1rem; letter-spacing: 0.1em;
}
.ticker-content { display: inline-flex; animation: scroll 40s linear infinite; }
.t-item { padding: 0 1.5rem; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Historia de Barrio (Relajado) */
.story-section { padding: 8rem 0; background: #fff; border-bottom: 1px solid rgba(0,0,0,0.05); }
.double-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.story-text h2 { font-size: 3rem; color: var(--text-color); margin-bottom: 2rem; }
.story-text p { font-size: 1.1rem; color: #555; margin-bottom: 1.5rem; text-align: justify; }
.story-badge { margin-top: 3rem; padding: 1.5rem; border: 2px dashed var(--accent-color); display: inline-block; border-radius: 4px; font-weight: 700; color: var(--primary-color); }
.story-image img { width: 100%; height: 600px; object-fit: cover; border-radius: 8px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
@media(max-width: 900px) { .double-cols { grid-template-columns: 1fr; gap: 3rem; } .story-image img { height: 400px; } }

/* La Hora del Vermut (Rojo Boxed) */
.vermouth-section { padding: 6rem 0; background: var(--bg-color); }
.vermouth-box {
    background: var(--primary-color); border-radius: 12px; display: grid; grid-template-columns: 1fr 1fr;
    overflow: hidden; box-shadow: 0 30px 60px rgba(192, 57, 43, 0.2);
}
.vermouth-text { padding: 5rem; display: flex; flex-direction: column; justify-content: center; }
.vermouth-text h2 { font-size: 3.5rem; color: #fff; margin-bottom: 1.5rem; font-style: italic; }
.vermouth-text p { font-size: 1.15rem; color: rgba(255,255,255,0.9); }
.vermouth-img img { width: 100%; height: 100%; object-fit: cover; }
@media(max-width: 900px) { .vermouth-box { grid-template-columns: 1fr; } .vermouth-text { padding: 3rem; } .vermouth-img img { height: 350px; } }

/* La Menu (Denso pero Limpio) */
.menu-section { padding: 8rem 0; background: #fff; }
.menu-header { text-align: center; margin-bottom: 5rem; }
.menu-header h2 { font-size: 4rem; color: var(--primary-color); }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 4rem; }
.m-col h3 { font-size: 2rem; color: var(--accent-color); margin-bottom: 3rem; border-bottom: 2px solid var(--accent-color); padding-bottom: 0.5rem; display: inline-block; }
.dish { margin-bottom: 2.5rem; }
.dish-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.4rem; }
.d-name { font-weight: 700; font-family: var(--heading-font); font-size: 1.25rem; color: var(--text-color); }
.d-dots { flex-grow: 1; border-bottom: 2px dotted rgba(0,0,0,0.2); margin: 0 1rem; position: relative; top: -5px; }
.d-price { font-weight: 700; color: var(--primary-color); font-size: 1.1rem; }
.d-desc { font-size: 0.95rem; color: #666; }

/* Destacado Dish */
.dish-highlight { background: var(--bg-color); padding: 2.5rem; border-left: 4px solid var(--primary-color); border-radius: 4px; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.dish-highlight h4 { font-size: 1.8rem; color: var(--primary-color); margin-bottom: 0.5rem; }
.dish-highlight p { margin-bottom: 1.5rem; color: #555; }
.tag-price { background: var(--text-color); color: #fff; padding: 0.5rem 1rem; font-weight: 700; font-size: 0.9rem; border-radius: 4px; }

/* Testimonios (Simples y Claros) */
.reviews-section { padding: 6rem 0 10rem; background: var(--bg-color); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.rev-card { background: #fff; padding: 3rem; border-radius: 8px; box-shadow: 0 15px 30px rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.05); display: flex; flex-direction: column; }
.rc-stars { color: var(--accent-color); font-size: 1.5rem; letter-spacing: 0.1em; margin-bottom: 1.5rem; }
.rev-card p { font-family: var(--heading-font); font-style: italic; font-size: 1.3rem; margin-bottom: 2rem; color: #444; flex-grow: 1; }
.rc-author { font-weight: 700; font-size: 0.85rem; color: var(--primary-color); text-transform: uppercase; letter-spacing: 0.05em; margin-top: auto; }

/* Main Footer Colossal retained */
.main-footer { position: relative; color: #fff; min-height: 85vh; display: flex; flex-direction: column; justify-content: flex-end; }
.footer-bg-img { position: absolute; top:0; left:0; width:100%; height:100%; background-size: cover; background-position: center; filter: grayscale(0.5); }
.footer-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: linear-gradient(to top, rgba(26,26,26,1) 10%, rgba(26,26,26,0.7) 100%); backdrop-filter: blur(3px); }
.footer-content { position: relative; z-index: 2; padding: 6rem 4vw 4rem; width: 100%; }
.giant-footer { font-size: clamp(4rem, 10vw, 8rem); margin-bottom: 4rem; color: var(--accent-color); font-style: italic; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; margin-bottom: 3rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 3rem; }
.f-col h4 { color: #fff; font-family: var(--body-font); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem; opacity: 0.5; }
.f-col p { color: rgba(255,255,255,0.9); font-size: 1.1rem; line-height: 1.8; }
.f-note { font-size: 0.8rem; opacity: 0.6; margin-top: 0.5rem; }
.footer-bottom { position: relative; z-index: 2; text-align: center; padding: 2rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; opacity: 0.5; }

/* Simple Modal */
.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; z-index: 9999; opacity: 0; pointer-events: none; transition: 0.3s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-cover { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); backdrop-filter: blur(5px); }
.modal-content { background: #fff; padding: 3rem; width: 90%; max-width: 500px; position: relative; border-radius: 8px; transform: scale(0.95); transition: 0.3s; z-index: 2; }
.modal.open .modal-content { transform: scale(1); }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; border-bottom: 2px solid var(--primary-color); padding-bottom: 1rem; }
.modal-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--primary-color); }
.m-info { font-size: 0.8rem; color: #666; margin-bottom: 2rem; font-weight: 600; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; margin-bottom: 0.5rem; color: var(--text-color); }
.form-group input, .form-group select { width: 100%; padding: 1rem; border: 1px solid #ddd; font-family: var(--body-font); border-radius: 4px; }
.form-group input:focus { outline: none; border-color: var(--primary-color); }
