/**
 * Theme: Dios está Cerca
 * Archivo: custom-premium.css
 * Sistema de Diseño Maestro: Atmósfera de Santuario, Alta Costura Digital y Ley de la Tinta (WCAG AAA)
 * Cumple estrictamente con arweb_master_design_system y la Gobernanza de ArlibrosCMS.
 */

:root {
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif: 'Lora', Georgia, Cambria, "Times New Roman", Times, serif;
    
    /* Ley de la Tinta (Contraste Máximo > 15:1 WCAG AAA) */
    --color-deep-ink: #0f172a;
    --color-text-body: #0f172a;
    --color-text-secondary: #1e293b;
    --color-text-muted: #334155;
    
    /* Paleta Orgánica de Santuario (Verde Bosque Profundo & Lino Suave) */
    --color-primary: #1b382f;
    --color-primary-dark: #0f241e;
    --color-primary-light: #2c5346;
    --color-primary-soft: rgba(27, 56, 47, 0.08);
    --color-primary-hover: #142e26;
    
    --color-accent-amber: #b45309;
    --color-accent-amber-soft: rgba(180, 83, 9, 0.08);
    --color-accent-blue: #1d4ed8;
    --color-accent-blue-soft: rgba(29, 78, 216, 0.08);
    --color-accent-green: #15803d;
    --color-accent-green-soft: rgba(21, 128, 61, 0.08);
    
    /* Superficies y Fondos Texturados */
    --color-bg-base: #f7f5f0;
    --color-bg-surface: #ffffff;
    --color-bg-surface-glass: rgba(255, 255, 255, 0.88);
    --color-bg-warm: #fcfbf8;
    
    /* Bordes Sub-Píxel y Sombras Eetéreas Multicapa */
    --color-border-subtle: rgba(27, 56, 47, 0.10);
    --color-border-strong: rgba(27, 56, 47, 0.20);
    --color-border-glass: rgba(255, 255, 255, 0.85);
    
    --shadow-subtle: 0 2px 4px rgba(16, 28, 24, 0.03);
    --shadow-sm: 0 4px 12px -2px rgba(16, 28, 24, 0.05);
    --shadow-md: 0 12px 28px -6px rgba(16, 28, 24, 0.08), 0 6px 12px -4px rgba(16, 28, 24, 0.03);
    --shadow-lg: 0 24px 48px -12px rgba(16, 28, 24, 0.10), 0 12px 24px -6px rgba(16, 28, 24, 0.04);
    --shadow-ambient: 0 32px 64px -16px rgba(27, 56, 47, 0.12);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    
    --transition-snappy: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET Y BASE ERGONÓMICA */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg-base);
    color: var(--color-text-body);
}

body {
    font-family: var(--font-sans);
    line-height: 1.68;
    background-color: var(--color-bg-base);
    color: var(--color-text-body);
    font-weight: 450;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Utilidades de Visibilidad Responsiva */
.show-mobile-only {
    display: none !important;
}

/* ========================================================
   BARRA DE ALERTA CENTINELA (ÉTICA, DISCRETA Y RESPETUOSA)
   ======================================================== */
.top-sentinel-bar {
    background: #0f241c;
    color: #e2ece7;
    font-size: 0.84rem;
    padding: 0.45rem 1.25rem;
    position: relative;
    z-index: 50;
    letter-spacing: 0.01em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sentinel-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1140px;
    margin: 0 auto;
}

.sentinel-alert-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sentinel-warning-icon {
    display: inline-flex;
    align-items: center;
    color: #fef08a;
    flex-shrink: 0;
}

.sentinel-link {
    color: #86efac;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    transition: var(--transition-snappy);
    margin-left: 0.2rem;
}

.sentinel-link:hover {
    color: #bbf7d0;
}

.btn-quick-escape {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.18s ease;
    flex-shrink: 0;
}

.btn-quick-escape:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: rgba(239, 68, 68, 0.45);
    color: #ffffff;
}

/* ========================================================
   CABECERA PRINCIPAL HAUTE COUTURE (FROSTED GLASS & EDITORIAL)
   ======================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(253, 252, 249, 0.92);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.03);
    transition: var(--transition-snappy);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 1.25rem;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.brand-symbol {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #1b382f;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(27, 56, 47, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}

.brand-wrapper:hover .brand-symbol {
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 6px 14px rgba(27, 56, 47, 0.24);
}

.brand-text-col {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-serif);
    font-size: 1.28rem;
    font-weight: 700;
    color: var(--color-deep-ink, #0f172a);
    line-height: 1.15;
    letter-spacing: -0.015em;
    white-space: nowrap;
}

.brand-subtitle {
    font-size: 0.78rem;
    color: #334155;
    font-weight: 500;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Enlaces de cabecera limpios, aéreos y sin píldoras toscas */
.header-link {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-deep-ink, #0f172a);
    text-decoration: none;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    border: none;
    background: transparent;
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
}

.header-link:hover {
    color: #1b382f;
    background: rgba(27, 56, 47, 0.06);
}

/* Botón de Acompañamiento 1 a 1 */
.btn-pastoral-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #1b382f;
    color: #ffffff !important;
    text-decoration: none;
    padding: 0.55rem 1.25rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(27, 56, 47, 0.20);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-pastoral-nav:hover {
    background: #122720;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(27, 56, 47, 0.30);
}

.btn-pastoral-nav:active {
    transform: scale(0.98);
}

/* ========================================================
   REPRODUCTOR DE SONIDO DE PAZ
   ======================================================== */
.ambient-sound-control {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.btn-ambient-sound {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.14);
    color: #1b382f;
    padding: 0.45rem 0.95rem;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
}

.btn-ambient-sound:hover {
    border-color: #1b382f;
    background: #fdfdfc;
    box-shadow: 0 3px 10px rgba(27, 56, 47, 0.12);
}

.btn-ambient-sound:hover {
    border-color: var(--color-primary);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.btn-ambient-sound:active {
    transform: scale(0.98);
}

.btn-ambient-sound.is-playing {
    background: #ecfdf5;
    border-color: #059669;
    color: #065f46;
}

/* Barras Ecualizadoras Animadas */
.sound-bars-indicator {
    display: inline-flex;
    align-items: flex-end;
    gap: 2.5px;
    height: 14px;
}

.sound-bar {
    width: 2.5px;
    background: currentColor;
    border-radius: 1px;
    height: 4px;
    transition: height 0.2s ease;
}

.btn-ambient-sound.is-playing .sound-bar:nth-child(1) {
    animation: soundBarPulse 1.2s ease-in-out infinite alternate;
}

.btn-ambient-sound.is-playing .sound-bar:nth-child(2) {
    animation: soundBarPulse 1.5s ease-in-out infinite 0.2s alternate;
}

.btn-ambient-sound.is-playing .sound-bar:nth-child(3) {
    animation: soundBarPulse 1.1s ease-in-out infinite 0.4s alternate;
}

@keyframes soundBarPulse {
    0% { height: 3px; }
    50% { height: 14px; }
    100% { height: 6px; }
}

/* Popover Flotante de Ajustes del Santuario Sonoro */
.ambient-sound-popover {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 290px;
    background: #ffffff;
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-md);
    padding: 1.15rem;
    box-shadow: var(--shadow-lg);
    z-index: 120;
    display: none;
    animation: popoverFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.popover-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.popover-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-deep-ink);
}

.frequency-pill-group {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.frequency-btn {
    flex: 1;
    background: var(--color-bg-base);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.3rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-text-body);
    cursor: pointer;
    text-align: center;
    transition: var(--transition-snappy);
}

.frequency-btn:hover, .frequency-btn.active {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

.volume-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    font-size: 0.82rem;
    color: var(--color-text-secondary);
}

.volume-slider {
    flex: 1;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.btn-sound-play-toggle {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: var(--color-primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-full);
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-snappy);
}

.btn-sound-play-toggle:hover {
    background: var(--color-primary-dark);
}

/* ========================================================
   SECCIÓN HERO ATMOSFÉRICA: PAISAJE DE NIEBLA & AMANECER
   ======================================================== */
.hero-sanctuary {
    position: relative;
    padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem);
    text-align: center;
    overflow: hidden;
    background-color: #f7f5f0;
}

/* Capa de Paisaje Atmosférico (Niebla matinal sobre colinas serenas) */
.hero-landscape-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    opacity: 0.38;
    mix-blend-mode: multiply;
    transition: opacity 0.8s ease;
}

