/**
 * Master Stylesheet - Test Alma Gemela (PageSpeed 100 Optimized)
 * Bundled without @import to eliminate render-blocking HTTP request chaining.
 */

/* === variables.css === */
/**
 * Variables y Tokens de Diseño - Test Alma Gemela
 * Paleta oscura premium inspirada en la referencia visual.
 */

:root {
    /* Fondos */
    --bg-main: #07080e;
    --bg-darker: #040508;
    --bg-card: rgba(15, 18, 32, 0.72);
    --bg-card-hover: rgba(23, 28, 48, 0.85);
    --bg-card-elevated: rgba(30, 36, 62, 0.8);
    --bg-input: rgba(14, 18, 30, 0.9);

    /* Acentos y Gradientes */
    --primary: #8b5cf6;
    --primary-hover: #7c3aed;
    --primary-glow: rgba(139, 92, 246, 0.4);
    --magenta: #ec4899;
    --violet: #a855f7;
    --indigo: #6366f1;
    --cyan: #38bdf8;
    --emerald: #10b981;
    --amber: #f59e0b;
    --rose: #f43f5e;

    /* Gradientes especiales */
    --gradient-btn-primary: linear-gradient(135deg, #7928ca 0%, #a855f7 50%, #6366f1 100%);
    --gradient-btn-hover: linear-gradient(135deg, #8b31ea 0%, #b869ff 50%, #7578ff 100%);
    --gradient-brand-text: linear-gradient(135deg, #ffffff 20%, #c084fc 60%, #ec4899 100%);
    --gradient-subtle-glow: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.15) 0%, rgba(7, 8, 14, 0) 70%);
    --gradient-card-border: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(139, 92, 246, 0.25) 50%, rgba(255, 255, 255, 0.04) 100%);

    /* Bordes y Sombras */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(168, 85, 247, 0.4);
    --border-focus: rgba(236, 72, 153, 0.6);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow-primary: 0 0 25px rgba(139, 92, 246, 0.35);
    --shadow-glow-magenta: 0 0 30px rgba(236, 72, 153, 0.35);

    /* Textos */
    --text-pure: #ffffff;
    --text-title: #f8fafc;
    --text-body: #cbd5e1;
    --text-muted: #94a3b8;
    --text-subtle: #64748b;

    /* Tipografía */
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-script: 'Caveat', cursive, sans-serif;

    /* Radios */
    --radius-pill: 9999px;
    --radius-card: 20px;
    --radius-sm: 10px;
    --radius-md: 14px;

    /* Layout */
    --container-max: 1200px;
    --header-height: 76px;
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}


/* === base.css === */
/**
 * Resets y Estilos Base - Test Alma Gemela
 */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-main);
    color: var(--text-body);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Fondo ambiental con sutiles nubes nebulosas */
