/* ============================================
   BARRIENTOS & SUAZO - ESTILO COMPLETO
   Header Optimizado + Botón Flotante Funcional
   Febrero 8, 2026
   ============================================ */

/* VARIABLES */
:root {
  --primary-navy: #0A2B42;
  --secondary-cobalt: #1E4E79;
  --accent-silver: #A8B2BD;
  --bg-soft-navy: #F4F6F8;
  --whatsapp-green: #25D366;
  --transition: all 0.3s ease;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* TOP BAR COMPACTO */
.top-bar {
  background: var(--primary-navy);
  padding: 0.5rem 3% !important;
  color: var(--accent-silver);
  font-size: 0.85rem !important;
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
  z-index: 1001;
}

/* STICKY BAR REDUCIDO */
.sticky-bar {
  background: rgba(255, 255, 255, 0.98);
  padding: 0.4rem 5% !important;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 15px rgba(10, 43, 66, 0.05);
}

/* LOGO COMPACTO */
.logo img {
  max-height: 45px !important;
  width: auto !important;
}

.logo-bs {
  font-size: 1rem !important;
}

/* HERO SUBIDO */
.hero {
  padding: 40px 5% 60px 10% !important;
  min-height: 550px !important;
}

/* ============================================
   BARRIENTOS & SUAZO - ESTILOS NO CRÍTICOS
   Cargado de forma diferida (below-the-fold)
   ============================================ */

/* ANIMACIONES */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-scroll {
    opacity: 0;
    animation: none;
}

.fade-in-scroll.visible {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* MENÚ MÓVIL */
.mobile-menu {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 2rem 5%;
    gap: 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--primary-navy);
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

/* HAMBURGER ACTIVO */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* SECCIÓN PADDING */
.section-padding {
    padding: 5rem 10%;
}

/* TÍTULOS DE SECCIÓN */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    height: 3px;
    width: 60px;
    background: var(--secondary-cobalt);
    margin: 0.5rem auto 0;
}

/* SECCIÓN DE CRISIS */
.crisis-section {
    padding: 5rem 10%;
    background: var(--bg-soft-navy);
}

.crisis-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.crisis-card {
    background: white;
    padding: 2.5rem;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 6px solid var(--secondary-cobalt);
    transition: var(--transition);
    text-align: center;
}

.crisis-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(30, 78, 121, 0.15);
}

.crisis-card i {
    font-size: 2.5rem;
    color: var(--secondary-cobalt);
    margin-bottom: 1.5rem;
}

.crisis-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.crisis-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.5rem;
}

/* MEJORA UX: Efecto botones de acción */
.crisis-link {
    color: var(--secondary-cobalt);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.crisis-link:hover {
    color: var(--primary-navy);
    transform: translateX(3px);
}

.crisis-link:active {
    transform: scale(0.96);
    filter: brightness(0.9);
}

/* ABOUT SECTION */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    color: var(--secondary-cobalt);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    text-align: justify;
}

.stats-row {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #ddd;
    padding-top: 2rem;
    justify-content: center;
}

.stats-row .stat-item {
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 2rem;
    color: var(--primary-navy);
}

.stat-item span {
    font-size: 0.9rem;
    color: var(--accent-silver);
    text-transform: uppercase;
}

