/* ==========================================================================
   Iglesia Adventista Central - Diseño moderno
   ========================================================================== */

:root {
    --navy-950: #07182f;
    --navy-900: #0d2442;
    --navy-850: #123052;
    --navy-800: #173b63;
    --blue-600: #1676b8;
    --blue-500: #248fd0;
    --sky-400: #5cc3ed;
    --orange-500: #f6a623;
    --orange-400: #ffb83e;
    --surface: #f3f6f9;
    --surface-alt: #eaf0f5;
    --white: #ffffff;
    --text: #132238;
    --muted: #69778a;
    --border: rgba(19, 34, 56, 0.10);
    --rail-width: clamp(170px, 14vw, 255px);
    --header-height: 92px;
    --radius-sm: 14px;
    --radius-md: 24px;
    --radius-lg: 36px;
    --shadow-sm: 0 14px 35px rgba(8, 26, 50, 0.08);
    --shadow-md: 0 24px 70px rgba(8, 26, 50, 0.14);
    --transition: 220ms ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--surface);
    color: var(--text);
    font-family: "DM Sans", sans-serif;
    line-height: 1.65;
}

body,
button,
input,
textarea,
select {
    font-family: "DM Sans", sans-serif;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.site-shell {
    width: calc(100% - var(--rail-width));
    min-height: 100vh;
    background: var(--surface);
}

.site-container {
    width: min(1240px, calc(100% - 48px));
    margin-inline: auto;
}

.section-space {
    padding: 110px 0;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--orange-500);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-kicker::before {
    content: "";
    width: 32px;
    height: 2px;
    background: currentColor;
}

.section-kicker.light {
    color: #9dddf5;
}

.section-heading h2,
.section-heading-row h2,
.welcome-copy h2,
.contact-copy h2 {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: clamp(2.35rem, 4vw, 4.4rem);
    line-height: 1.06;
    letter-spacing: -0.025em;
}

.section-heading p,
.section-heading-row p {
    max-width: 620px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.section-heading.centered {
    max-width: 760px;
    margin: 0 auto 54px;
    text-align: center;
}

.section-heading.centered .section-kicker {
    justify-content: center;
}

.section-heading.centered p {
    margin-inline: auto;
}

.section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 52px;
}

/* Header */
.site-header {
    width: calc(100% - var(--rail-width));
    min-height: var(--header-height);
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    background: linear-gradient(180deg, rgba(7, 24, 47, 0.88), rgba(7, 24, 47, 0.50));
    backdrop-filter: blur(18px);
    transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
    z-index: 1030;
}

.site-header.scrolled {
    padding: 8px 0;
    background: rgba(7, 24, 47, 0.96);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

.navbar {
    padding: 0;
}

.navbar-brand img {
    width: auto;
    height: 58px;
    filter: brightness(0) invert(1);
}

.navbar-nav {
    gap: 4px;
}

.navbar-nav .nav-link {
    position: relative;
    padding: 10px 13px !important;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 0.92rem;
    font-weight: 600;
    transition: color var(--transition), background var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.10);
}

.nav-live {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding-inline: 17px !important;
    border: 1px solid rgba(255, 255, 255, 0.20);
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff4d4d;
    box-shadow: 0 0 0 6px rgba(255, 77, 77, 0.15);
}

.nav-admin {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0 !important;
}

.dropdown-menu {
    padding: 10px;
    border: 0;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.dropdown-item {
    padding: 10px 14px;
    border-radius: 10px;
}

.dropdown-item:hover {
    background: var(--surface-alt);
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.20);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero */
.hero-section {
    position: relative;
    height: 780px;
    min-height: 680px;
    overflow: hidden;
    background: var(--navy-950);
}

.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item {
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 18, 36, 0.93) 0%, rgba(7, 24, 47, 0.78) 45%, rgba(7, 24, 47, 0.22) 100%),
        linear-gradient(180deg, rgba(7, 24, 47, 0.18), rgba(7, 24, 47, 0.60));
}

.hero-content-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
}

.hero-content {
    max-width: 800px;
    padding: 30px 0 60px;
    color: var(--white);
}