body::before {
    content: '';
    position: fixed;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, rgba(236, 72, 153, 0.08) 35%, rgba(7, 8, 14, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    bottom: -150px;
    right: 5%;
    width: 700px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.09) 0%, rgba(7, 8, 14, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

main {
    flex: 1 0 auto;
    position: relative;
    z-index: 1;
}

/* Tipografía Principal */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-title);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul, ol {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

svg {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ==============================================================================
   CONTENEDOR Y ESTILOS PARA INPUT DATE (Icono Blanco Brillante Garantizado)
   ============================================================================== */
.date-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.date-input-wrap input[type="date"] {
    width: 100%;
    color-scheme: dark !important;
    padding-right: 2.75rem !important;
    cursor: pointer;
}

.date-input-wrap .date-calendar-icon-overlay {
    position: absolute;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    color: #ffffff;
    opacity: 0.95;
    z-index: 2;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.date-input-wrap:hover .date-calendar-icon-overlay {
    opacity: 1;
    transform: scale(1.08);
}

.date-input-wrap input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 0;
    top: 0;
    width: 2.75rem;
    height: 100%;
    opacity: 0 !important;
    cursor: pointer;
    z-index: 3;
}

input[type="date"] {
    color-scheme: dark !important;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E") no-repeat center !important;
    background-size: 18px 18px !important;
    opacity: 0.95;
    padding: 3px;
    border-radius: 4px;
    filter: none !important;
    transition: opacity 0.2s ease;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
    filter: drop-shadow(0 0 6px #c084fc) !important;
}

/* Layouts y Contenedores */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.container-narrow {
    max-width: 860px;
}

/* Clases Utilitarias */
.text-gradient {
    background: var(--gradient-brand-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.eyebrow-badge {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: #a855f7;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 620px;
    margin-bottom: 2.5rem;
}

.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.w-full {
    width: 100%;
}

.icon {
    width: 1.25rem;
    height: 1.25rem;
    stroke-width: 2;
    flex-shrink: 0;
}

.icon-sm {
    width: 1rem;
    height: 1rem;
}

.icon-lg {
    width: 2rem;
    height: 2rem;
}

.icon-primary {
    width: 1.35rem !important;
    height: 1.35rem !important;
    max-width: 1.35rem !important;
    max-height: 1.35rem !important;
    color: var(--primary) !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* Utilidades de Dimensiones de Iconos y Elementos */
.w-3 { width: 0.75rem !important; }
.h-3 { height: 0.75rem !important; }
.w-3\.5 { width: 0.875rem !important; }
.h-3\.5 { height: 0.875rem !important; }
.w-4 { width: 1rem !important; }
.h-4 { height: 1rem !important; }
.w-5 { width: 1.25rem !important; }
.h-5 { height: 1.25rem !important; }
.w-6 { width: 1.5rem !important; }
.h-6 { height: 1.5rem !important; }
.w-7 { width: 1.75rem !important; }
.h-7 { height: 1.75rem !important; }
.w-8 { width: 2rem !important; }
.h-8 { height: 2rem !important; }
.w-10 { width: 2.5rem !important; }
.h-10 { height: 2.5rem !important; }
.w-12 { width: 3rem !important; }
.h-12 { height: 3rem !important; }

/* Utilidades de Color de Texto e Iconos */
.text-purple { color: #c084fc !important; }
.text-amber { color: #f59e0b !important; }
.text-emerald { color: #10b981 !important; }
.text-rose { color: #f43f5e !important; }
.text-sky { color: #38bdf8 !important; }
.text-muted { color: var(--text-muted) !important; }

/* Selección de texto con estilo Neón */
::selection {
    background: rgba(168, 85, 247, 0.4);
    color: #ffffff;
}


/* === components.css === */
/**
 * Componentes UI Reutilizables - Test Alma Gemela
 */

/* =========================================
   HEADER & NAVEGACIÓN
   ========================================= */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 8, 14, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
}

.site-header.is-scrolled {
    background: rgba(5, 6, 11, 0.92);
    border-bottom-color: rgba(168, 85, 247, 0.18);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
}

.logo-icon svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 0 8px rgba(236, 72, 153, 0.5));
}

.brand-text {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.brand-alma {
    color: var(--text-pure);
}

.brand-gemela {
    color: #e2e8f0;
}

/* Navegación Desktop */
.desktop-nav .nav-links {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.nav-item {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 0.4rem 0;
    position: relative;
}

.nav-item:hover {
    color: var(--text-pure);
}

.nav-item.is-active {
    color: var(--text-pure);
}

.nav-item.is-active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ec4899, #8b5cf6);
    border-radius: var(--radius-pill);
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.8);
}

/* Acciones Header */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-trigger-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.5rem;
    cursor: pointer;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.search-trigger-btn:hover {
    color: var(--text-pure);
    background: rgba(255, 255, 255, 0.05);
}

.icon-search {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    flex-shrink: 0 !important;
}

.icon-arrow {
    width: 1.15rem !important;
    height: 1.15rem !important;
    max-width: 1.15rem !important;
    max-height: 1.15rem !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* Botones Píldora */
.btn-pill-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.7rem 1.6rem;
    border-radius: var(--radius-pill);
    background: var(--gradient-btn-primary);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-glow-primary);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
    line-height: 1.2;
}

.btn-pill-primary:hover {
    background: var(--gradient-btn-hover);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.65);
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-pill-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.7rem 1.6rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-pure);
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
    line-height: 1.2;
}

.btn-pill-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(168, 85, 247, 0.4);
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-pill-primary span,
.btn-pill-secondary span {
    white-space: nowrap !important;
    display: inline-block;
}

.btn-pill-primary svg,
.btn-pill-secondary svg,
.header-cta-btn svg {
    width: 1.15rem !important;
    height: 1.15rem !important;
    max-width: 1.15rem !important;
    max-height: 1.15rem !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.header-cta-btn {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    padding: 0.65rem 1.35rem;
}

.btn-hero-lg {
    padding: 0.95rem 2.2rem;
    font-size: 1.05rem;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.btn-hero-lg svg {
    width: 1.25rem !important;
    height: 1.25rem !important;
    max-width: 1.25rem !important;
    max-height: 1.25rem !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* Botón Hamburguesa Móvil */
.mobile-toggle-btn {
    display: none;
    background: transparent;
    border: none;
    width: 38px;
    height: 38px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.mobile-toggle-btn .bar {
    width: 22px;
    height: 2px;
    background-color: var(--text-pure);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.mobile-toggle-btn[aria-expanded="true"] .bar-1 {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle-btn[aria-expanded="true"] .bar-2 {
    opacity: 0;
}

.mobile-toggle-btn[aria-expanded="true"] .bar-3 {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu-drawer {
    display: none;
    background: rgba(10, 12, 22, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.5rem;
    animation: fadeInDown 0.25s ease-out;
}

.mobile-menu-drawer.is-open {
    display: block;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.mobile-nav-links a {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.mobile-nav-links a.is-active,
.mobile-nav-links a:hover {
    color: var(--text-pure);
}

/* =========================================
   TARJETAS GLASSMORPHISM
   ========================================= */
.card-glass {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    padding: 1.75rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.card-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.card-glass:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6), 0 0 20px rgba(139, 92, 246, 0.12);
}

/* =========================================
   SECCIÓN "QUÉ DESCUBRIRÁS" (6 CARDS)
   ========================================= */
.discover-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.discover-card {
    display: flex;
    flex-direction: column;
    padding: 1.4rem 1.1rem;
    min-height: 190px;
}

.discover-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.discover-icon-wrap svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

.discover-card-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-title);
    margin-bottom: 0.45rem;
    line-height: 1.3;
}

.discover-card-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* =========================================
   SECCIÓN "LOS TIPOS DE ALMA GEMELA" (6 CARDS)
   ========================================= */
.archetypes-row-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-bottom: 2.2rem;
}

.archetype-card-mini {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    padding: 1.75rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    min-height: 170px;
    cursor: pointer;
    text-decoration: none;
}

.archetype-card-mini .card-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.archetype-card-mini .card-icon svg {
    width: 28px !important;
    height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

.archetype-card-mini .arch-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-title);
    margin-bottom: 0.35rem;
}

.archetype-card-mini .arch-tagline {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.archetype-card-mini:hover {
    transform: translateY(-5px);
}

.archetype-card-mini[data-archetype="llama-gemela"]:hover {
    border-color: rgba(244, 63, 94, 0.6);
    box-shadow: 0 0 25px rgba(244, 63, 94, 0.3);
}

.archetype-card-mini[data-archetype="ancla"]:hover {
    border-color: rgba(56, 189, 248, 0.6);
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.3);
}

.archetype-card-mini[data-archetype="espiritu-afin"]:hover {
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.3);
}

.archetype-card-mini[data-archetype="aventurero"]:hover {
    border-color: rgba(192, 132, 252, 0.6);
    box-shadow: 0 0 25px rgba(192, 132, 252, 0.3);
}

.archetype-card-mini[data-archetype="sanador"]:hover {
    border-color: rgba(236, 72, 153, 0.6);
    box-shadow: 0 0 25px rgba(236, 72, 153, 0.3);
}

.archetype-card-mini[data-archetype="catalizador"]:hover {
    border-color: rgba(245, 158, 11, 0.6);
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.3);
}

/* =========================================
   FAQ ACORDEÓN (2 COLUMNAS)
   ========================================= */
.faq-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.faq-see-all-link {
    font-size: 0.92rem;
    font-weight: 600;
    color: #c084fc;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.faq-see-all-link:hover {
    color: var(--text-pure);
}

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

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item.is-active {
    border-color: rgba(168, 85, 247, 0.35);
    background: var(--bg-card-hover);
}

.faq-question-btn {
    width: 100%;
    padding: 1.15rem 1.25rem;
    background: transparent;
    border: none;
    color: var(--text-title);
    font-size: 0.96rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    gap: 0.75rem;
}

.faq-icon-toggle {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: transform 0.25s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-icon-toggle svg {
    width: 1.1rem !important;
    height: 1.1rem !important;
    max-width: 1.1rem !important;
    max-height: 1.1rem !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

.faq-item.is-active .faq-icon-toggle {
    transform: rotate(45deg);
    color: var(--primary);
}

.faq-answer-content {
    display: none;
    padding: 0 1.25rem 1.25rem 1.25rem;
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.55;
}

.faq-item.is-active .faq-answer-content {
    display: block;
    animation: fadeIn 0.2s ease-in;
}

/* =========================================
   BANNER CTA FINAL
   ========================================= */
.final-cta-section {
    padding: 4rem 0 5rem;
}

.final-cta-card {
    background: radial-gradient(ellipse at bottom right, rgba(124, 58, 237, 0.25) 0%, rgba(14, 17, 30, 0.95) 70%);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: var(--radius-card);
    padding: 3.5rem 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 35px rgba(139, 92, 246, 0.15);
}

.final-cta-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 350px;
    height: 200px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.final-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.final-cta-text h2 {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
}

.final-cta-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
    max-width: 540px;
}

.cta-meta-chips {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.86rem;
    color: var(--text-muted);
}

.cta-chip svg {
    width: 1.1rem !important;
    height: 1.1rem !important;
    max-width: 1.1rem !important;
    max-height: 1.1rem !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.cta-script-note {
    position: absolute;
    bottom: 1.2rem;
    right: 2.5rem;
    font-family: var(--font-script);
    font-size: 1.4rem;
    color: #f472b6;
    transform: rotate(-4deg);
    opacity: 0.85;
}

/* =========================================
   FOOTER GLOBAL
   ========================================= */
.site-footer {
    background: #040509;
    border-top: 1px solid var(--border-subtle);
    padding: 4.5rem 0 2rem;
    position: relative;
    margin-top: auto;
}

.footer-glow-accent {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.5), rgba(236, 72, 153, 0.5), transparent);
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.3fr 1.1fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.footer-brand-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    max-width: 320px;
}

.footer-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    font-size: 0.8rem;
    color: #c084fc;
}

.footer-col-title {
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--text-title);
    margin-bottom: 1.2rem;
    letter-spacing: -0.01em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--text-pure);
    transform: translateX(3px);
}

.footer-disclaimer-box {
    background: rgba(14, 18, 32, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.disclaimer-icon svg {
    width: 22px;
    height: 22px;
    color: #a855f7;
    flex-shrink: 0;
}

.disclaimer-text {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.disclaimer-text strong {
    color: var(--text-body);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.84rem;
    color: var(--text-subtle);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-legal-links a:hover {
    color: var(--text-body);
}

/* =========================================
   MODAL DE BÚSQUEDA
   ========================================= */
.search-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 5, 10, 0.8);
    backdrop-filter: blur(12px);
    z-index: 2000;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10vh;
}

.search-modal-backdrop.is-open {
    display: flex;
    animation: fadeIn 0.2s ease-out;
}

.search-modal-card {
    background: var(--bg-card-elevated);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-card);
    width: 92%;
    max-width: 650px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(139, 92, 246, 0.25);
    overflow: hidden;
}

.search-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.search-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.site-search-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-pure);
    font-size: 1.1rem;
}

.site-search-input::placeholder {
    color: var(--text-subtle);
}

.search-close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.35rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
}

.search-close-btn:hover {
    color: var(--text-pure);
    background: rgba(255, 255, 255, 0.08);
}

.search-modal-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.search-section-label {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-subtle);
    margin-bottom: 0.85rem;
}

.search-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.search-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.search-tag:hover {
    color: var(--text-pure);
    border-color: var(--border-hover);
    background: rgba(139, 92, 246, 0.15);
}

.search-result-item {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    margin-bottom: 0.5rem;
    transition: var(--transition-smooth);
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(168, 85, 247, 0.3);
}

.search-result-item-title {
    font-weight: 600;
    color: var(--text-title);
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.search-result-item-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
}

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

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* === hero.css === */
/**
 * Estilos Específicos del Hero - Test Alma Gemela
 * Fiel reproducción de la composición visual de referencia.
 */

.hero-section {
    position: relative;
    padding: 3.5rem 0 5rem;
    overflow: visible;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 2.5rem;
}

/* Columna Izquierda */
.hero-content {
    max-width: 580px;
    z-index: 2;
}

.hero-eyebrow {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #a855f7;
    margin-bottom: 1rem;
    display: inline-block;
}

.hero-title {
    font-size: clamp(2.8rem, 4.8vw, 4.2rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 1.4rem;
    color: #ffffff;
}

.hero-title-gradient {
    background: linear-gradient(135deg, #c084fc 15%, #ec4899 65%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    filter: drop-shadow(0 0 25px rgba(236, 72, 153, 0.45));
}

.hero-subtitle {
    font-size: 1.08rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 520px;
}

/* Chips Meta (15 preguntas, 3 min, Gratis) */
.hero-chips-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.2rem;
    flex-wrap: wrap;
}

.hero-chip-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    color: #cbd5e1;
    font-weight: 500;
}

.hero-chip-item svg {
    width: 17px !important;
    height: 17px !important;
    max-width: 17px !important;
    max-height: 17px !important;
    flex-shrink: 0 !important;
    color: #a855f7;
}

/* Botón y Subtexto */
.hero-cta-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.hero-cta-wrap .btn-pill-primary {
    white-space: nowrap;
    flex-shrink: 0;
}

.hero-subtext {
    font-size: 0.85rem;
    color: var(--text-subtle);
    font-style: italic;
}

/* Columna Derecha (Visual Cósmico) */
.hero-visual-col {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero-heart-container {
    width: 100%;
    max-width: 580px;
    aspect-ratio: 1 / 0.95;
    position: relative;
    perspective: 1000px;
    user-select: none;
}

/* Escenario Mágico con soporte 3D */
.hero-heart-magic-stage {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    cursor: pointer;
    transition: transform 0.22s cubic-bezier(0.2, 0, 0.2, 1);
}

/* Resplandor de Fondo Nebular Dinámico */
.hero-nebula-glow {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.42) 0%, rgba(236, 72, 153, 0.25) 40%, rgba(56, 189, 248, 0.12) 65%, transparent 80%);
    filter: blur(52px);
    pointer-events: none;
    z-index: 0;
    animation: nebulaAuraPulse 7s ease-in-out infinite alternate;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero-heart-magic-stage:hover .hero-nebula-glow {
    opacity: 0.9;
    filter: blur(44px);
    background: radial-gradient(circle, rgba(168, 85, 247, 0.52) 0%, rgba(236, 72, 153, 0.35) 42%, rgba(56, 189, 248, 0.18) 70%, transparent 82%);
}

/* Elemento SVG del Corazón */
.hero-heart-svg-element {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: visible;
    filter: drop-shadow(0 0 35px rgba(168, 85, 247, 0.45));
    transition: filter 0.4s ease;
}

.hero-heart-magic-stage:hover .hero-heart-svg-element {
    filter: drop-shadow(0 0 55px rgba(236, 72, 153, 0.65)) drop-shadow(0 0 25px rgba(56, 189, 248, 0.45));
}

/* =========================================
   ANIMACIONES DE ELEMENTOS SVG INTERNOS
   ========================================= */

/* 1. Latido Cósmico Rítmico ("Cosmic Heartbeat") */
.heart-pulse-actor {
    transform-origin: 350px 280px;
    animation: cosmicHeartbeat 3.4s cubic-bezier(0.25, 1, 0.5, 1) infinite;
    will-change: transform;
}

.hero-heart-magic-stage:hover .heart-pulse-actor {
    animation-duration: 2.6s; /* Latido ligeramente más rápido al pasar el cursor */
}

/* 2. Onda de Resonancia que emana del corazón */
.heart-resonance-wave {
    transform-origin: 350px 280px;
    animation: resonanceWavePulse 3.4s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}

/* 3. Filamento Interno con Vibración de Luz */
.heart-inner-filament {
    animation: filamentFlow 2.8s ease-in-out infinite alternate;
}

.heart-refract-line {
    animation: refractPulse 4s ease-in-out infinite alternate;
}

/* 4. Órbitas Elípticas Cósmicas en Rotación Continua */
.orbit-group-1 {
    transform-origin: 350px 280px;
    animation: orbitSpinClockwise 38s linear infinite;
}

.orbit-group-2 {
    transform-origin: 350px 280px;
    animation: orbitSpinCounterClockwise 48s linear infinite;
}

.orbit-group-3 {
    transform-origin: 350px 280px;
    animation: orbitPulseDashes 10s ease-in-out infinite;
}

/* 5. Cometas de Luz Orbitales */
.orbiting-comet {
    transform-origin: 350px 280px;
}

/* 6. Destellos Diamante Estelares */
.flare-diamond {
    will-change: transform, opacity;
}

.flare-top-right {
    transform-origin: 520px 139px;
    animation: flareGlowA 3.6s ease-in-out infinite alternate;
}

.flare-top-left {
    transform-origin: 170px 123px;
    animation: flareGlowB 4.2s ease-in-out infinite alternate;
}

.flare-bottom-tip {
    transform-origin: 350px 500px;
    animation: flareGlowA 3s ease-in-out infinite alternate 1.2s;
}

/* 7. Constelaciones de Estrellas Titilantes en Fases Alternas */
.stars-phase-a circle {
    animation: starBlink 3.2s ease-in-out infinite;
}

.stars-phase-b circle {
    animation: starBlink 3.8s ease-in-out infinite 1.2s;
}

.stars-phase-c circle {
    animation: starBlink 4.4s ease-in-out infinite 2.2s;
}

/* 8. Texto Manuscrito */
.layer-handwriting {
    animation: handwritingFloating 6s ease-in-out infinite alternate;
}

.handwriting-underline {
    stroke-dasharray: 130;
    stroke-dashoffset: 0;
    animation: underlineGlow 4s ease-in-out infinite alternate;
}

/* =========================================
   INTERACCIÓN Y ONDA EXPANSIVA (CLICK/TAP)
   ========================================= */
.heart-interactive-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.1);
    border: 2px solid rgba(236, 72, 153, 0.85);
    box-shadow: 0 0 35px rgba(168, 85, 247, 0.9), inset 0 0 25px rgba(236, 72, 153, 0.7);
    opacity: 0;
    pointer-events: none;
    z-index: 2;
}

.heart-interactive-ripple.is-firing {
    animation: cosmicRippleExpand 1.1s cubic-bezier(0.15, 0.85, 0.35, 1) forwards;
}

/* Partículas flotantes generadas dinámicamente al pulsar */
.floating-cosmic-sparkle {
    position: absolute;
    pointer-events: none;
    z-index: 3;
    font-size: 1.1rem;
    color: #f472b6;
    text-shadow: 0 0 12px rgba(236, 72, 153, 0.9), 0 0 24px rgba(168, 85, 247, 0.8);
    animation: floatSparkleUp 1.25s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}

/* Indicador flotante sutil ("Haz clic para conectar") */
.heart-magic-hint {
    position: absolute;
    bottom: 25px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-pill);
    background: rgba(14, 17, 30, 0.75);
    border: 1px solid rgba(168, 85, 247, 0.35);
    backdrop-filter: blur(10px);
    font-size: 0.76rem;
    color: #cbd5e1;
    letter-spacing: 0.04em;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: 4;
}