.about-image img {
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.bg-light {
    background-color: var(--bg-soft-navy);
}

/* EQUIPO */
.team-container {
    max-width: 1200px;
    margin: 0 auto;
}

.profile-card {
    display: flex;
    gap: 3rem;
    align-items: stretch;
    margin-bottom: 4rem;
    background: white;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: var(--transition);
}

.profile-card:hover {
    box-shadow: 0 15px 40px rgba(10, 43, 66, 0.12);
    transform: translateY(-3px);
}

.profile-image {
    flex: 0 0 40%;
    min-height: 450px;
    overflow: hidden;
    background: var(--bg-soft-navy);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: var(--transition);
}

.profile-card:hover .profile-image img {
    transform: scale(1.02);
}

.profile-info {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.profile-info h3 {
    font-size: 2rem;
    color: var(--primary-navy);
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.profile-role {
    color: var(--secondary-cobalt);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    display: block;
    border-bottom: 2px solid var(--secondary-cobalt);
    padding-bottom: 1rem;
}

.profile-bio {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.profile-bio p {
    margin-bottom: 1rem;
    text-align: justify;
}

.profile-highlights {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.profile-highlights h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--secondary-cobalt);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.profile-highlights li {
    margin-bottom: 0.8rem;
    color: #555;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}

.profile-highlights li::before {
    content: '✓';
    color: var(--secondary-cobalt);
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.btn-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 1.5rem;
    padding: 0.8rem 1.5rem;
    background: #0A66C2;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-linkedin:hover {
    background: #084298;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(10, 102, 194, 0.3);
}

/* ÁREAS DE PRÁCTICA */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.area-card {
    background: white;
    padding: 2rem;
    border-top: 3px solid transparent;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.area-card:hover {
    transform: translateY(-5px);
    border-top-color: var(--secondary-cobalt);
    box-shadow: 0 15px 30px rgba(10, 43, 66, 0.1);
}

.area-icon {
    font-size: 1.5rem;
    color: var(--secondary-cobalt);
    margin-bottom: 1rem;
}

.area-card h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.btn-link {
    color: var(--secondary-cobalt);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn-link:hover {
    color: var(--primary-navy);
    transform: translateX(3px);
}

/* METODOLOGÍA */
.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 0 5%;
}

.method-card {
    background: white;
    padding: 2rem;
    border-radius: 4px;
    border-bottom: 4px solid var(--secondary-cobalt);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: var(--transition);
    text-align: center;
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(10, 43, 66, 0.1);
}

.method-card i {
    font-size: 2.5rem;
    color: var(--secondary-cobalt);
    margin-bottom: 1rem;
    display: block;
}

.method-card h4 {
    font-size: 1.2rem;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.method-card p {
    font-size: 0.9rem;
    color: #555;
}

/* POR QUÉ ELEGIRNOS */
.por-que-elegirnos-section {
    position: relative;
    background: linear-gradient(rgba(10, 43, 66, 0.75), rgba(30, 78, 121, 0.75));
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    padding: 5rem 10%;
}

.por-que-elegirnos-section .section-title h2 {
    color: white;
}

.por-que-elegirnos-section .section-title h2::after {
    background: rgba(255,255,255,0.3);
}

.access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.access-card {
    background: var(--primary-navy);
    color: white;
    padding: 2rem;
    text-align: center;
    border-radius: 4px;
    transition: var(--transition);
}

.access-card:hover {
    background: var(--secondary-cobalt);
    transform: translateY(-5px);
}

.access-card h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.access-card p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* RECURSOS */
.recursos-section {
    padding: 5rem 10%;
    background-color: var(--bg-soft-navy);
}

.recursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.recursos-subsection h3 {
    font-size: 1.3rem;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
}

.sentencias-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recurso-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
    color: var(--primary-navy);
    text-decoration: none;
}

.recurso-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(30, 78, 121, 0.15);
    color: var(--secondary-cobalt);
}

.recurso-item i {
    font-size: 1.5rem;
    color: var(--secondary-cobalt);
    flex-shrink: 0;
}

.recurso-item span {
    flex: 1;
    font-weight: 600;
}

.recurso-item small {
    color: var(--accent-silver);
    font-size: 0.8rem;
}

.video-item {
    margin-bottom: 1.5rem;
}

.video-item p {
    margin-top: 0.8rem;
    font-weight: 600;
    color: var(--primary-navy);
}

/* FAQ */
.faq-section {
    background-color: var(--bg-soft-navy);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem 2rem;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    font-weight: 600;
    color: var(--primary-navy);
    user-select: none;
}

.faq-question:hover {
    background: var(--bg-soft-navy);
    color: var(--secondary-cobalt);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--secondary-cobalt);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 2rem;
    color: #555;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 1.5rem 2rem;
}

/* CONTACTO */
.contact-section {
    background-color: white;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.vcard-container {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--bg-soft-navy);
    border-radius: 4px;
    text-align: center;
}

.vcard-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-cobalt));
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    margin: 0.5rem;
}

.vcard-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 78, 121, 0.3);
}

/* FOOTER */
.footer {
    background: var(--primary-navy);
    color: white;
    padding: 4rem 5% 2rem;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo-img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 1.2rem;
    font-weight: 700;
}

