/* ===================================================
   MR JUSTICIA® - HOJA DE ESTILOS DÍA DE MUERTOS
   =================================================== */

/* =========================================
   0. RESET Y SCROLL NATIVO DESBLOQUEADO
   ========================================= */
:root {
    --primary: #00128a;
    --secondary: #0b4a2e;
    --accent: #FF3D00;
    --bg: #0a010e;
    --border: #cbd5e0;
}

html { 
    scroll-behavior: smooth; 
    height: auto !important;
}

body { 
    margin: 0; 
    padding: 0; 
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg); 
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch !important;
}

* { 
    box-sizing: border-box; 
} 

#vista_publica {
    background: radial-gradient(circle at 70% 50%, #2b0938 0%, #15031d 55%, #0a010e 100%);
    min-height: 100vh;
    position: relative;
    width: 100%;
}

.fade-in-section { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: opacity 0.7s ease-out, transform 0.7s ease-out; 
    will-change: opacity, visibility; 
}

.fade-in-section.is-visible { 
    opacity: 1; 
    transform: translateY(0); 
}

/* ===================================================
   ESTILO PARA MARCA REGISTRADA (®) EN FORMATO EXPONENCIAL
   =================================================== */
.reg-marca {
    font-size: 0.55em;
    vertical-align: top;
    position: relative;
    top: -0.3em;
    line-height: 0;
    opacity: 0.85;
}

.logo .reg-marca {
    font-size: 0.35em; 
    top: -0.9em;
}

/* ===================================================
   1. ENCABEZADO Y HERO PORTADA 
   =================================================== */
.site-header { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    padding: 22px 0 !important; 
    display: flex !important; 
    justify-content: center !important; 
    align-items: center !important; 
    z-index: 9999; 
    background: linear-gradient(rgba(26, 4, 38, 0.75), rgba(16, 2, 24, 0.88)), url('patron_muertos.jpg');
    background-size: 360px;
    background-repeat: repeat;
    backdrop-filter: blur(5px);
    border-bottom: 4px solid transparent;
    border-image: linear-gradient(90deg, #FF3D00, #E4007C, #FACC15, #9C27B0, #FF6F00) 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7); 
}

.logo { 
    font-family: 'Montserrat', sans-serif !important; 
    font-size: 40px !important; 
    font-weight: 900 !important; 
    letter-spacing: 3px !important; 
    text-transform: uppercase; 
    text-decoration: none; 
    margin: 0 !important; 
    background: linear-gradient(180deg, #FFFFFF 20%, #FACC15 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(3px 3px 0px #000000) drop-shadow(0 0 18px rgba(250, 204, 21, 0.55));
    transition: transform 0.2s ease;
}

.logo:hover { 
    transform: scale(1.03); 
}

.hero-section { 
    display: flex !important; 
    justify-content: space-between !important; 
    align-items: center !important; 
    min-height: 90vh; 
    padding: 130px 4% 0 4% !important; 
    position: relative; 
    gap: 20px; 
}

.text-block { 
    flex: 1 !important; 
    max-width: 58% !important; 
    align-self: center !important; 
    z-index: 2; 
    opacity: 1 !important;
}

.headline-papel-picado { 
    width: 100% !important; 
    max-width: 950px !important; 
    height: auto !important; 
    display: block !important; 
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.9)) !important; 
    transform: scale(1.12) !important; 
    transform-origin: left center !important;
    transition: transform 0.3s ease; 
}

.headline-papel-picado:hover { 
    transform: scale(1.15) !important; 
}

.image-block { 
    flex: 1 !important; 
    max-width: 42% !important; 
    display: flex; 
    justify-content: flex-end; 
    align-items: flex-end; 
    z-index: 1; 
    opacity: 1 !important;
}

.hero-image { 
    height: 80vh !important; 
    width: auto !important; 
    max-width: 100% !important;
    object-fit: contain; 
    filter: drop-shadow(8px 8px 25px rgba(0, 0, 0, 0.7)); 
    transform: translateX(0) !important; 
    transition: transform 0.3s ease-out; 
    display: block !important;
}

/* ===================================================
   2. SECCIÓN CALCULADORA
   =================================================== */
.seccion-calculadora-pub { 
    padding: 100px 4% 90px 4% !important; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    position: relative; 
    width: 100%;
}