.hero-heart-magic-stage:hover .heart-magic-hint {
    opacity: 0.88;
    transform: translateY(0);
}

.magic-sparkle-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ec4899;
    box-shadow: 0 0 8px #ec4899;
    animation: dotPulse 1.5s ease-in-out infinite;
}

/* Tarjeta Flotante con Cita (Bottom Right como en la referencia) */
.hero-floating-quote-card {
    position: absolute;
    bottom: -15px;
    right: -10px;
    max-width: 320px;
    background: rgba(14, 17, 30, 0.88);
    border: 1px solid rgba(168, 85, 247, 0.35);
    border-radius: var(--radius-md);
    padding: 1.05rem 1.3rem;
    backdrop-filter: blur(18px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.65), 0 0 25px rgba(139, 92, 246, 0.25);
    animation: floatGentle 5.5s ease-in-out infinite;
    z-index: 3;
    transform-style: preserve-3d;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-floating-quote-card:hover {
    border-color: rgba(236, 72, 153, 0.5);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75), 0 0 30px rgba(236, 72, 153, 0.35);
}

.hero-floating-quote-card p {
    font-size: 0.84rem;
    color: #cbd5e1;
    line-height: 1.5;
    font-style: italic;
    margin: 0;
}

/* =========================================
   KEYFRAMES DE ANIMACIÓN
   ========================================= */

