/* SEPARAMOS HTML Y BODY PARA QUE EL BODY NO TAPE AL VIDEO */
html {
    background: var(--body-base-bg); 
    background-attachment: fixed; 
    background-size: cover; 
    background-position: center;
}
body {
    margin: 0; padding: 0; min-height: 100vh;
    background: transparent; /* <-- Deja ver el video atrás */
    color: var(--neutral_light); font-family: "Raleway", sans-serif; font-weight: 300; line-height: 1.5;
    -webkit-font-smoothing: antialiased; padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom);
    overscroll-behavior-y: none;
}

.body-media-layer { position: fixed; inset: 0; z-index: -2; overflow: hidden; }
.body-media-layer img, .body-media-layer video { width: 100%; height: 100%; object-fit: cover; display: block; }
.body-overlay-layer { position: fixed; inset: 0; z-index: -1; background: var(--body-overlay); }

h1, h2, h3, h4, h5 { font-family: "Raleway", sans-serif; font-weight: 700; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
a { text-decoration: none; color: inherit; }

.custom-scrollbar { overflow-x: auto; display: flex; gap: 16px; padding-bottom: 10px; scrollbar-width: none; }
.custom-scrollbar::-webkit-scrollbar { display: none; }
.material-symbols-outlined { vertical-align: middle; font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }

/* =========================================
   CLASES DE UTILIDAD (Reemplazo de estilos en línea)
   ========================================= */
.module-padded { padding: 0 20px; }
.module-margin-x { margin: 0 20px; }
.text-justify { text-align: justify; }
.mt-10 { margin-top: 10px; }
.mt-15 { margin-top: 15px; }
.mb-5 { margin-bottom: 5px; }
.mb-20 { margin-bottom: 20px; }

/* Ajustes específicos de Modales / Secciones */
.modal-title-custom { color: var(--modal-text-main); }
.dna-section-divider { margin-top: 30px; border-top: 1px solid var(--modal-border); padding-top: 20px; }
.btn-flex-center { display: flex; align-items: center; justify-content: center; gap: 8px; }
.icon-box-20 { width: 20px; height: 20px; display: inline-block; }

/* =========================================
   3. LAYOUT PRINCIPAL (Móvil centrado)
   ========================================= */
.app-container {
    width: 960px;
    max-width: 100vw;
    margin: 0 auto;
    background: var(--app-bg); padding-bottom: 80px; position: relative;
    overflow-x: hidden; box-shadow: 0 0 50px rgba(0,0,0, 0.4); min-height: 100vh;
}

/* =========================================
   4. HEADER & PERFIL HERO
   ========================================= */
.header { position: relative; margin-bottom: 60px; }
.cover-image { position: relative; height: 220px; width: 100%; overflow: hidden; background-color: transparent; }
.cover-image img, .cover-image video { width: 100%; height: 100%; object-fit: cover; display: block; object-position: center; }
.cover-overlay { position: absolute; inset: 0; z-index: 5; background: var(--hero-overlay); }
.profile-container { position: absolute; bottom: -50px; left: 20px; z-index: 20; }
.profile-pic { width: 150px; height: 150px; border-radius: 50%; border: 4px solid var(--app-bg-raw); background-color: var(--neutral_light); object-fit: cover; background-size: cover; background-position: center; box-shadow: var(--shadow); }

/* =========================================
   6. SECCIÓN INFO PERFIL
   ========================================= */

/* Centralizamos todo el respiro superior aquí */
.section-padding { 
    padding: 1rem 20px 0 20px; 
    margin-top: 40px; /* Aumentamos a 40px para alejarlo notablemente del badge */
    margin-bottom: 20px; 
}

/* Evitamos que el ID interfiera con la clase */
#ez-hero-texts {
    margin-top: 0; 
}

.section-margin { margin: 35px 0; }

/* Contenedor del nombre y verificado */
.title-row { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    margin-bottom: 4px; 
}

/* Reset de márgenes en H1 */
.title-row h1 { 
    font-size: 28px; 
    color: var(--text_main); 
    margin: 0; 
    padding: 0; 
    line-height: 1.1; 
}

.verified-icon { color: var(--accent_secondary); font-size: 24px; }