.footer h4 {
    color: var(--accent-silver);
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-info {
    margin-top: 1rem;
}

.footer-info p {
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-motto {
    font-style: italic;
    color: var(--accent-silver);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
}

/* ============================================
   RESPONSIVE DESIGN - MEDIA QUERIES
   ============================================ */

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-card {
        flex-direction: column;
        gap: 0;
    }
    
    .profile-image {
        flex: 0 0 auto;
        min-height: 350px;
    }
    
    .profile-info {
        padding: 2.5rem;
    }
    
    .profile-info h3 {
        font-size: 1.7rem;
    }
    
    .methodology-grid {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 5%;
    }
    
    .crisis-section {
        padding: 3rem 5%;
    }
    
    .crisis-grid {
        grid-template-columns: 1fr;
    }
    
    .about-text h3 {
        font-size: 1.3rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .profile-image {
        min-height: 300px;
    }
    
    .profile-info {
        padding: 2rem;
    }
    
    .profile-info h3 {
        font-size: 1.5rem;
    }
    
    .por-que-elegirnos-section {
        padding: 3rem 5%;
    }
    
    .recursos-section {
        padding: 3rem 5%;
    }
}

/* ============================================
   AJUSTES FINALES - OPTIMIZACIÓN
   ============================================ */

/* Reduce franja blanca superior */
.sticky-bar {
    padding: 0.3rem 5% !important;
    min-height: 55px !important;
}

/* Logo más pequeño y proporcional */
.logo img {
    max-height: 40px !important;
    width: auto !important;
    object-fit: contain;
}

/* Foto hero ajustada - no se corta */
.hero-visual {
    max-height: 75vh !important;
}

.lawyer-portrait {
    max-height: 75vh !important;
    width: auto !important;
    object-fit: contain;
}

/* ============================================
   SISTEMA DE CONSULTA URGENTE (MODAL & FLOAT)
   ============================================ */

/* Botón Flotante Estratégico */
.consulta-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--secondary-cobalt), var(--primary-navy));
    color: white;
    padding: 16px 28px;
    border-radius: 50px;
    box-shadow: 0 6px 25px rgba(30, 78, 121, 0.4);
    cursor: pointer;
    z-index: 999; /* 🔧 CORREGIDO: Debajo de modales */
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    animation: pulseButton 2s infinite;
}

.consulta-float-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(30, 78, 121, 0.6);
}

.consulta-float-btn .badge-urgent {
    background: var(--secondary-cobalt);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    animation: pulse 1.5s infinite;
    box-shadow: 0 0 8px rgba(30, 78, 121, 0.6);
}

@keyframes pulseButton {
    0%, 100% { box-shadow: 0 6px 25px rgba(30, 78, 121, 0.4); }
    50% { box-shadow: 0 6px 35px rgba(30, 78, 121, 0.6); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

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

/* Modal Overlay */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 43, 66, 0.75);
    backdrop-filter: blur(4px);
    z-index: 2000;
    animation: fadeIn 0.3s;
}

.modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modal Content */
.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

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

.modal-header {
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-cobalt));
    color: white;
    padding: 30px;
    border-radius: 12px 12px 0 0;
    position: relative;
}

.modal-header h2 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white !important;
}

.modal-header p {
    opacity: 0.9;
    font-size: 0.95rem;
    color: #e0e0e0;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.modal-close:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 35px;
}

/* Form Elements */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: var(--primary-navy);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group label .required {
    color: var(--secondary-cobalt);
    margin-left: 3px;
    font-weight: 700;
}

.form-group label .optional {
    color: var(--accent-silver);
    font-weight: 400;
    font-size: 0.85rem;
    margin-left: 5px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--secondary-cobalt);
    box-shadow: 0 0 0 3px rgba(30, 78, 121, 0.1);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230A2B42' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 45px;
}

textarea.form-input {
    resize: vertical;
    min-height: 90px;
    font-family: inherit;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.radio-option:hover {
    border-color: var(--secondary-cobalt);
    background: rgba(30, 78, 121, 0.02);
}

.radio-option input[type="radio"] {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.radio-option label {
    margin: 0;
    cursor: pointer;
    flex: 1;
}

.checkbox-group {
    display: flex;
    align-items: start;
    gap: 12px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-group label {
    margin: 0;
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.5;
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--secondary-cobalt), var(--primary-navy));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 78, 121, 0.4);
}

.security-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.security-notice i {
    color: #10B981;
    font-size: 1.2rem;
}

.security-notice p {
    margin: 0;
    font-size: 0.9rem;
    color: #065f46;
    line-height: 1.4;
}

/* Success Message */
.success-message {
    display: none;
    text-align: center;
    padding: 40px;
}