/* Silueta vectorial generativa de cordillera y bruma */
.hero-landscape-mountains {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Overlay de Lino & Luz Cálida para Garantizar WCAG AAA */
.hero-overlay-mask {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(circle at 50% 30%, rgba(247, 245, 240, 0.40) 0%, rgba(247, 245, 240, 0.88) 65%, #f7f5f0 100%);
    pointer-events: none;
}

.hero-glow-ambient {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 650px;
    height: 400px;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.15) 0%, rgba(13, 148, 136, 0.08) 45%, transparent 70%);
    filter: blur(55px);
    pointer-events: none;
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(236, 253, 245, 0.85);
    border: 1px solid rgba(167, 243, 208, 0.9);
    color: #065f46;
    padding: 0.45rem 1.15rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-subtle);
    backdrop-filter: blur(8px);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-deep-ink);
    margin-bottom: 1.25rem;
    letter-spacing: -0.025em;
    max-width: 820px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.hero-lead {
    font-size: clamp(1.05rem, 2vw, 1.22rem);
    line-height: 1.75;
    color: var(--color-text-secondary);
    max-width: 680px;
    margin-bottom: 2.5rem;
}

/* ========================================================
   CÁPSULA DE EXPRESIÓN & PNL: "ENCONTRAR CLARIDAD"
   ======================================================== */
.reflection-box-wrapper {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
}

.reflection-input-group {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    border: 1.5px solid var(--color-border-strong);
    border-radius: var(--radius-full);
    padding: 0.4rem 0.45rem 0.4rem 1.35rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-snappy);
    gap: 0.5rem;
    backdrop-filter: blur(14px);
}

.reflection-input-group:focus-within {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg), 0 0 0 4px rgba(27, 56, 47, 0.12);
    background: #ffffff;
}

.reflection-icon {
    color: var(--color-primary);
    display: flex;
    align-items: center;
    margin-right: 0.65rem;
    flex-shrink: 0;
}

.reflection-field-container {
    flex: 1;
}

.reflection-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1.05rem;
    font-family: var(--font-sans);
    color: var(--color-deep-ink);
    background: transparent;
}

.reflection-input::placeholder {
    color: var(--color-text-muted);
    font-weight: 400;
}

.search-clear {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 0.45rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.search-clear:hover {
    color: var(--color-deep-ink);
}

/* Botón de Acción PNL: "Encontrar Claridad" */
.btn-search-action {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--color-primary);
    color: #ffffff;
    border: none;
    padding: 0.72rem 1.45rem;
    border-radius: var(--radius-full);
    font-size: 0.94rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(27, 56, 47, 0.28);
    transition: var(--transition-snappy);
    flex-shrink: 0;
}

.btn-search-action:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1.5px);
    box-shadow: 0 6px 18px rgba(27, 56, 47, 0.38);
}

.btn-search-action:active {
    transform: scale(0.98);
}

/* ========================================================
   BANDEJA REACTIVA EN VIVO (LIVE MATCH AL ESCRIBIR)
   ======================================================== */
.search-live-match {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(27, 56, 47, 0.15);
    border-left: 5px solid var(--color-primary);
    border-radius: var(--radius-md);
    padding: 0.95rem 1.35rem;
    margin-top: 1rem;
    box-shadow: var(--shadow-md);
    animation: slideDownFade 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(16px);
}

.live-match-content {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-align: left;
}

.live-match-icon {
    color: var(--color-primary);
    flex-shrink: 0;
}

.live-match-text {
    display: flex;
    flex-direction: column;
}

.live-match-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
}

.match-topic-name {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--color-deep-ink);
}

.btn-live-match {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--color-primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-full);
    padding: 0.6rem 1.25rem;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-snappy);
    flex-shrink: 0;
}

.btn-live-match:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(27, 56, 47, 0.25);
}

/* ========================================================
   BANDEJA DE SENDEROS DE CALMA (EXPLORACIÓN ELEGANTE)
   ======================================================== */
.hero-calm-pathways-shelf {
    margin-top: 1.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
}

.pathways-label-tag {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.pathways-chips-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    max-width: 820px;
}

.pathway-chip-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-full);
    padding: 0.48rem 1.05rem;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--color-deep-ink);
    cursor: pointer;
    transition: var(--transition-snappy);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-subtle);
}

.pathway-chip-btn svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

.pathway-chip-btn:hover {
    background: #ffffff;
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-1.5px);
    box-shadow: var(--shadow-sm);
}

.pathway-chip-btn:active {
    transform: scale(0.98);
}

/* ========================================================
   TARJETA DINÁMICA DE ACOGIDA (HUG CARD)
   ======================================================== */
.dynamic-hug-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(27, 56, 47, 0.15);
    border-left: 5px solid var(--color-primary);
    border-radius: var(--radius-lg);
    padding: 1.85rem 2rem;
    margin-top: 1.5rem;
    text-align: left;
    box-shadow: var(--shadow-md);
    animation: slideDownFade 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(16px);
}

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

.hug-top-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

.hug-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hug-title-group {
    display: flex;
    flex-direction: column;
}

.hug-category-badge {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    background: var(--color-primary-soft);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    margin-bottom: 0.25rem;
    align-self: flex-start;
}

.hug-heading {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-deep-ink);
    margin: 0;
}

.hug-text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--color-text-body);
    margin-bottom: 1.5rem;
}

.hug-buttons-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.btn-hug-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--color-primary);
    color: #ffffff;
    border: none;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-snappy);
}

.btn-hug-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
}

.btn-hug-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--color-bg-base);
    color: var(--color-deep-ink);
    border: 1px solid var(--color-border-subtle);
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-snappy);
}

.btn-hug-secondary:hover {
    background: #ffffff;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-hug-link {
    color: var(--color-primary);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-left: auto;
}

/* ========================================================
   SECCIÓN DIÁLOGO CONVERSACIONAL (CHAT PASTORAL GUIADO)
   ======================================================== */
.dialogue-section {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: #ffffff;
    border-top: 1px solid var(--color-border-subtle);
    border-bottom: 1px solid var(--color-border-subtle);
}

.section-header-center {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 2.5rem;
}

.section-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    display: inline-block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.85rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--color-deep-ink);
    line-height: 1.2;
    margin-bottom: 0.85rem;
}

.section-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

/* Contenedor del Chat */
.dialogue-card {
    background: var(--color-bg-warm);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    max-width: 860px;
    margin: 0 auto;
}

/* Bandeja de Casuísticas de Diálogo */
.topics-tray-wrapper {
    background: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid var(--color-border-subtle);
    padding: 1.15rem 1.5rem;
}

.tray-label-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.topics-tray-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.topic-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #ffffff;
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-full);
    padding: 0.45rem 0.95rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--color-deep-ink);
    cursor: pointer;
    transition: var(--transition-snappy);
    box-shadow: var(--shadow-subtle);
}

.topic-pill svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

.topic-pill:hover {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.topic-pill:hover svg {
    color: #ffffff;
}

.topic-pill:active {
    transform: scale(0.98);
}

/* Ventana de Mensajes */
.chat-viewport {
    height: 480px;
    overflow-y: auto;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    scroll-behavior: smooth;
    background: #faf8f5;
}

.chat-msg-row {
    display: flex;
    gap: 0.85rem;
    max-width: 90%;
}

.chat-msg-row.assistant {
    align-self: flex-start;
}

.chat-msg-row.user {
    align-self: flex-end;
    flex-direction: row-reverse;
    max-width: 80%;
}

.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-subtle);
}

.chat-bubble {
    background: #ffffff;
    border: 1px solid rgba(27, 56, 47, 0.08);
    border-radius: 4px 18px 18px 18px;
    padding: 1.35rem 1.5rem;
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--color-text-body);
    box-shadow: 0 2px 10px rgba(16, 28, 24, 0.03);
}

