/* ===== VARIABLES Y RESET ===== */
:root {
    --primary: #2563eb;        /* Azul vibrante */
    --primary-dark: #1d4ed8;
    --secondary: #7c3aed;      /* Púrpura */
    --accent: #f59e0b;          /* Ámbar */
    --dark: #0f172a;
    --gray-800: #1e293b;
    --gray-600: #475569;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --white: #ffffff;
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius: 12px;
    --font-sans: 'Inter', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-sans); color: var(--gray-800); line-height: 1.5; background: var(--white); }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
.site-header {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--gray-200);
}
.header-container { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.logo-text { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px; color: var(--dark); }
.logo-text .dot { color: var(--primary); }
.main-nav ul { display: flex; list-style: none; gap: 2rem; align-items: center; }
.main-nav a { text-decoration: none; font-weight: 600; color: var(--gray-600); transition: color 0.2s; }
.main-nav a:hover { color: var(--primary); }
.btn-outline { border: 1.5px solid var(--gray-800); padding: 0.5rem 1.25rem; border-radius: 40px; color: var(--gray-800) !important; font-weight: 700; }
.btn-outline:hover { background: var(--gray-800); color: white !important; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; color: var(--gray-800); cursor: pointer; }

/* ===== HERO ===== */
.hero { background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%); padding: 5rem 0; }
.hero-content { text-align: center; max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.02em; color: var(--dark); margin-bottom: 1.5rem; }
.hero .highlight { color: var(--primary); background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.25rem; color: var(--gray-600); margin-bottom: 2.5rem; max-width: 650px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary, .btn-secondary { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 2rem; border-radius: 60px; font-weight: 600; text-decoration: none; transition: all 0.2s; }
.btn-primary { background: var(--primary); color: white; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-dark); transform: scale(1.05); }
.btn-secondary { background: var(--white); color: var(--primary); border: 2px solid var(--primary); }
.btn-secondary:hover { background: var(--gray-100); }

/* ===== SECCIONES GENERALES ===== */
section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag { display: inline-block; background: var(--gray-200); padding: 0.3rem 1rem; border-radius: 40px; font-size: 0.85rem; font-weight: 700; color: var(--gray-600); letter-spacing: 0.5px; margin-bottom: 1rem; }
.section-header h2 { font-size: 2.25rem; font-weight: 800; color: var(--dark); margin-bottom: 1rem; }
.section-subhead { font-size: 1.2rem; color: var(--gray-600); max-width: 700px; margin: 0 auto; }

/* ===== GRID DE CARACTERÍSTICAS (Inventario) ===== */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-top: 2rem; }
.feature-card { background: var(--white); padding: 2rem 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); text-align: center; border: 1px solid var(--gray-200); transition: transform 0.2s, box-shadow 0.2s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.feature-card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--dark); }
.feature-card p { font-size: 0.95rem; color: var(--gray-600); }
.section-footer-btn { text-align: center; margin-top: 3rem; }
.btn-large { padding: 1rem 2.5rem; font-size: 1.1rem; }

