/* ==========================================================================
   ICDC Santa Olaya — estilo de la Iglesia Cristiana (Discípulos de Cristo) en PR
   Rojo, negro carbón y blanco; títulos Questrial, títulos de sección Caveat,
   texto Space Grotesk; botones en píldora y franjas de color a todo lo ancho.
   ========================================================================== */

:root {
    /* Paleta */
    /* Tema granate (estilo confraisla en modo oscuro, probado con WCAG AA: texto ≥ 4.5:1):
       base granate, texto blanco cálido, dorado para etiquetas/fechas/enlaces, rojo solo en botones */
    --paper: #2c1416;         /* fondo de la página */
    --card: #3c1d20;          /* tarjetas, cabecera, menú */
    --soft: #4a2629;          /* campos y superficies elevadas */
    --line: #603538;          /* bordes */
    --band-dark: #1f0d0f;     /* franjas oscuras: portada, versículo, pie, lector */
    --text: #fbf3e8;          /* texto principal */
    --on-light: #1f0d0f;      /* texto sobre píldoras claras */
    --red: #c41c33;           /* botones */
    --red-dark: #a3172b;
    --red-band: #9f1a2c;      /* franjas rojas (encabezados de página, noticias) */
    --red-text: #f0b445;      /* acentos de texto (etiquetas, fechas, enlaces): dorado, no rojo */
    --red-soft: rgba(240, 180, 69, 0.15);
    --ink: var(--band-dark);  /* compatibilidad: superficies oscuras */
    --ink-2: #3a1a20;
    --yellow: #f7d48c;        /* dorado claro para texto sobre franjas */
    --gold: #f0b445;          /* dorado: etiquetas y franjas decorativas */

    /* Tokens usados por app.css y admin.css */
    --red-primary: var(--red);
    --gold-accent: var(--gold);
    --gold-light: var(--text);
    --gold-bright: var(--red-text);
    --gold-gradient: var(--red);
    --red-gradient: var(--red);
    --gold-glow: rgba(194, 27, 49, 0.25);
    --red-glow: rgba(194, 27, 49, 0.25);
    --bg-body: var(--paper);
    --bg-card: var(--card);
    --bg-card-hover: var(--card);
    --border-card: var(--line);
    --border-card-hover: rgba(240, 180, 69, 0.5);
    --border-red: rgba(240, 180, 69, 0.4);
    --text-main: var(--text);
    --text-muted: #e6d3c5;
    --text-dim: #ccb6a8;

    --radius: 18px;
    --shadow: 0 10px 30px rgba(30, 28, 29, 0.08);
    --shadow-hover: 0 18px 40px rgba(30, 28, 29, 0.14);
    --font-display: 'Questrial', 'Space Grotesk', sans-serif;
    --font-script: 'Caveat', cursive;
    --font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    /* El sitio es oscuro: casillas, calendarios, selector de archivos y barras de desplazamiento también */
    color-scheme: dark;
    accent-color: var(--red);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    background: var(--paper);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    min-height: 100vh;
}

/* Las franjas a todo lo ancho no deben crear scroll horizontal */
html, body, .page-wrapper {
    overflow-x: clip;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

/* Bandas de color a todo lo ancho, aunque el elemento esté dentro de un contenedor centrado */
.band-red, .band-ink {
    box-shadow: 0 0 0 100vmax var(--band);
    clip-path: inset(0 -100vmax);
    background: var(--band);
}

.band-red { --band: var(--red-band); color: #fff; }
.band-ink { --band: var(--band-dark); color: #fff; }

/* ==========================================================================
   BARRA SUPERIOR (PRÓXIMO CULTO)
   ========================================================================== */
.top-notification-bar {
    position: relative;
    z-index: 210;
    background: var(--band-dark);
    color: #fff;
    padding: 7px 16px;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    white-space: nowrap;
    overflow: hidden;
}

#next-service-timer {
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.timer-left {
    color: var(--yellow);
    font-weight: 700;
}

@media (max-width: 720px) {
    .timer-name, .timer-sep {
        display: none;
    }
}

.top-notification-bar a {
    color: var(--yellow) !important;
    font-weight: 600;
}

.live-pulse {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--red);
    padding: 2px 11px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    flex-shrink: 0;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
}

.service-live .pulse-dot {
    animation: pulseDot 1.6s infinite;
}

@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8); }
    70% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* ==========================================================================
   CABECERA FLOTANTE BLANCA
   ========================================================================== */
body > .page-wrapper > header {
    position: sticky;
    top: 0;
    z-index: 200;
    padding: 14px 24px 0;
    pointer-events: none;
}

.navbar {
    pointer-events: auto;
    max-width: 1392px;
    margin: 0 auto;
    background: var(--card);
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    padding: 12px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: box-shadow 0.25s ease;
}

.navbar.scrolled {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--red-text);
    margin-right: auto;
    min-width: 0;
}

.brand-logo-img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    padding-right: 14px;
    border-right: 2px solid var(--red);
}

.brand-title {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.2px;
}

.brand-title-2 {
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--red-text);
}

.brand-script {
    font-family: var(--font-script);
    font-weight: 700;
    font-size: 1.45rem;
    line-height: 1;
    color: var(--red-text);
    white-space: nowrap;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.navbar-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.navbar-link:hover {
    opacity: 0.75;
}

@media (max-width: 1100px) {
    .navbar-link { display: none; }
}

.navbar-login {
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 8px 18px;
    border: 1.5px solid var(--gold);
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.navbar-login:hover {
    background: rgba(240, 180, 69, 0.14);
    color: var(--gold);
    box-shadow: 0 0 14px rgba(240, 180, 69, 0.25);
}

.navbar-account {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--soft);
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    border: 1px solid var(--line);
}

.navbar-account:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

/* Botón ≡ */
.menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 16px;
    border-radius: 30px;
    border: 1.5px solid var(--text);
    background: var(--card);
    color: var(--text);
    cursor: pointer;
    font-family: var(--font-body);
    order: 3;
    transition: all 0.2s ease;
}

.menu-toggle:hover {
    background: var(--text);
    color: var(--on-light);
}

.menu-toggle-icon {
    font-size: 1.6rem;
    line-height: 1;
}

.menu-toggle-label {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.navbar .brand { order: 1; }
.navbar .navbar-actions { order: 2; }

/* Píldora roja (como "EVENTOS" en discipulospr.org) */
.btn-nav-visit {
    background: var(--red);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s ease;
}

.btn-nav-visit:hover {
    background: var(--red-dark);
}

/* ==========================================================================
   MENÚ LATERAL ≡
   ========================================================================== */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(30, 28, 29, 0.55);
    z-index: 290;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.show {
    opacity: 1;
}

.site-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 88vw);
    z-index: 300;
    background: var(--card);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.25);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.35s;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 18px 20px 26px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.site-menu.open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}