.hero-eyebrow {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--orange-400);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-content h1 {
    max-width: 760px;
    margin: 0;
    color: var(--white);
    font-family: "Playfair Display", serif;
    font-size: clamp(3.4rem, 6.2vw, 6.7rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.hero-content p {
    max-width: 650px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.83);
    font-size: clamp(1rem, 1.45vw, 1.25rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 52px;
    padding: 13px 24px;
    border-radius: 999px;
    border: 0;
    font-weight: 700;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary-modern {
    background: var(--orange-500);
    color: var(--navy-950);
    box-shadow: 0 16px 32px rgba(246, 166, 35, 0.24);
}

.btn-primary-modern:hover {
    background: var(--orange-400);
    color: var(--navy-950);
    box-shadow: 0 20px 42px rgba(246, 166, 35, 0.34);
}

.btn-ghost-modern {
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    backdrop-filter: blur(12px);
}

.btn-ghost-modern:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.btn-outline-modern {
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
}

.carousel-control-prev,
.carousel-control-next {
    width: 58px;
    height: 58px;
    top: auto;
    bottom: 64px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 50%;
    background: rgba(7, 24, 47, 0.42);
    opacity: 1;
    backdrop-filter: blur(12px);
}

.carousel-control-prev {
    left: auto;
    right: 104px;
}

.carousel-control-next {
    right: 34px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.15);
}

.carousel-indicators {
    right: auto;
    left: 0;
    bottom: 32px;
    margin-left: 4%;
    margin-right: 0;
    justify-content: flex-start;
}

.carousel-indicators [data-bs-target] {
    width: 28px;
    height: 3px;
    margin: 0 4px;
    border: 0;
    border-radius: 999px;
}

.hero-wave {
    position: absolute;
    left: -3%;
    right: -3%;
    bottom: -68px;
    height: 130px;
    background: var(--surface);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* Quick access */
.quick-access-section {
    position: relative;
    z-index: 4;
    margin-top: -18px;
    padding-bottom: 26px;
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.quick-access-card {
    min-height: 132px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-right: 1px solid var(--border);
    transition: background var(--transition), transform var(--transition);
}

.quick-access-card:last-child {
    border-right: 0;
}

.quick-access-card:hover {
    background: #f8fbfd;
}

.quick-access-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: var(--surface-alt);
    color: var(--blue-600);
    font-size: 1.15rem;
}

.quick-access-card small {
    display: block;
    margin-bottom: 3px;
    color: var(--muted);
    font-size: 0.77rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.quick-access-card strong {
    display: block;
    color: var(--text);
    font-size: 0.96rem;
    line-height: 1.35;
}

.quick-arrow {
    color: var(--muted);
    font-size: 0.8rem;
}

/* Welcome */
.welcome-section {
    background: var(--surface);
}

.welcome-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(54px, 7vw, 110px);
}

.welcome-visual {
    position: relative;
}

.welcome-image-frame {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(145deg, rgba(36, 143, 208, 0.82), rgba(13, 36, 66, 0.96));
    box-shadow: var(--shadow-md);
}

.welcome-image-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 18px;
    padding: 42px;
    color: rgba(255, 255, 255, 0.82);
    text-align: center;
}

.welcome-image-placeholder i {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.88);
}

.welcome-image-placeholder span {
    max-width: 330px;
    font-size: 0.95rem;
}

.welcome-badge {
    position: absolute;
    right: -38px;
    bottom: 38px;
    width: 230px;
    padding: 28px;
    border-radius: var(--radius-md);
    background: var(--orange-500);
    box-shadow: var(--shadow-md);
}

.welcome-badge strong {
    display: block;
    color: var(--navy-950);
    font-family: "Playfair Display", serif;
    font-size: 2rem;
}

.welcome-badge span {
    display: block;
    margin-top: 4px;
    color: rgba(7, 24, 47, 0.78);
    font-size: 0.91rem;
    font-weight: 600;
}

.welcome-copy h2 {
    max-width: 680px;
}

.welcome-text {
    margin: 26px 0 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.welcome-highlights {
    display: grid;
    gap: 14px;
    margin: 32px 0;
}

.welcome-highlights div {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text);
    font-weight: 600;
}

.welcome-highlights i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(36, 143, 208, 0.10);
    color: var(--blue-600);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--blue-600);
    font-weight: 700;
}

.text-link:hover {
    color: var(--navy-850);
}

/* Events */
.events-section {
    background: var(--surface-alt);
}