/* Doble Latido Cardíaco Orgánico (Lub-Dub) */
@keyframes cosmicHeartbeat {
    0%, 100% {
        transform: scale(1);
    }
    10% {
        transform: scale(1.038);
    }
    18% {
        transform: scale(1.012);
    }
    28% {
        transform: scale(1.058);
    }
    45% {
        transform: scale(1);
    }
}

/* Onda de Resonancia Sincronizada con el Latido */
@keyframes resonanceWavePulse {
    0%, 100% {
        transform: scale(1.08) translate(-28px, -20px);
        opacity: 0.25;
    }
    28% {
        transform: scale(1.15) translate(-36px, -28px);
        opacity: 0.5;
    }
    55% {
        transform: scale(1.08) translate(-28px, -20px);
        opacity: 0.25;
    }
}

/* Pulso Nebular de Fondo */
@keyframes nebulaAuraPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.06);
        opacity: 0.95;
    }
}

/* Rotación Órbitas */
@keyframes orbitSpinClockwise {
    from {
        transform: rotate(-22deg);
    }
    to {
        transform: rotate(338deg);
    }
}

@keyframes orbitSpinCounterClockwise {
    from {
        transform: rotate(35deg);
    }
    to {
        transform: rotate(-325deg);
    }
}

@keyframes orbitPulseDashes {
    0%, 100% {
        stroke-dashoffset: 0;
        opacity: 0.35;
    }
    50% {
        stroke-dashoffset: 40;
        opacity: 0.6;
    }
}

/* Brillos de Destellos Estelares */
@keyframes flareGlowA {
    0% {
        transform: scale(0.85) rotate(0deg);
        opacity: 0.65;
    }
    50% {
        transform: scale(1.28) rotate(15deg);
        opacity: 1;
        filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.9));
    }
    100% {
        transform: scale(0.85) rotate(0deg);
        opacity: 0.65;
    }
}

@keyframes flareGlowB {
    0% {
        transform: scale(0.9) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.22) rotate(-12deg);
        opacity: 1;
        filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.9));
    }
    100% {
        transform: scale(0.9) rotate(0deg);
        opacity: 0.7;
    }
}

/* Titileo Estelar de Fondo */
@keyframes starBlink {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.9);
    }
    50% {
        opacity: 1;
        transform: scale(1.35);
    }
}

/* Flujo de Filamento Interno */
@keyframes filamentFlow {
    0% {
        opacity: 0.75;
        stroke-width: 1.7;
    }
    100% {
        opacity: 0.98;
        stroke-width: 2.2;
    }
}

@keyframes refractPulse {
    0% {
        opacity: 0.3;
    }
    100% {
        opacity: 0.65;
    }
}

/* Flotación de Caligrafía */
@keyframes handwritingFloating {
    0% {
        transform: translate(480px, 50px) rotate(-6deg);
    }
    100% {
        transform: translate(480px, 46px) rotate(-5.2deg);
    }
}

@keyframes underlineGlow {
    0% {
        stroke-dashoffset: 20;
        opacity: 0.6;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 0.95;
    }
}

/* Expansión de Onda Cósmica al Clic */
@keyframes cosmicRippleExpand {
    0% {
        transform: translate(-50%, -50%) scale(0.1);
        opacity: 1;
    }
    70% {
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.6);
        opacity: 0;
    }
}

/* Partícula de Chispa Flotante */
@keyframes floatSparkleUp {
    0% {
        transform: translateY(0) scale(0.4) rotate(0deg);
        opacity: 0;
    }
    20% {
        opacity: 1;
        transform: translateY(-15px) scale(1.2) rotate(15deg);
    }
    100% {
        transform: translateY(-80px) scale(0.6) rotate(45deg);
        opacity: 0;
    }
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

@keyframes floatGentle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-9px);
    }
}

/* Respeto a Preferencias de Movimiento Reducido */
@media (prefers-reduced-motion: reduce) {
    .heart-pulse-actor,
    .heart-resonance-wave,
    .orbit-group-1,
    .orbit-group-2,
    .orbit-group-3,
    .flare-diamond,
    .stars-phase-a circle,
    .stars-phase-b circle,
    .stars-phase-c circle,
    .hero-floating-quote-card {
        animation: none !important;
    }
}