body.menu-open {
    overflow: hidden;
}

.site-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 3px solid var(--red);
}

.site-menu-head .brand {
    margin-right: 0;
}

.site-menu-head .brand-logo-img {
    width: 44px;
    height: 44px;
}

.site-menu-head .brand-text {
    border-right: none;
}

.site-menu-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--text);
    background: var(--card);
    color: var(--text);
    font-size: 1rem;
    cursor: pointer;
}

.site-menu-close:hover {
    background: var(--text);
    color: var(--on-light);
}

.site-menu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.site-menu .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
    transition: color 0.15s ease, padding 0.15s ease;
}

.site-menu .nav-link:hover {
    color: var(--red-text);
    padding-left: 16px;
}

.site-menu .nav-link.active {
    color: var(--red-text);
    box-shadow: inset 4px 0 0 var(--red);
    padding-left: 16px;
}

.nav-icon {
    width: 24px;
    text-align: center;
}

.site-menu-section {
    display: flex;
    flex-direction: column;
}

.site-menu-section .nav-link {
    font-size: 0.88rem;
    text-transform: none;
    letter-spacing: 0;
    padding: 10px;
}

.site-menu-user {
    color: var(--red-text);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px 6px;
}

.site-menu-cta {
    justify-content: center;
    padding: 13px 20px;
}

.site-menu-info {
    margin-top: auto;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    background: var(--soft);
    border-radius: 14px;
    padding: 14px 16px;
}

.site-menu-info strong {
    display: block;
    font-family: var(--font-script);
    font-size: 1.4rem;
    color: var(--red-text);
    line-height: 1.1;
}

/* ==========================================================================
   BOTONES (PÍLDORA)
   ========================================================================== */
.btn-gold, .btn-outline, .service-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 40px;
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.2;
}

.btn-gold {
    background: var(--red);
    color: #fff;
    border: 2px solid var(--red);
    padding: 12px 28px;
    font-size: 0.95rem;
}

.btn-gold:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--text);
    padding: 12px 28px;
    font-size: 0.95rem;
}

.btn-outline:hover {
    background: var(--text);
    color: var(--on-light);
}

.service-action-btn {
    background: transparent;
    color: var(--red-text);
    border: 1.5px solid var(--red);
    padding: 8px 18px;
    font-size: 0.85rem;
}

.service-action-btn:hover {
    background: var(--red);
    color: #fff;
}

/* En fondos rojos u oscuros los botones se invierten, como en discipulospr.org */
.band-red .btn-gold, .band-ink .btn-gold, .hero .btn-gold {
    background: var(--text);
    color: var(--on-light);
    border-color: var(--text);
}

.band-red .btn-gold:hover, .band-ink .btn-gold:hover, .hero .btn-gold:hover {
    background: #ffffff;
    border-color: var(--soft);
}

.band-red .btn-outline, .band-ink .btn-outline, .hero .btn-outline {
    color: #fff;
    border-color: var(--text);
}

.band-red .btn-outline:hover, .band-ink .btn-outline:hover, .hero .btn-outline:hover {
    background: var(--text);
    color: var(--on-light);
}

/* ==========================================================================
   SECCIONES Y TÍTULOS
   ========================================================================== */
main {
    display: block;
}

section {
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 50px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--red-text);
    margin-bottom: 4px;
}

.section-title {
    font-family: var(--font-script);
    font-weight: 700;
    font-size: clamp(2.6rem, 6vw, 3.8rem);
    line-height: 1.05;
    color: var(--text);
    margin-bottom: 14px;
}

.section-description {
    font-size: 1.08rem;
    color: var(--text-muted);
}

.band-red .section-tag, .band-ink .section-tag { color: var(--yellow); }
.band-red .section-title, .band-ink .section-title { color: #fff; }
.band-red .section-description, .band-ink .section-description { color: rgba(255, 255, 255, 0.88); }

/* Páginas interiores: la cabecera de la sección es una franja roja con el título */
.page-main > section:first-child {
    padding-top: 0;
}

.page-main > section:first-child > .section-header {
    --band: var(--red-band);
    background: var(--band);
    box-shadow: 0 0 0 100vmax var(--band);
    clip-path: inset(0 -100vmax);
    color: #fff;
    max-width: none;
    margin: 0 0 60px;
    padding: 90px 0 70px;
    position: relative;
}

.page-main > section:first-child > .section-header::after {
    content: '';
    position: absolute;
    left: -100vmax;
    right: -100vmax;
    bottom: 0;
    height: 12px;
    background: var(--gold);
    clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}

.page-main > section:first-child > .section-header .section-tag { color: var(--yellow); }
.page-main > section:first-child > .section-header .section-title { color: #fff; font-size: clamp(3rem, 7vw, 4.6rem); }
.page-main > section:first-child > .section-header .section-description { color: rgba(255, 255, 255, 0.9); max-width: 720px; margin: 0 auto; }

/* Tarjeta base */
.spotlight-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.spotlight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

/* Aparición suave al hacer scroll */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
    opacity: 1;
    transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ==========================================================================
   PORTADA (HERO)
   ========================================================================== */
.hero {
    --band: var(--band-dark);
    background: var(--band-dark);
    box-shadow: 0 0 0 100vmax var(--band-dark);
    clip-path: inset(-200px -100vmax 0);
    color: #fff;
    max-width: 1200px;
    margin-top: -86px;
    padding: 170px 24px 110px;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    grid-template-areas:
        "pretitle logo"
        "title logo"
        "verse logo"
        "badges logo"
        "cta logo";
    column-gap: 40px;
    align-items: center;
}

.hero::after {
    content: '';
    position: absolute;
    left: -100vmax;
    right: -100vmax;
    bottom: 0;
    height: 14px;
    background: var(--gold);
    clip-path: polygon(0 0, 100% 55%, 100% 100%, 0 100%);
}

.hero-logo-wrap {
    grid-area: logo;
    justify-self: center;
    position: relative;
}

.hero-logo-wrap::before {
    content: '';
    position: absolute;
    inset: -60%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(166, 25, 46, 0.45) 0%, transparent 65%);
    pointer-events: none;
}

.hero-halo {
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    border: 10px solid var(--red);
    box-shadow: 0 0 0 8px #fff;
}

.hero-logo-large {
    display: block;
    width: min(360px, 32vw);
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
}

.hero-pretitle {
    grid-area: pretitle;
    font-family: var(--font-script);
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--yellow);
    line-height: 1.1;
}

.hero-main-title {
    grid-area: title;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.8rem, 6.4vw, 5.6rem);
    line-height: 1.02;
    letter-spacing: -1px;
    margin: 8px 0 22px;
}