.event-card-modern {
    overflow: hidden;
    border: 1px solid rgba(19, 34, 56, 0.06);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.event-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.event-media {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: linear-gradient(145deg, var(--navy-850), var(--blue-600));
}

.event-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 450ms ease;
}

.event-card-modern:hover .event-media img {
    transform: scale(1.045);
}

.event-media-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.72);
    font-size: 3.6rem;
}

.event-date-badge {
    position: absolute;
    left: 22px;
    bottom: 20px;
    width: 68px;
    min-height: 76px;
    display: grid;
    place-content: center;
    padding: 8px;
    border-radius: 16px;
    background: var(--orange-500);
    color: var(--navy-950);
    text-align: center;
    box-shadow: 0 12px 30px rgba(7, 24, 47, 0.20);
}

.event-date-badge strong {
    display: block;
    font-size: 1.45rem;
    line-height: 1;
}

.event-date-badge span {
    display: block;
    margin-top: 5px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.event-content {
    display: flex;
    flex-direction: column;
    min-height: 355px;
    padding: 28px;
}

.event-category {
    display: inline-block;
    width: fit-content;
    margin-bottom: 14px;
    color: var(--blue-600);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.event-content h3 {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: 1.65rem;
    line-height: 1.2;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.87rem;
}

.event-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.event-meta i {
    color: var(--blue-600);
}

.event-content p {
    margin: 20px 0 24px;
    color: var(--muted);
    font-size: 0.95rem;
}

.event-details-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin-top: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--blue-600);
    font-weight: 800;
}

.empty-state {
    padding: 70px 26px;
    border-radius: var(--radius-md);
    background: var(--white);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.empty-state > span {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    margin: 0 auto 22px;
    border-radius: 24px;
    background: var(--surface-alt);
    color: var(--blue-600);
    font-size: 2rem;
}

.empty-state h3 {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: 2rem;
}

.empty-state p {
    max-width: 520px;
    margin: 12px auto 0;
    color: var(--muted);
}

/* Library */
.library-section {
    background: var(--white);
}

.resource-card {
    position: relative;
    overflow: hidden;
    padding: 42px 34px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--white);
    transition: transform var(--transition), box-shadow var(--transition), border var(--transition);
}

.resource-card:hover {
    transform: translateY(-8px);
    border-color: rgba(36, 143, 208, 0.24);
    box-shadow: var(--shadow-md);
}

.resource-number {
    position: absolute;
    top: 24px;
    right: 26px;
    color: rgba(19, 34, 56, 0.10);
    font-family: "Playfair Display", serif;
    font-size: 3rem;
    font-weight: 700;
}

.resource-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin-bottom: 28px;
    border-radius: 18px;
    background: rgba(36, 143, 208, 0.10);
    color: var(--blue-600);
    font-size: 1.45rem;
}

.resource-card h3 {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: 1.65rem;
}

.resource-card p {
    margin: 16px 0 0;
    color: var(--muted);
}

/* Contact */
.contact-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 20%, rgba(92, 195, 237, 0.22), transparent 24%),
        linear-gradient(135deg, var(--navy-950), var(--navy-800));
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 0.82fr;
    align-items: center;
    gap: clamp(46px, 7vw, 100px);
}

.contact-copy h2 {
    color: var(--white);
}

.contact-copy p {
    max-width: 650px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.btn-light-modern {
    background: var(--white);
    color: var(--navy-950);
}

.btn-light-modern:hover {
    background: #eff8fc;
    color: var(--navy-950);
}

.btn-contact-ghost {
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.07);
    color: var(--white);
}

.btn-contact-ghost:hover {
    background: rgba(255, 255, 255, 0.13);
    color: var(--white);
}

.contact-card {
    display: grid;
    gap: 12px;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
}

.contact-item-modern {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: center;
    padding: 17px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.contact-item-modern:last-of-type {
    border-bottom: 0;
}

.contact-item-modern > span {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.10);
    color: var(--sky-400);
}