/* === test.css === */
/**
 * Estilos del Motor del Test - Test Alma Gemela
 */

.test-wrapper {
    min-height: calc(100vh - var(--header-height) - 100px);
    padding: 2.5rem 0 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.test-container-box {
    width: 100%;
    max-width: 780px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    padding: 2.5rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.7), 0 0 30px rgba(139, 92, 246, 0.1);
    position: relative;
}

/* Barra de Progreso */
.test-progress-header {
    margin-bottom: 2.2rem;
}

.test-step-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.test-step-count {
    font-weight: 700;
    color: #c084fc;
}

.test-progress-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-pill);
    overflow: hidden;
    position: relative;
}

.test-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #38bdf8, #8b5cf6, #ec4899);
    border-radius: var(--radius-pill);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 12px rgba(236, 72, 153, 0.8);
}

/* Contenido de la Pregunta */
.test-question-box {
    margin-bottom: 2.2rem;
}

.test-question-title {
    font-size: clamp(1.3rem, 2.8vw, 1.75rem);
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-title);
    margin-bottom: 0.6rem;
}

.test-question-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Opciones en Tarjetas Grandes */
.test-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
    margin-bottom: 2.2rem;
}

.test-option-card {
    background: rgba(14, 18, 32, 0.85);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.35rem;
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    user-select: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.test-option-card:hover {
    background: rgba(24, 30, 52, 0.95);
    border-color: rgba(168, 85, 247, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.2);
}

.test-option-card.is-selected {
    background: radial-gradient(circle at top left, rgba(168, 85, 247, 0.25) 0%, rgba(36, 26, 68, 0.85) 100%);
    border-color: #a855f7;
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.4);
}

.option-content-left {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex: 1;
}

.option-marker {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #c084fc;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.option-marker svg {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    flex-shrink: 0 !important;
}

.test-option-card.is-selected .option-marker {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 0 14px rgba(236, 72, 153, 0.6);
}

.option-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-body);
    line-height: 1.35;
}

.test-option-card.is-selected .option-text {
    color: var(--text-pure);
    font-weight: 700;
}

.option-check-icon {
    opacity: 0;
    transform: scale(0.5);
    transition: var(--transition-smooth);
    color: #c084fc;
}

.option-check-icon svg {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    flex-shrink: 0 !important;
}

.test-option-card.is-selected .option-check-icon {
    opacity: 1;
    transform: scale(1);
}

/* Botones de Navegación */
.test-nav-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-nav-prev {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.4rem;
}

.btn-nav-prev:hover:not(:disabled) {
    color: var(--text-pure);
    border-color: var(--border-subtle);
    background: rgba(255, 255, 255, 0.04);
}

.btn-nav-prev:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Pantalla de Cálculo Cósmica */
.test-calculating-screen {
    display: none;
    text-align: center;
    padding: 4rem 1rem;
}

.calc-orbits-wrap {
    width: 140px;
    height: 140px;
    margin: 0 auto 2.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calc-pulsing-heart {
    width: 50px;
    height: 50px;
    color: #ec4899;
    animation: heartPulse 1.2s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(236, 72, 153, 0.8));
}

.calc-orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px dashed rgba(168, 85, 247, 0.4);
}

.calc-orbit-1 {
    width: 100px;
    height: 100px;
    animation: rotateRing 8s linear infinite;
}

.calc-orbit-2 {
    width: 135px;
    height: 135px;
    border-color: rgba(56, 189, 248, 0.35);
    animation: rotateRingReverse 12s linear infinite;
}

.calc-title {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.calc-step-text {
    font-size: 1rem;
    color: var(--text-muted);
    min-height: 24px;
}

@keyframes heartPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.18); }
}

@keyframes rotateRing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateRingReverse {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

/* Responsive para Cuadrícula 2x2 */
@media (max-width: 580px) {
    .test-options-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }

    .test-option-card {
        padding: 0.95rem 0.85rem !important;
        min-height: 76px !important;
        gap: 0.5rem !important;
    }

    .option-marker {
        width: 30px !important;
        height: 30px !important;
        border-radius: 8px !important;
    }

    .option-marker svg {
        width: 15px !important;
        height: 15px !important;
    }

    .option-text {
        font-size: 0.88rem !important;
        line-height: 1.25 !important;
    }

    .option-check-icon {
        display: none !important;
    }
}


/* === resultado.css === */
/**
 * Estilos del Informe de Resultados y Compartir - Test Alma Gemela
 */

.resultado-page-wrap {
    padding: 3rem 0 5rem;
}

/* Cabecera Principal del Resultado */
.result-hero-card {
    background: radial-gradient(ellipse at center top, rgba(139, 92, 246, 0.22) 0%, rgba(14, 18, 32, 0.95) 75%);
    border: 1px solid rgba(168, 85, 247, 0.35);
    border-radius: var(--radius-card);
    padding: 3.5rem 2rem;
    text-align: center;
    box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.7), 0 0 40px rgba(139, 92, 246, 0.2);
    position: relative;
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.result-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ec4899, #8b5cf6, transparent);
}

.result-badge-top {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #c084fc;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1.25rem;
}

.result-lead-phrase {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.result-name-highlight {
    font-size: clamp(3.2rem, 7vw, 5.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    background: transparent;
    text-shadow: 0 0 25px rgba(236, 72, 153, 0.45);
}

.result-name-meaning {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 1.75rem;
}

.result-archetype-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 1.6rem;
    border-radius: var(--radius-pill);
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    margin-bottom: 1.2rem;
}

.result-archetype-pill svg {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    flex-shrink: 0 !important;
}

.result-archetype-tagline {
    font-size: 1.05rem;
    color: var(--text-body);
    max-width: 580px;
    margin: 0 auto;
}

/* Grilla de Contenido del Informe */
.result-grid-sections {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

/* Tarjetas del Informe */
.report-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    padding: 2.2rem;
    backdrop-filter: blur(12px);
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.report-card:hover {
    border-color: rgba(168, 85, 247, 0.3);
}

.report-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-title);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.report-card-title svg {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    flex-shrink: 0 !important;
    color: var(--primary);
}

.report-text-p {
    font-size: 0.98rem;
    color: var(--text-body);
    line-height: 1.65;
    margin-bottom: 1.2rem;
}

/* Rasgos y Valores */
.traits-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1rem;
}

.trait-tag {
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    font-size: 0.84rem;
    color: var(--text-muted);
}

/* Barras de Compatibilidad */
.compatibility-meters-wrap {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.meter-item {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.meter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-title);
}

.meter-pct-value {
    font-weight: 800;
    color: #c084fc;
}

.meter-track {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-pill);
    overflow: hidden;
    position: relative;
}

.meter-fill {
    height: 100%;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, #8b5cf6, #ec4899);
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.6);
}

.meter-desc {
    font-size: 0.8rem;
    color: var(--text-subtle);
}

/* Qué Significa Para Ti (Grid 2 col) */
.meaning-items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.meaning-item-box {
    background: rgba(14, 18, 32, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.2rem;
}

.meaning-item-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #c084fc;
    margin-bottom: 0.35rem;
}

.meaning-item-desc {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.45;
}

/* =========================================
   SECCIÓN TARJETA COMPARTIBLE
   ========================================= */
.share-result-section {
    background: radial-gradient(ellipse at bottom, rgba(124, 58, 237, 0.2) 0%, rgba(14, 18, 32, 0.95) 75%);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: var(--radius-card);
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.share-card-preview-wrap {
    max-width: 440px;
    margin: 1.8rem auto 2.2rem;
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(168, 85, 247, 0.25);
}

#shareCanvas {
    width: 100%;
    height: auto;
    display: block;
}