.chat-msg-row.user .chat-bubble {
    background: #eef5f1;
    color: var(--color-deep-ink, #0f172a);
    border: 1.5px solid #c2ded0;
    border-radius: 18px 18px 4px 18px;
    padding: 0.85rem 1.25rem;
    font-size: 0.98rem;
    font-weight: 550;
    box-shadow: 0 2px 8px rgba(27, 56, 47, 0.06);
}

.chat-msg-row.user .chat-bubble .bubble-paragraph {
    color: var(--color-deep-ink, #0f172a);
    margin: 0;
}

.bubble-header-tag {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-primary);
    margin-bottom: 0.65rem;
}

.bubble-title {
    font-family: var(--font-serif);
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--color-deep-ink, #0f1c17);
    margin-bottom: 0.65rem;
    line-height: 1.35;
}

.bubble-paragraph {
    margin-bottom: 0.85rem;
    color: var(--color-text-body, #1c2b25);
    font-weight: 500;
}

.bubble-paragraph:last-child {
    margin-bottom: 0;
}

/* Cajas Especiales dentro de la Respuesta Pastoral */
.pastoral-card-insight {
    background: #f4f8f6;
    border-left: 3.5px solid var(--color-primary);
    padding: 0.95rem 1.2rem;
    border-radius: 0 10px 10px 0;
    margin: 1rem 0;
    font-size: 0.94rem;
    line-height: 1.65;
}

.insight-label-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.45rem;
    font-size: 0.92rem;
    font-weight: 700;
}

.insight-text {
    line-height: 1.65;
    color: #1c2b25;
}

.pastoral-card-insight.neuro-insight {
    background: #f3f7f5;
    border-left-color: #205041;
}

.pastoral-card-insight.neuro-insight .insight-label-row {
    color: #1b4d3e;
}

.pastoral-card-insight.human-insight {
    background: #faf6f0;
    border-left-color: #b45309;
}

.pastoral-card-insight.human-insight .insight-label-row {
    color: #92400e;
}

.pastoral-card-insight.analogy-insight {
    background: #f8fafc;
    border-left-color: #2563eb;
}

.pastoral-card-insight.analogy-insight .insight-label-row {
    color: #1d4ed8;
}

.pastoral-scripture-box {
    background: #fbf9f4;
    border: 1px solid rgba(180, 83, 9, 0.20);
    border-left: 3.5px solid #b45309;
    padding: 1.15rem 1.35rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.pastoral-scripture-text {
    font-family: var(--font-serif);
    font-style: italic;
    color: #45210c;
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
    line-height: 1.65;
}

.pastoral-scripture-cite {
    font-size: 0.85rem;
    font-weight: 700;
    color: #92400e;
    text-align: right;
}

.pastoral-prayer-box {
    background: #f0f7f3;
    border: 1px solid rgba(45, 106, 79, 0.20);
    border-left: 3.5px solid #205041;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.pastoral-prayer-title {
    font-size: 0.84rem;
    font-weight: 700;
    color: #166534;
    margin-bottom: 0.35rem;
}

.pastoral-prayer-text {
    font-style: italic;
    color: #14472d;
    line-height: 1.6;
    font-size: 0.95rem;
}

.chat-bubble-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.btn-bubble-action {
    background: #ffffff;
    border: 1.5px solid rgba(27, 56, 47, 0.15);
    color: #1b382f;
    font-weight: 600;
    border-radius: var(--radius-full);
    padding: 0.42rem 0.95rem;
    font-size: 0.84rem;
    cursor: pointer;
    transition: all 0.18s ease;
}

.btn-bubble-action:hover {
    background: #1b382f;
    color: #ffffff;
    border-color: #1b382f;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(27, 56, 47, 0.15);
}
    padding: 0.4rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    transition: var(--transition-snappy);
}

.btn-bubble-action:hover {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

/* Indicador de Escritura */
.typing-bubble {
    background: #ffffff;
    border: 1px solid var(--color-border-subtle);
    border-radius: 4px 18px 18px 18px;
    padding: 0.85rem 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

/* Barra de Entrada del Chat */
.chat-input-bar {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-top: 1px solid var(--color-border-subtle);
    padding: 0.85rem 1.25rem;
    gap: 0.75rem;
}

.chat-input-field {
    flex: 1;
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-full);
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    outline: none;
    transition: var(--transition-snappy);
    background: var(--color-bg-base);
}

.chat-input-field:focus {
    border-color: var(--color-primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(27, 56, 47, 0.1);
}

.btn-chat-send {
    background: var(--color-primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-full);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-snappy);
    flex-shrink: 0;
}

.btn-chat-send:hover {
    background: var(--color-primary-dark);
    transform: scale(1.05);
}

/* ========================================================
   SECCIÓN PAUSA DE SERENIDAD (REGULACIÓN EN 30 SEGUNDOS)
   ======================================================== */
.pause-section {
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
    background: linear-gradient(180deg, #faf8f5 0%, #edf4f0 100%);
    text-align: center;
}

.pause-widget-box {
    background: #ffffff;
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    max-width: 580px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.breathing-visual-circle {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    margin: 1.5rem auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(27, 56, 47, 0.08) 0%, rgba(27, 56, 47, 0.02) 70%);
    border: 2px dashed rgba(27, 56, 47, 0.25);
    transition: all 4s ease-in-out;
}

.breathing-inner-orb {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(27, 56, 47, 0.25);
    transition: all 4s ease-in-out;
}

.breathing-active .breathing-visual-circle {
    border-style: solid;
    border-color: #059669;
    box-shadow: 0 0 35px rgba(5, 150, 105, 0.2);
}

.btn-breath-action {
    background: var(--color-primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-full);
    padding: 0.75rem 1.65rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-snappy);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-breath-action:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1.5px);
    box-shadow: var(--shadow-md);
}

/* ========================================================
   SECCIÓN SENDEROS (CARTAS Y ACORDEÓN SANTUARIO)
   ======================================================== */
.sanctuary-feed-section {
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
    background: #ffffff;
}

.sanctuary-accordion-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 860px;
    margin: 0 auto;
}

.sanctuary-item {
    background: var(--color-bg-warm);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-snappy);
}

.sanctuary-item:hover {
    border-color: rgba(27, 56, 47, 0.25);
    box-shadow: var(--shadow-sm);
}

.sanctuary-toggle {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.sanctuary-item-header {
    flex: 1;
}

.item-meta-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.35rem;
}

.item-badge {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-primary);
    background: var(--color-primary-soft);
    padding: 0.15rem 0.55rem;
    border-radius: 4px;
}

.item-title {
    font-family: var(--font-serif);
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--color-deep-ink);
    margin-bottom: 0.35rem;
}

.item-preview {
    font-size: 0.94rem;
    color: var(--color-text-secondary);
    line-height: 1.55;
}

.toggle-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--color-border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.sanctuary-toggle[aria-expanded="true"] .toggle-arrow {
    transform: rotate(180deg);
}

.sanctuary-content {
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 0.5rem;
    padding-top: 1.25rem;
}

/* ========================================================
   SECCIÓN MURO COMUNITARIO DE INTENCIONES
   ======================================================== */
.intentions-wall-section {
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
    background: #faf8f5;
    border-top: 1px solid var(--color-border-subtle);
}

.intentions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
    max-width: 980px;
    margin: 0 auto 2.5rem;
}

.intention-card {
    background: #ffffff;
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-md);
    padding: 1.45rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-snappy);
}

.intention-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.intention-candle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fef3c7;
    color: #b45309;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
}

.intention-message {
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--color-text-body);
    font-style: italic;
    margin-bottom: 1.25rem;
}

.intention-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

.btn-support {
    background: transparent;
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-full);
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: var(--transition-snappy);
}

.btn-support:hover {
    background: #ecfdf5;
    border-color: #059669;
    color: #065f46;
}

.btn-support.supported {
    background: #ecfdf5;
    color: #065f46;
    border-color: #059669;
}

.new-intention-box {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.btn-open-intention-form {
    background: #ffffff;
    border: 1.5px dashed var(--color-border-strong);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    padding: 0.75rem 1.65rem;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-snappy);
}

.btn-open-intention-form:hover {
    border-style: solid;
    border-color: var(--color-primary);
    background: #f0fdf4;
}

.intention-form {
    background: #ffffff;
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    text-align: left;
}

.intention-textarea {
    width: 100%;
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.85rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    outline: none;
    margin: 0.65rem 0 1rem;
    resize: vertical;
}

.intention-textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(27, 56, 47, 0.1);
}

.form-actions-row {
    display: flex;
    gap: 0.65rem;
}

.btn-submit-intention {
    background: var(--color-primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-full);
    padding: 0.55rem 1.25rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-cancel-intention {
    background: transparent;
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-full);
    padding: 0.55rem 1.15rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
}

/* ========================================================
   SECCIÓN ENCUENTRO 1 A 1
   ======================================================== */
.pastoral-care-section {
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
    background: #ffffff;
}

.care-wrapper-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 980px;
    margin: 0 auto;
    align-items: center;
}

.care-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    padding: 0.35rem 0.95rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.care-title {
    font-family: var(--font-serif);
    font-size: clamp(1.85rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--color-deep-ink);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.care-description {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.care-card-form {
    background: var(--color-bg-warm);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.care-input-group {
    margin-bottom: 1.15rem;
}

.care-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-deep-ink);
    margin-bottom: 0.35rem;
}

.care-field {
    width: 100%;
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    background: #ffffff;
    outline: none;
    transition: var(--transition-snappy);
}

.care-field:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(27, 56, 47, 0.1);
}

.btn-care-submit {
    width: 100%;
    background: var(--color-primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-full);
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-snappy);
}

.btn-care-submit:hover {
    background: var(--color-primary-dark);
}

/* ========================================================
   SECCIÓN: PROTOCOLO CENTINELA
   ======================================================== */
.sentinel-guard-section {
    padding: 0 0 4rem;
}

.sentinel-card {
    background: #fff8f6;
    border: 1.5px solid #fecdd3;
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.sentinel-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: #ffe4e6;
    color: #9f1239;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sentinel-info {
    flex: 1;
}

.sentinel-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: #9f1239;
    margin-bottom: 0.35rem;
}

.sentinel-text {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #4c0519;
}

.sentinel-phone-link {
    color: #be123c;
    font-weight: 700;
    text-decoration: underline;
}

.sentinel-action {
    flex-shrink: 0;
}

