/* ==========================================================================
   RESET Y CONFIGURACIÓN BASE (ATMÓSFERA PREMIUM MEJORADA)
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    background-color: #000706; /* Negro ultra profundo para máximo contraste con el neón */
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
}

/* Esferas de luz ambiental (Glows de fondo en movimiento continuo) */
body::before, body::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 200, 0.07) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    animation: floatingGlow 20s infinite alternate ease-in-out;
    pointer-events: none;
}

body::before {
    top: -10%;
    left: -10%;
}

body::after {
    bottom: 15%;
    right: -10%;
    background: radial-gradient(circle, rgba(3, 60, 55, 0.35) 0%, transparent 70%);
    animation-delay: -7s;
}

/* Animación orgánica para las auroras de fondo */
@keyframes floatingGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(80px, 50px) scale(1.2); }
}

/* ==========================================================================
   PANTALLA DE CARGA (SPLASH SCREEN) - Se mantiene tu lógica intacta
   ========================================================================== */
.splash-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #010f0d;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
}

.splash-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.splash-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-wrapper {
    width: 180px;
    height: 180px;
    margin-bottom: 15px;
    opacity: 0;
    transform: scale(0.9);
}

/* La clase la pone script.js en el segundo 6 del video */
.logo-wrapper.logo-visible {
    animation: fadeInGlow 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 25px rgba(0, 255, 180, 0.8)); 
}

.brand-name {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 6px;
    margin-bottom: 25px;
    opacity: 0;
    animation: fadeInSimple 1.2s ease-out forwards;
    animation-delay: 1s;
}

.slogan-container {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 1.8s; 
}

.slogan-text {
    color: #ffffff; 
    font-size: 0.75rem;
    letter-spacing: 5px;
    line-height: 2;
    font-weight: 600;
}

.text-sub {
    color: #00ffcc; 
    font-weight: 400;
}

/* Keyframes de tus animaciones base */
@keyframes fadeInGlow {
    to { opacity: 1; transform: scale(1); }
}
@keyframes fadeInSimple {
    to { opacity: 1; }
}
@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   LANDING PAGE (DISEÑO MATRIZ CON PATRÓN DE GRÁFICAS)
   ========================================================================== */
.app-landing {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    
    /* Patrón de líneas financieras ascendentes inyectado en el fondo */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120" viewBox="0 0 120 120"><path d="M0 110 L35 85 L70 95 L120 40" fill="none" stroke="rgba(0, 255, 200, 0.025)" stroke-width="1.5"/><circle cx="120" cy="40" r="2" fill="rgba(0,255,200,0.1)"/></svg>');
    background-size: 240px 240px;
}

.app-landing.visible-active {
    opacity: 1;
    transform: translateY(0);
}

/* Encabezados Jerárquicos Estilizados */
.section-title {
    font-size: 2.2rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 45px;
    font-weight: 300;
    letter-spacing: -0.5px;
}

.section-title strong {
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #00ffcc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- SECCIÓN 1: HERO (DISEÑO ADAPTABLE Y COMPACTO) --- */
.hero-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

@media(min-width: 992px) {
    .hero-section {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.hero-title {
    font-size: 2.8rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 40%, #00ffcc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    color: #8faea3;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 400;
}

/* ==========================================================================
   COMPONENTES DEL CARRUSEL DE IMÁGENES (DISEÑO DE CRISTAL ESMERILADO)
   ========================================================================== */
.carousel-container {
    position: relative;
    width: 100%;
    height: 480px; 
    
    /* Transformación a Glassmorphism con bordes reactivos */
    background: linear-gradient(135deg, rgba(3, 38, 34, 0.3) 0%, rgba(1, 15, 13, 0.7) 100%);
    border: 1px solid rgba(0, 255, 200, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.6);
    padding: 0; 
    transition: border-color 0.4s, box-shadow 0.4s;
}

.carousel-container:hover {
    border-color: rgba(0, 255, 200, 0.5);
    box-shadow: 0 30px 60px rgba(0, 255, 200, 0.08);
}

/* ==========================================================================
   OPTIMIZACIÓN DEL CARRUSEL: TRANSICIÓN SUAVE (CROSSFADE)
   ========================================================================== */
.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    filter: brightness(0.35) contrast(1.05); /* Incrementa sutilmente el contraste */
    transition: opacity 1.2s ease-in-out, filter 1.2s ease-in-out;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    filter: brightness(0.95) contrast(1); 
    z-index: 2; 
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
}

/* Sombra protectora inferior fluida */
.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 30px 35px 30px;
    background: linear-gradient(to top, rgba(0, 7, 6, 1) 0%, rgba(0, 7, 6, 0.6) 65%, transparent 100%);
    text-align: center;
    z-index: 10; 
}

.slide-caption h4 {
    font-size: 1.4rem;
    color: #00ffcc;
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 255, 200, 0.3);
}