.gold-text {
    color: #fff;
    opacity: 0.92;
}

.hero-badges-row {
    grid-area: badges;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.hero-location-badge, .next-service-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.hero-location-badge {
    border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.next-service-pill {
    background: var(--red);
}

.hero-verse {
    grid-area: verse;
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 620px;
    margin-bottom: 30px;
}

.hero-cta-group {
    grid-area: cta;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ==========================================================================
   NOSOTROS
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    line-height: 1.15;
    margin-bottom: 18px;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 14px;
}

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

.about-visual-box {
    background: var(--red);
    border-radius: 28px;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-visual-box::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 12px;
    background: var(--gold);
}

.about-visual-crest {
    width: min(280px, 100%);
    border-radius: 50%;
    border: 8px solid #fff;
}

.about-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.pillar-card {
    padding: 30px 26px;
    border-top: 5px solid var(--red);
}

.pillar-icon {
    display: inline-flex;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: var(--red-soft);
    font-size: 1.5rem;
    margin-bottom: 14px;
}

.pillar-card h4 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.pillar-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   CULTOS
   ========================================================================== */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.service-card {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    overflow: hidden;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 6px;
    background: var(--red);
}

.service-icon-wrap {
    font-size: 1.8rem;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--red-soft);
    margin-bottom: 8px;
}

.service-day-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--red-text);
}

.service-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1.2;
}

.service-time {
    font-family: var(--font-display);
    font-size: 2.6rem;
    color: var(--red-text);
    line-height: 1.1;
    margin: 4px 0 8px;
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    flex: 1;
    margin-bottom: 14px;
}

/* ==========================================================================
   ACTIVIDADES / JÓVENES
   ========================================================================== */
.youth-spotlight-card {
    background: var(--band-dark);
    color: #fff;
    border: none;
    display: grid;
    grid-template-columns: 300px 1fr;
    overflow: hidden;
    padding: 0;
}

.youth-icon-box {
    background: var(--red);
    padding: 44px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    position: relative;
}

.youth-icon-box h4 {
    font-family: var(--font-body) !important;
    color: #fff !important;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.youth-icon-box span {
    font-family: var(--font-script);
    font-size: 1.6rem !important;
    color: var(--yellow) !important;
}

.youth-badge-icon {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: var(--card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    margin-bottom: 6px;
}

.youth-info {
    padding: 44px 40px;
}

.youth-info h3 {
    font-family: var(--font-script);
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 14px;
}

.youth-schedule-pill {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 30px;
    padding: 7px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.youth-info p {
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 22px;
}

.youth-info .btn-gold {
    background: var(--text);
    color: var(--on-light);
    border-color: var(--text);
}

.youth-info .service-action-btn {
    color: #fff;
    border-color: var(--text);
}

.youth-info .service-action-btn:hover {
    background: var(--text);
    color: var(--on-light);
}

/* ==========================================================================
   VERSÍCULO (FRANJA OSCURA)
   ========================================================================== */
.scripture-banner {
    --band: var(--band-dark);
    background: var(--band-dark);
    box-shadow: 0 0 0 100vmax var(--band-dark);
    clip-path: inset(0 -100vmax);
    color: #fff;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

.scripture-text {
    font-family: var(--font-script);
    font-weight: 700;
    font-size: clamp(2rem, 4.4vw, 3.2rem);
    line-height: 1.15;
    max-width: 960px;
}

.scripture-ref {
    color: var(--yellow);
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: 1px;
    margin-top: 14px;
    text-transform: uppercase;
}

/* ==========================================================================
   MINISTERIOS
   ========================================================================== */
.ministries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 22px;
}

.ministry-card {
    padding: 34px 26px;
    text-align: center;
}

.ministry-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 0 0 6px var(--red-soft);
}

.ministry-card h4 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.ministry-card p {
    color: var(--text-muted);
    font-size: 0.94rem;
}

/* ==========================================================================
   ORACIÓN Y FORMULARIOS
   ========================================================================== */
.prayer-section-card {
    max-width: 860px;
    margin: 0 auto;
    padding: 40px;
    border-top: 6px solid var(--red);
}

.prayer-section-card:hover {
    transform: none;
}

.prayer-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.styled-input, .styled-textarea, .styled-select {
    width: 100%;
    background: var(--card);
    border: 1.5px solid #d8d2d3;
    border-radius: 14px;
    padding: 13px 16px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.98rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.styled-input:focus, .styled-textarea:focus, .styled-select:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(166, 25, 46, 0.12);
}

.styled-textarea {
    min-height: 140px;
    resize: vertical;
}

.styled-select option {
    color: var(--text);
    background: var(--card);
}

/* ==========================================================================
   UBICACIÓN
   ========================================================================== */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 28px;
    align-items: stretch;
}

.location-info-card {
    padding: 36px 32px;
    background: var(--band-dark);
    color: #fff;
    border: none;
}

.location-info-card h3 {
    font-family: var(--font-script);
    font-size: 2.6rem;
    line-height: 1;
    margin-bottom: 12px;
}

.location-info-card p {
    color: rgba(255, 255, 255, 0.78) !important;
}

.info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.info-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-text {
    display: flex;
    flex-direction: column;
    font-size: 0.95rem;
}

.info-text strong {
    color: var(--yellow);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.map-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.location-info-card .btn-gold {
    background: var(--text);
    color: var(--on-light);
    border-color: var(--on-light);
}

.location-info-card .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.8);
}

.location-info-card .btn-outline:hover {
    background: var(--text);
    color: var(--on-light);
}

.map-container {
    border-radius: 24px;
    overflow: hidden;
    border: 8px solid var(--red);
    min-height: 420px;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 404px;
    border: 0;
    display: block;
}

/* ==========================================================================
   PIE DE PÁGINA (TARJETA OSCURA)
   ========================================================================== */
.site-footer {
    padding: 70px 28px 28px;
}

.footer-divider {
    max-width: 1230px;
    margin: 0 auto 40px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-divider::before, .footer-divider::after {
    content: '';
    flex: 1;
    height: 3px;
    background: linear-gradient(90deg, var(--red-dark), var(--red));
    border-radius: 3px;
}

.footer-divider img {
    width: 76px;
    height: 76px;
    border-radius: 50%;
}

.footer-card {
    max-width: 1384px;
    margin: 0 auto;
    background: var(--band-dark);
    color: #fff;
    border-radius: 24px;
    padding: 48px 44px 32px;
}

.footer-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.4vw, 2.6rem);
    line-height: 1.15;
}

.footer-sub {
    font-family: var(--font-script);
    font-size: 1.6rem;
    color: var(--yellow);
    margin-top: 4px;
}