/* ===== SECCIÓN RESTAURANTES ===== */
.section-restaurants { background: var(--gray-100); }
.restaurant-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.restaurant-features-list { list-style: none; margin-bottom: 2rem; }
.restaurant-features-list li { margin-bottom: 1.5rem; display: flex; gap: 1rem; align-items: flex-start; }
.restaurant-features-list i { font-size: 1.5rem; color: var(--primary); min-width: 2rem; }
.restaurant-features-list strong { color: var(--dark); }
.restaurant-image { background: #d9d9d9; border-radius: var(--radius); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; color: var(--gray-600); } /* Placeholder */

/* ===== DESARROLLO PERSONALIZADO ===== */
.section-custom { background: var(--white); }
.custom-content { display: flex; justify-content: center; }
.custom-card { max-width: 700px; text-align: center; background: linear-gradient(145deg, var(--white), var(--gray-100)); padding: 3rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200); }
.custom-card i { font-size: 3rem; color: var(--secondary); margin-bottom: 1.5rem; }
.custom-card h3 { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
.custom-card p { font-size: 1.1rem; color: var(--gray-600); margin-bottom: 1.5rem; }

/* ===== CONTACTO ===== */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 2rem; }
.contact-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 2rem; text-align: center; box-shadow: var(--shadow-sm); }
.contact-card i { font-size: 2.2rem; color: var(--primary); margin-bottom: 1rem; }
.contact-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.contact-card p, .contact-card a { color: var(--gray-600); text-decoration: none; font-size: 1rem; }
.contact-card .btn-whatsapp { display: inline-block; margin-top: 1rem; background: #25D366; color: white; padding: 0.6rem 1.2rem; border-radius: 40px; font-weight: 600; text-decoration: none; }
.contact-card .btn-outline { margin-top: 1rem; display: inline-block; }

/* ===== FOOTER ===== */
.site-footer { background: var(--dark); color: var(--gray-200); padding: 2.5rem 0; text-align: center; }
.footer-stats { display: flex; justify-content: center; gap: 3rem; margin-bottom: 1.5rem; font-size: 1rem; }
.footer-stats i { color: var(--accent); margin-right: 0.3rem; }
.footer-links { border-top: 1px solid var(--gray-800); padding-top: 1.5rem; display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.footer-links a { color: var(--gray-300); text-decoration: none; }
.footer-links a:hover { color: white; }

/* ===== MODAL (igual al anterior, con ajustes) ===== */
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.7); align-items: center; justify-content: center; }
.modal-content { background: white; margin: auto; padding: 2rem; border-radius: 16px; max-width: 400px; width: 90%; text-align: center; position: relative; }
.close-modal { position: absolute; top: 10px; right: 20px; font-size: 28px; cursor: pointer; }
.modal input { width: 100%; padding: 12px; margin: 15px 0; border: 1px solid #ccc; border-radius: 8px; }
.modal button { background: var(--primary); color: white; border: none; padding: 12px 24px; border-radius: 40px; font-weight: bold; width: 100%; cursor: pointer; }
.error-msg { color: #dc2626; margin-top: 10px; display: none; }

/* ===== BOTÓN ASISTENTE ===== */
.hair-style { position: fixed; bottom: 20px; right: 20px; width: 56px; height: 56px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.8rem; cursor: pointer; z-index: 100; box-shadow: var(--shadow-lg); transition: transform 0.2s; }
.hair-style:hover { transform: scale(1.1); background: var(--primary-dark); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .main-nav { display: none; position: absolute; top: 70px; left: 0; width: 100%; background: white; padding: 1rem; box-shadow: var(--shadow-sm); border-bottom: 1px solid var(--gray-200); }
    .main-nav.show { display: block; }
    .main-nav ul { flex-direction: column; gap: 1rem; }
    .restaurant-content { grid-template-columns: 1fr; }
    .footer-stats { flex-direction: column; gap: 1rem; }
}

/* ===== LOGO ===== */
.site-logo {
    height: 45px; /* Ajusta según tu imagen */
    width: auto;
    display: block;
}

/* ===== FEATURE CARD DESTACADA (Sucursales) ===== */
.feature-card.highlight-card {
    border: 2px solid var(--primary);
    background: linear-gradient(145deg, #ffffff, #f0f7ff);
    transform: scale(1.02);
}
.feature-card.highlight-card i {
    color: var(--accent);
}

/* ===== MINI CARACTERÍSTICAS DESARROLLO ===== */
.custom-features-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
}
.custom-features-mini span {
    background: var(--gray-200);
    padding: 0.5rem 1rem;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-800);
}
.custom-features-mini i {
    color: var(--primary);
    margin-right: 0.3rem;
}

/* ===== CONTACT CARDS (ajuste para dos elementos) ===== */
.contact-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}