.slide-desc {
    color: #d1e2e0;
    font-size: 0.95rem;
    max-width: 80%;
    margin: 0 auto;
    line-height: 1.5;
}

/* ==========================================================================
   EFECTO DE REVELADO DINÁMICO AL HACER SCROLL (Para todo el sitio)
   ========================================================================== */
.scroll-animate {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.scroll-animate.revealed {
    opacity: 1;
    transform: translateY(0);
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(1, 13, 12, 0.75); /* Fondo oscuro para que resalten */
    border: 1px solid rgba(0, 255, 200, 0.4); /* Borde verde quetzal sutil */
    color: #00ffcc; /* Flecha verde quetzal brillante */
    font-size: 1.2rem;
    padding: 14px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 30; /* Valor alto para que NUNCA se queden detrás de la imagen o texto */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
}

/* Flecha Izquierda: Amarrada al borde izquierdo */
.prev-btn { 
    left: 15px; 
}

/* Flecha Derecha: Amarrada al borde derecho */
.next-btn { 
    right: 15px; 
}

/* Efecto Hover Profesional */
.carousel-btn:hover {
    background: #00ffcc;
    color: #010d0c;
    box-shadow: 0 0 15px rgba(0, 255, 200, 0.6);
    border-color: #00ffcc;
}

.carousel-btn:hover {
    background: #00ffcc;
    color: #010d0c;
    box-shadow: 0 0 15px rgba(0, 255, 200, 0.6);
}

.carousel-dots {
    position: absolute;
    bottom: 110px; /* Lo subimos un poco más para que libre el espacio del texto inferior */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
}

/* Ajuste para que las etiquetas <a> se comporten como bloques-botones */
.cta-group a, .btn-price-info {
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: #00ffcc;
    box-shadow: 0 0 8px #00ffcc;
}

/* --- BOTONES DE ACCIÓN (CTA) --- */
.cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

.btn {
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-primary {
    background: #00ffcc;
    border: none;
    color: #010d0c;
    box-shadow: 0 5px 15px rgba(0, 255, 200, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 255, 200, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 2px solid rgba(0, 255, 200, 0.4);
    color: #ffffff;
}

.btn-secondary:hover {
    background: rgba(0, 255, 200, 0.1);
    border-color: #00ffcc;
}

/* --- SECCIÓN 2: BENEFICIOS (TARJETAS) --- */
.benefits-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.benefit-card {
    background: rgba(2, 29, 26, 0.5);
    border: 1px solid rgba(0, 255, 200, 0.1);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 200, 0.3);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.benefit-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.benefit-card p {
    color: #a0c4c1;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* --- SECCIÓN 3: PÚBLICO + PRECIOS --- */
.segment-pricing-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

@media(min-width: 992px) {
    .segment-pricing-section {
        grid-template-columns: 350px 1fr;
    }
}

.audience-box {
    background: linear-gradient(135deg, #032c28 0%, #011412 100%);
    border: 1px solid rgba(0, 255, 200, 0.2);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.audience-box h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #00ffcc;
}

.audience-box ul {
    list-style: none;
}

.audience-box ul li {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #ffffff;
}

/* CONTENEDOR TARJETAS DE PRECIOS */
.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.price-card {
    background: rgba(2, 21, 19, 0.8);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    position: relative;
}

.price-card.featured {
    border-color: #00ffcc;
    box-shadow: 0 10px 25px rgba(0, 255, 200, 0.15);
}

.price-card h4 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 15px;
}

.price-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: #00ffcc;
    margin-bottom: 20px;
}

.price-card .price span {
    font-size: 0.9rem;
    color: #a0c4c1;
}

.btn-price-info {
    width: 100%;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 200, 0.4);
    background: transparent;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-price-info:hover {
    background: #00ffcc;
    color: #010d0c;
}

/* --- SECCIÓN 4: ACORDEÓN DE PREGUNTAS (FAQ) --- */
.faq-section {
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.accordion-item {
    background: #021a17;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 200, 0.05);
}

.accordion-header {
    width: 100%;
    padding: 18px 20px;
    background: transparent;
    border: none;
    color: #ffffff;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(1, 13, 12, 0.5);
}

.accordion-content p {
    padding: 20px;
    color: #a0c4c1;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- SECCIÓN 5: TESTIMONIOS --- */
.testimonials-section {
    max-width: 600px;
    margin: 0 auto 60px auto;
    text-align: center;
}

.testimonial-card {
    background: italic;
    padding: 20px;
    border-left: 3px solid #00ffcc;
    background: rgba(3, 44, 40, 0.2);
}

.testimonial-comment {
    font-style: italic;
    color: #ffffff;
    margin-bottom: 10px;
}

.testimonial-author {
    color: #00ffcc;
    font-size: 0.85rem;
    font-weight: 600;
}

/* --- FOOTER --- */
.app-footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

@media(min-width: 576px) {
    .app-footer {
        flex-direction: row;
        justify-content: space-between;
    }
}

.app-footer p {
    font-size: 0.85rem;
    color: #65807d;
}

.footer-links a {
    color: #65807d;
    text-decoration: none;
    font-size: 0.85rem;
    margin-left: 15px;
    transition: color 0.3s;
}

.footer-links a:hover { color: #00ffcc; }

/* ==========================================================================
   ANIMACIONES KEYFRAMES E INTERMITENCIAS
   ========================================================================== */
@keyframes fadeInGlow {
    0% { opacity: 0; transform: scale(0.85); filter: drop-shadow(0 0 0px rgba(0,255,180,0)); }
    100% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 30px rgba(0,255,180,0.9)); }
}
@keyframes fadeInSimple { to { opacity: 1; } }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

.fade-out { opacity: 0; visibility: hidden; pointer-events: none; }
.hidden { display: none !important; }

/* ==========================================================================
   REDICEÑO ULTRA-PREMIUM: DETALLES DE PLANES (UI/UX SENIOR)
   ========================================================================== */
.pricing-page-body {
    background-color: #010d0c;
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(0, 255, 180, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(3, 44, 40, 0.3) 0%, transparent 50%);
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
}

.product-detail-container {
    width: 100%;
    max-width: 1140px;
    padding: 60px 20px;
    margin: 0 auto;
}

/* Botón Volver Profesional (Componente UI) */
.back-btn-wrapper {
    display: inline-block;
    margin-bottom: 35px;
}

.ui-back-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 200, 0.15);
    padding: 10px 22px;
    border-radius: 100px;
    color: #a0c4c1;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.ui-back-btn .arrow-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
    color: #00ffcc;
}

.ui-back-btn:hover {
    color: #ffffff;
    background: rgba(0, 255, 200, 0.1);
    border-color: #00ffcc;
    box-shadow: 0 0 20px rgba(0, 255, 200, 0.3);
    transform: translateX(-4px);
}

.ui-back-btn:hover .arrow-icon {
    transform: translateX(-2px);
}

/* Títulos con Variación de Peso Visual */
.pricing-page-title {
    font-size: 3.2rem;
    font-weight: 300; /* Ultra ligero */
    line-height: 1.15;
    margin-bottom: 20px;
    color: #ffffff;
    letter-spacing: -1px;
}

.pricing-page-title strong {
    font-weight: 700; /* Super negrita */
    background: linear-gradient(135deg, #ffffff 30%, #00ffcc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-page-subtitle {
    color: #8faea3;
    font-size: 1.15rem;
    font-weight: 400;
    max-width: 650px;
    line-height: 1.6;
    margin-bottom: 50px;
}

/* Grid Maestro */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: start;
}

@media (min-width: 992px) {
    .detail-grid {
        grid-template-columns: 1fr 380px; /* Equilibrio perfecto laptop */
    }
}

/* Bloque Izquierdo (Contenido Técnico e Imagen) */
.detail-info-box {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.detail-main-card {
    background: linear-gradient(135deg, rgba(2, 21, 19, 0.4) 0%, rgba(1, 13, 11, 0.6) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.detail-main-card h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

/* Espacio de la Imagen de la Interfaz */
.detail-visual-showcase {
    width: 100%;
    height: 320px;
    background-color: #021614;
    border: 1px solid rgba(0, 255, 200, 0.15);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.8);
}

.detail-showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: transform 0.5s ease;
}

.detail-visual-showcase:hover .detail-showcase-img {
    transform: scale(1.02);
}

.detail-visual-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    padding: 20px;
    background: radial-gradient(ellipse at center, rgba(0,255,200,0.06) 0%, #021614 70%);
}

.detail-visual-icon {
    font-size: 4rem;
    filter: drop-shadow(0 0 20px rgba(0,255,200,0.35));
}

.detail-visual-caption {
    color: #8faea3;
    font-size: 0.95rem;
    max-width: 320px;
}

/* Secciones de Características */
.detail-section {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-section h3 {
    font-size: 1.2rem;
    color: #00ffcc;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-section p {
    color: #a0c4c1;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Tarjeta Derecha de Conversión */
.detail-action-card {
    background: linear-gradient(135deg, rgba(3, 44, 40, 0.6) 0%, rgba(1, 20, 18, 0.9) 100%);
    border: 1px solid rgba(0, 255, 200, 0.2);
    border-radius: 32px;
    padding: 45px 30px;
    text-align: center;
    box-shadow: 0 25px 55px rgba(0,0,0,0.5);
}

.detail-action-card.featured-detail-card {
    border-color: #00ffcc;
    box-shadow: 0 0 40px rgba(0, 255, 200, 0.15);
}

.detail-price {
    font-size: 4rem;
    font-weight: 300;
    color: #ffffff;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 10px;
}

.detail-price span {
    font-size: 1.1rem;
    color: #8faea3;
    letter-spacing: 0;
    font-weight: 400;
}

/* Efecto de foco premium en formularios */
.form-group input:focus {
    outline: none;
    background: rgba(0, 255, 200, 0.05) !important;
    border-color: #00ffcc !important;
    box-shadow: 0 0 15px rgba(0, 255, 200, 0.2);
}
/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE GLOBAL — páginas públicas (inicio, login, registro, contraseñas,
   legal, planes). Los estilos inline de esas páginas requieren !important.
   ════════════════════════════════════════════════════════════════════════ */
img, video { max-width: 100%; }
.splash-container { height: 100dvh; }

/* Intro: en celular vertical el video se ve completo (no se recorta "kaluli") */
@media (orientation: portrait) and (max-width: 900px) {
    .splash-video { object-fit: contain; }
}

@media (max-width: 768px) {
    /* Encabezado de login / registro */
    .auth-nav { padding: 16px 18px !important; gap: 12px; }
    .auth-logo { font-size: 1.5rem !important; gap: 10px !important; letter-spacing: 2px !important; }
    .auth-logo img { height: 34px !important; }
    .auth-logo-divider { height: 24px !important; }
    .btn-ghost-nav { padding: 8px 14px !important; font-size: 0.68rem !important; letter-spacing: 1px !important; white-space: nowrap; }

    /* Encabezado de recuperar / cambiar contraseña, legal y planes (inline) */
    .auth-header { padding: 16px 18px !important; gap: 12px; }
    .auth-header .brand-group { gap: 10px !important; min-width: 0; }
    .auth-header .nav-brand-name { font-size: 1.5rem !important; letter-spacing: 2px !important; }
    .auth-header .nav-logo-wrapper { padding-left: 10px !important; }
    .auth-header .nav-logo-wrapper img { height: 34px !important; }
    .ui-back-btn { padding: 8px 14px !important; font-size: 0.68rem !important; letter-spacing: 1px !important; white-space: nowrap; display: inline-block; }

    /* Fila "Recordarme · ¿Olvidaste tu contraseña?" */
    .form-row-meta { flex-wrap: wrap; gap: 10px; }

    /* Títulos grandes */
    .hero-title { font-size: 2.1rem; }
    .section-title { font-size: 1.7rem !important; }
}

@media (max-width: 480px) {
    /* En pantallas muy chicas el botón "volver" queda solo con la flecha + texto corto */
    .auth-logo-divider { display: none; }
    .btn-ghost-nav, .ui-back-btn { padding: 7px 12px !important; font-size: 0.62rem !important; }
    .hero-title { font-size: 1.8rem; letter-spacing: -0.5px; }
    .enterprise-contact-section .detail-main-card { padding: 28px 18px !important; }
    input, select, textarea { font-size: 16px !important; } /* iOS no hace zoom */
}

@media (max-width: 380px) {
    .auth-header .nav-logo-wrapper { border-left: none !important; padding-left: 0 !important; }
    .auth-header .nav-logo-wrapper img, .auth-logo img { height: 28px !important; }
    .auth-logo, .auth-header .nav-brand-name { font-size: 1.3rem !important; }
}