/* Subtítulo (Sucursal) */
.subtitle-text { 
    font-family: "Raleway", sans-serif; 
    font-size: 16px; 
    font-weight: 500; 
    color: var(--accent_secondary); 
    margin: 0 0 6px 0;  
    letter-spacing: 1px; 
    line-height: 1.2;
}

/* Subtítulo (Sucursal) */
.subtitle-text2 { 
    font-family: "Raleway", sans-serif; 
    font-size: 16px; 
    font-weight: 500; 
    color: var(--text_main); 
    margin: 0 0 6px 0;  
    letter-spacing: 1px; 
    line-height: 1.2;
}

/* Slogan */
.slogan-text { 
    font-size: 14px; 
    font-weight: 500; 
    color: var(--accent_secondary); 
    margin: 0 0 8px 0; 
    line-height: 1.3;
}

/* Bio / Descripción corta */
.bio-text { 
    margin-top: 10px; 
    color: var(--text_muted); 
    font-size: 14px; 
    line-height: 1.6; 
}

.highlight { color: var(--accent_secondary); font-weight: 600; }

/* =========================================
   7. SISTEMA UNIVERSAL DE MODALES
   ========================================= */
/* ... (Todo tu código de modales se queda tal cual, ya que las variables --modal-system y --modal-cta se inyectan perfecto desde el PHP) ... */

.ez-modal { position: fixed; inset: 0; z-index: 5000; display: flex; align-items: flex-end; justify-content: center; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.35s ease, visibility 0.35s ease; }
.ez-modal.active { opacity: 1; visibility: visible; pointer-events: auto; }
.ez-modal-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.65); backdrop-filter: blur(10px); overflow: hidden; -webkit-backdrop-filter: blur(10px); }

.ez-modal-panel {
    position: relative; width: 100%; max-width: 600px; max-height: 85vh; margin: 0 auto; border-radius: var(--radius-xl) var(--radius-xl) 0 0; display: flex; flex-direction: column; transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    --modal-bg: var(--modal-system-bg); --modal-text-main: var(--modal-system-text-main); --modal-text-muted: var(--modal-system-text-muted); --modal-border: var(--modal-system-border); --modal-shadow: var(--modal-system-shadow);
    background: var(--modal-bg); border-top: var(--modal-border); box-shadow: var(--modal-shadow);
}
.ez-modal.active .ez-modal-panel { transform: translateY(0); }
.ez-modal-panel .b-info-subtitle, .ez-modal-panel .text-muted { color: var(--modal-text-muted); }
.ez-modal-content { flex: 1; overflow-y: auto; padding: 1.5rem; }
.ez-modal-content::-webkit-scrollbar { width: 6px; }
.ez-modal-content::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2); border-radius: 6px; }

.ez-modal-panel.role-cta { --modal-bg: var(--modal-cta-bg); --modal-text-main: var(--modal-cta-text-main); --modal-text-muted: var(--modal-cta-text-muted); --modal-border: var(--modal-cta-border); --modal-shadow: var(--modal-cta-shadow); }

.ez-modal-header { border-bottom: var(--modal-border); padding: 20px 20px 15px; text-align: center; position: relative; flex-shrink: 0; }
.ez-drag-handle { width: 40px; height: 4px; border-radius: 4px; background: var(--modal-border); margin: 0 auto 15px auto; }
.ez-modal-title { color: var(--modal-text-main); font-size: 18px; font-weight: 800; margin: 0; line-height: 1.2; }
.ez-modal-close { position: absolute; top: 15px; right: 15px; width: 36px; height: 36px; border-radius: 50%; background: transparent; color: var(--modal-text-main); border: var(--modal-border); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform 0.2s ease, background 0.2s ease; }
.ez-modal-close:hover { background: rgba(128,128,128, 0.1); transform: scale(1.05); }
.ez-modal-body { padding: 25px 20px 40px; overflow-y: auto; scrollbar-width: none; }
.ez-modal-body::-webkit-scrollbar { display: none; }
.ez-modal-desc { color: var(--modal-text-muted); font-size: 14px; margin-bottom: 24px; }
.text-center { text-align: center; }



/* =========================================
   8. QUICK ACTIONS & MODALES UNIFICADOS
   ========================================= */