.contact-item-modern small {
    display: block;
    color: rgba(255, 255, 255, 0.60);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.contact-item-modern strong,
.contact-item-modern a {
    display: block;
    margin-top: 3px;
    color: var(--white);
    font-size: 0.96rem;
}

.contact-socials {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.contact-socials a {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
    color: var(--white);
    transition: background var(--transition), transform var(--transition);
}

.contact-socials a:hover {
    transform: translateY(-2px);
    background: var(--orange-500);
    color: var(--navy-950);
}

/* Footer */
.site-footer {
    padding: 26px 0;
    background: #04101f;
    color: rgba(255, 255, 255, 0.58);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-content img {
    height: 42px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-content p {
    margin: 0;
    font-size: 0.87rem;
}

/* Sacred sidebar */
.sacred-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: var(--rail-width);
    height: 100vh;
    overflow: hidden;
    background:
        linear-gradient(180deg, #0f3974 0%, #1f83c5 48%, #a8e6f8 100%);
    z-index: 1050;
}

.sacred-sidebar::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(5, 24, 52, 0.18), transparent 34%, rgba(255, 255, 255, 0.06));
}

.sacred-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(22px);
}

.sacred-glow-one {
    top: 8%;
    right: -42%;
    width: 220px;
    height: 220px;
    background: rgba(76, 191, 255, 0.45);
}

.sacred-glow-two {
    bottom: 17%;
    left: 18%;
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.55);
}

.sacred-sidebar-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 52px 24px 64px;
    text-align: center;
}

.sacred-logo {
    width: min(118px, 70%);
    filter: brightness(0) saturate(100%) invert(31%) sepia(98%) saturate(1060%) hue-rotate(178deg) brightness(96%) contrast(93%);
}

.sacred-divider {
    width: 1px;
    height: 64px;
    margin: 26px 0;
    background: linear-gradient(180deg, transparent, rgba(10, 52, 111, 0.48), transparent);
}

.sacred-sidebar p {
    display: grid;
    gap: 5px;
    margin: 0;
    color: rgba(8, 44, 94, 0.72);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* Modals and lightbox */
.modern-modal {
    overflow: hidden;
    border: 0;
    border-radius: var(--radius-md);
}

.modern-modal .modal-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--border);
    background: var(--white);
}

.modern-modal .modal-title {
    margin: 2px 0 0;
    font-family: "Playfair Display", serif;
    font-size: 1.8rem;
}