.btn-more-resources {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #be123c;
    color: #ffffff !important;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(190, 18, 60, 0.2);
    transition: var(--transition-snappy);
}

.btn-more-resources:hover {
    background: #9f1239;
    transform: translateY(-1px);
}

/* ========================================================
   PIE DE PÁGINA (FOOTER)
   ======================================================== */
.site-footer {
    background: #0f241e;
    color: #cbdad3;
    padding: 4.5rem 0 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 2fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-brand .footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #9bb5ab;
    max-width: 420px;
}

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

.footer-col h4 {
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-col a {
    color: #9bb5ab;
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #6d887e;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ========================================================
   RESPONSIVIDAD Y ERGONOMÍA MÓVIL (MOBILE FIRST)
   ======================================================== */
@media (max-width: 900px) {
    .care-wrapper-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
    .header-container {
        height: 64px;
    }
    .hero-title {
        font-size: 2.25rem;
    }
    .hero-br {
        display: none;
    }
    .reflection-input-group {
        padding: 0.35rem 0.45rem 0.35rem 1rem;
    }
    .btn-search-action {
        padding: 0.65rem 1.15rem;
        font-size: 0.88rem;
    }
    .search-live-match {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.95rem 1.1rem;
        gap: 0.75rem;
    }
    .btn-live-match {
        width: 100%;
        justify-content: center;
    }
    .pathways-chips-wrap {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }
    .pathway-chip-btn {
        flex-shrink: 0;
    }
    .chat-viewport {
        height: 420px;
        padding: 1.25rem 1rem;
    }
    .chat-msg-row {
        max-width: 96%;
    }
    .footer-links {
        grid-template-columns: 1fr;
    }
}


/* ========================================================
   SECCIÓN: RECURSOS Y RED DE APOYO MULTI-PAÍS
   ======================================================== */
/* ========================================================
   ESTILOS DE LA PÁGINA DE RECURSOS Y RED DE APOYO
   ======================================================== */
.recursos-page {
    background-color: var(--color-bg-page, #faf8f5);
    color: var(--color-text-body, #1e293b);
    padding-bottom: 5rem;
}

.recursos-hero-section {
    padding: 3rem 0 2.5rem;
    background: linear-gradient(180deg, rgba(30, 58, 52, 0.04) 0%, rgba(250, 248, 245, 0) 100%);
    border-bottom: 1px solid var(--color-border, #e7e3da);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--color-text-secondary, #1e293b);
    margin-bottom: 1.5rem;
}

.breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--color-text-secondary, #1e293b);
    font-weight: 600;
}

.breadcrumb-link:hover {
    color: var(--color-primary, #1e3d34);
}

.breadcrumb-sep {
    opacity: 0.5;
}

.breadcrumb-current {
    font-weight: 600;
    color: var(--color-primary, #1e3d34);
}

.recursos-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-full, 9999px);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 1.25rem;
}

.recursos-title {
    font-family: var(--font-serif, 'Lora', Georgia, serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-deep-ink, #0f172a);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.recursos-lead {
    font-size: 1.12rem;
    line-height: 1.75;
    color: var(--color-text-secondary, #334155);
    max-width: 820px;
}

/* Tarjeta de Líneas de Emergencia por País */
.country-crisis-section {
    padding: 2.5rem 0;
}

.country-crisis-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-xl, 24px);
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
    padding: 2.25rem;
    transition: transform 0.2s ease;
}

.country-card-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid #f1f5f9;
    flex-wrap: wrap;
}

.country-flag-badge {
    font-size: 2.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.country-info {
    flex: 1;
    min-width: 200px;
}

.country-eyebrow {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary, #1e293b);
    display: block;
    margin-bottom: 0.2rem;
}

.country-name {
    font-family: var(--font-serif, 'Lora', Georgia, serif);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--color-deep-ink, #0f172a);
    margin: 0;
}

.country-switcher {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.switcher-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-deep-ink, #0f172a);
}

.switcher-select {
    padding: 0.55rem 1rem;
    border-radius: var(--radius-md, 12px);
    border: 1px solid #cbd5e1;
    background-color: #f8fafc;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-body, #1e293b);
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
}

.switcher-select:focus {
    border-color: var(--color-primary, #1e3d34);
}

/* Grilla de Crisis */
.crisis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.75rem;
}

.crisis-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg, 18px);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.crisis-priority {
    background: #fff8f6;
    border-color: #fecdd3;
    border-width: 1.5px;
}

.crisis-item-badge {
    display: inline-block;
    background: #ffe4e6;
    color: #9f1239;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    margin-bottom: 0.85rem;
    align-self: flex-start;
}

.crisis-item-badge.subtle {
    background: #e2e8f0;
    color: #334155;
}

.crisis-item-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-deep-ink, #0f172a);
    margin-bottom: 0.5rem;
}

.crisis-item-desc {
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--color-deep-ink, #0f172a);
    font-weight: 500;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.crisis-phone-box {
    margin-top: auto;
}

.crisis-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #be123c;
    color: #ffffff !important;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-full, 9999px);
    font-size: 1.15rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(190, 18, 60, 0.25);
    transition: all 0.2s ease;
}

.crisis-phone-link:hover {
    background: #9f1239;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(190, 18, 60, 0.35);
}

.crisis-phone-link.secondary {
    background: #1e3d34;
    font-size: 1.05rem;
    box-shadow: 0 4px 10px rgba(30, 61, 52, 0.2);
}

.crisis-phone-link.secondary:hover {
    background: #152e27;
}

.crisis-alt-text {
    display: block;
    margin-top: 0.65rem;
    font-size: 0.86rem;
    color: #1e293b;
    font-weight: 500;
}

.emergency-badge {
    display: inline-block;
    background: #0f172a;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 0.65rem 1.1rem;
    border-radius: var(--radius-md, 12px);
}

/* Franja de Contacto Local */
.local-support-strip {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px dashed #cbd5e1;
}

.strip-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-deep-ink, #0f172a);
    margin-bottom: 0.75rem;
}

.strip-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.strip-pill {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-sm, 8px);
    font-size: 0.85rem;
    color: #334155;
}

/* Directorio de Organizaciones */
.orgs-directory-section {
    padding: 3rem 0;
}

.section-title-wrap {
    margin-bottom: 2.75rem;
}

.section-heading {
    font-family: var(--font-serif, 'Lora', Georgia, serif);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--color-deep-ink, #0f172a);
    margin-bottom: 0.65rem;
}

.section-subheading {
    font-size: 1.08rem;
    color: var(--color-deep-ink, #0f172a);
    font-weight: 500;
    max-width: 680px;
    margin: 0 auto;
}

.org-category-block {
    margin-bottom: 3.5rem;
}

.cat-header {
    margin-bottom: 1.5rem;
    border-left: 3.5px solid var(--color-primary, #1e3d34);
    padding-left: 1rem;
}

.cat-title {
    font-family: var(--font-serif, 'Lora', Georgia, serif);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--color-deep-ink, #0f172a);
    margin-bottom: 0.25rem;
}

.cat-desc {
    font-size: 1rem;
    color: #1e293b;
    font-weight: 500;
}

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

.org-card {
    background: #ffffff;
    border: 1.5px solid rgba(15, 23, 42, 0.12);
    border-radius: var(--radius-lg, 18px);
    padding: 1.65rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.05);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.org-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px -4px rgba(15, 23, 42, 0.09);
    border-color: #cbd5e1;
}

.org-badge {
    display: inline-block;
    background: rgba(30, 61, 52, 0.08);
    color: #1e3d34;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    margin-bottom: 0.85rem;
}

.org-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-deep-ink, #0f172a);
    margin-bottom: 0.65rem;
    line-height: 1.35;
}

.org-description {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--color-deep-ink, #0f172a);
    font-weight: 450;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.org-card-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.org-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-primary, #1e3d34);
}

.org-link:hover {
    color: #047857;
    text-decoration: underline;
}

/* Manifiesto de Cuidado Ético */
.ethical-manifesto-section {
    padding: 2rem 0;
}

.manifesto-card {
    background: #ffffff;
    border: 1px solid #e7e3da;
    border-radius: var(--radius-xl, 24px);
    padding: 2.75rem 2.25rem;
    display: flex;
    gap: 1.75rem;
    align-items: flex-start;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.manifesto-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md, 14px);
    background: #ecfdf5;
    color: #065f46;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.manifesto-title {
    font-family: var(--font-serif, 'Lora', Georgia, serif);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--color-deep-ink, #0f172a);
    margin-bottom: 0.85rem;
}

.manifesto-text {
    font-size: 1rem;
    line-height: 1.75;
    color: #334155;
    margin-bottom: 1rem;
}

.manifesto-action {
    margin-top: 1.5rem;
}

.btn-return-home {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--color-primary, #1e3d34);
    color: #ffffff !important;
    padding: 0.75rem 1.4rem;
    border-radius: var(--radius-full, 9999px);
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(30, 61, 52, 0.2);
    transition: all 0.2s ease;
}