.footer-card hr {
    border: none;
    border-top: 1.5px solid rgba(255, 255, 255, 0.85);
    margin: 30px 0;
}

.footer-cols {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 28px;
    font-size: 0.95rem;
}

.footer-cols p {
    color: rgba(255, 255, 255, 0.85);
}

.footer-cols strong {
    display: block;
    color: var(--yellow);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-link {
    color: #fff;
    text-decoration: none;
}

.footer-link:hover {
    color: var(--yellow);
}

.footer-verse {
    margin-top: 30px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
}

.footer-copy {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}

.footer-copy a {
    color: #fff;
}

/* ==========================================================================
   BOTÓN FLOTANTE Y AVISOS
   ========================================================================== */
.fab-contact {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 150;
}

.fab-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    cursor: pointer;
    user-select: none;
    background: var(--red);
    color: #fff;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 40px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 0 2px rgba(240, 180, 69, 0.35);
    transition: background 0.2s ease;
}
.fab-contact-btn::-webkit-details-marker { display: none; }
.fab-contact-btn:hover,
.fab-contact[open] .fab-contact-btn { background: var(--red-dark); }
.fab-contact-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.fab-contact-menu {
    position: absolute;
    right: 0;
    bottom: calc(100% + 12px);
    width: max-content;
    min-width: 240px;
    max-width: calc(100vw - 32px);
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
    animation: fab-menu-in 0.18s ease-out;
}
@keyframes fab-menu-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .fab-contact-menu { animation: none; }
}

.fab-contact-title {
    margin: 0 0 6px;
    padding: 0 8px 10px;
    border-bottom: 1px solid var(--line);
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.fab-contact-title strong {
    color: var(--gold);
    font-size: 1.05rem;
    letter-spacing: 0.3px;
}

.fab-contact-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 12px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}
.fab-contact-menu a .icon { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }
.fab-contact-menu a:hover,
.fab-contact-menu a:focus-visible { background: rgba(240, 180, 69, 0.12); outline: none; }

.toast {
    position: fixed;
    left: 50%;
    bottom: 26px;
    transform: translate(-50%, 140%);
    background: var(--band-dark);
    color: #fff;
    padding: 14px 24px;
    border-radius: 14px;
    border-left: 5px solid var(--red);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
    z-index: 400;
    max-width: min(520px, 92vw);
    visibility: hidden;
    transition: transform 0.35s ease, visibility 0s linear 0.35s;
}

.toast.show {
    transform: translate(-50%, 0);
    visibility: visible;
    transition: transform 0.35s ease, visibility 0s;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 960px) {
    .hero {
        grid-template-columns: 1fr;
        grid-template-areas: "logo" "pretitle" "title" "verse" "badges" "cta";
        padding-top: 140px;
        text-align: left;
    }

    .hero-logo-wrap {
        justify-self: start;
        margin: 0 0 30px 12px;
    }

    .hero-logo-large {
        width: 150px;
    }

    .hero-halo {
        inset: -10px;
        border-width: 6px;
        box-shadow: 0 0 0 5px #fff;
    }

    .about-grid, .location-grid {
        grid-template-columns: 1fr;
    }

    .about-pillars {
        grid-template-columns: 1fr;
    }

    .youth-spotlight-card {
        grid-template-columns: 1fr;
    }

    .footer-cols {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    body > .page-wrapper > header {
        padding: 10px 10px 0;
    }

    .navbar {
        padding: 9px 12px;
        gap: 10px;
        border-radius: 14px;
    }

    .brand-logo-img {
        width: 44px;
        height: 44px;
    }

    .brand-text {
        border-right: none;
        padding-right: 0;
    }

    .brand-script,
    .navbar-actions .btn-nav-visit,
    .navbar-login,
    .menu-toggle-label {
        display: none;
    }

    .brand-title { font-size: 0.92rem; }
    .brand-title-2 { font-size: 0.78rem; }

    .menu-toggle {
        width: 42px;
        padding: 0;
        justify-content: center;
    }

    section {
        padding: 60px 18px;
    }

    .hero {
        padding: 120px 18px 80px;
    }

    .page-main > section:first-child > .section-header {
        padding: 70px 0 54px;
    }

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

    .prayer-section-card, .location-info-card {
        padding: 28px 20px;
    }

    .youth-info {
        padding: 30px 22px;
    }

    .footer-card {
        padding: 34px 22px 26px;
    }

    .site-footer {
        padding: 50px 12px 14px;
    }

    .footer-cols {
        grid-template-columns: 1fr;
    }

    .fab-contact-btn span {
        display: none;
    }

    .fab-contact-btn {
        padding: 14px;
    }

    .fab-contact {
        right: 16px;
        bottom: 16px;
    }

    .top-notification-bar a {
        display: none;
    }
}

@media (max-width: 380px) {
    .brand-title-2 {
        display: none;
    }
}

/* "¿Primera vez visitándonos?" */
.first-visit-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--red);
    color: #fff;
    border-radius: var(--radius);
    padding: 34px 36px;
    text-align: center;
}

.first-visit-card h4 {
    font-family: var(--font-script);
    font-size: 2.3rem;
    line-height: 1.1;
    margin-bottom: 8px;
}

.first-visit-card p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 720px;
    margin: 0 auto 18px;
}

.first-visit-card .btn-gold {
    background: var(--text);
    color: var(--on-light);
    border-color: var(--on-light);
}

/* Las páginas interiores empiezan detrás de la cabecera flotante, como la portada */
.page-main {
    margin-top: -92px;
}

.page-main > section:first-child > .section-header {
    padding-top: 170px;
}

@media (max-width: 720px) {
    .page-main {
        margin-top: -74px;
    }

    .page-main > section:first-child > .section-header {
        padding-top: 130px;
    }

    .hero {
        margin-top: -74px;
    }
}

/* Noticias en la portada sobre franja roja: tarjetas blancas */
.band-red .post-card {
    border: none;
}

/* ==========================================================================
   ICONOS (SVG en línea, toman el color del texto)
   ========================================================================== */
.icon {
    width: 1.15em;
    height: 1.15em;
    flex-shrink: 0;
    stroke-width: 1.9;
    vertical-align: -0.2em;
}

.menu-toggle-icon .icon {
    width: 22px;
    height: 22px;
    vertical-align: middle;
}

.site-menu-close .icon {
    width: 18px;
    height: 18px;
}

.site-menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-icon {
    display: inline-flex;
    color: var(--red-text);
}

.site-menu .nav-link.active .nav-icon,
.site-menu .nav-link:hover .nav-icon {
    color: var(--red-text);
}

/* Círculos de icono en tarjetas: icono fino en carmesí sobre fondo suave */
.service-icon-wrap, .pillar-icon, .explore-icon {
    color: var(--red-text);
}