.modal-kicker {
    color: var(--blue-600);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.modern-modal .modal-body {
    padding: 28px;
}

.event-modal-description {
    margin-bottom: 26px;
    color: var(--muted);
}

.media-section-title {
    margin: 0 0 14px;
    font-size: 1rem;
    font-weight: 800;
}

.event-gallery-image {
    width: 100%;
    height: 220px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 16px;
    background: var(--surface-alt);
}

.event-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-video {
    width: 100%;
    border-radius: 16px;
    background: #000;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(1, 8, 18, 0.92);
    z-index: 2000;
}

.image-lightbox.open {
    display: flex;
}

.image-lightbox img {
    max-width: min(1100px, 92vw);
    max-height: 88vh;
    border-radius: 18px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.image-lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-size: 1.2rem;
}

/* Back to top */
.back-to-top {
    position: fixed;
    left: 18px;
    bottom: 20px;

    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border: 0;
    border-radius: 50%;

    background: var(--orange-500);
    color: var(--navy-950);

    box-shadow: var(--shadow-md);

    opacity: 0;
    visibility: hidden;

    transform: translateY(12px);

    transition:
        opacity var(--transition),
        visibility var(--transition),
        transform var(--transition);

    z-index: 1020;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1199.98px) {
    :root {
        --rail-width: 150px;
    }

    .navbar-collapse {
        margin-top: 12px;
        padding: 16px;
        border-radius: 16px;
        background: rgba(7, 24, 47, 0.98);
        box-shadow: var(--shadow-md);
    }

    .navbar-nav {
        align-items: stretch !important;
    }

    .nav-admin {
        width: 100%;
        justify-content: flex-start;
        padding-inline: 13px !important;
    }

    .quick-access-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-access-card:nth-child(2) {
        border-right: 0;
    }

    .quick-access-card:nth-child(-n+2) {
        border-bottom: 1px solid var(--border);
    }
}

@media (max-width: 991.98px) {
    :root {
        --rail-width: 0px;
        --header-height: 82px;
    }

    .site-shell,
    .site-header {
        width: 100%;
    }

    .sacred-sidebar {
        position: relative;
        width: 100%;
        height: 150px;
        background: linear-gradient(90deg, #0f3974, #2798d0 56%, #a8e6f8);
    }

    .sacred-sidebar-content {
        height: 100%;
        flex-direction: row;
        justify-content: center;
        gap: 26px;
        padding: 24px;
    }

    .sacred-logo {
        width: 92px;
    }

    .sacred-divider {
        width: 1px;
        height: 70px;
        margin: 0;
    }

    .hero-section {
        height: 700px;
    }

    .hero-overlay {
        background:
            linear-gradient(90deg, rgba(5, 18, 36, 0.92), rgba(7, 24, 47, 0.68)),
            linear-gradient(180deg, rgba(7, 24, 47, 0.16), rgba(7, 24, 47, 0.58));
    }

    .welcome-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .welcome-image-frame {
        min-height: 470px;
    }

    .welcome-badge {
        right: 24px;
    }

    .back-to-top {
        right: 18px;
    }
}


@media (max-width: 520px) {
    .back-to-top {
        left: 14px;
        bottom: calc(14px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 767.98px) {
    .site-container {
        width: min(100% - 28px, 1240px);
    }

    .section-space {
        padding: 78px 0;
    }

    .site-header {
        padding: 10px 0;
    }

    .navbar-brand img {
        height: 50px;
    }

    .hero-section {
        height: 650px;
        min-height: 620px;
    }

    .hero-content {
        padding-bottom: 20px;
    }

    .hero-content h1 {
        font-size: clamp(2.8rem, 14vw, 4.8rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    .quick-access-grid {
        grid-template-columns: 1fr;
    }

    .quick-access-card {
        min-height: 108px;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .quick-access-card:last-child {
        border-bottom: 0;
    }

    .section-heading-row {
        display: block;
    }

    .welcome-image-frame {
        min-height: 380px;
    }

    .welcome-badge {
        position: relative;
        right: auto;
        bottom: auto;
        width: calc(100% - 38px);
        margin: -44px auto 0;
    }

    .event-media {
        height: 230px;
    }

    .event-content {
        min-height: auto;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 620px;
        min-height: 600px;
    }

    .hero-content h1 {
        font-size: 2.75rem;
    }

    .hero-content p {
        font-size: 0.98rem;
    }

    .section-heading h2,
    .section-heading-row h2,
    .welcome-copy h2,
    .contact-copy h2 {
        font-size: 2.45rem;
    }

    .resource-card,
    .event-content {
        padding: 25px;
    }

    .sacred-sidebar {
        height: 125px;
    }

    .sacred-sidebar-content {
        gap: 18px;
        padding: 18px;
    }

    .sacred-logo {
        width: 78px;
    }

    .sacred-divider {
        height: 56px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   Animaciones al desplazarse
   ========================================================================== */

.scroll-reveal {
    opacity: 0;
    transform: translate3d(0, 38px, 0);
    transition:
        opacity 750ms ease,
        transform 750ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.scroll-reveal.scroll-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.scroll-delay-1 {
    transition-delay: 100ms;
}

.scroll-delay-2 {
    transition-delay: 200ms;
}

.scroll-delay-3 {
    transition-delay: 300ms;
}

/*
|--------------------------------------------------------------------------
| Movimiento del hero
|--------------------------------------------------------------------------
*/

.hero-image {
    transform: scale(1.04);
    will-change: transform;
    transition: transform 100ms linear;
}

/*
|--------------------------------------------------------------------------
| Efecto de iluminación en tarjetas
|--------------------------------------------------------------------------
*/

.quick-access-card,
.event-card-modern,
.resource-card {
    position: relative;
}

.quick-access-card::after,
.event-card-modern::after,
.resource-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
        linear-gradient(
            125deg,
            transparent 20%,
            rgba(255, 255, 255, 0.28) 45%,
            transparent 70%
        );
    opacity: 0;
    transform: translateX(-35%);
    transition:
        opacity 400ms ease,
        transform 650ms ease;
}

.quick-access-card:hover::after,
.event-card-modern:hover::after,
.resource-card:hover::after {
    opacity: 1;
    transform: translateX(35%);
}

/*
|--------------------------------------------------------------------------
| Mejora de botones
|--------------------------------------------------------------------------
*/

.btn-primary-modern,
.btn-light-modern,
.btn-ghost-modern,
.btn-contact-ghost {
    position: relative;
    overflow: hidden;
}

.btn-primary-modern::before,
.btn-light-modern::before,
.btn-ghost-modern::before,
.btn-contact-ghost::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -70%;
    width: 45%;
    height: 200%;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.28);
    transform: rotate(20deg);
    transition: left 550ms ease;
}

.btn-primary-modern:hover::before,
.btn-light-modern:hover::before,
.btn-ghost-modern:hover::before,
.btn-contact-ghost:hover::before {
    left: 130%;
}

/*
|--------------------------------------------------------------------------
| Accesibilidad
|--------------------------------------------------------------------------
*/

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

    .hero-image {
        transform: none !important;
        transition: none;
    }

    .quick-access-card::after,
    .event-card-modern::after,
    .resource-card::after,
    .btn-primary-modern::before,
    .btn-light-modern::before,
    .btn-ghost-modern::before,
    .btn-contact-ghost::before {
        display: none;
    }
}

/* ==========================================================================
   Experiencia Central / Redes sociales
   ========================================================================== */

.social-experience-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(220, 38, 38, 0.09),
            transparent 34%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(37, 99, 235, 0.09),
            transparent 32%
        ),
        #f8fafc;
}

.social-experience-section::before {
    content: "";
    position: absolute;
    top: -130px;
    right: -130px;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 50%;
}

.social-experience-section .container {
    position: relative;
    z-index: 2;
}

.social-experience-section .section-heading {
    max-width: 760px;
    margin: 0 auto 48px;
}

.social-experience-section .section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #b91c1c;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.social-experience-section .section-heading h2 {
    margin-bottom: 16px;
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 800;
    line-height: 1.08;
}

.social-experience-section .section-heading p {
    margin: 0;
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.8;
}

.social-experience-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.85fr);
    gap: 28px;
    align-items: stretch;
}

/* Video destacado */

.social-featured-video {
    padding: 24px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 25px 65px rgba(15, 23, 42, 0.09);
}

.social-card-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.social-platform-icon {
    display: grid;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 15px;
    font-size: 1.45rem;
}

.social-platform-icon.youtube {
    color: #fff;
    background: #ff0000;
    box-shadow: 0 12px 24px rgba(255, 0, 0, 0.22);
}

.social-card-label {
    display: block;
    margin-bottom: 3px;
    color: #ef4444;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.social-card-heading h3 {
    margin: 0;
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 800;
}

.social-video-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 21px;
    background: #020617;
}