.btn-return-home:hover {
    background: #142a24;
    transform: translateX(-3px);
}

@media (max-width: 768px) {
    .manifesto-card {
        flex-direction: column;
        padding: 1.75rem 1.25rem;
    }
    .country-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .country-switcher {
        width: 100%;
        justify-content: space-between;
    }
    .switcher-select {
        flex: 1;
    }
}


/* ========================================================
   MARCO DE FUNDAMENTO, AUTORIDAD, CONFIANZA Y PRIVACIDAD
   ======================================================== */
.framework-authority-section {
    padding: 3.5rem 0 3rem;
    background: transparent;
}

.framework-card {
    background: #ffffff;
    border: 1px solid var(--color-border, #e7e3da);
    border-radius: var(--radius-xl, 24px);
    box-shadow: 0 12px 36px -10px rgba(15, 23, 42, 0.07);
    padding: 3.25rem 2.75rem;
    position: relative;
    overflow: hidden;
}

.framework-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 3rem;
}

.framework-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(30, 61, 52, 0.08);
    color: var(--color-primary, #1e3d34);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full, 9999px);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.framework-title {
    font-family: var(--font-serif, 'Lora', Georgia, serif);
    font-size: clamp(1.85rem, 3.5vw, 2.45rem);
    font-weight: 700;
    color: var(--color-deep-ink, #0f172a);
    line-height: 1.25;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.framework-lead {
    font-size: 1.08rem;
    line-height: 1.75;
    color: var(--color-text-secondary, #334155);
}

.framework-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.75rem;
}

.framework-col {
    background: #fbfaf8;
    border: 1px solid #ebe7df;
    border-radius: var(--radius-lg, 18px);
    padding: 1.85rem 1.45rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.framework-col:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px -6px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
    background: #ffffff;
}

.framework-col-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.col-theology {
    background: #fef3c7;
    color: #92400e;
}

.col-psychotherapy {
    background: #e0f2fe;
    color: #0369a1;
}

.col-neuroscience {
    background: #f3e8ff;
    color: #7e22ce;
}

.col-privacy {
    background: #ecfdf5;
    color: #047857;
}

.framework-col-title {
    font-family: var(--font-serif, 'Lora', Georgia, serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-deep-ink, #0f172a);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.framework-col-desc {
    font-size: 0.93rem;
    line-height: 1.65;
    color: #334155;
    margin: 0;
}

.framework-ethical-notice {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--color-primary, #1e3d34);
    border-radius: var(--radius-md, 12px);
    padding: 1.35rem 1.65rem;
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
}

.ethical-notice-icon {
    color: var(--color-primary, #1e3d34);
    flex-shrink: 0;
    margin-top: 2px;
}

.ethical-notice-text {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #334155;
}

.ethical-notice-text strong {
    color: var(--color-deep-ink, #0f172a);
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.94rem;
}

.ethical-notice-text a {
    color: var(--color-primary, #1e3d34);
    font-weight: 600;
    text-decoration: underline;
}

.ethical-notice-text a:hover {
    color: #142a24;
}

@media (max-width: 1024px) {
    .framework-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .framework-card {
        padding: 2.25rem 1.25rem;
    }
    .framework-grid {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }
    .framework-ethical-notice {
        flex-direction: column;
        padding: 1.25rem;
    }
}


/* ========================================================
   SALIDA RÁPIDA (QUICK ESCAPE) Y LIMPIEZA DE PANTALLA
   ======================================================== */
.sentinel-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.sentinel-alert-text {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.btn-quick-escape {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-full, 9999px);
    padding: 0.22rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-quick-escape:hover {
    background: #be123c;
    border-color: #be123c;
    color: #ffffff;
    transform: scale(1.02);
}

.dialogue-card-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.btn-clear-chat {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #ffffff;
    border: 1.5px solid rgba(15, 23, 42, 0.16);
    color: #0f172a;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full, 9999px);
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-clear-chat:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #991b1b;
}

/* ========================================================
   SECCIÓN FAQ ÉTICO Y DE TRANSPARENCIA
   ======================================================== */
.faq-transparency-section {
    padding: 4rem 0 3.5rem;
    background: transparent;
}

.faq-card {
    background: #ffffff;
    border: 1px solid var(--color-border, #e7e3da);
    border-radius: var(--radius-xl, 24px);
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.06);
    padding: 3.25rem 2.75rem;
    max-width: 920px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.5rem;
}

.faq-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(30, 61, 52, 0.08);
    color: var(--color-primary, #1e3d34);
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full, 9999px);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
}

.faq-title {
    font-family: var(--font-serif, 'Lora', Georgia, serif);
    font-size: clamp(1.8rem, 3.2vw, 2.25rem);
    font-weight: 700;
    color: var(--color-deep-ink, #0f172a);
    line-height: 1.25;
    margin-bottom: 0.85rem;
    letter-spacing: -0.02em;
}

.faq-lead {
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--color-text-secondary, #334155);
}

.faq-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md, 14px);
    background: #fbfaf8;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item[open] {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.faq-question {
    padding: 1.15rem 1.4rem;
    font-family: var(--font-serif, 'Lora', Georgia, serif);
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--color-deep-ink, #0f172a);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--color-primary, #1e3d34);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.faq-item[open] .faq-arrow {
    transform: rotate(180deg);
    background: var(--color-primary, #1e3d34);
    color: #ffffff;
}

.faq-answer {
    padding: 0 1.4rem 1.35rem;
    font-size: 0.94rem;
    line-height: 1.7;
    color: #334155;
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
}

.faq-answer p {
    margin: 0;
}

.faq-answer a {
    color: var(--color-primary, #1e3d34);
    font-weight: 600;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .sentinel-inner {
        justify-content: center;
        text-align: center;
    }
    .faq-card {
        padding: 2.25rem 1.25rem;
    }
    .faq-question {
        font-size: 1rem;
        padding: 1rem;
    }
    .faq-answer {
        padding: 0 1rem 1.15rem;
        padding-top: 0.85rem;
    }
}


/* ========================================================
   SISTEMA DE DISEÑO DEL SANTUARIO WIZARD FLUIDO
   Paisaje Breathtaking de Montaña y Lago al Amanecer
   Arquitectura limpia, proporcional, cristal esmerilado (WCAG AAA)
   ======================================================== */
.sanctuary-wizard-wrapper {
    min-height: calc(100vh - 110px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 5vw, 4rem) 1.25rem;
    position: relative;
    background-color: #f7f5ed;
    background-image: 
        radial-gradient(ellipse at 50% 20%, rgba(255, 255, 255, 0.12) 0%, rgba(248, 244, 235, 0.22) 50%, rgba(230, 222, 206, 0.45) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(240, 234, 222, 0.35) 100%),
        url('images/sanctuary-landscape.webp');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.sanctuary-ambient-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0) 0%, rgba(248, 243, 232, 0.20) 70%, rgba(222, 212, 194, 0.50) 100%);
}

.wizard-stage-container {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.wizard-step {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.90);
    border-radius: var(--radius-xl, 24px);
    box-shadow: 
        0 24px 60px -15px rgba(27, 56, 47, 0.12),
        0 8px 24px -6px rgba(27, 56, 47, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.70);
    padding: clamp(1.85rem, 4.2vw, 2.75rem);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.wizard-step.active {
    opacity: 1;
    transform: translateY(0);
}

/* Header del Wizard */
.wizard-header-block {
    text-align: center;
    margin-bottom: 2rem;
}

.wizard-kicker {
    display: inline-block;
    font-size: 0.86rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary, #1b382f);
    margin-bottom: 0.75rem;
}

.wizard-main-title {
    font-family: var(--font-serif, 'Lora', Georgia, serif);
    font-size: clamp(1.85rem, 4vw, 2.35rem);
    font-weight: 600;
    color: var(--color-deep-ink, #0f172a);
    line-height: 1.25;
    margin-bottom: 0.65rem;
    letter-spacing: -0.02em;
}

.wizard-main-subtitle {
    font-size: clamp(1.05rem, 1.12vw, 1.18rem);
    color: var(--color-deep-ink, #0f172a);
    font-weight: 500;
    line-height: 1.72;
    max-width: 580px;
    margin: 0 auto;
}

/* Las 3 Puertas Interactivas */
.wizard-doors-grid {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    margin-bottom: 1.6rem;
}

.wizard-door-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 16px;
    padding: 1.35rem 1.6rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
    width: 100%;
}

.wizard-door-card:hover {
    transform: translateY(-2px);
    border-color: rgba(27, 56, 47, 0.30);
    box-shadow: 0 8px 24px -4px rgba(27, 56, 47, 0.08);
}

.wizard-door-card:active {
    transform: scale(0.985);
}

.door-mono-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary, #1b382f);
    flex-shrink: 0;
}

.door-mono-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
}

.door-info {
    flex: 1;
    min-width: 0;
}

.door-title {
    font-family: var(--font-serif, 'Lora', Georgia, serif);
    font-size: 1.16rem;
    font-weight: 700;
    color: var(--color-deep-ink, #0f172a);
    margin: 0 0 0.25rem;
    line-height: 1.35;
}

.door-desc {
    font-size: 0.95rem;
    color: var(--color-text-secondary, #1e293b);
    font-weight: 500;
    line-height: 1.55;
    margin: 0;
}

.door-arrow {
    font-size: 1.35rem;
    color: var(--color-primary, #1b382f);
    font-weight: 600;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.wizard-door-card:hover .door-arrow {
    transform: translateX(4px);
}

/* Caja de Entrada Directa */
.wizard-direct-box {
    margin-bottom: 1.5rem;
}

.wizard-direct-form {
    display: flex;
    gap: 0.5rem;
    background: #ffffff;
    border: 1.5px solid rgba(15, 23, 42, 0.18);
    border-radius: 14px;
    padding: 0.35rem 0.35rem 0.35rem 1.15rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.wizard-direct-form:focus-within {
    border-color: #1b382f;
    box-shadow: 0 0 0 3px rgba(27, 56, 47, 0.1);
}

.wizard-direct-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.02rem;
    font-weight: 500;
    color: var(--color-deep-ink, #0f172a);
    background: transparent;
}

.btn-direct-action {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #1b382f;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 0.65rem 1.25rem;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-direct-action:hover {
    background: #122720;
}

/* CTA Cuidado Humano */
.wizard-care-cta {
    text-align: center;
    font-size: 0.96rem;
    color: #1e293b;
    font-weight: 500;
    margin-bottom: 1.75rem;
}

.btn-care-link {
    background: none;
    border: none;
    color: #166534;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
    margin-left: 0.35rem;
}

.btn-care-link:hover {
    color: #047857;
}

/* Meta Nav Inferior */
.wizard-meta-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 1.25rem;
    font-size: 0.88rem;
    flex-wrap: wrap;
}

.meta-link-btn {
    background: none;
    border: none;
    color: #1e293b;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.2s;
    text-decoration: none;
}

.meta-link-btn:hover {
    color: #166534;
    text-decoration: underline;
}

.meta-sep {
    color: #cbd5e1;
}

/* ========================================================
   PASOS INLINE DE TRANSPARENCIA (FUNDAMENTO & FAQ)
   Arquitectura limpia, cero modales, 100% accesible (WCAG AAA)
   ======================================================== */
.editorial-step-content {
    padding-top: 0.5rem;
}

.editorial-step-heading {
    font-family: var(--font-serif, 'Lora', Georgia, serif);
    font-size: clamp(1.45rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: var(--color-deep-ink, #0f172a);
    margin: 0 0 0.5rem;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

.editorial-step-lead {
    font-size: 1.05rem;
    color: var(--color-deep-ink, #0f172a);
    line-height: 1.7;
    font-weight: 500;
    margin-bottom: 1.85rem;
}

.pillars-grid-clean {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.pillar-clean-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    padding: 1.35rem 1.45rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.pillar-icon-line {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--color-primary, #1b382f);
    margin-bottom: 0.65rem;
}

.pillar-icon-line svg {
    flex-shrink: 0;
    stroke: currentColor;
}

.pillar-title {
    font-family: var(--font-serif, 'Lora', Georgia, serif);
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--color-deep-ink, #0f172a);
}

.pillar-text {
    font-size: 0.95rem;
    line-height: 1.62;
    color: var(--color-text-secondary, #1e293b);
    font-weight: 480;
    margin: 0;
}

.editorial-notice-box {
    background: #fbf9f5;
    border-left: 3.5px solid var(--color-primary, #1b382f);
    border-radius: 0 12px 12px 0;
    padding: 1.15rem 1.35rem;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--color-deep-ink, #0f172a);
}

.editorial-notice-box a {
    color: var(--color-primary, #1b382f);
    font-weight: 700;
    text-decoration: underline;
}

/* FAQ Accordion Clean (Nativo, sin dependencias, accesible) */
.faq-accordion-clean {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.faq-clean-item {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    padding: 1.15rem 1.35rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-clean-item[open] {
    border-color: rgba(27, 56, 47, 0.25);
    box-shadow: 0 4px 14px rgba(27, 56, 47, 0.05);
}

.faq-clean-q {
    font-family: var(--font-serif, 'Lora', Georgia, serif);
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--color-deep-ink, #0f172a);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.faq-clean-q::-webkit-details-marker {
    display: none;
}

.faq-clean-q::after {
    content: "+";
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-primary, #1b382f);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.faq-clean-item[open] .faq-clean-q::after {
    content: "−";
}

.faq-clean-a {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    font-size: 0.96rem;
    line-height: 1.68;
    color: var(--color-deep-ink, #0f172a);
}

.faq-clean-a p {
    margin: 0;
}

.faq-clean-a a {
    color: var(--color-primary, #1b382f);
    font-weight: 700;
    text-decoration: underline;
}

/* ========================================================
   ESTILOS DE PASOS INTERIORES (STEP NAV & CHAT ENFOCADO)
   ======================================================== */
.step-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.btn-back-step {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #ffffff;
    border: 1.5px solid rgba(15, 23, 42, 0.16);
    border-radius: var(--radius-full, 9999px);
    padding: 0.45rem 1.05rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-deep-ink, #0f172a);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-back-step:hover {
    background: #f8fafc;
    color: #0f172a;
    border-color: #0f172a;
}

.step-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.86rem;
    font-weight: 700;
    color: #14532d;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    padding: 0.35rem 0.95rem;
    border-radius: var(--radius-full, 9999px);
}

/* Tira de Temáticas Compacta */
.compact-topics-strip {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.2rem 0 0.75rem;
    margin-bottom: 0.75rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.compact-topics-strip::-webkit-scrollbar {
    display: none;
}

.compact-pill-btn {
    flex-shrink: 0;
    background: #ffffff;
    border: 1.5px solid rgba(15, 23, 42, 0.14);
    border-radius: var(--radius-full, 9999px);
    padding: 0.45rem 1rem;
    font-size: 0.88rem;
    color: var(--color-deep-ink, #0f172a);
    cursor: pointer;
    transition: all 0.15s ease;
    font-weight: 600;
    white-space: nowrap;
}

.compact-pill-btn:hover {
    background: #1b382f;
    border-color: #1b382f;
    color: #ffffff;
}

.compact-pill-btn:hover {
    background: #ffffff;
    border-color: #1b382f;
    color: #1b382f;
}

/* Visor del Diálogo Limpio y Ergonómico (Sin Containeritis) */
.wizard-chat-box {
    position: relative;
    height: clamp(520px, 64vh, 660px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 0.5rem 0.25rem 1.25rem;
    background: transparent;
    border: none;
    border-radius: 0;
    margin-bottom: 1.25rem;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(27, 56, 47, 0.20) transparent;
}

.wizard-chat-box::-webkit-scrollbar {
    width: 6px;
}

.wizard-chat-box::-webkit-scrollbar-track {
    background: transparent;
}

.wizard-chat-box::-webkit-scrollbar-thumb {
    background: rgba(27, 56, 47, 0.20);
    border-radius: 9999px;
}

.wizard-chat-box::-webkit-scrollbar-thumb:hover {
    background: rgba(27, 56, 47, 0.35);
}

/* Tarjeta Editorial de Respuesta (Haute Couture & Ley de la Tinta) */
.chat-bubble.editorial-bubble {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    padding: clamp(1.65rem, 4vw, 2.5rem);
    box-shadow: 0 4px 24px -4px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.02);
    width: 100%;
}

.editorial-block {
    margin-bottom: 1.45rem;
}

.editorial-block:last-child {
    margin-bottom: 0;
}

.editorial-response-title {
    font-family: var(--font-serif, 'Lora', Georgia, serif);
    font-size: clamp(1.32rem, 2.3vw, 1.6rem);
    font-weight: 700;
    color: var(--color-deep-ink, #0f172a);
    line-height: 1.3;
    margin: 0.35rem 0 0.85rem;
    letter-spacing: -0.015em;
}

.editorial-lead-paragraph {
    font-size: clamp(1.06rem, 1.15vw, 1.16rem);
    line-height: 1.76;
    color: var(--color-deep-ink, #0f172a);
    font-weight: 500;
    margin-bottom: 0;
}

.editorial-section {
    margin-top: 1.35rem;
}

.editorial-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.45rem;
}

.eyebrow-neuro {
    color: #166534;
}

.eyebrow-human {
    color: #92400e;
}

.eyebrow-advice {
    color: #1e3a8a;
}

.editorial-body-text {
    font-size: clamp(1.02rem, 1.05vw, 1.1rem);
    line-height: 1.75;
    color: var(--color-deep-ink, #0f172a);
    font-weight: 450;
}

.editorial-body-text strong {
    color: var(--color-deep-ink, #0f172a);
    font-weight: 700;
}

/* Pull-Quote Editorial (Cita Bíblica con Gracia y Dignidad) */
.editorial-pullquote {
    margin: 1.6rem 0;
    padding: 1.15rem 1.45rem;
    background: #fbf9f5;
    border-left: 3.5px solid #b45309;
    border-radius: 0 12px 12px 0;
}

.pullquote-kicker {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #92400e;
    margin-bottom: 0.45rem;
}

.pullquote-text {
    font-family: var(--font-serif, 'Lora', Georgia, serif);
    font-size: clamp(1.1rem, 1.3vw, 1.22rem);
    font-style: italic;
    color: var(--color-deep-ink, #0f172a);
    line-height: 1.65;
    margin: 0 0 0.4rem;
}

.pullquote-cite {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1e293b;
    display: block;
    font-style: normal;
    text-align: right;
}

/* Tarjeta de Oración Serena */
.editorial-prayer-card {
    margin: 1.5rem 0 1rem;
    padding: 1.15rem 1.45rem;
    background: #f2f7f4;
    border-left: 3.5px solid #166534;
    border-radius: 0 12px 12px 0;
}

.prayer-card-header {
    font-size: 0.84rem;
    font-weight: 700;
    color: #166534;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.prayer-card-body {
    font-family: var(--font-serif, 'Lora', Georgia, serif);
    font-size: clamp(1.06rem, 1.15vw, 1.16rem);
    font-style: italic;
    color: #064e3b;
    line-height: 1.72;
    margin: 0;
}

/* Tira de Botones de Continuidad */
.editorial-actions-strip {
    margin-top: 1.5rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.actions-strip-label {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--color-deep-ink, #0f172a);
    margin-bottom: 0.65rem;
}

.actions-buttons-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.btn-editorial-action {
    background: #ffffff;
    border: 1.5px solid rgba(15, 23, 42, 0.20);
    color: var(--color-deep-ink, #0f172a);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.6rem 1.25rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.btn-editorial-action:hover {
    background: #1b382f;
    color: #ffffff;
    border-color: #1b382f;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(27, 56, 47, 0.15);
}

/* Indicador de Pacing Progresivo Humano */
.pacing-status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.84rem;
    color: #166534;
    font-weight: 700;
    margin-top: 0.85rem;
    padding-top: 0.65rem;
    border-top: 1px dashed rgba(27, 56, 47, 0.12);
}

.pacing-dot-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #166534;
    display: inline-block;
    animation: pulsePacing 1s infinite alternate ease-in-out;
}

@keyframes pulsePacing {
    0% { opacity: 0.35; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1.15); }
}

.btn-skip-pacing {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 0.84rem;
    color: #1e293b;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
}

.btn-skip-pacing:hover {
    color: #0f172a;
}

/* Barra de Entrada del Diálogo */
.wizard-chat-bar {
    display: flex;
    gap: 0.5rem;
    background: #ffffff;
    border: 1.5px solid rgba(15, 23, 42, 0.20);
    border-radius: 16px;
    padding: 0.35rem 0.35rem 0.35rem 1.15rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.wizard-chat-bar:focus-within {
    border-color: #1b382f;
    box-shadow: 0 0 0 3px rgba(27, 56, 47, 0.08);
}

.wizard-chat-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 0.55rem 0;
    font-size: 1.02rem;
    font-weight: 500;
    color: var(--color-deep-ink, #0f172a);
}
    color: var(--color-deep-ink, #0f172a);
    font-family: inherit;
}

.btn-chat-send {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #1b382f;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 0.65rem 1.35rem;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    min-height: 44px;
}

.btn-chat-send:hover {
    background: #122720;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(27, 56, 47, 0.20);
}

/* ========================================================
   PASO 3: ACOMPAÑAR A UN SER QUERIDO (ALTA LEGIBILIDAD WCAG AAA)
   ======================================================== */
.loved-one-heading {
    font-family: var(--font-serif, 'Lora', Georgia, serif);
    font-size: clamp(1.6rem, 2.8vw, 2.15rem);
    font-weight: 700;
    color: var(--color-deep-ink, #0f172a);
    margin-bottom: 0.85rem;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

.loved-one-sub {
    font-size: clamp(1.05rem, 1.12vw, 1.16rem);
    color: var(--color-deep-ink, #0f172a);
    font-weight: 500;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.loved-one-sub strong {
    color: var(--color-deep-ink, #0f172a);
    font-weight: 750;
}

.loved-one-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.25rem;
}

.loved-card-item {
    background: #ffffff;
    border: 1.5px solid rgba(15, 23, 42, 0.12);
    border-radius: 18px;
    padding: clamp(1.5rem, 2.5vw, 2.1rem);
    box-shadow: 0 4px 18px -4px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
}

.item-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.84rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    margin-bottom: 1.35rem;
    width: fit-content;
}

.tag-good {
    background: #dcfce7;
    color: #14532d;
    border: 1px solid #bbf7d0;
}

.tag-avoid {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.item-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    font-size: clamp(1.02rem, 1.06vw, 1.08rem);
    line-height: 1.72;
    color: var(--color-deep-ink, #0f172a);
}

.item-list li {
    padding-bottom: 1.15rem;
    border-bottom: 1px solid #f1f5f9;
}

.item-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.item-list strong {
    color: var(--color-deep-ink, #0f172a);
    font-weight: 750;
    font-size: 1.05rem;
    display: inline;
}

.item-list em {
    font-style: italic;
    color: #1e293b;
    font-weight: 500;
}

.loved-actions-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-step-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    background: #1b382f;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 0.85rem 1.65rem;
    font-size: 0.98rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    min-height: 48px;
}

.btn-step-primary:hover {
    background: #122720;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(27, 56, 47, 0.25);
}

.btn-step-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    background: #ffffff;
    color: var(--color-deep-ink, #0f172a);
    border: 1.5px solid rgba(15, 23, 42, 0.22);
    border-radius: 12px;
    padding: 0.85rem 1.5rem;
    font-size: 0.98rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    min-height: 48px;
}

.btn-step-secondary:hover {
    background: #f8fafc;
    border-color: #0f172a;
    color: #0f172a;
    transform: translateY(-1px);
}

/* ========================================================
   PASO 4: PAUSA DE RESPIRACIÓN
   ======================================================== */
.breathing-card {
    text-align: center;
    padding: 1rem 0;
}

.breathing-instruction {
    font-size: clamp(1.05rem, 1.12vw, 1.15rem);
    color: var(--color-deep-ink, #0f172a);
    font-weight: 500;
    max-width: 520px;
    margin: 0 auto 2.25rem;
    line-height: 1.75;
}

.breathing-stage {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 240px;
    margin-bottom: 2rem;
}

.breath-orb {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27, 56, 47, 0.15) 0%, rgba(27, 56, 47, 0.04) 70%);
    border: 2px solid rgba(27, 56, 47, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 4s cubic-bezier(0.4, 0, 0.2, 1);
}

.breath-orb.active {
    transform: scale(1.6);
    background: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, rgba(16, 185, 129, 0.05) 70%);
    border-color: #10b981;
    box-shadow: 0 0 50px rgba(16, 185, 129, 0.2);
}

.orb-inner {
    font-family: var(--font-serif, 'Lora', Georgia, serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.breathing-controls {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

/* ========================================================
   PASO 5: FORMULARIO 1 A 1
   ======================================================== */
.care-form-card {
    padding: 0.5rem 0;
}

.care-heading {
    font-family: var(--font-serif, 'Lora', Georgia, serif);
    font-size: clamp(1.55rem, 2.6vw, 2rem);
    font-weight: 700;
    color: var(--color-deep-ink, #0f172a);
    margin-bottom: 0.5rem;
}

.care-sub {
    font-size: clamp(1.04rem, 1.1vw, 1.14rem);
    color: var(--color-deep-ink, #0f172a);
    font-weight: 500;
    line-height: 1.72;
    margin-bottom: 1.75rem;
}

.care-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-label {
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--color-deep-ink, #0f172a);
}

.form-ctrl {
    border: 1.5px solid rgba(15, 23, 42, 0.18);
    border-radius: 12px;
    padding: 0.85rem 1.15rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-deep-ink, #0f172a);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-ctrl:focus {
    border-color: #1b382f;
    box-shadow: 0 0 0 3px rgba(27, 56, 47, 0.12);
}

.care-alert-success {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #ecfdf5;
    border: 1.5px solid #a7f3d0;
    border-radius: 14px;
    padding: 1.35rem;
    color: #065f46;
    font-size: 0.98rem;
    line-height: 1.65;
}
    font-size: 0.92rem;
    line-height: 1.6;
}

.care-alert-success strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

/* ========================================================
   DRAWER MODAL LATERAL (OFFCANVAS)
   ======================================================== */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(6px);
    z-index: 1000;
    display: flex;
    justify-content: flex-end;
}

.drawer-panel {
    width: 100%;
    max-width: 540px;
    background: #ffffff;
    height: 100%;
    overflow-y: auto;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.12);
}

.drawer-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
    gap: 0.75rem;
}

.drawer-tabs-nav {
    display: flex;
    gap: 0.4rem;
}

.drawer-tab-btn {
    background: none;
    border: none;
    padding: 0.45rem 0.85rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.drawer-tab-btn.active {
    background: #1b382f;
    color: #ffffff;
}

.btn-close-drawer {
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #0f172a;
    transition: background 0.2s;
}

.btn-close-drawer:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.drawer-heading {
    font-family: var(--font-serif, 'Lora', Georgia, serif);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--color-deep-ink, #0f172a);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.drawer-lead {
    font-size: 1.05rem;
    color: var(--color-deep-ink, #0f172a);
    font-weight: 500;
    line-height: 1.72;
    margin-bottom: 1.75rem;
}

.drawer-pillars-list {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    margin-bottom: 2rem;
}

.pillar-row {
    background: #ffffff;
    border: 1.5px solid rgba(15, 23, 42, 0.12);
    border-radius: 14px;
    padding: 1.25rem 1.35rem;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--color-deep-ink, #0f172a);
    font-weight: 450;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.pillar-row strong {
    color: #0f172a;
    font-weight: 750;
}

.pillar-badge {
    font-weight: 800;
    font-size: 0.84rem;
    margin-bottom: 0.45rem;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge-theology { color: #92400e; }
.badge-psychology { color: #0369a1; }
.badge-neuro { color: #7e22ce; }
.badge-privacy { color: #047857; }

.drawer-notice-box {
    background: #f8fafc;
    border-left: 3.5px solid #1b382f;
    padding: 1.15rem 1.25rem;
    border-radius: 8px;
    font-size: 0.92rem;
    color: #0f172a;
    font-weight: 500;
    line-height: 1.65;
}

.drawer-notice-box a {
    color: #1b382f;
    font-weight: 700;
    text-decoration: underline;
}

.drawer-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.drawer-faq-item {
    border: 1.5px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
}

.drawer-faq-item[open] {
    background: #ffffff;
    border-color: #1b382f;
}

.drawer-faq-q {
    padding: 1.15rem 1.25rem;
    font-size: 1.02rem;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    user-select: none;
}

.drawer-faq-a {
    padding: 0 1.25rem 1.25rem;
    font-size: 0.98rem;
    line-height: 1.72;
    color: var(--color-deep-ink, #0f172a);
    border-top: 1px solid #f1f5f9;
    padding-top: 0.95rem;
}

.drawer-faq-a p {
    margin: 0;
}

.drawer-faq-a a {
    color: #1b382f;
    font-weight: 700;
    text-decoration: underline;
}

/* ========================================================
   ESTILOS MINIMALISTAS DEL FOOTER DE SANTUARIO
   ======================================================== */
.footer-minimal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.footer-brand-minimal {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.footer-logo {
    font-family: var(--font-serif, 'Lora', Georgia, serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
}

.footer-desc {
    font-size: 0.85rem;
    color: #9cb0a6;
}

.footer-nav-minimal {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.footer-link-btn {
    background: none;
    border: none;
    color: #cbd5cb;
    font-size: 0.84rem;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
    padding: 0;
}

.footer-link-btn:hover {
    color: #6ee7b7;
}

.footer-sep {
    color: rgba(255, 255, 255, 0.2);
}

.footer-bottom-minimal {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.25rem;
    font-size: 0.82rem;
    color: #8da499;
    line-height: 1.55;
}

.footer-copy {
    margin-bottom: 0.4rem;
}

.footer-copy a {
    color: #cbd5cb;
    text-decoration: underline;
}

.footer-ethical-note {
    color: #799587;
    margin: 0;
}

.footer-ethical-note strong {
    color: #cbd5cb;
}

.footer-ethical-note a {
    color: #cbd5cb;
    text-decoration: underline;
}

@media (max-width: 820px) {
    .hide-mobile {
        display: none !important;
    }
    .show-mobile-only {
        display: inline-flex !important;
    }

    /* Sentinel Bar en Tablet/Móvil */
    .top-sentinel-bar {
        padding: 0.35rem 0.75rem;
        font-size: 0.76rem;
    }
    .sentinel-inner {
        gap: 0.5rem;
    }
    .sentinel-prompt-desktop {
        display: none !important;
    }
    .sentinel-alert-text {
        font-size: 0.76rem;
        gap: 0.35rem;
    }
    .sentinel-link {
        font-size: 0.76rem;
        margin-left: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .btn-quick-escape {
        padding: 0.2rem 0.5rem;
        font-size: 0.72rem;
        gap: 0.25rem;
    }

    /* Cabecera en Móvil */
    .site-header {
        height: auto;
    }
    .header-container {
        height: 56px;
        padding: 0 0.85rem;
        gap: 0.5rem;
    }
    .brand-wrapper {
        gap: 0.5rem;
    }
    .brand-symbol {
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }
    .brand-symbol svg {
        width: 18px;
        height: 18px;
    }
    .brand-title {
        font-size: 1.1rem;
        white-space: nowrap;
    }
    .brand-subtitle {
        display: none !important;
    }
    .header-nav {
        gap: 0.4rem;
    }
    .btn-ambient-sound {
        padding: 0.38rem 0.65rem;
        font-size: 0.8rem;
        gap: 0.35rem;
    }
    .btn-pastoral-nav {
        padding: 0.42rem 0.8rem;
        font-size: 0.8rem;
        gap: 0.35rem;
        border-radius: 8px;
    }

    /* Contenedor del Santuario Wizard */
    .sanctuary-wizard-wrapper {
        padding: 1.25rem 0.75rem 2.5rem;
        min-height: calc(100vh - 90px);
    }
    .wizard-stage-container {
        width: 100%;
        max-width: 100%;
    }
    .wizard-step {
        padding: 1.45rem 1rem;
        border-radius: 18px;
        box-shadow: 0 10px 30px -10px rgba(27, 56, 47, 0.10);
    }
    .step-headline {
        font-size: clamp(1.4rem, 5.5vw, 1.75rem);
        margin-bottom: 0.5rem;
    }
    .step-lead {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }
    .sanctuary-card-option {
        padding: 1rem;
        gap: 0.75rem;
        border-radius: 14px;
    }
    .card-option-title {
        font-size: 1rem;
    }
    .card-option-desc {
        font-size: 0.88rem;
        line-height: 1.5;
    }
    .card-option-arrow {
        display: none;
    }
    .compact-topics-strip {
        padding: 0.2rem 0 0.5rem;
        gap: 0.4rem;
    }
    .compact-pill-btn {
        padding: 0.38rem 0.75rem;
        font-size: 0.82rem;
    }
    .wizard-chat-box {
        height: clamp(420px, 60vh, 520px);
        gap: 1rem;
        padding: 0.25rem 0;
    }
    .chat-bubble.editorial-bubble {
        padding: 1.25rem 1rem;
        border-radius: 16px;
    }
    .editorial-response-title {
        font-size: 1.22rem;
    }
    .editorial-lead-paragraph {
        font-size: 0.98rem;
        line-height: 1.68;
    }
    .editorial-body-text {
        font-size: 0.95rem;
        line-height: 1.68;
    }
    .editorial-pullquote {
        padding: 0.85rem 1rem;
        margin: 1.25rem 0;
    }
    .pullquote-text {
        font-size: 1.02rem;
    }
    .wizard-chat-bar {
        padding: 0.25rem 0.25rem 0.25rem 0.85rem;
        border-radius: 14px;
    }
    .wizard-chat-input {
        font-size: 0.92rem;
    }
    .btn-chat-send {
        padding: 0.5rem 0.95rem;
        font-size: 0.82rem;
        min-height: 38px;
    }

    .wizard-door-card {
        padding: 1.15rem 1.15rem;
        gap: 0.85rem;
    }
    .door-mono-icon {
        width: 36px;
        height: 36px;
    }
    .door-mono-icon svg {
        width: 20px;
        height: 20px;
    }
    .door-title {
        font-size: 1.04rem;
    }
    .door-desc {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .pillars-grid-clean {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .loved-one-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .loved-actions-row {
        flex-direction: column;
    }
    .btn-step-primary,
    .btn-step-secondary {
        width: 100%;
        justify-content: center;
    }
    .footer-minimal-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .header-container {
        height: 52px;
        padding: 0 0.65rem;
    }
    .brand-title {
        font-size: 1.02rem;
    }
    .brand-symbol {
        width: 30px;
        height: 30px;
    }
    .btn-ambient-sound {
        padding: 0.32rem 0.5rem;
        font-size: 0.76rem;
    }
    .btn-pastoral-nav {
        padding: 0.36rem 0.65rem;
        font-size: 0.76rem;
    }
    .sentinel-link {
        max-width: calc(100vw - 110px);
    }
}