/* --- GRID DE BOTONES PRINCIPALES (QUICK ACTIONS) --- */
.action-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 35px 0;
}
.action-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background-color: var(--glass-bg); border: 1px solid var(--glass-border);
    padding: 16px 4px; border-radius: var(--radius-lg); transition: var(--transition-smooth);
    cursor: pointer; backdrop-filter: blur(10px);
}
.action-btn span.material-symbols-outlined { color: var(--text_main); margin-bottom: 8px; font-size: 26px; transition: var(--transition-smooth); }
.action-label { font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--text_main); letter-spacing: 0.5px; transition: var(--transition-smooth); }
.action-btn:hover { background-color: rgba(var(--text_main-rgb), 0.08); border-color: rgba(var(--accent_secondary-rgb), 0.4); transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.action-btn:hover span.material-symbols-outlined { color: var(--accent_secondary); transform: scale(1.15); }
.action-btn:hover .action-label { color: var(--accent_secondary); }
.action-btn:active { background-color: rgba(var(--text_main-rgb), 0.05); transform: scale(0.94); }

/* --- BOTONES INTERNOS DE MODALES --- */
.modal-primary-btn {
    width: 100%; padding: 14px; background: var(--accent_secondary); color: var(--btn_secondary_text, #FFFFFF); 
    border: none; border-radius: 14px; font-weight: bold; cursor: pointer; 
    display: flex; justify-content: center; align-items: center; gap: 8px; transition: all 0.2s;
}
.modal-primary-btn:hover { background: rgba(var(--accent_secondary-rgb), 0.9); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(var(--accent_secondary-rgb), 0.3); }
.modal-primary-btn:active { transform: scale(0.98); }

.modal-secondary-btn {
    width: 100%; padding: 14px; border: 1px solid rgba(var(--accent_secondary-rgb), 0.4); color: var(--accent_secondary); 
    border-radius: 14px; font-weight: bold; background: rgba(var(--accent_secondary-rgb), 0.05); 
    cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.2s; margin-bottom: 20px;
}
.modal-secondary-btn:hover { border-color: var(--accent_secondary); background: rgba(var(--accent_secondary-rgb), 0.1); }
.modal-secondary-btn:active { background: var(--accent_secondary); color: var(--btn_secondary_text, #FFFFFF); transform: scale(0.98); }

/* --- ESTILOS ESPECÍFICOS: UBICACIÓN --- */
.map-btn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.map-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    padding: 16px 8px; background: rgba(var(--text_main-rgb), 0.03); border: 1px solid var(--modal-border); 
    border-radius: 14px; color: var(--modal-text-main); font-size: 11px; font-weight: 600; text-transform: uppercase;
    cursor: pointer; transition: var(--transition-smooth);
}
.map-btn .material-symbols-outlined { font-size: 26px; color: inherit; transition: transform 0.3s; }
.map-btn:hover { background: rgba(var(--accent_secondary-rgb), 0.05); border-color: rgba(var(--accent_secondary-rgb), 0.4); color: var(--accent_secondary); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); }
.map-btn:hover .material-symbols-outlined { transform: scale(1.15); }
.map-btn:active { transform: scale(0.96); }

/* --- ESTILOS ESPECÍFICOS: DELIVERY --- */
.delivery-partner-btn {
    width: 100%; box-sizing: border-box; padding: 16px 20px; 
    border: 1px solid var(--modal-border); border-radius: 16px; margin-bottom: 12px; 
    background: rgba(var(--text_main-rgb), 0.03); color: var(--modal-text-main); 
    text-decoration: none; display: flex; align-items: center; gap: 15px; 
    font-weight: 600; font-size: 15px; transition: all 0.2s ease; box-shadow: 0 2px 5px rgba(0,0,0,0.03); 
}
.delivery-partner-btn:hover { 
    background: rgba(var(--accent_secondary-rgb), 0.08); border-color: var(--accent_secondary); 
    color: var(--accent_secondary); transform: translateY(-2px); box-shadow: 0 5px 12px rgba(var(--accent_secondary-rgb), 0.15);
}
.delivery-partner-btn .material-symbols-outlined:first-child { color: var(--accent_secondary); font-size: 28px; }
.delivery-partner-btn .material-symbols-outlined:last-child { color: var(--modal-text-muted); font-size: 20px; transition: color 0.2s; margin-left: auto; }
.delivery-partner-btn:hover .material-symbols-outlined:last-child { color: var(--accent_secondary); }

/* --- ESTILOS ESPECÍFICOS: RESERVAS --- */
#reserveForm { display: flex; flex-direction: column; gap: 12px; padding: 0 10px; }
.form-input {
    width: 100% !important; box-sizing: border-box; display: block; margin-bottom: 0; padding: 14px 18px !important; 
    border: 1px solid var(--modal-border) !important; background: var(--glass-bg) !important; 
    color: var(--modal-text-main) !important; border-radius: 14px !important; font-family: inherit; font-size: 15px !important; 
    appearance: none; -webkit-appearance: none; outline: none; transition: var(--transition-smooth) !important;
}
#reserveForm input.form-input { height: 50px; }
#reserveForm textarea.form-input { height: auto; resize: none; }
.form-input:focus { border-color: var(--accent_secondary) !important; background: rgba(var(--accent_secondary-rgb), 0.05) !important; box-shadow: 0 0 0 4px rgba(var(--accent_secondary-rgb), 0.1); }
#reserveForm input::-webkit-calendar-picker-indicator { filter: invert(0.8); cursor: pointer; }
.res-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.res-success-msg { display:none; margin-top:15px; padding:12px; border:1px solid var(--success); background: rgba(var(--success-rgb), 0.1); color: var(--success); text-align: center; border-radius: 12px; font-size: 13px; font-weight: bold; }

/* --- ESTILOS ESPECÍFICOS: +INFO --- */
.b-info-logo { height: 45px; width: auto; margin-bottom: 12px; display: inline-block; }
.b-info-branch { color: var(--modal-text-muted); font-size: 14px; font-weight: 700; text-transform: uppercase; margin-bottom: 2px; }
.b-info-slogan { color: var(--modal-text-muted); font-size: 13px; font-style: italic; opacity: 0.8; margin-top: 8px; }

.b-info-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.b-info-action-btn { flex: 1; min-width: 120px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 14px; background: rgba(var(--text_main-rgb), 0.03); border: 1px solid var(--modal-border); color: var(--modal-text-main); font-size: 13px; font-weight: 700; text-decoration: none; transition: all 0.2s; }
.b-info-action-btn:hover { background: rgba(var(--accent_secondary-rgb), 0.05); border-color: var(--accent_secondary); color: var(--accent_secondary); transform: translateY(-2px); }
.b-info-action-btn.primary { background: var(--accent_secondary); border-color: var(--accent_secondary); color: var(--btn_secondary_text, #FFFFFF); }
.b-info-action-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(var(--accent_secondary-rgb), 0.4); } 

.b-info-section { margin-bottom: 30px; text-align: left; }
.b-info-section h3 { color: var(--modal-text-main) !important; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; display: flex; align-items: center; gap: 8px; opacity: 0.9; }
.b-info-section h3 .material-symbols-outlined { color: var(--accent_secondary); }
.b-info-desc { color: var(--modal-text-muted) !important; font-size: 14px; line-height: 1.6; margin-bottom: 15px;}
.b-info-address-box { background: rgba(var(--text_main-rgb), 0.03); border: 1px solid var(--modal-border); padding: 15px; border-radius: 14px; cursor: pointer; transition: all 0.2s ease; display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.b-info-address-box:hover { background: rgba(var(--accent_secondary-rgb), 0.05); border-color: var(--accent_secondary); transform: translateY(-2px); }
.b-info-address-action { color: var(--accent_secondary); font-size: 12px; font-weight: 700; display: flex; align-items: center; text-transform: uppercase; white-space: nowrap; }

.b-info-hours { background: rgba(var(--text_main-rgb), 0.02); border-radius: 16px; border: 1px solid var(--modal-border); overflow: hidden; }
.b-info-hour-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--modal-border); font-size: 14px; color: var(--modal-text-muted); transition: background 0.2s; }
.b-info-hour-row:hover { background: rgba(var(--text_main-rgb), 0.05); }
.b-info-hour-row:last-child { border-bottom: none; }
.b-info-hour-row strong { color: var(--modal-text-main) !important; font-weight: 700; }
.b-info-hour-row.today { background: rgba(var(--accent_secondary-rgb), 0.08); border-left: 4px solid var(--accent_secondary); }
.b-info-hour-row.today .day-label { color: var(--accent_secondary); font-weight: 800; text-transform: uppercase; }
.b-info-special-note { font-size: 11px; color: var(--warning); display: block; margin-top: 4px; font-weight: 600; }

.b-attr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.b-attr-pill { display: flex; flex-direction: column; gap: 8px; padding: 14px; background: rgba(var(--text_main-rgb), 0.02); border: 1px solid var(--modal-border); border-radius: 14px; color: var(--modal-text-muted); font-size: 12px; line-height: 1.3; font-weight: 500; transition: var(--transition-smooth); cursor: default; }
.b-attr-pill:hover { background: rgba(var(--accent_secondary-rgb), 0.05); border-color: rgba(var(--accent_secondary-rgb), 0.4); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.b-attr-pill .material-symbols-outlined { color: var(--accent_primary); font-size: 24px; transition: color 0.3s, transform 0.3s; }
.b-attr-pill:hover .material-symbols-outlined { color: var(--accent_secondary); transform: scale(1.1); }
.b-attr-category { margin-bottom: 20px; }
.b-attr-category-title { font-size: 11px; color: var(--modal-text-muted); text-transform: uppercase; margin-bottom: 10px; font-weight: 700; letter-spacing: 0.5px; }

.b-info-hashtags-section { margin-top: 30px; border-top: 1px solid var(--modal-border); padding-top: 20px; text-align: center; }
.b-info-hashtags-text { color: var(--accent_secondary); font-size: 13px; line-height: 1.6; font-weight: 600; word-wrap: break-word; }



/* =========================================
   18. GOOGLE REVIEWS (RESEÑAS)
   ========================================= */
.review-banner {
    background: linear-gradient(145deg, rgba(var(--text_main-rgb), 0.02) 0%, rgba(var(--text_main-rgb), 0.05) 100%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 35px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.review-banner:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: #FFC107; /* Brillo dorado al pasar el mouse */
}

.review-stars {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    color: #FFC107; /* Dorado Clásico de Google */
}

.review-stars .material-symbols-outlined {
    font-variation-settings: 'FILL' 1;
    font-size: 36px;
    filter: drop-shadow(0 2px 10px rgba(255, 193, 7, 0.4));
    animation: pulseStar 2s infinite alternate;
}

/* Animación escalonada para las estrellas */
.review-stars .material-symbols-outlined:nth-child(2) { animation-delay: 0.2s; }
.review-stars .material-symbols-outlined:nth-child(3) { animation-delay: 0.4s; }
.review-stars .material-symbols-outlined:nth-child(4) { animation-delay: 0.6s; }
.review-stars .material-symbols-outlined:nth-child(5) { animation-delay: 0.8s; }

@keyframes pulseStar {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); filter: drop-shadow(0 4px 15px rgba(255, 193, 7, 0.7)); }
}

.review-title {
    color: var(--text_main);
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.2;
}

.review-desc {
    color: var(--text_muted);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 25px;
    max-width: 320px;
}

/* Botón Estandarizado (Igual a Pagar Cuenta / WhatsApp) */
.review-btn {
    width: 100%;
    max-width: 280px;
    height: 56px;
    background: var(--accent_primary);
    color: var(--btn_primary_text, #FFFFFF);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow);
    -webkit-appearance: none;
}

.review-btn:hover {
    background: var(--accent_secondary);
    transform: scale(1.02);
}

/* =========================================
   19. NEWSLETTER (SUSCRIPCIÓN)
   ========================================= */

/* --- Banner CTA Principal --- */
.news-banner-card {
    box-sizing: border-box;
    display: flex; align-items: center; justify-content: space-between; gap: 15px;
    background: linear-gradient(135deg, rgba(var(--accent_primary-rgb), 0.08) 0%, rgba(var(--text_main-rgb), 0.02) 100%);
    border: 1px solid rgba(var(--accent_primary-rgb), 0.2);
    border-radius: var(--radius-xl); padding: 18px 20px;
    cursor: pointer; transition: var(--transition-smooth); box-shadow: var(--shadow-sm);
}
.news-banner-card:hover {
    transform: translateY(-3px); border-color: rgba(var(--accent_primary-rgb), 0.4);
    box-shadow: 0 8px 25px rgba(var(--accent_primary-rgb), 0.15); background: rgba(var(--accent_primary-rgb), 0.12);
}
.news-banner-icon {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--accent_primary); color: var(--btn_primary_text, #FFFFFF);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(var(--accent_primary-rgb), 0.4);
}
.news-banner-content { flex: 1; display: flex; flex-direction: column; }
.news-banner-title { font-size: 16px; font-weight: 800; color: var(--text_main); margin: 0 0 4px 0; line-height: 1.2; }
.news-banner-desc { font-size: 13px; color: var(--text_muted); margin: 0; line-height: 1.4; opacity: 0.9; }
.news-banner-arrow { color: var(--accent_primary); font-size: 20px; transition: transform 0.3s; }
.news-banner-card:hover .news-banner-arrow { transform: translateX(5px); }

/* --- Contenedor Interno del Modal --- */
.news-form-container { padding: 25px; }

/* --- Formulario y Campos (Heredado de Reserva) --- */
.news-input-group { margin-bottom: 16px; }
.news-label { 
    display: block; font-size: 11px; color: var(--modal-text-muted); 
    text-transform: uppercase; font-weight: 800; margin-bottom: 8px; letter-spacing: 0.5px; 
}
/* Fijamos la altura para los inputs de date como en las reservas */
#newsletterForm input.form-input { height: 50px; }
#newsletterForm input[type="date"]::-webkit-calendar-picker-indicator { 
    cursor: pointer; opacity: 0.6; transition: opacity 0.2s;
}
/* En modo oscuro, invertimos el ícono del calendario para que sea blanco */
[data-theme="dark"] #newsletterForm input[type="date"]::-webkit-calendar-picker-indicator { 
    filter: invert(1); 
}

/* --- Checkbox Personalizado Premium --- */
.news-checkbox-group {
    display: flex; align-items: flex-start; gap: 10px;
    color: var(--modal-text-muted); font-size: 13px; margin: 10px 0 25px 0; cursor: pointer; line-height: 1.4;
}
.news-checkbox-group input[type="checkbox"] {
    appearance: none; -webkit-appearance: none;
    width: 18px; height: 18px; border: 2px solid var(--modal-border);
    border-radius: 4px; background: rgba(var(--text_main-rgb), 0.05);
    display: grid; place-content: center; cursor: pointer; margin-top: 2px;
    transition: all 0.2s ease; flex-shrink: 0;
}
.news-checkbox-group input[type="checkbox"]::before {
    content: ""; width: 10px; height: 10px;
    transform: scale(0); transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em #FFFFFF; background-color: #FFFFFF;
    transform-origin: center; clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.news-checkbox-group input[type="checkbox"]:checked { 
    background: var(--accent_primary); border-color: var(--accent_primary); 
}
.news-checkbox-group input[type="checkbox"]:checked::before { transform: scale(1); }
.news-required-star { color: var(--accent_secondary); margin-left: 3px; font-weight: 800; }

/* --- Estados y Éxito --- */
.modal-primary-btn.is-loading { opacity: 0.7; pointer-events: none; }
.news-spin-icon { animation: spin 1s linear infinite; font-size: 18px; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.news-success-box {
    display: none; margin-top: 15px; padding: 15px;
    border: 1px solid var(--success); background: rgba(var(--success-rgb, 40, 167, 69), 0.1);
    color: var(--success); text-align: center; border-radius: var(--radius-md);
    font-size: 13px; font-weight: 800; animation: fadeIn 0.3s ease;
}
.news-success-box.show { display: block; }


/* =========================================
   21. SOCIAL MEDIA CARDS
   ========================================= */
.social-module-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 25px;
}
.social-module-desc {
    color: var(--text_muted);
    font-size: 13px;
    text-align: center;
    max-width: 90%;
    margin: 0;
    line-height: 1.4;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 15px;
}

.social-card {
    background: rgba(var(--text_main-rgb), 0.03);
    border: 1px solid rgba(var(--text_main-rgb), 0.08);
    border-radius: var(--radius-lg);
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text_main);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.social-card:hover, .social-card:active {
    background: rgba(var(--accent_primary-rgb), 0.05);
    border-color: var(--accent_primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(var(--accent_primary-rgb), 0.2);
}

.social-icon-wrapper {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(var(--text_main-rgb), 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: var(--text_main);
    transition: all 0.3s ease;
}

.social-card:hover .social-icon-wrapper {
    background: var(--accent_primary);
    color: var(--btn_primary_text, #FFFFFF); /* Contraste seguro dinámico */
    transform: scale(1.1);
}

.social-icon-wrapper svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.social-platform {
    font-size: 13px;
    font-weight: 800;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.social-user {
    font-size: 11px;
    color: var(--text_muted);
    font-weight: 600;
}

/* =========================================
   🛠️ ESTILOS: TECH FOUNDER (CTA "SUCCESS")
   ========================================= */

.tech-cta-card {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    background: rgba(var(--text_main-rgb), 0.03); 
    border: 1px solid var(--modal-border);
    border-radius: var(--radius-xl); padding: 30px 25px;
    transition: var(--transition-smooth); 
    box-shadow: var(--shadow);
    position: relative; overflow: hidden;
    text-decoration: none;
}

.tech-cta-card:hover {
    /* Hover con brillo turquesa */
    border-color: rgba(var(--success-rgb, 0, 178, 169), 0.4);
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(var(--success-rgb, 0, 178, 169), 0.15);
}

.tech-cta-badge {
    /* Fondo translúcido y texto en color turquesa */
    background: rgba(var(--success-rgb, 0, 178, 169), 0.1); 
    border: 1px solid rgba(var(--success-rgb, 0, 178, 169), 0.3);
    color: var(--success, #00B2A9); 
    font-size: 11px; font-weight: 800;
    padding: 6px 14px; border-radius: 30px; letter-spacing: 1px;
    display: inline-flex; align-items: center; gap: 6px; margin-bottom: 25px;
}

.tech-cta-title { 
    font-size: 22px; font-weight: 800; margin: 0 0 10px; line-height: 1.2; color: var(--text_main); 
}

.tech-cta-desc { 
    font-size: 14px; color: var(--text_muted); line-height: 1.5; margin: 0 0 25px; max-width: 90%; 
}

.tech-cta-action {
    /* En reposo: Mantiene la sobriedad del fondo/texto base */
    background: var(--text_main); color: var(--bg_main); width: 100%; padding: 16px;
    border-radius: var(--radius-lg); font-size: 15px; font-weight: 700;
    display: flex; justify-content: center; align-items: center; gap: 10px;
    border: 1px solid var(--modal-border); transition: var(--transition-smooth);
}

.tech-cta-card:hover .tech-cta-action { 
    /* En hover: El botón se pinta del Success Turquesa con texto en blanco para resaltar perfecto */
    background: var(--success, #00B2A9); 
    color: #FFFFFF; 
    border-color: var(--success, #00B2A9); 
}

/* --- ANIMACIÓN DEL PUNTO PARPADEANTE (PULSE DOT TURQUESA) --- */
.pulse-dot {
    width: 8px; 
    height: 8px;
    background-color: var(--success, #00B2A9);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(var(--success-rgb, 0, 178, 169), 0.7);
    animation: pulseTech 2s infinite;
}

@keyframes pulseTech {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(var(--success-rgb, 0, 178, 169), 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(var(--success-rgb, 0, 178, 169), 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(var(--success-rgb, 0, 178, 169), 0); }
}

/* =========================================
   📇 CONTACT DIRECT GRID & CTA
   ========================================= */

/* --- CTA HEADER --- */
.dc-cta-header {
    text-align: center;
    margin-bottom: 25px;
    padding: 0 20px;
}
.dc-cta-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text_main);
    margin: 0 0 8px;
}
.dc-cta-desc {
    font-size: 13px;
    color: var(--text_muted);
    max-width: 90%;
    margin: 0 auto;
    line-height: 1.5;
}

/* --- CONTACT DIRECT GRID (TU ORIGINAL) --- */
.contact-action-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-grid-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    height: 52px; border-radius: var(--radius-md); font-weight: 700; font-size: 14px;
    transition: var(--transition-smooth); flex: 1; min-width: 60px; cursor: pointer; text-decoration: none;
    outline: none; border: none;
}
.contact-grid-btn.primary { background: var(--accent_primary); color: var(--btn_primary_text); width: 100%; flex: 100%; box-shadow: var(--shadow-sm); }
.contact-grid-btn.primary:hover { transform: translateY(-2px); opacity: 0.9; }

.contact-grid-btn.secondary { background: rgba(var(--text_main-rgb), 0.03); border: 1px solid var(--modal-border); color: var(--text_main); }
.contact-grid-btn.secondary:hover { background: rgba(var(--accent_secondary-rgb), 0.08); border-color: var(--accent_secondary); color: var(--accent_secondary); transform: translateY(-2px); }

.contact-grid-btn.ghost { background: transparent; border: 1px dashed var(--modal-border); color: var(--text_muted); }
.contact-grid-btn.ghost:hover { color: var(--text_main); border-style: solid; border-color: var(--accent_primary); background: rgba(var(--accent_primary-rgb), 0.05); }

/* --- EXTENDED PROFILE (+ INFO) --- */
.btn-full-width {
    width: 100%;
    height: 56px;
    padding: 0 20px;
    background: rgba(var(--text_main-rgb), 0.03);
    color: var(--text_main);
    border: 1px solid var(--modal-border);
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}
.btn-full-width:hover {
    background: var(--accent_secondary);
    border-color: var(--accent_secondary);
    color: var(--btn_secondary_text);
    transform: translateY(-2px);
}
.btn-full-width:active { transform: scale(0.98); }

.member-since {
    font-size: 11px;
    color: var(--success);
    font-weight: 700;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Attributes (DNA) en Modal */
.b-attr-category { margin-bottom: 25px; }
.b-attr-category-title { font-size: 12px; color: var(--modal-text-muted); text-transform: uppercase; margin-bottom: 12px; font-weight: 800; letter-spacing: 0.5px; }
.b-attr-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.b-attr-pill {
    display: flex; align-items: center; gap: 6px;
    background: rgba(var(--text_main-rgb), 0.03); 
    border: 1px solid var(--modal-border);
    padding: 8px 14px; border-radius: var(--radius-sm); 
    font-size: 12px; color: var(--modal-text-main); font-weight: 600;
    transition: var(--transition-smooth);
}
.b-attr-pill:hover { border-color: var(--accent_primary); color: var(--accent_primary); background: rgba(var(--accent_primary-rgb), 0.05); }
.b-attr-pill .material-symbols-outlined { font-size: 18px; color: var(--modal-text-muted); transition: color 0.3s; }
.b-attr-pill:hover .material-symbols-outlined { color: var(--accent_primary); }

/* --- CONTACT DIRECT APP-STYLE GRID (SQUIRCLES) --- */
.dc-apps-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding: 0 20px;
    margin: 0 auto;
    max-width: 400px;
}

.dc-app-squircle {
    flex: 0 0 calc(25% - 12px); /* Siempre hasta 4 por línea */
    aspect-ratio: 1;
    background: transparent !important; 
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
    border-radius: 22%; /* Curvatura tipo iOS Squircle */
    overflow: hidden; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.dc-app-squircle:hover {
    transform: translateY(-4px) scale(1.05);
    filter: brightness(1.1) drop-shadow(0 10px 15px rgba(0,0,0,0.3));
}

/* AQUÍ ESTÁ LA MAGIA: Fuerza al SVG a llenar todo y cortarse en las esquinas */
.dc-app-squircle svg,
.dc-app-squircle img,
.dc-app-squircle .material-symbols-outlined {
    width: 100% !important;
    height: 100% !important;
    display: block;
    object-fit: cover;
    padding: 0 !important; 
    margin: 0 !important;
    border-radius: inherit; /* Toma exactamente el 22% del contenedor padre */
}

/* Colores de Marcas y Acciones */
.dc-bg-call { background: linear-gradient(135deg, #4A54FF, #3039D1); }
.dc-bg-whatsapp { background: linear-gradient(135deg, #25D366, #1DA851); }
.dc-bg-telegram { background: linear-gradient(135deg, #0088cc, #006699); }
.dc-bg-vcf { background: linear-gradient(135deg, #A0A5B5, #757A8C); }
.dc-bg-linkedin { background: linear-gradient(135deg, #0A66C2, #084D93); }
.dc-bg-x { background: linear-gradient(135deg, #333333, #000000); }
.dc-bg-instagram { background: linear-gradient(135deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.dc-bg-default { background: linear-gradient(135deg, var(--accent_primary), var(--accent_secondary)); }

/* --- HEADER DINÁMICO DEL MODAL DE CONTACTO --- */
.dc-modal-logo {
    max-height: 40px;
    width: auto;
    margin: 0 auto;
    display: block;
}

/* Ocultar/Mostrar el logo dependiendo del modo del usuario */
html[data-theme="light"] .dark-mode-logo { display: none !important; }
html[data-theme="dark"] .light-mode-logo { display: none !important; }