.share-action-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-action-buttons button,
.share-action-buttons a {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.share-action-buttons button svg,
.share-action-buttons a svg {
    width: 1.15rem !important;
    height: 1.15rem !important;
    max-width: 1.15rem !important;
    max-height: 1.15rem !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.btn-share-whatsapp {
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

.btn-share-whatsapp:hover {
    background: #20ba5a;
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.6);
}

.btn-download-img {
    background: var(--gradient-btn-primary);
    color: #ffffff;
}

/* Toast de notificación de copiado */
.toast-notice {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(18, 22, 38, 0.95);
    border: 1px solid #10b981;
    color: #ffffff;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(16, 185, 129, 0.3);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    z-index: 3000;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.toast-notice.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* =========================================
   BARRA SUPERIOR DE ACCIONES RÁPIDAS
   ========================================= */
.result-top-action-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    background: rgba(14, 18, 34, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: var(--radius-card);
    padding: 0.9rem 1.5rem;
    margin-bottom: 2rem;
}

.result-top-user-greeting {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.greeting-highlight {
    font-size: 0.95rem;
    color: var(--text-title);
}

.greeting-highlight strong {
    color: #f472b6;
    font-weight: 700;
}

.greeting-zodiac-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: var(--radius-pill);
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #c084fc;
}

.result-top-action-btns {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.result-top-action-btns .btn-pill-primary,
.result-top-action-btns .btn-pill-secondary {
    padding: 0.55rem 1.25rem;
    font-size: 0.85rem;
    white-space: nowrap !important;
}

/* =========================================
   RETRATO CONCEPTUAL GENERADO POR IA
   ========================================= */
.soulmate-portrait-hero-card {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 2.5rem;
    align-items: center;
    background: radial-gradient(ellipse at top left, rgba(168, 85, 247, 0.15) 0%, rgba(13, 16, 30, 0.95) 70%);
    border: 1px solid rgba(168, 85, 247, 0.35);
    border-radius: var(--radius-card);
    padding: 2.25rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7), 0 0 35px rgba(168, 85, 247, 0.15);
}

.portrait-avatar-wrapper {
    position: relative;
    width: 100%;
    max-width: 340px;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    overflow: hidden;
    margin: 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.portrait-avatar-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    border-radius: 22px;
}

.soulmate-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portrait-avatar-wrapper:hover .soulmate-portrait-img {
    transform: scale(1.04);
}

.portrait-ai-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(10, 12, 24, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(168, 85, 247, 0.45);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    color: #e9d5ff;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.portrait-text-details {
    display: flex;
    flex-direction: column;
}

.portrait-pill-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
}

.badge-age-bracket {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f1f5f9;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 700;
}

.badge-archetype-match {
    color: #ffffff;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.badge-zodiac-resonance {
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #c084fc;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
}

.portrait-display-name {
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.4rem;
    line-height: 1.15;
}

.portrait-vibe-phrase {
    font-size: 1.05rem;
    color: #f472b6;
    font-style: italic;
    font-weight: 600;
    margin-bottom: 0.9rem;
}

.portrait-desc-body {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.portrait-metrics-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
}

.portrait-mini-metric {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.mini-metric-label {
    font-size: 0.76rem;
    color: var(--text-subtle);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mini-metric-val {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
}

/* =========================================
   TARJETA PDF CALL-TO-ACTION (COLUMNA DERECHA)
   ========================================= */
.report-pdf-cta-card {
    background: radial-gradient(ellipse at top, rgba(236, 72, 153, 0.15) 0%, rgba(14, 18, 34, 0.95) 75%);
    border: 1px solid rgba(236, 72, 153, 0.3);
}

.pdf-icon-bubble {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(236, 72, 153, 0.15);
    border: 1px solid rgba(236, 72, 153, 0.35);
    color: #f472b6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.25);
}

/* =========================================
   SECCIÓN CAPTURA DE LEAD Y ENLACE PERMANENTE
   ========================================= */
.email-capture-section {
    margin-bottom: 2.5rem;
}

.email-capture-card {
    background: radial-gradient(ellipse at top right, rgba(168, 85, 247, 0.2) 0%, rgba(13, 16, 30, 0.95) 75%);
    border: 1px solid rgba(168, 85, 247, 0.35);
    border-radius: var(--radius-card);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7);
}

.email-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #c084fc;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1.25rem;
}

.email-section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.email-section-subtitle {
    font-size: 0.98rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.55;
}

.save-lead-form-box {
    max-width: 540px;
    margin: 0 auto 2.5rem;
}

.lead-form-input-row {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.lead-input-wrapper {
    position: relative;
    flex: 1;
}

.lead-input-wrapper .input-inline-icon {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-subtle);
    pointer-events: none;
}

.lead-input-wrapper input {
    width: 100%;
    background: rgba(8, 10, 20, 0.85);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: var(--radius-pill);
    padding: 0.85rem 1.2rem 0.85rem 2.8rem;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.lead-input-wrapper input:focus {
    border-color: #ec4899;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.3);
}

.btn-submit-lead {
    white-space: nowrap !important;
    padding: 0.85rem 1.75rem !important;
    flex-shrink: 0;
}

.lead-feedback-alert {
    margin-top: 1rem;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.lead-feedback-alert.is-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid #10b981;
    color: #34d399;
}

.lead-feedback-alert.is-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid #ef4444;
    color: #f87171;
}

/* Caja de Enlace Permanente */
.permalink-card-container {
    max-width: 620px;
    margin: 0 auto;
    background: rgba(8, 10, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 1.25rem 1.5rem;
    text-align: left;
}

.permalink-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.permalink-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #c084fc;
}

.permalink-hint {
    font-size: 0.78rem;
    color: var(--text-subtle);
}

.permalink-copy-input-wrap {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.permalink-text-field {
    flex: 1;
    background: rgba(14, 18, 34, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 0.65rem 1rem;
    color: #94a3b8;
    font-size: 0.85rem;
    font-family: monospace;
    outline: none;
}

.btn-copy-permalink {
    padding: 0.65rem 1.2rem !important;
    font-size: 0.85rem !important;
    white-space: nowrap !important;
    flex-shrink: 0;
}

/* Footer oculto en web pero visible en impresión */
.pdf-print-footer {
    display: none;
    text-align: center;
    font-size: 0.78rem;
    color: #64748b;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive del Hero Retrato */
@media (max-width: 900px) {
    .soulmate-portrait-hero-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.75rem;
        padding: 1.75rem;
    }

    .portrait-avatar-wrapper {
        max-width: 260px;
    }

    .portrait-pill-badges {
        justify-content: center;
    }

    .portrait-metrics-mini-grid {
        max-width: 440px;
        margin: 0 auto;
    }

    .lead-form-input-row {
        flex-direction: column;
    }

    .btn-submit-lead {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================
   ESTILOS DE IMPRESIÓN Y GENERACIÓN DE PDF
   ========================================= */
@media print {
    body {
        background: #090d16 !important;
        color: #f1f5f9 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .site-header,
    .site-footer,
    .no-print,
    .share-result-section,
    .email-capture-section,
    .result-top-action-bar,
    .report-pdf-cta-card {
        display: none !important;
    }

    .resultado-page-wrap {
        padding: 0 !important;
    }

    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }

    .report-printable-wrap {
        width: 100% !important;
    }

    .result-hero-card,
    .soulmate-portrait-hero-card,
    .report-card {
        break-inside: avoid !important;
        page-break-inside: avoid !important;
        border-color: rgba(168, 85, 247, 0.4) !important;
    }

    .pdf-print-footer {
        display: block !important;
    }
}

/* =========================================
   MODO DE EXPORTACIÓN A PDF (FONDO NEGRO PURO EN TODAS LAS PÁGINAS)
   ========================================= */
.pdf-export-mode {
    background-color: #07080e !important;
    background: #07080e !important;
    color: #f1f5f9 !important;
    padding: 16mm 14mm !important;
    margin: 0 auto !important;
    max-width: 800px !important;
    box-sizing: border-box !important;
}

.pdf-export-mode .result-hero-card {
    background: #0d1122 !important;
    border: 1px solid rgba(168, 85, 247, 0.5) !important;
    box-shadow: none !important;
    margin-bottom: 1.5rem !important;
    padding: 2.2rem 1.5rem !important;
}

.pdf-export-mode .soulmate-portrait-hero-card {
    background: #0d1122 !important;
    border: 1px solid rgba(168, 85, 247, 0.5) !important;
    box-shadow: none !important;
    margin-bottom: 2rem !important;
    padding: 2rem !important;
}

.pdf-export-mode .report-card {
    background: #0d1122 !important;
    border: 1px solid rgba(168, 85, 247, 0.35) !important;
    box-shadow: none !important;
    color: #f1f5f9 !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
}

.pdf-export-mode .report-text-p,
.pdf-export-mode .portrait-desc-body,
.pdf-export-mode p {
    color: #cbd5e1 !important;
}

.pdf-export-mode h1,
.pdf-export-mode h2,
.pdf-export-mode h3,
.pdf-export-mode h4 {
    color: #ffffff !important;
}

.pdf-export-mode .result-name-highlight {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: transparent !important;
    text-shadow: none !important;
    filter: none !important;
}

.pdf-export-mode .text-gradient {
    color: #f472b6 !important;
    -webkit-text-fill-color: #f472b6 !important;
    background: none !important;
    display: inline !important;
}

.pdf-export-mode .result-hero-card::before {
    display: none !important;
}

.pdf-export-mode .no-print,
.pdf-export-mode .report-pdf-cta-card,
.pdf-export-mode .result-floating-dock {
    display: none !important;
}

.pdf-export-mode .pdf-page-break {
    page-break-before: always !important;
    break-before: page !important;
    height: 1px !important;
    display: block !important;
    margin: 1rem 0 !important;
}

.pdf-export-mode .pdf-print-footer {
    display: block !important;
    color: #94a3b8 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* =========================================
   VENTANA FLOTANTE DE ACOMPAÑAMIENTO (DOCK)
   ========================================= */
.result-floating-dock {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    z-index: 990;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.9rem;
    background: rgba(13, 17, 34, 0.92);
    border: 1px solid rgba(168, 85, 247, 0.45);
    border-radius: 9999px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65), 0 0 25px rgba(168, 85, 247, 0.25);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
}

.result-floating-dock.is-hidden {
    transform: translateX(-50%) translateY(140%);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.dock-badge-soulmate {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.8rem;
    background: rgba(236, 72, 153, 0.15);
    border: 1px solid rgba(236, 72, 153, 0.3);
    border-radius: 9999px;
    font-size: 0.82rem;
    color: #f472b6;
    font-weight: 600;
    white-space: nowrap;
}

.dock-badge-soulmate strong {
    color: #ffffff;
}

.dock-divider {
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.dock-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.95rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.dock-btn-pdf {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.35);
}

.dock-btn-pdf:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(236, 72, 153, 0.55);
    color: #ffffff;
}

.dock-btn-wa {
    background: #25d366;
    color: #ffffff;
}

.dock-btn-wa:hover {
    transform: translateY(-2px);
    background: #20bd5a;
    box-shadow: 0 0 16px rgba(37, 211, 102, 0.4);
    color: #ffffff;
}

.dock-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #e2e8f0;
}

.dock-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    transform: translateY(-2px);
}

@media (max-width: 820px) {
    .result-floating-dock {
        bottom: 16px;
        padding: 0.45rem 0.75rem;
        gap: 0.45rem;
    }
    .dock-badge-soulmate {
        display: none;
    }
    .dock-divider {
        display: none;
    }
}

@media (max-width: 580px) {
    .dock-btn span {
        display: none;
    }
    .dock-btn {
        padding: 0.55rem 0.75rem;
    }
    .dock-btn svg {
        margin: 0;
    }
}

/* =========================================
   PUNTUACIÓN DE COMPATIBILIDAD GRANDE Y DESTACADA
   ========================================= */
.compat-score-badge-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 1.5rem auto 1.75rem;
    padding: 1.6rem 3rem;
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.22) 0%, rgba(236, 72, 153, 0.1) 55%, rgba(13, 17, 34, 0.75) 100%);
    border: 1px solid rgba(168, 85, 247, 0.45);
    border-radius: 28px;
    box-shadow: 0 12px 45px -10px rgba(168, 85, 247, 0.4), inset 0 0 30px rgba(236, 72, 153, 0.18);
    position: relative;
    max-width: 92%;
}

.compat-score-tag {
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #f472b6;
    margin-bottom: 0.35rem;
}

.compat-score-val {
    font-size: clamp(4.8rem, 10vw, 7.2rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #ffffff 25%, #f472b6 65%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 35px rgba(236, 72, 153, 0.65));
    margin: 0.25rem 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.compat-score-num {
    display: inline;
}

.compat-score-symbol {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    margin-left: 0.25rem;
    color: #f472b6;
    -webkit-text-fill-color: #f472b6;
}

.compat-score-level-badge {
    margin-top: 0.65rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    background: rgba(168, 85, 247, 0.25);
    border: 1px solid rgba(168, 85, 247, 0.45);
    padding: 0.35rem 1.35rem;
    border-radius: var(--radius-pill);
    letter-spacing: 0.04em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* =========================================
   MODO EXPORTACIÓN PDF PARA COMPATIBILIDAD (1 PÁGINA COMPACTA Y ELEGANTE)
   ========================================= */
.report-printable-compat.pdf-export-mode {
    background-color: #07080e !important;
    background: #07080e !important;
    color: #f1f5f9 !important;
    padding: 20px 24px !important;
    margin: 0 auto !important;
    width: 780px !important;
    max-width: 780px !important;
    min-height: 1080px !important;
    height: 1100px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
    break-before: avoid !important;
    page-break-before: avoid !important;
}

.report-printable-compat.pdf-export-mode * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
}

.report-printable-compat.pdf-export-mode .result-hero-card {
    background: #0d1124 !important;
    border: 1px solid rgba(168, 85, 247, 0.45) !important;
    box-shadow: none !important;
    color: #f1f5f9 !important;
    break-before: avoid !important;
    page-break-before: avoid !important;
    break-inside: auto !important;
    page-break-inside: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0.85rem !important;
    padding: 1.25rem 1.5rem !important;
}

.report-printable-compat.pdf-export-mode .compat-hero-title {
    font-size: 24px !important;
    color: #ffffff !important;
    line-height: 1.25 !important;
    margin: 0.5rem 0 0.35rem !important;
}

.report-printable-compat.pdf-export-mode .compat-score-badge-wrap {
    background: #0f1429 !important;
    border: 1px solid rgba(168, 85, 247, 0.4) !important;
    box-shadow: none !important;
    padding: 0.65rem 1.8rem !important;
    margin: 0.5rem auto !important;
    border-radius: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.report-printable-compat.pdf-export-mode .compat-score-tag {
    color: #f472b6 !important;
    font-size: 11px !important;
    margin-bottom: 0.2rem !important;
}

.report-printable-compat.pdf-export-mode .compat-score-val {
    font-size: 54px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    filter: none !important;
    text-shadow: none !important;
    margin: 0 !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: baseline !important;
    justify-content: center !important;
}

.report-printable-compat.pdf-export-mode .compat-score-num {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.report-printable-compat.pdf-export-mode .compat-score-symbol {
    font-size: 30px !important;
    color: #f472b6 !important;
    -webkit-text-fill-color: #f472b6 !important;
    display: inline !important;
}

.report-printable-compat.pdf-export-mode .compat-score-level-badge {
    background: rgba(168, 85, 247, 0.25) !important;
    color: #ffffff !important;
    font-size: 13px !important;
    padding: 0.2rem 0.85rem !important;
    margin-top: 0.4rem !important;
}

.report-printable-compat.pdf-export-mode .card-glass {
    background: #0d1124 !important;
    border: 1px solid rgba(168, 85, 247, 0.45) !important;
    box-shadow: none !important;
    color: #f1f5f9 !important;
    break-inside: auto !important;
    page-break-inside: auto !important;
    margin-bottom: 0.85rem !important;
    padding: 1.15rem 1.5rem !important;
}

.report-printable-compat.pdf-export-mode .compat-strengths-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.85rem !important;
    margin-bottom: 0.85rem !important;
    width: 100% !important;
}

.report-printable-compat.pdf-export-mode .compat-strengths-grid .card-glass {
    margin-bottom: 0 !important;
    padding: 1rem 1.25rem !important;
}

.report-printable-compat.pdf-export-mode h1,
.report-printable-compat.pdf-export-mode h2,
.report-printable-compat.pdf-export-mode h3,
.report-printable-compat.pdf-export-mode h4,
.report-printable-compat.pdf-export-mode strong {
    color: #ffffff !important;
}

.report-printable-compat.pdf-export-mode p {
    color: #e2e8f0 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin-bottom: 0 !important;
}

.report-printable-compat.pdf-export-mode .text-gradient {
    color: #f472b6 !important;
    -webkit-text-fill-color: #f472b6 !important;
    background: none !important;
    display: inline !important;
}

.report-printable-compat.pdf-export-mode .no-print {
    display: none !important;
}

.report-printable-compat.pdf-export-mode .pdf-print-footer {
    display: block !important;
    color: #94a3b8 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    margin-top: 0.65rem !important;
    padding-top: 0.5rem !important;
    text-align: center !important;
    font-size: 0.82rem !important;
}

/* =========================================
   LOADER CÓSMICO DE COMPATIBILIDAD
   ========================================= */
.compat-loader-card {
    max-width: 680px;
    margin: 2.5rem auto 4rem;
    padding: 3.5rem 2rem;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.18) 0%, rgba(13, 17, 34, 0.96) 80%);
    border: 1px solid rgba(168, 85, 247, 0.45);
    border-radius: var(--radius-card);
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(168, 85, 247, 0.25);
    animation: fadeIn 0.4s ease forwards;
}

.loader-spinner-orbit {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-orbit-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #ec4899;
    border-right-color: #8b5cf6;
    animation: spin 1.4s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

.loader-orbit-ring.inner {
    inset: 12px;
    border: 2px solid transparent;
    border-top-color: #38bdf8;
    border-bottom-color: #c084fc;
    animation: spin 1.8s linear infinite reverse;
}

.loader-pulsing-heart {
    animation: pulseGlow 1.2s ease-in-out infinite alternate;
    color: #ec4899;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes pulseGlow {
    0% { transform: scale(0.9); filter: drop-shadow(0 0 4px #ec4899); }
    100% { transform: scale(1.2); filter: drop-shadow(0 0 20px #ec4899); }
}

.loader-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}

.loader-subtitle {
    font-size: 0.98rem;
    color: #cbd5e1;
    max-width: 480px;
    margin: 0 auto 1.75rem;
    line-height: 1.5;
}

.loader-progress-bar {
    width: 100%;
    max-width: 420px;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    overflow: hidden;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.loader-progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #ec4899, #8b5cf6, #38bdf8);
    border-radius: 9999px;
    transition: width 0.6s ease;
}

.compat-result-wrapper {
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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


/* === Responsive & Custom Overrides === */
/**
 * Hoja de Estilos Principal - Test Alma Gemela
 * Carga modular y adaptaciones responsive completas.
 */

/* =========================================
   RESPONSIVE DESIGN Y MEDIA QUERIES
   ========================================= */

/* Tablets Grandes y Laptops (<= 1024px) */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .discover-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .archetypes-row-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .footer-top-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .result-grid-sections {
        grid-template-columns: 1fr;
    }
}

/* Tablets Medianas y Móviles (<= 768px) */
@media (max-width: 768px) {
    :root {
        --header-height: 68px;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-toggle-btn {
        display: flex;
    }

    .header-cta-btn {
        display: none;
    }

    /* Hero en Móvil a 1 Columna */
    .hero-section {
        padding: 2rem 0 3.5rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-chips-row {
        justify-content: center;
        gap: 1rem;
    }

    .hero-cta-wrap {
        align-items: center;
        width: 100%;
    }

    .hero-cta-wrap .btn-pill-primary {
        width: auto;
        max-width: 100%;
        white-space: nowrap;
    }

    .hero-heart-container {
        max-width: 440px;
        aspect-ratio: auto;
        margin: 0 auto;
    }

    .hero-floating-quote-card {
        position: relative;
        bottom: 0;
        right: 0;
        max-width: 100%;
        margin-top: 1.5rem;
    }

    /* Secciones */
    .section-title {
        font-size: 1.85rem;
    }

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

    .archetypes-row-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
    }

    .faq-grid-2col {
        grid-template-columns: 1fr;
    }

    .final-cta-card {
        padding: 2.5rem 1.5rem;
    }

    .final-cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .final-cta-text h2 {
        font-size: 1.8rem;
    }

    .cta-meta-chips {
        justify-content: center;
    }

    .cta-script-note {
        position: static;
        margin-top: 1rem;
        display: block;
    }

    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
    }

    .footer-legal-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Test en Móvil */
    .test-container-box {
        padding: 1.5rem 1.25rem;
        border-radius: var(--radius-md);
    }

    .test-option-card {
        padding: 1rem 1.1rem;
    }

    /* Resultados en Móvil */
    .result-hero-card {
        padding: 2.5rem 1.25rem;
    }

    .meaning-items-grid {
        grid-template-columns: 1fr;
    }

    .share-action-buttons {
        flex-direction: column;
        width: 100%;
    }

    .share-action-buttons button,
    .share-action-buttons a {
        width: 100%;
    }
}

/* Móviles Pequeños (<= 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .btn-hero-lg {
        padding: 0.8rem 1.35rem !important;
        font-size: 0.95rem !important;
    }

    .btn-pill-primary,
    .btn-pill-secondary {
        padding: 0.65rem 1.25rem !important;
        font-size: 0.9rem !important;
    }

    .discover-grid {
        grid-template-columns: 1fr;
    }

    .archetypes-row-grid {
        grid-template-columns: 1fr;
    }
}