.social-video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.social-video-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 30px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    color: #fff;
    text-align: center;
    background:
        radial-gradient(
            circle at center,
            rgba(239, 68, 68, 0.22),
            transparent 45%
        ),
        #020617;
}

.social-video-placeholder i {
    color: #ef4444;
    font-size: 3.7rem;
}

.social-video-placeholder strong {
    font-size: 1.2rem;
}

.social-video-placeholder span {
    max-width: 420px;
    color: #cbd5e1;
    line-height: 1.6;
}

.social-video-footer {
    display: flex;
    margin-top: 22px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.social-video-footer p {
    max-width: 470px;
    margin: 0;
    color: #64748b;
    line-height: 1.65;
}

.social-action-button {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 48px;
    padding: 0 20px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 14px;
    font-weight: 750;
    text-decoration: none;
    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        background 220ms ease;
}

.youtube-button {
    color: #fff;
    background: #ff0000;
    box-shadow: 0 12px 26px rgba(255, 0, 0, 0.18);
}

.youtube-button:hover {
    color: #fff;
    background: #dc0000;
    transform: translateY(-3px);
    box-shadow: 0 17px 30px rgba(255, 0, 0, 0.25);
}

/* Columna lateral */

.social-side-column {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 20px;
}

/* Próxima transmisión */

.next-live-card {
    position: relative;
    flex: 1;
    overflow: hidden;
    padding: 28px;
    border-radius: 28px;
    color: #fff;
    background:
        linear-gradient(
            145deg,
            rgba(127, 29, 29, 0.98),
            rgba(185, 28, 28, 0.96) 50%,
            rgba(239, 68, 68, 0.95)
        );
    box-shadow: 0 25px 60px rgba(185, 28, 28, 0.23);
}

.next-live-card::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    border: 35px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.next-live-decoration {
    position: absolute;
    right: 40px;
    bottom: -85px;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.next-live-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.next-live-top > i {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.8rem;
}

.next-live-badge {
    display: inline-flex;
    padding: 8px 12px;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.19);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.next-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12);
}