.contenedor-split-calculadora {
    display: grid !important;
    grid-template-columns: 1.3fr 1fr !important;
    gap: 55px !important;
    max-width: 1650px !important;
    width: 100% !important;
    align-items: center !important;
}

.columna-titulo-imagen {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    position: relative;
    z-index: 2;
}

.headline-calc-gigante {
    width: 860px !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
    filter: drop-shadow(0 35px 70px rgba(0, 0, 0, 0.98)) drop-shadow(0 0 55px rgba(250, 204, 21, 0.75)) !important;
    transform: scale(1.42) !important;
    transform-origin: center center !important;
    transition: transform 0.3s ease;
}

.headline-calc-gigante:hover {
    transform: scale(1.45) !important;
}

.columna-tarjeta-calc {
    width: 100%;
}

.tarjeta-calculadora-moderna {
    background: rgba(14, 2, 20, 0.88) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1.5px solid rgba(250, 204, 21, 0.35) !important;
    border-radius: 18px;
    padding: 34px 30px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 30px rgba(250, 204, 21, 0.08);
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
}

.header-calculadora-destacado {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 14px;
    border-bottom: 1.5px solid rgba(250, 204, 21, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.header-calculadora-destacado i {
    color: #FACC15;
    font-size: 20px;
    filter: drop-shadow(0 0 10px rgba(250, 204, 21, 0.7));
}

.header-calculadora-destacado h2 {
    margin: 0;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #FAF5E8;
    text-shadow: 2px 2px 0px #0A010E, 0 0 20px rgba(250, 204, 21, 0.5);
}

.grid-dos-columnas {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
    width: 100%;
}

.campo-moderno {
    margin-bottom: 16px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.campo-moderno label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 6px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.campo-moderno label i {
    color: #FACC15;
    margin-right: 4px;
}

.campo-moderno input {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    padding: 11px 12px;
    font-size: 13.5px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

.campo-moderno input:focus {
    outline: none;
    border-color: #FACC15;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 12px rgba(250, 204, 21, 0.35);
}

/* FIX PARA CAMPOS DE FECHA EN SAFARI / IPHONE */
.campo-moderno input[type="date"] {
    min-height: 44px;
    width: 100% !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.campo-moderno input[type="date"]::-webkit-date-and-time-value {
    text-align: left;
    margin: 0;
}

.campo-moderno input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
    opacity: 0.7;
}

.contenedor-select-estilizado {
    position: relative;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.select-motivo-pro {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    padding: 11px 36px 11px 12px;
    font-size: 13px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.25s ease;
    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='%23FACC15' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.select-motivo-pro:focus {
    outline: none;
    border-color: #FACC15;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 12px rgba(250, 204, 21, 0.35);
}

.select-motivo-pro option {
    background-color: #1a0324;
    color: #FAF5E8;
    padding: 10px;
    font-size: 13px;
}

.separador-bloque {
    margin: 20px 0 12px 0;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.separador-bloque span {
    font-size: 10px;
    font-weight: 800;
    color: #FACC15;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
}

.fila-switch {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    font-size: 12.5px;
}

.switch-opciones {
    display: flex;
    gap: 16px;
}

.switch-opciones label {
    cursor: pointer;
    font-size: 12.5px;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.bloque-ano-anterior {
    background: rgba(250, 204, 21, 0.05);
    border: 1px dashed rgba(250, 204, 21, 0.35);
    border-radius: 8px;
    padding: 14px 16px;
    margin: 16px 0;
}

.alerta-antiguedad {
    color: #FACC15;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.btn-calcular-pub {
    width: 100%;
    background: linear-gradient(90deg, #FF3D00, #ff5722) !important;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 15px;
    border: 1px solid rgba(250, 204, 21, 0.4);
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 61, 0, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 18px;
}

.btn-calcular-pub:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 61, 0, 0.55);
}

.resultados-recibo {
    display: none;
    background: rgba(10, 1, 14, 0.95);
    border: 1.5px solid rgba(250, 204, 21, 0.4);
    border-radius: 10px;
    padding: 18px;
    margin-top: 20px;
}

.recibo-header {
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.recibo-header h4 {
    margin: 0;
    color: #FACC15;
    font-size: 12px;
    letter-spacing: 1px;
}

.recibo-header small {
    color: #94a3b8;
    font-size: 10.5px;
}

.linea-recibo {
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
    color: #cbd5e1;
    padding: 6px 0;
}

.linea-recibo.adeudo {
    color: #FACC15;
}

.gran-total-caja {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.gran-total-caja span {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 800;
    letter-spacing: 1px;
}

.gran-total-caja h2 {
    margin: 0;
    font-size: 26px;
    color: #FACC15;
    font-weight: 900;
    text-shadow: 0 0 12px rgba(250, 204, 21, 0.5);
}

.alerta-profedet-pub { 
    display: none; 
    background-color: #fff5f5; 
    border-left: 4px solid #e53e3e; 
    padding: 16px; 
    margin-top: 18px; 
    border-radius: 4px; 
}

.item-violacion-pub { 
    font-size: 0.85em; 
    color: #333; 
    margin-bottom: 8px; 
    line-height: 1.4; 
    padding-bottom: 8px; 
    border-bottom: 1px dashed #feb2b2; 
}

.item-violacion-pub:last-child { 
    border-bottom: none; 
    padding-bottom: 0; 
}

.btn-siqal { 
    display: block; 
    background-color: #9b2c2c; 
    color: white !important; 
    text-align: center; 
    padding: 10px 12px; 
    border-radius: 4px; 
    text-decoration: none; 
    font-weight: 700; 
    font-size: 0.85em; 
    margin-top: 12px; 
    text-transform: uppercase; 
}

.contenedor-botones-extra-pub {
    display: none;
    background: rgba(14, 2, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 18px;
    margin-top: 16px;
    text-align: center;
}

.btn-foto-pub {
    width: 100%;
    background: #334155;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    margin-bottom: 8px;
}

.btn-whatsapp-agresivo {
    width: 100%;
    background: #25D366;
    color: #052617;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-weight: 800;
    cursor: pointer;
    font-size: 14px;
    text-transform: uppercase;
}

/* ===================================================
   3. SECCIÓN PROCESO EN 3 PASOS
   =================================================== */
.seccion-proceso-pub {
    padding: 80px 5% 90px 5%;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contenedor-proceso {
    max-width: 1200px;
    margin: 0 auto;
}

.encabezado-seccion-minimal {
    text-align: center;
    margin-bottom: 55px;
}

.subtitulo-etiqueta {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #FACC15;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.titulo-seccion-minimal {
    font-size: 36px;
    font-weight: 900;
    color: #FAF5E8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 0px #0A010E;
}

.descripcion-seccion-minimal {
    font-size: 15px;
    color: #94a3b8;
    margin: 0 auto;
    max-width: 540px;
}

.grid-tres-pasos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 45px;
}

.tarjeta-paso {
    background: rgba(18, 3, 26, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 35px 26px;
    position: relative;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.tarjeta-paso:hover {
    transform: translateY(-4px);
    border-color: rgba(250, 204, 21, 0.35);
}

.tarjeta-paso.destacado {
    border-color: rgba(255, 61, 0, 0.4);
    background: linear-gradient(180deg, rgba(255, 61, 0, 0.08) 0%, rgba(18, 3, 26, 0.7) 100%);
}

.numero-paso {
    font-size: 28px;
    font-weight: 900;
    color: #FACC15;
    opacity: 0.85;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.icono-paso {
    font-size: 22px;
    color: #FF3D00;
    margin-bottom: 16px;
}

.tarjeta-paso h3 {
    color: #FAF5E8;
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 10px 0;
}

.tarjeta-paso p {
    color: #94a3b8;
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0;
}

.banner-cta-proceso {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.banner-cta-proceso p {
    margin: 0;
    color: #FAF5E8;
    font-size: 15px;
    font-weight: 600;
}

.btn-cta-proceso {
    background: #25D366;
    color: #052617;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease;
}

.btn-cta-proceso:hover {
    background: #1eb857;
}

/* ===================================================
   4. SECCIÓN PREGUNTAS FRECUENTES (FAQ)
   =================================================== */
.seccion-faq-pub {
    padding: 80px 5% 100px 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contenedor-faq {
    max-width: 820px;
    margin: 0 auto;
}

.acordeon-faq {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.item-faq {
    background: rgba(18, 3, 26, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.25s ease;
}

.item-faq:hover {
    border-color: rgba(255, 255, 255, 0.16);
}

.item-faq.abierto {
    border-color: rgba(250, 204, 21, 0.35);
}

.pregunta-faq {
    width: 100%;
    background: transparent;
    border: none;
    color: #FAF5E8;
    padding: 20px 22px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 15px;
}

.pregunta-faq i {
    font-size: 12px;
    color: #FACC15;
    transition: transform 0.3s ease;
}

.item-faq.abierto .pregunta-faq i {
    transform: rotate(180deg);
}

.respuesta-faq {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
}

.respuesta-faq p {
    margin: 0;
    padding: 0 22px 20px 22px;
    color: #94a3b8;
    font-size: 13.5px;
    line-height: 1.65;
}

.respuesta-faq strong {
    color: #FAF5E8;
}

/* ===================================================
   5. PIE DE PÁGINA
   =================================================== */
.site-footer { 
    background: linear-gradient(rgba(26, 4, 38, 0.80), rgba(16, 2, 24, 0.92)), url('patron_muertos.jpg');
    background-size: 346px; 
    background-repeat: repeat; 
    backdrop-filter: blur(5px);
    border-top: 4px solid transparent;
    border-image: linear-gradient(90deg, #FF3D00, #E4007C, #FACC15, #9C27B0, #FF6F00) 1;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.5); 
    color: #ffffff; 
    padding: 50px 8% 30px 8%; 
    position: relative; 
}

.footer-content { 
    display: flex; 
    justify-content: space-between; 
    flex-wrap: wrap; 
    gap: 30px; 
}

.footer-column { 
    flex: 1; 
    min-width: 250px; 
}

.footer-column h3 { 
    font-size: 18px; 
    font-weight: 800; 
    margin-bottom: 20px; 
    color: #FACC15; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    text-shadow: 2px 2px 4px #000000; 
}

.footer-column p, 
.footer-column a { 
    font-size: 14px; 
    line-height: 1.8; 
    color: #e2e8f0; 
    text-decoration: none; 
    display: block; 
    margin-bottom: 10px; 
    transition: color 0.3s; 
}

.footer-column a:hover { 
    color: #FACC15; 
}

.footer-bottom { 
    margin-top: 40px; 
    padding-top: 25px; 
    border-top: 1px solid rgba(255, 255, 255, 0.15); 
    width: 100%;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 25px;
}

.firma-tributo-izquierda {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    user-select: none;
    transition: transform 0.3s ease;
}

.firma-tributo-izquierda:hover {
    transform: translateY(-3px);
}

.alebrije-footer-5x {
    width: 130px !important;
    height: auto !important;
    display: block;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 20px rgba(250, 204, 21, 0.55));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.firma-tributo-izquierda:hover .alebrije-footer-5x {
    transform: scale(1.08) rotate(4deg);
}

.texto-angela {
    font-family: 'Dancing Script', cursive;
    font-size: 32px;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 0 10px rgba(250, 204, 21, 0.5);
    white-space: nowrap;
}

.copyright-texto {
    font-size: 12.5px;
    color: #a0aec0;
    margin: 0;
    text-align: right;
}

.whatsapp-float { 
    position: fixed; 
    width: 62px; 
    height: 62px; 
    bottom: 30px; 
    right: 30px; 
    background-color: #25d366; 
    color: #FFF; 
    border-radius: 50px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    z-index: 999999; 
    animation: latidoFlotante 2s infinite; 
}

.whatsapp-icon { 
    width: 36px; 
    height: 36px; 
    fill: white; 
}

@keyframes latidoFlotante { 
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 
    70% { transform: scale(1.12); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); } 
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } 
}

/* ===================================================
   6. MODAL DE LOGIN E INTRANET PRIVADA
   =================================================== */
#modalLogin { 
    display: none; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.85); 
    z-index: 999999; 
    justify-content: center; 
    align-items: center; 
}

.login-box { 
    background: white; 
    padding: 30px; 
    border-radius: 8px; 
    width: 300px; 
    text-align: center; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.5); 
}

.login-box input { 
    width: 100%; 
    padding: 10px; 
    margin: 15px 0; 
    border: 2px solid #cbd5e0; 
    border-radius: 4px; 
    font-family: 'Montserrat'; 
    text-align: center; 
    font-size: 16px;
}

/* ===================================================
   7. CALIBRACIÓN RESPONSIVA Y MÓVIL EXACTA
   =================================================== */

/* TABLETS Y PANTALLAS MEDIANAS (Hasta 950px) */
@media (max-width: 950px) {
    .site-header { padding: 14px 0 !important; }
    .logo { font-size: 26px !important; letter-spacing: 2px !important; }
    
    .hero-section { 
        flex-direction: column !important; 
        align-items: center !important; 
        padding: 115px 5% 20px 5% !important; 
        min-height: auto !important;
        height: auto !important;
        gap: 30px;
    }
    .text-block { 
        max-width: 100% !important; 
        text-align: center;
        opacity: 1 !important;
    }
    .headline-papel-picado { 
        max-width: 520px !important; 
        margin: 0 auto; 
        transform: scale(1) !important; 
    }
    .image-block {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        opacity: 1 !important;
    }
    .hero-image { 
        height: 45vh !important; 
        max-height: 420px;
        transform: none !important; 
        margin-top: 15px; 
        display: block !important;
    }

    .seccion-calculadora-pub {
        padding: 60px 5% !important;
    }
    .contenedor-split-calculadora {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    .headline-calc-gigante {
        width: 100% !important;
        max-width: 540px !important;
        transform: scale(1.06) !important;
    }

    .grid-tres-pasos {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .titulo-seccion-minimal {
        font-size: 28px;
    }
    .banner-cta-proceso {
        text-align: center;
        justify-content: center;
        gap: 15px;
    }

    .footer-bottom-flex {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .copyright-texto {
        text-align: left;
    }
}

/* SMARTPHONES Y IPHONE (Hasta 600px) */
@media (max-width: 600px) {
    .site-header { 
        padding: 10px 0 !important; 
    }
    .logo { 
        font-size: 22px !important; 
        letter-spacing: 1.5px !important; 
    }

    .hero-section {
        flex-direction: column !important;
        padding: 85px 16px 15px 16px !important;
        min-height: auto !important;
        height: auto !important;
        gap: 20px !important;
    }
    .text-block {
        max-width: 100% !important;
        opacity: 1 !important;
    }
    .headline-papel-picado { 
        max-width: 320px !important; 
        margin: 0 auto !important;
        transform: scale(1) !important;
    }
    .image-block {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        opacity: 1 !important;
    }
    .hero-image { 
        height: 38vh !important; 
        max-height: 320px !important;
        width: auto !important;
        max-width: 90% !important;
        transform: none !important;
        margin-top: 10px !important;
        display: block !important;
    }

    .seccion-calculadora-pub {
        padding: 40px 14px 45px 14px !important;
    }
    .contenedor-split-calculadora {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    
    .headline-calc-gigante {
        width: 100% !important;
        max-width: 385px !important;
        height: auto !important;
        transform: scale(1.08) !important;
        margin: 10px auto 18px auto !important;
        display: block !important;
    }

    .tarjeta-calculadora-moderna {
        padding: 24px 16px !important;
        border-radius: 14px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    .header-calculadora-destacado {
        margin-bottom: 18px;
        padding-bottom: 10px;
    }
    .header-calculadora-destacado h2 {
        font-size: 20px !important;
        letter-spacing: 2px;
    }
    .header-calculadora-destacado i {
        font-size: 17px;
    }

    .grid-dos-columnas {
        display: block !important;
        width: 100% !important;
    }

    .campo-moderno {
        margin-bottom: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .campo-moderno label {
        font-size: 10.5px;
        margin-bottom: 5px;
    }

    .campo-moderno input,
    .select-motivo-pro {
        font-size: 16px !important; 
        padding: 12px 14px !important;
        border-radius: 6px;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    /* FIX MÓVIL PARA IPHONE / SAFARI */
    .campo-moderno input[type="date"] {
        padding: 12px 14px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        display: block !important;
        -webkit-appearance: none !important;
        margin: 0 !important;
    }

    .select-motivo-pro {
        padding-right: 38px !important;
    }

    .separador-bloque {
        margin: 16px 0 10px 0;
        padding-top: 10px;
    }

    .fila-switch {
        padding: 8px 0;
        font-size: 12px;
    }

    .switch-opciones {
        gap: 14px;
    }

    .btn-calcular-pub {
        font-size: 13.5px !important;
        padding: 14px !important;
        margin-top: 14px;
        letter-spacing: 1px;
    }

    .resultados-recibo {
        padding: 14px;
        margin-top: 15px;
    }
    .linea-recibo {
        font-size: 11.5px;
        padding: 5px 0;
    }
    .gran-total-caja h2 {
        font-size: 22px !important;
    }

    .seccion-proceso-pub {
        padding: 45px 16px 50px 16px;
    }
    .encabezado-seccion-minimal {
        margin-bottom: 30px;
    }
    .titulo-seccion-minimal {
        font-size: 24px;
        letter-spacing: 1px;
    }
    .descripcion-seccion-minimal {
        font-size: 13.5px;
    }
    .tarjeta-paso {
        padding: 22px 16px;
    }
    .numero-paso {
        font-size: 22px;
        margin-bottom: 4px;
    }
    .tarjeta-paso h3 {
        font-size: 16px;
    }
    .tarjeta-paso p {
        font-size: 13px;
    }
    .banner-cta-proceso {
        padding: 18px 16px;
    }
    .banner-cta-proceso p {
        font-size: 13.5px;
    }
    .btn-cta-proceso {
        width: 100%;
        justify-content: center;
        padding: 12px;
    }

    .seccion-faq-pub {
        padding: 45px 16px 60px 16px;
    }
    .pregunta-faq {
        font-size: 13px;
        padding: 16px 14px;
    }
    .respuesta-faq p {
        padding: 0 14px 16px 14px;
        font-size: 12.5px;
    }

    .site-footer {
        padding: 40px 16px 95px 16px;
    }
    .footer-column {
        min-width: 100%;
    }
    
    .footer-bottom-flex {
        flex-direction: column;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 18px;
    }
    .firma-tributo-izquierda {
        justify-content: flex-start !important;
        width: 100%;
    }
    .alebrije-footer-5x {
        width: 110px !important;
    }
    .texto-angela {
        font-size: 26px;
    }
    .copyright-texto {
        text-align: left !important;
        font-size: 11.5px;
    }

    .whatsapp-float {
        bottom: 18px;
        right: 18px;
        width: 52px;
        height: 52px;
    }
    .whatsapp-icon {
        width: 30px;
        height: 30px;
    }
}

/* ===================================================
   8. GLOBO DE NOTIFICACIONES SOCIAL PROOF (FOMO)
   =================================================== */
.globo-fomo-notif {
    position: fixed;
    bottom: 38px;
    left: 38px;
    z-index: 99998;
    max-width: 410px;
    background: rgba(14, 2, 20, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(250, 204, 21, 0.35);
    border-left: 5px solid #25D366;
    border-radius: 14px;
    padding: 16px 20px 16px 16px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85), 0 0 20px rgba(250, 204, 21, 0.12);
    transform: translateY(140px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
}

.globo-fomo-notif.visible {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.globo-fomo-icono {
    position: relative;
    width: 38px;
    height: 38px;
    background: rgba(250, 204, 21, 0.12);
    border: 1px solid rgba(250, 204, 21, 0.25);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    color: #FACC15;
    font-size: 15px;
    margin-top: 2px;
}

.punto-en-vivo {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(37, 211, 102, 0.7);
    animation: pulsoEnVivo 2s infinite;
}

@keyframes pulsoEnVivo {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.8); }
    70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.globo-fomo-contenido {
    flex: 1;
}

.globo-fomo-texto {
    margin: 0 0 6px 0;
    font-size: 13px;
    line-height: 1.55;
    color: #cbd5e1;
    font-family: 'Montserrat', sans-serif;
}

.globo-fomo-texto strong {
    color: #FAF5E8;
}

.globo-fomo-tiempo {
    font-size: 10.5px;
    color: #FACC15;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: inline-block;
}

.btn-cerrar-fomo {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0 2px;
    margin-left: 6px;
    transition: color 0.2s ease;
}

.btn-cerrar-fomo:hover {
    color: #ffffff;
}

@media (max-width: 600px) {
    .globo-fomo-notif {
        bottom: 100px;
        left: 18px;
        right: 18px;
        max-width: calc(100% - 36px);
        padding: 14px 16px;
        gap: 12px;
        border-radius: 12px;
    }
    .globo-fomo-texto {
        font-size: 12px;
        line-height: 1.45;
    }
    .globo-fomo-icono {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

/* ===================================================
   9. REPRODUCTOR DE MÚSICA Y BANNER DE PERMISOS
   =================================================== */
.btn-control-musica {
    position: fixed;
    top: 22px;
    right: 25px;
    z-index: 100000;
    width: 42px;
    height: 42px;
    background: rgba(14, 2, 20, 0.85);
    border: 1.5px solid rgba(250, 204, 21, 0.5);
    border-radius: 50%;
    color: #FACC15;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn-control-musica:hover {
    transform: scale(1.08);
    border-color: #FF3D00;
    color: #ffffff;
}

.btn-control-musica.sonando {
    border-color: #25D366;
    color: #25D366;
    animation: pulsoMusica 2s infinite ease-in-out;
}

@keyframes pulsoMusica {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.banner-permiso-audio {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    z-index: 99999;
    background: rgba(18, 3, 26, 0.96);
    border: 1.5px solid #FACC15;
    border-radius: 12px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.85), 0 0 20px rgba(250, 204, 21, 0.25);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.35s ease;
    max-width: 90%;
}

.banner-permiso-audio.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.contenido-banner-audio {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #FAF5E8;
    font-size: 13px;
    font-weight: 600;
}

.contenido-banner-audio i {
    color: #FF3D00;
    font-size: 16px;
}

.acciones-banner-audio {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-activar-audio {
    background: linear-gradient(90deg, #FF3D00, #ff5722);
    border: 1px solid #FACC15;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s ease;
}

.btn-activar-audio:hover {
    transform: scale(1.04);
}

.btn-descartar-audio {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 20px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}

.btn-descartar-audio:hover {
    color: #ffffff;
}

@media (max-width: 600px) {
    .btn-control-musica {
        top: 14px;
        right: 14px;
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    .banner-permiso-audio {
        bottom: 90px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 12px 14px;
        width: calc(100% - 32px);
    }
    .contenido-banner-audio {
        font-size: 12px;
    }
}

/* ===================================================
   10. SECCIÓN ALTAR DE MUERTOS CON NUEVO FONDO
   =================================================== */
.seccion-altar-pub {
    padding: 80px 5% 90px 5%;
    background: linear-gradient(rgba(17, 2, 22, 0.7), rgba(10, 1, 14, 0.85)), url('fondo_altar.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-top: 1px solid rgba(250, 204, 21, 0.35);
    border-bottom: 1px solid rgba(250, 204, 21, 0.35);
    text-align: center;
    position: relative;
}

.contenedor-altar {
    max-width: 800px;
    margin: 0 auto;
}

.encabezado-altar i {
    font-size: 28px;
    color: #FACC15;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(250, 204, 21, 0.6));
}

.encabezado-altar h2 {
    font-size: 32px;
    font-weight: 900;
    color: #FAF5E8;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 10px 0;
}

.encabezado-altar p {
    color: #cbd5e1;
    font-size: 15px;
    margin-bottom: 45px;
}

.altar-display {
    position: relative;
    display: inline-block;
}

.marco-altar {
    width: 260px;
    height: 340px;
    margin: 0 auto;
    border: 8px solid #3e160a; 
    border-radius: 12px 12px 0 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.9), 0 0 40px rgba(250, 204, 21, 0.3);
    position: relative;
    overflow: hidden;
    background: #000;
}

.marco-altar::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid #FACC15; 
    border-radius: 4px 4px 0 0;
    pointer-events: none;
}

.foto-difunto {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1s ease-in-out;
    opacity: 1;
    filter: sepia(0.2) contrast(1.05); 
}

.placa-nombre {
    margin-top: 25px;
    background: rgba(14, 2, 20, 0.8);
    border: 1px solid rgba(250, 204, 21, 0.4);
    padding: 10px 30px;
    border-radius: 30px;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.placa-nombre h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 34px;
    color: #FACC15;
    margin: 0;
    font-weight: 700;
    transition: opacity 1s ease-in-out;
}

.vela {
    position: absolute;
    bottom: 60px;
    font-size: 35px;
    color: #FF6F00;
    filter: drop-shadow(0 0 15px #FF3D00);
    animation: titilarVela 0.5s infinite alternate;
}

.vela-izq { left: -60px; }
.vela-der { right: -60px; }

@keyframes titilarVela {
    0% { transform: scale(1); opacity: 0.8; filter: drop-shadow(0 0 10px #FF3D00); }
    100% { transform: scale(1.1); opacity: 1; filter: drop-shadow(0 0 25px #FACC15); }
}

@media (max-width: 600px) {
    .marco-altar {
        width: 220px;
        height: 290px;
    }
    .vela-izq { left: -30px; }
    .vela-der { right: -30px; }
    .placa-nombre h3 { font-size: 28px; }
}