.service-icon-wrap .icon, .pillar-icon .icon {
    width: 26px;
    height: 26px;
    stroke-width: 1.6;
}

.explore-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--red-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.explore-icon .icon {
    width: 26px;
    height: 26px;
    stroke-width: 1.6;
}

.ministry-icon {
    color: #fff;
}

.ministry-icon .icon {
    width: 34px;
    height: 34px;
    stroke-width: 1.5;
}

.youth-badge-icon {
    color: var(--red-text);
}

.youth-badge-icon .icon {
    width: 40px;
    height: 40px;
    stroke-width: 1.5;
}

.info-icon {
    color: #fff;
}

.info-icon .icon {
    width: 19px;
    height: 19px;
}

.hero-location-badge .icon, .next-service-pill .icon {
    width: 16px;
    height: 16px;
}

.fab-contact-btn .icon {
    width: 22px;
    height: 22px;
}

/* ==========================================================================
   AJUSTES DE TIPOGRAFÍA Y DETALLES
   ========================================================================== */
body {
    font-size: 17px;
    font-feature-settings: "ss01" on;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

.section-description, .about-text p, .service-desc, .ministry-card p, .pillar-card p {
    line-height: 1.7;
}

.section-tag {
    letter-spacing: 2.4px;
    font-size: 0.76rem;
}

/* Línea dorada fina bajo la etiqueta de cada sección */
.section-header .section-tag::after {
    content: '';
    display: block;
    width: 34px;
    height: 2px;
    margin: 8px auto 2px;
    background: var(--gold);
    border-radius: 2px;
}

::selection {
    background: var(--red);
    color: #fff;
}

/* Foco visible al navegar con teclado */
:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
    border-radius: 6px;
}

.btn-gold:focus-visible, .btn-outline:focus-visible, .btn-nav-visit:focus-visible, .service-action-btn:focus-visible {
    border-radius: 40px;
}

/* Enlace "Saltar al contenido" para lectores de pantalla y teclado */
.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 500;
    background: var(--band-dark);
    color: #fff;
    padding: 10px 18px;
    border-radius: 0 0 12px 12px;
    text-decoration: none;
    font-weight: 700;
}

.skip-link:focus {
    top: 0;
}

/* Una sola noticia no queda pegada a la izquierda */
.posts-grid {
    justify-content: center;
}

@media (min-width: 721px) {
    .posts-grid:has(> :only-child) {
        grid-template-columns: minmax(0, 420px);
    }
}

/* Los atributos width/height de las imágenes solo reservan espacio; la altura la decide la proporción */
.hero-logo-large, .about-visual-crest, .footer-divider img, .brand-logo-img {
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
}

/* ==========================================================================
   PORTADA: TÍTULO EN TRES NIVELES Y VERSIÓN DE TELÉFONO
   ========================================================================== */
.hero-main-title {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 10px 0 22px;
}

.hero-title-main {
    font-size: clamp(2.6rem, 6vw, 5.2rem);
    line-height: 1;
    letter-spacing: -1px;
}

.hero-title-sub {
    font-size: clamp(1.35rem, 2.6vw, 2.2rem);
    line-height: 1.1;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.82);
}

.hero-title-place {
    font-family: var(--font-script);
    font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1.1;
    color: var(--yellow);
    letter-spacing: 0;
    margin-top: 4px;
}

.hero-pretitle {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.hero-verse {
    font-size: 1.08rem;
    line-height: 1.7;
    margin-bottom: 22px;
}

/* Píldora del próximo culto: sin mayúsculas, más ligera */
.next-service-pill {
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.92rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    padding: 8px 16px;
}

.next-service-pill .icon {
    color: var(--yellow);
}

.hero-badges-row {
    margin-bottom: 26px;
}

@media (max-width: 720px) {
    .hero {
        text-align: center;
        justify-items: center;
        padding: 112px 20px 70px;
    }

    .hero-logo-wrap {
        justify-self: center;
        margin: 0 0 28px;
    }

    .hero-logo-large {
        width: 168px;
    }

    .hero-pretitle {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }

    .hero-main-title {
        align-items: center;
        gap: 4px;
        margin: 8px 0 16px;
    }

    .hero-title-main {
        font-size: 2.55rem;
        letter-spacing: -0.5px;
    }

    .hero-title-sub {
        font-size: 1.3rem;
    }

    .hero-title-place {
        font-size: 1.7rem;
    }

    .hero-verse {
        font-size: 0.98rem;
        max-width: 340px;
        margin: 0 auto 20px;
    }

    .hero-badges-row {
        justify-content: center;
        margin-bottom: 22px;
    }

    .next-service-pill {
        font-size: 0.84rem;
        line-height: 1.35;
        border-radius: 16px;
        text-align: left;
    }

    .hero-cta-group {
        width: 100%;
        max-width: 340px;
        flex-direction: column;
        gap: 10px;
    }

    .hero-cta-group a {
        width: 100%;
    }
}

/* /cuenta: avatar con la inicial dentro del encabezado carmesí */
.account-avatar {
    width: 76px;
    height: 76px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--card);
    color: var(--red-text);
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 2.2rem;
}

.account-header .btn-gold {
    background: var(--text);
    color: var(--on-light);
    border-color: var(--on-light);
}

/* panel-section dentro de page-main: el encabezado ya da el espacio de arriba */
.page-main > .panel-section {
    padding-top: 0;
}

/* ==========================================================================
   EFECTOS
   ========================================================================== */

/* Barra de progreso de lectura */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 450;
    pointer-events: none;
}

.scroll-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--red), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
}

/* La cabecera se esconde al bajar y vuelve al subir */
body > .page-wrapper > header {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

body > .page-wrapper > header.nav-hidden {
    transform: translateY(-130%);
}

/* --- Portada: foto de fondo con parallax, marca de agua y partículas --- */
.hero > *:not(.hero-bg) {
    position: relative;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: -200px;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.hero-bg picture img {
    position: absolute;
    left: 0;
    top: -30%;
    width: 100%;
    height: 160%;
    object-fit: cover;
    transform: translate3d(0, var(--py, 0px), 0) scale(1.06);
    will-change: transform;
}

/* Velo granate para que el texto se lea sobre la foto */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        var(--season-glow, linear-gradient(transparent, transparent)),
        linear-gradient(90deg, rgba(31, 13, 15, 0.94) 0%, rgba(31, 13, 15, 0.84) 40%, rgba(44, 20, 22, 0.42) 70%, rgba(44, 20, 22, 0.62) 100%),
        linear-gradient(180deg, rgba(31, 13, 15, 0.35) 0%, transparent 35%, transparent 70%, var(--band-dark) 100%);
}

.hero-watermark {
    position: absolute;
    right: -8%;
    top: 14%;
    width: min(760px, 62vw);
    opacity: 0.06;
    transform: translate3d(0, var(--py, 0px), 0) rotate(-10deg);
    z-index: 1;
    filter: grayscale(0.4);
}

.hero-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Entrada en secuencia del contenido de la portada */
@keyframes heroIn {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: none; }
}