.next-live-content {
    position: relative;
    z-index: 2;
    margin: 32px 0 26px;
}

.next-live-content > span {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    font-weight: 650;
}

.next-live-content > strong {
    display: block;
    margin: 3px 0 17px;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 850;
    line-height: 1;
}

.next-live-content h3 {
    margin-bottom: 10px;
    font-size: 1.35rem;
    font-weight: 800;
}

.next-live-content p {
    max-width: 410px;
    margin: 0;
    color: rgba(255, 255, 255, 0.77);
    line-height: 1.65;
}

.next-live-button {
    position: relative;
    z-index: 2;
    display: inline-flex;
    min-height: 48px;
    padding: 0 19px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 14px;
    color: #991b1b;
    background: #fff;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform 220ms ease,
        box-shadow 220ms ease;
}

.next-live-button:hover {
    color: #7f1d1d;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(69, 10, 10, 0.24);
}

/* Facebook e Instagram */

.social-network-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.network-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 150px;
    padding: 21px;
    align-items: flex-start;
    gap: 13px;
    overflow: hidden;
    border-radius: 22px;
    color: #fff;
    text-decoration: none;
    transition:
        transform 240ms ease,
        box-shadow 240ms ease;
}

.network-card:hover {
    color: #fff;
    transform: translateY(-5px);
}

.facebook-card {
    background:
        linear-gradient(
            145deg,
            #1d4ed8,
            #2563eb
        );
    box-shadow: 0 18px 38px rgba(37, 99, 235, 0.2);
}

.instagram-card {
    background:
        radial-gradient(
            circle at 25% 110%,
            #feda75,
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #833ab4,
            #fd1d1d,
            #fcb045
        );
    box-shadow: 0 18px 38px rgba(190, 24, 93, 0.2);
}

.network-card-icon {
    display: grid;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.15);
    font-size: 1.3rem;
    backdrop-filter: blur(8px);
}

.network-card-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.network-card-content small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
}

.network-card-content strong {
    margin: 2px 0 7px;
    font-size: 1.05rem;
}

.network-card-content span {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.78rem;
    line-height: 1.45;
}

.network-card > .fa-arrow-up-right-from-square {
    position: absolute;
    right: 16px;
    bottom: 16px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.78rem;
}

/* Responsive */

@media (max-width: 991.98px) {
    .social-experience-section {
        padding: 80px 0;
    }

    .social-experience-grid {
        grid-template-columns: 1fr;
    }

    .social-video-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .social-experience-section {
        padding: 64px 0;
    }

    .social-featured-video,
    .next-live-card {
        padding: 19px;
        border-radius: 22px;
    }

    .social-video-wrapper {
        border-radius: 16px;
    }

    .social-network-cards {
        grid-template-columns: 1fr;
    }

    .network-card {
        min-height: 130px;
    }

    .social-action-button,
    .next-live-button {
        width: 100%;
    }

    .next-live-content > strong {
        font-size: 2.6rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .social-action-button,
    .next-live-button,
    .network-card {
        transition: none;
    }
}

.welcome-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Devocional de inicio
   ========================================================================== */

.devotional-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 8% 15%,
            rgba(246, 166, 35, 0.08),
            transparent 28%
        ),
        #f8fafc;
}

.home-devotional-card,
.home-devotional-card *,
.home-devotional-card *::before,
.home-devotional-card *::after {
    box-sizing: border-box;
}

.home-devotional-card {
    position: relative;
    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 32px;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(92, 195, 237, 0.22),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #07182f 0%,
            #123052 55%,
            #1d5e8f 100%
        );

    box-shadow:
        0 28px 75px rgba(7, 24, 47, 0.22);
}

.home-devotional-card__glow {
    position: absolute;
    right: -110px;
    bottom: -130px;

    width: 360px;
    height: 360px;

    border-radius: 50%;

    background: rgba(246, 166, 35, 0.14);
    filter: blur(12px);
}

.home-devotional-card__content {
    position: relative;
    z-index: 2;

    padding: 38px 42px 42px;
}