.success-message.active {
    display: block;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #10B981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    animation: scaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.success-icon i {
    color: white;
    font-size: 2.5rem;
}

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

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.success-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.success-btn.whatsapp {
    background: var(--whatsapp-green);
    color: white;
    border: 2px solid var(--whatsapp-green);
}

.success-btn.close {
    background: white;
    color: var(--primary-navy);
    border: 2px solid var(--primary-navy);
}

/* 🔧 MODAL DE PRIVACIDAD - CORREGIDO */
.privacy-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 43, 66, 0.85);
    backdrop-filter: blur(5px);
    z-index: 3000; /* 🔧 CORREGIDO: Por encima de todo */
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.privacy-modal.active {
    display: flex;
}

.privacy-content {
    background: white;
    border-radius: 12px;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 70px rgba(0,0,0,0.4);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.privacy-header {
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-cobalt));
    color: white;
    padding: 30px;
    border-radius: 12px 12px 0 0;
    position: relative;
}

.privacy-header h2 {
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white !important;
}

.privacy-body {
    padding: 35px;
    line-height: 1.8;
}

.privacy-body h3 {
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.privacy-body ol {
    padding-left: 20px;
}

.privacy-body li {
    margin-bottom: 15px;
    color: #333;
}

.privacy-close-btn {
    background: linear-gradient(135deg, var(--secondary-cobalt), var(--primary-navy));
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
}

.privacy-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 78, 121, 0.3);
}

/* RESPONSIVE MOBILE FUSION */
@media (max-width: 768px) {
    /* Ocultar botones individuales en móvil */
    .whatsapp-float, .consulta-float-btn {
        display: none !important;
    }

    /* Container de acción flotante móvil */
    .mobile-action-container {
        position: fixed;
        bottom: 20px;
        right: 20px;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 10px;
        z-index: 2000;
    }

    /* Botón principal (toggle) */
    .mobile-main-fab {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: var(--secondary-cobalt);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        cursor: pointer;
        transition: all 0.3s;
        z-index: 2002;
    }
    
    .mobile-main-fab.active {
        transform: rotate(45deg);
        background: var(--primary-navy);
    }

    /* Opciones desplegables */
    .mobile-fab-option {
        display: flex;
        align-items: center;
        gap: 10px;
        opacity: 0;
        transform: translateY(20px);
        pointer-events: none;
        transition: all 0.3s;
    }

    .mobile-main-fab.active ~ .mobile-fab-option {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .mobile-fab-option span {
        background: white;
        padding: 5px 10px;
        border-radius: 4px;
        font-size: 0.8rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        font-weight: 600;
        color: var(--primary-navy);
    }

    .mobile-fab-btn {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        font-size: 1.2rem;
        cursor: pointer;
        text-decoration: none;
    }

    .btn-fab-whatsapp {
        background: #25d366;
    }

    .btn-fab-urgent {
        background: var(--secondary-cobalt);
    }
}

@media (min-width: 769px) {
    .mobile-action-container {
        display: none !important;
    }
}


/* ============================================
   BOTÓN FLOTANTE EMERGENTE - CORREGIDO
   ============================================ */

.consulta-float-btn {
  display: none; /* Oculto por defecto - SIN !important */
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 1001;
  background: linear-gradient(135deg, #1E4E79, #0A2B42);
  color: white;
  padding: 16px 28px;
  border-radius: 50px;
  box-shadow: 0 6px 25px rgba(30, 78, 121, 0.4);
  cursor: pointer;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  animation: pulseButton 2s infinite;
}

/* VISIBLE cuando JavaScript agrega la clase */
.consulta-float-btn.visible {
  display: flex !important;
  opacity: 1;
  transform: scale(1);
}

.consulta-float-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(30, 78, 121, 0.6);
}

.consulta-float-btn .badge-urgent {
  background: #1E4E79;
  color: white;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  animation: pulse 1.5s infinite;
  box-shadow: 0 0 8px rgba(30, 78, 121, 0.6);
}

@keyframes pulseButton {
  0%, 100% { 
    box-shadow: 0 6px 25px rgba(30, 78, 121, 0.4); 
  }
  50% { 
    box-shadow: 0 6px 35px rgba(30, 78, 121, 0.6); 
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Responsive */
@media (max-width: 768px) {
  .consulta-float-btn {
    bottom: 80px;
    right: 20px;
    padding: 14px 24px;
    font-size: 0.9rem;
  }
}