@keyframes logoIn {
    from { opacity: 0; transform: scale(0.85) rotate(-6deg); }
    to   { opacity: 1; transform: none; }
}

.hero-pretitle   { animation: heroIn 0.8s 0.10s both cubic-bezier(0.22, 1, 0.36, 1); }
.hero-main-title { animation: heroIn 0.9s 0.22s both cubic-bezier(0.22, 1, 0.36, 1); }
.hero-verse      { animation: heroIn 0.9s 0.38s both cubic-bezier(0.22, 1, 0.36, 1); }
.hero-badges-row { animation: heroIn 0.9s 0.50s both cubic-bezier(0.22, 1, 0.36, 1); }
.hero-cta-group  { animation: heroIn 0.9s 0.62s both cubic-bezier(0.22, 1, 0.36, 1); }
.hero-logo-wrap  { animation: logoIn 1.1s 0.15s both cubic-bezier(0.22, 1, 0.36, 1); }

/* Logo flotando con anillo dorado que gira */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hero-logo-large {
    animation: float 6s ease-in-out infinite;
}

.hero-halo::after {
    content: '';
    position: absolute;
    inset: -26px;
    border-radius: 50%;
    border: 2px dashed rgba(240, 180, 69, 0.55);
    animation: spin 50s linear infinite;
}

/* Indicador "Desliza" */
@keyframes nudge {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(6px); }
}

.hero-scroll {
    position: absolute !important;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: rgba(251, 243, 232, 0.75);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    animation: heroIn 1s 1s both;
}

.hero-scroll .icon {
    width: 22px;
    height: 22px;
    color: var(--gold);
    animation: nudge 1.6s ease-in-out infinite;
}

.hero-scroll:hover {
    color: var(--text);
}

/* --- Franja de horarios en movimiento --- */
@keyframes marquee {
    to { transform: translateX(-50%); }
}

.service-ticker {
    --band: var(--band-dark);
    background: var(--band);
    box-shadow: 0 0 0 100vmax var(--band);
    clip-path: inset(0 -100vmax);
    overflow: hidden;
    border-top: 1px solid rgba(240, 180, 69, 0.25);
    border-bottom: 1px solid rgba(240, 180, 69, 0.25);
    padding: 16px 0;
}

.service-ticker-track {
    display: flex;
    width: max-content;
    animation: marquee 38s linear infinite;
}

.service-ticker:hover .service-ticker-track {
    animation-play-state: paused;
}

.service-ticker-group {
    display: flex;
    gap: 46px;
    padding-right: 46px;
}

.service-ticker-group span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: var(--text);
}

.service-ticker-group .icon {
    color: var(--gold);
}

.service-ticker-group span::after {
    content: '✦';
    margin-left: 36px;
    color: var(--red);
    font-size: 0.8rem;
}

/* --- Versículo con foto de fondo y parallax --- */
.scripture-banner {
    position: relative;
    overflow: visible;
}

.scripture-banner > *:not(.scripture-bg) {
    position: relative;
    z-index: 1;
}

.scripture-bg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    overflow: hidden;
    pointer-events: none;
}

.scripture-bg picture img {
    position: absolute;
    left: 0;
    top: -55%;
    width: 100%;
    height: 210%;
    object-fit: cover;
    transform: translate3d(0, var(--py, 0px), 0);
    will-change: transform;
}

.scripture-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(31, 13, 15, 0.94) 0%, rgba(31, 13, 15, 0.8) 55%, rgba(31, 13, 15, 0.6) 100%);
}