.home-devotional-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    margin-bottom: 34px;
}

.home-devotional-card__kicker,
.home-devotional-card__day {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 13px;

    border-radius: 999px;

    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-devotional-card__kicker {
    color: #07182f;
    background: #f6a623;
}

.home-devotional-card__day {
    border: 1px solid rgba(255, 255, 255, 0.16);

    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(10px);
}

.home-devotional-card__main {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(230px, 0.55fr);
    align-items: center;
    gap: 42px;
}

.home-devotional-card__date {
    display: flex;
    align-items: center;
    gap: 8px;

    margin: 0 0 12px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 0.82rem;
    font-weight: 700;
}

.home-devotional-card h2 {
    max-width: 760px;
    margin: 0 0 22px;

    color: #ffffff;

    font-family: "Playfair Display", serif;
    font-size: clamp(2.2rem, 4.6vw, 4.1rem);
    line-height: 1.03;
    letter-spacing: -0.035em;
}

.home-devotional-card blockquote {
    position: relative;

    max-width: 760px;
    margin: 0;
    padding-left: 22px;

    border-left: 3px solid rgba(246, 166, 35, 0.8);

    color: rgba(255, 255, 255, 0.84);

    font-family: "Playfair Display", serif;
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    font-style: italic;
    line-height: 1.65;
}

.home-devotional-card__reference {
    margin: 12px 0 0;

    color: #ffbd48;

    font-size: 0.88rem;
    font-weight: 800;
}

.home-devotional-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 24px;
}

.home-devotional-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 11px;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;

    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.06);

    font-size: 0.73rem;
    font-weight: 700;
}

.home-devotional-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;

    margin-top: 28px;
}

.home-devotional-card__actions .btn-primary-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 52px;
    padding: 0 20px;

    color: #07182f;
    background: #f6a623;

    box-shadow:
        0 13px 28px rgba(246, 166, 35, 0.24);
}

.home-devotional-card__actions .btn-primary-modern:hover {
    color: #07182f;
    background: #ffb83e;
}

.home-devotional-card__secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 0.84rem;
    font-weight: 750;

    transition:
        color 200ms ease,
        transform 200ms ease;
}

.home-devotional-card__secondary:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.home-devotional-card__visual {
    position: relative;

    display: grid;
    min-height: 285px;
    place-items: center;

    text-align: center;
}

.home-devotional-card__visual::before {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 50%;

    box-shadow:
        0 0 0 36px rgba(255, 255, 255, 0.025),
        0 0 0 72px rgba(255, 255, 255, 0.015);
}

.home-devotional-card__sun {
    position: absolute;
    top: 34px;

    width: 112px;
    height: 112px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            #ffd369 0%,
            #f6a623 58%,
            rgba(246, 166, 35, 0.2) 60%,
            transparent 72%
        );

    filter: drop-shadow(
        0 14px 28px rgba(246, 166, 35, 0.26)
    );
}

.home-devotional-card__icon {
    position: relative;
    z-index: 2;

    display: grid;
    width: 132px;
    height: 132px;
    place-items: center;

    margin-top: 46px;

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 38px;

    color: #ffbd48;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.14),
            rgba(255, 255, 255, 0.04)
        );

    font-size: 3.7rem;

    backdrop-filter: blur(12px);

    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.18);
}

.home-devotional-card__visual > span {
    position: absolute;
    bottom: 5px;

    max-width: 190px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 0.75rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Responsive */

@media (max-width: 900px) {
    .home-devotional-card__main {
        grid-template-columns: 1fr;
    }

    .home-devotional-card__visual {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .home-devotional-card {
        border-radius: 24px;
    }

    .home-devotional-card__content {
        padding: 24px 19px 26px;
    }

    .home-devotional-card__top {
        align-items: flex-start;
        flex-direction: column;

        margin-bottom: 24px;
    }

    .home-devotional-card h2 {
        font-size: 2.25rem;
    }

    .home-devotional-card blockquote {
        padding-left: 16px;

        font-size: 0.98rem;
    }

    .home-devotional-card__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-devotional-card__actions .btn-primary-modern,
    .home-devotional-card__secondary {
        width: 100%;
        justify-content: center;
    }

    .home-devotional-card__meta {
        display: grid;
        grid-template-columns: 1fr;
    }
}