/* --- Menú ≡: fondo difuminado y enlaces que entran uno tras otro --- */
.menu-overlay {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.site-menu-links li,
.site-menu-section,
.site-menu-cta,
.site-menu-info {
    opacity: 0;
    transform: translateX(28px);
    transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-menu-links li {
    transition-delay: calc(var(--i, 0) * 45ms + 120ms);
}

.site-menu-section { transition-delay: 520ms; }
.site-menu-cta     { transition-delay: 580ms; }
.site-menu-info    { transition-delay: 640ms; }

.site-menu.open .site-menu-links li,
.site-menu.open .site-menu-section,
.site-menu.open .site-menu-cta,
.site-menu.open .site-menu-info {
    opacity: 1;
    transform: none;
}

.menu-toggle-icon .icon {
    transition: transform 0.35s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon .icon {
    transform: rotate(90deg);
}

/* --- Tarjetas con inclinación 3D y brillo que sigue al ratón --- */
.tilt {
    position: relative;
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.tilt:hover {
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px);
    border-color: var(--border-card-hover);
}

.tilt::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(240, 180, 69, 0.12), transparent 45%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.tilt:hover::after {
    opacity: 1;
}

/* --- Botones con destello al pasar el ratón --- */
.btn-gold, .btn-nav-visit {
    position: relative;
    overflow: hidden;
}

.btn-gold::before, .btn-nav-visit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.7s ease;
    pointer-events: none;
}

.btn-gold:hover::before, .btn-nav-visit:hover::before {
    transform: translateX(120%);
}

/* "Ver más →" con flecha que avanza */
.explore-more, .post-card-more {
    transition: letter-spacing 0.25s ease;
}

.explore-card:hover .explore-more, .post-card:hover .post-card-more {
    letter-spacing: 0.6px;
}

/* Iconos que reaccionan al pasar por la tarjeta */
.explore-icon, .ministry-icon, .service-icon-wrap, .pillar-icon {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.explore-card:hover .explore-icon,
.ministry-card:hover .ministry-icon,
.service-card:hover .service-icon-wrap,
.pillar-card:hover .pillar-icon {
    transform: scale(1.12) rotate(-6deg);
}

@media (max-width: 720px) {
    .hero-scroll {
        display: none;
    }

    .hero-watermark {
        width: 90vw;
        right: -30%;
        top: 4%;
    }

    .hero-bg::after {
        background:
            linear-gradient(180deg, rgba(31, 13, 15, 0.82) 0%, rgba(31, 13, 15, 0.9) 45%, var(--band-dark) 100%);
    }

    .service-ticker-group span {
        font-size: 0.9rem;
    }
}

/* Sin animaciones para quien lo pide en su sistema */
@media (prefers-reduced-motion: reduce) {
    .hero-pretitle, .hero-main-title, .hero-verse, .hero-badges-row, .hero-cta-group, .hero-logo-wrap,
    .hero-logo-large, .hero-halo::after, .hero-scroll, .hero-scroll .icon {
        animation: none !important;
    }

    .service-ticker-track {
        animation: none;
        flex-wrap: wrap;
        width: auto;
    }

    .service-ticker-group[aria-hidden="true"] {
        display: none;
    }

    .site-menu-links li, .site-menu-section, .site-menu-cta, .site-menu-info {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .btn-gold::before, .btn-nav-visit::before {
        display: none;
    }
}


/* ==========================================================================
   TRANSICIONES SUAVES ENTRE PÁGINAS (navegadores que lo soportan; los demás, normal)
   ========================================================================== */
@view-transition {
    navigation: auto;
}

/* La barra superior se queda quieta; solo cambia el contenido */
body > .page-wrapper > header {
    view-transition-name: site-header;
}

::view-transition-old(root) {
    animation: vt-out 0.22s ease both;
}

::view-transition-new(root) {
    animation: vt-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes vt-out {
    to { opacity: 0; transform: translateY(-8px); filter: blur(2px); }
}

@keyframes vt-in {
    from { opacity: 0; transform: translateY(14px); filter: blur(3px); }
}

@media (prefers-reduced-motion: reduce) {
    ::view-transition-old(root), ::view-transition-new(root) {
        animation: none;
    }
}

/* ==========================================================================
   NÚMEROS DE LA IGLESIA (portada)
   ========================================================================== */
.stats-band {
    max-width: 1100px;
    margin: 0 auto;
    padding: 70px 24px 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 22px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 26px 16px;
    border-radius: var(--radius);
    background: radial-gradient(closest-side at 50% 35%, rgba(240, 180, 69, 0.13), transparent);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 7vw, 4.6rem);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(180deg, #fff3d6 0%, var(--gold) 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 4px 18px rgba(240, 180, 69, 0.25));
}

.stat-unit {
    font-family: var(--font-script);
    font-size: 1.9rem;
    color: var(--yellow);
    margin-top: 2px;
}

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

/* ==========================================================================
   VERSÍCULO DEL DÍA
   ========================================================================== */
.daily-verse {
    max-width: 920px;
    margin: 0 auto;
    padding: 30px 24px 70px;
}

.daily-verse-card {
    position: relative;
    text-align: center;
    padding: 48px clamp(22px, 5vw, 64px) 40px;
    border-radius: 28px;
    background:
        radial-gradient(ellipse at 50% -20%, rgba(240, 180, 69, 0.18), transparent 60%),
        var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.daily-verse-card::before {
    content: '“';
    position: absolute;
    top: -34px;
    left: 18px;
    font-family: Georgia, serif;
    font-size: 11rem;
    line-height: 1;
    color: rgba(240, 180, 69, 0.12);
    pointer-events: none;
}

.daily-verse-text {
    font-family: var(--font-script);
    font-weight: 700;
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    line-height: 1.25;
    color: var(--text);
    margin: 14px 0 18px;
}

.daily-verse-ref {
    color: var(--gold);
    font-family: var(--font-display);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Las palabras aparecen una tras otra cuando la tarjeta entra en pantalla */
.fx-ready .daily-verse-card .w {
    display: inline-block;
    opacity: 0;
    transform: translateY(10px);
    filter: blur(4px);
}

.fx-ready .daily-verse-card.active .w {
    animation: word-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(var(--i) * 70ms + 250ms);
}

.fx-ready .daily-verse-card .daily-verse-ref {
    opacity: 0;
    transition: opacity 0.8s ease 1.2s;
}

.fx-ready .daily-verse-card.active .daily-verse-ref {
    opacity: 1;
}

@keyframes word-in {
    to { opacity: 1; transform: none; filter: none; }
}

@media (prefers-reduced-motion: reduce) {
    .fx-ready .daily-verse-card .w,
    .fx-ready .daily-verse-card .daily-verse-ref {
        opacity: 1;
        transform: none;
        filter: none;
        animation: none;
        transition: none;
    }
}

/* ==========================================================================
   VOLVER ARRIBA (anillo dorado = cuánto has bajado)
   ========================================================================== */
.back-to-top {
    position: fixed;
    right: 26px;
    bottom: 92px;
    z-index: 150;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--card);
    color: var(--gold);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    animation: pop-in 0.3s ease both;
    transition: transform 0.2s ease, background 0.2s ease;
}

.back-to-top[hidden] {
    display: none;
}

.back-to-top:hover {
    transform: translateY(-3px);
    background: var(--soft);
}

.back-to-top:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.back-to-top-ring {
    position: absolute;
    inset: 0;
    transform: rotate(-90deg);
}

.back-to-top-ring circle {
    fill: none;
    stroke: var(--gold);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset 0.1s linear;
}

@keyframes pop-in {
    from { opacity: 0; transform: scale(0.6); }
}

@media (max-width: 720px) {
    .back-to-top {
        right: 18px;
        bottom: 82px;
        width: 46px;
        height: 46px;
    }
}

body[data-page="admin"] .back-to-top {
    bottom: 26px;
}

/* ==========================================================================
   HALO DORADO QUE SIGUE AL RATÓN (solo PC)
   ========================================================================== */
.cursor-halo {
    position: fixed;
    left: -260px;
    top: -260px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
    background: radial-gradient(circle, rgba(247, 212, 140, 0.11) 0%, rgba(240, 180, 69, 0.05) 35%, transparent 65%);
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 0.5s ease;
    will-change: transform;
}

.cursor-halo.on {
    opacity: 1;
}

/* ==========================================================================
   TEMAS DE TEMPORADA (body[data-season]) — /admin/temporada
   ========================================================================== */
.season-greeting {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-script);
    font-size: 1.35rem;
    font-weight: 700;
    padding: 4px 18px 6px;
    border-radius: 30px;
    color: #fff;
    background: linear-gradient(135deg, color-mix(in srgb, var(--season, #f0b445) 55%, #3c1d20), color-mix(in srgb, var(--season, #f0b445) 20%, #3c1d20));
    border: 1px solid color-mix(in srgb, var(--season, #f0b445) 60%, transparent);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 4px 18px color-mix(in srgb, var(--season, #f0b445) 30%, transparent);
    animation: season-glow 3.5s ease-in-out infinite;
}

.season-greeting .icon {
    font-size: 1rem;
}

@keyframes season-glow {
    50% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 4px 26px color-mix(in srgb, var(--season, #f0b445) 50%, transparent); }
}

@media (prefers-reduced-motion: reduce) {
    .season-greeting { animation: none; }
}

body[data-season="navidad"] {
    --season: #f7d48c;
    --season-glow: radial-gradient(ellipse at 75% 10%, rgba(255, 244, 214, 0.16), transparent 55%);
}

body[data-season="accion-de-gracias"] {
    --season: #e2783a;
    --season-glow: radial-gradient(ellipse at 80% 90%, rgba(226, 120, 58, 0.18), transparent 60%);
}

body[data-season="semana-santa"] {
    --season: #a07ed2;
    --season-glow: radial-gradient(ellipse at 75% 30%, rgba(140, 100, 200, 0.22), transparent 60%);
}

body[data-season="pascua"] {
    --season: #fff4d6;
    --season-glow: radial-gradient(ellipse at 72% 0%, rgba(255, 250, 230, 0.26), transparent 60%);
}

body[data-season="pentecostes"] {
    --season: #ff8a3c;
    --season-glow: radial-gradient(ellipse at 70% 100%, rgba(255, 120, 40, 0.24), transparent 60%);
}

/* El halo del logo de la portada toma el color de la temporada */
body[data-season] .hero-halo {
    box-shadow: 0 0 0 8px #fff, 0 0 70px 14px color-mix(in srgb, var(--season) 45%, transparent);
}

/* ===== Iniciar sesión con Google ===== */
.btn-google {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    width: 100%; min-height: 48px; padding: 10px 20px;
    background: #fff; color: #1f1f1f; border: 1px solid #dadce0; border-radius: 999px;
    font-family: 'Roboto', 'Questrial', system-ui, sans-serif; font-weight: 500; font-size: 0.98rem;
    text-decoration: none; transition: box-shadow .2s, background .2s, transform .2s;
}
.btn-google:hover { background: #f8f8f8; box-shadow: 0 4px 18px rgba(240, 180, 69, .25); transform: translateY(-1px); }
.btn-google:focus-visible { outline: 2px solid var(--gold, #f0b445); outline-offset: 3px; }
.btn-google svg { flex: none; }
.auth-divider { display: flex; align-items: center; gap: 14px; margin: 22px 0 18px; color: var(--text-dim, #c9b3a8); font-size: 0.85rem; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .14); }
.google-linked { display: flex; align-items: center; gap: 10px; margin: -4px 0 16px; color: var(--text-muted, #e2d3ca); font-size: 0.9rem; }
.google-linked svg { flex: none; background: #fff; border-radius: 50%; padding: 3px; width: 24px; height: 24px; }

/* Campo bloqueado (ej. correo de una cuenta de Google) */
.styled-input[readonly] { opacity: 0.6; cursor: not-allowed; }

/* ===== Passkeys ===== */
[data-passkey-error][hidden], [data-passkey-login][hidden], [data-passkey-create][hidden], [data-passkey-unsupported][hidden] { display: none !important; }
.btn-passkey {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; min-height: 48px; padding: 10px 20px; margin-bottom: 12px;
    background: linear-gradient(135deg, rgba(240, 180, 69, 0.18), rgba(240, 180, 69, 0.06));
    color: var(--text); border: 1.5px solid var(--gold); border-radius: 999px;
    font: inherit; font-weight: 600; font-size: 0.98rem; cursor: pointer;
    transition: background .2s, box-shadow .2s, transform .2s;
}
.btn-passkey svg { width: 20px; height: 20px; color: var(--gold); }
.btn-passkey:hover { background: rgba(240, 180, 69, 0.22); box-shadow: 0 4px 18px rgba(240, 180, 69, .25); transform: translateY(-1px); }
.btn-passkey:disabled { opacity: .6; cursor: wait; transform: none; }

.passkey-prompt {
    position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px;
    background: rgba(20, 8, 10, 0.6); backdrop-filter: blur(4px);
    opacity: 0; transition: opacity .3s ease;
}
.passkey-prompt.is-open { opacity: 1; }
.passkey-prompt-card {
    width: min(440px, 100%); padding: 30px 28px 26px; text-align: center;
    background: radial-gradient(120% 80% at 50% 0%, #4a2224 0%, #2c1416 70%);
    border: 1px solid rgba(240, 180, 69, 0.35); border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 40px rgba(240, 180, 69, .12);
    transform: translateY(16px) scale(.97); transition: transform .3s ease;
}
.passkey-prompt.is-open .passkey-prompt-card { transform: none; }
.passkey-prompt-icon {
    width: 72px; height: 72px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%;
    color: var(--gold); background: rgba(240, 180, 69, 0.12); border: 1px solid rgba(240, 180, 69, 0.4);
    box-shadow: 0 0 30px rgba(240, 180, 69, .25);
}
.passkey-prompt-icon svg { width: 36px; height: 36px; }
.passkey-prompt h2 { font-family: var(--font-display); color: var(--gold); font-size: 1.45rem; margin-bottom: 10px; }
.passkey-prompt p { color: var(--text-muted); line-height: 1.6; font-size: 0.97rem; }
.passkey-prompt-msg { color: #ffd27a !important; font-size: 0.9rem !important; min-height: 0; margin-top: 8px; }
.passkey-prompt-msg:empty { display: none; }
.passkey-prompt-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.passkey-prompt-actions button { width: 100%; justify-content: center; }
@media (prefers-reduced-motion: reduce) { .passkey-prompt, .passkey-prompt-card { transition: none; } }

.passkey-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.passkey-list li {
    display: flex; align-items: center; gap: 12px; padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 14px; background: rgba(255, 255, 255, 0.03);
}
.passkey-list-icon { color: var(--gold); display: grid; place-items: center; }
.passkey-list-info { flex: 1; min-width: 0; }
.passkey-list-info strong { display: block; color: var(--text); }
.passkey-list-info small { color: var(--text-dim); font-size: 0.8rem; }
.passkey-empty { color: var(--text-dim); margin-bottom: 16px; }
.passkey-del {
    width: 38px; height: 38px; display: grid; place-items: center; cursor: pointer;
    border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.15); background: transparent; color: var(--text-muted);
    transition: border-color .2s, color .2s, background .2s;
}
.passkey-del svg { width: 18px; height: 18px; }
.passkey-del:hover { border-color: var(--gold); color: var(--gold); background: rgba(240, 180, 69, 0.1); }
.passkey-rename { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.passkey-rename[hidden] { display: none; }
.passkey-rename .styled-input { flex: 1 1 160px; min-width: 0; padding: 8px 12px; }
.passkey-list li.is-renaming strong, .passkey-list li.is-renaming small { display: none; }
.passkey-list li.is-renaming .passkey-del, .passkey-list li.is-renaming form.inline-form { display: none; }
.passkey-rename .styled-input { flex-basis: 100%; }

.prayer-optional-note { margin: -6px 0 14px; font-size: 0.86rem; color: var(--text-dim); }
