/* =========================
   VARIABLES
========================= */

:root {
    --color-primary: #1f3d35;
    --color-primary-dark: #172f29;
    --color-accent: #c89b5c;

    --color-background: #f8f7f3;
    --color-white: #ffffff;
    --color-text: #202522;
    --color-text-light: #68706b;
    --color-border: #e6e5df;

    --container: 1200px;

    --font-main: Arial, sans-serif;
}


/* =========================
   RESET
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--color-background);
    color: var(--color-text);
}

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

button {
    font: inherit;
}


/* =========================
   CONTAINER
========================= */

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}


/* =========================
   TOPBAR
========================= */

.topbar {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.85);

    font-size: 0.75rem;
}

.topbar-content {
    min-height: 36px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.topbar-info,
.topbar-social {
    display: flex;
    align-items: center;
    gap: 18px;
}

.topbar-social a {
    transition: opacity 0.2s ease;
}

.topbar-social a:hover {
    opacity: 0.65;
}


/* =========================
   HEADER
========================= */

.header {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);

    position: relative;
    z-index: 100;
}

.header-content {
    min-height: 82px;

    display: flex;
    align-items: center;
}


/* LOGO */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-right: auto;
}

.logo-symbol {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    background: var(--color-primary);
    color: var(--color-white);

    border-radius: 50%;

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

.logo-text {
    display: flex;
    flex-direction: column;

    line-height: 1;
}

.logo-text strong {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
}

.logo-text span {
    margin-top: 4px;

    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}


/* NAV */

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;

    margin-right: 32px;
}

.nav-link {
    position: relative;

    font-size: 0.85rem;
    font-weight: 500;

    color: var(--color-text-light);

    padding-block: 8px;

    transition:
        color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-link.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 2px;

    background: var(--color-accent);
}


/* HEADER BUTTON */

.header-button {
    padding: 12px 20px;

    background: var(--color-primary);
    color: var(--color-white);

    border-radius: 4px;

    font-size: 0.8rem;
    font-weight: 600;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

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


/* MENU MOBILE */

.menu-button {
    display: none;

    width: 42px;
    height: 42px;

    border: 0;
    background: transparent;

    cursor: pointer;

    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.menu-button span {
    width: 22px;
    height: 2px;

    background: var(--color-text);
}


/* =========================
   ANNOUNCEMENT
========================= */

.announcement {
    background: #eee9df;
    border-bottom: 1px solid #dfd9ce;
}

.announcement-content {
    min-height: 54px;

    display: flex;
    align-items: center;

    gap: 24px;
}

.announcement-label {
    display: flex;
    align-items: center;
    gap: 8px;

    color: var(--color-primary);

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

    white-space: nowrap;
}

.announcement-icon {
    color: var(--color-accent);
}

.announcement-slider {
    flex: 1;

    position: relative;
    min-height: 30px;
}

.announcement-item {
    display: flex;
    align-items: center;
    margin-top: 7px;
    /* justify-content: center; */
    gap: 10px;

    animation: eventIn 0.35s ease;
}

@keyframes eventIn {

    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.announcement-item strong {
    font-size: 0.82rem;
}

.announcement-item span {
    color: var(--color-text-light);
    font-size: 0.78rem;
}

.announcement-controls {
    display: flex;
    gap: 5px;
}

.announcement-controls button {
    width: 30px;
    height: 30px;

    border: 1px solid #d7d1c6;
    background: transparent;

    color: var(--color-primary);

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.announcement-controls button:hover {
    background: var(--color-primary);
    color: var(--color-white);
}


/* =========================
   MOBILE
========================= */

@media (max-width: 850px) {

    .topbar-info span:last-child,
    .topbar-social {
        display: none;
    }

    .topbar-content {
        justify-content: center;
    }

    .header-content {
        min-height: 70px;
    }

    .main-nav {
        position: absolute;

        top: 70px;
        left: 0;
        right: 0;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        margin: 0;
        padding: 10px 20px 20px;

        background: var(--color-white);
        border-bottom: 1px solid var(--color-border);

        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);

        transition:
            opacity 0.25s ease,
            visibility 0.25s ease,
            transform 0.25s ease;
    }

    .main-nav.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-link {
        padding: 14px 0;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-link.active::after {
        display: none;
    }

    .header-button {
        display: none;
    }

    .menu-button {
        display: flex;
    }

    .announcement-content {
        min-height: 58px;
        gap: 12px;
    }

    .announcement-label span:last-child {
        display: none;
    }

    .announcement-item {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 2px;
    }

    .announcement-item strong {
        font-size: 0.75rem;
    }

    .announcement-item span {
        font-size: 0.68rem;
    }

    .announcement-controls {
        flex-shrink: 0;
    }
}

/* =========================
   HERO
========================= */

.hero {
    position: relative;

    min-height: calc(100svh - 172px);

    display: flex;
    align-items: center;

    overflow: hidden;

    color: var(--color-white);
}


/* Imagen */

.hero-background {
    position: absolute;
    inset: 0;

    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;
}


/* Overlay */

.hero-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(15, 30, 25, 0.82) 0%,
            rgba(15, 30, 25, 0.58) 45%,
            rgba(15, 30, 25, 0.20) 100%
        );
}


/* Contenido */

.hero-content {
    position: relative;

    z-index: 2;

    padding-top: 60px;
    padding-bottom: 60px;

    max-width: 1200px;
}


/* Eyebrow */

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 20px;

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 0.16em;

    color: rgba(255, 255, 255, 0.75);
}

.hero-eyebrow::before {
    content: "";

    width: 28px;
    height: 1px;

    background: var(--color-accent);
}


/* Título */

.hero h1 {
    max-width: 700px;

    font-size: clamp(3rem, 6vw, 5.8rem);

    line-height: 0.98;

    letter-spacing: -0.04em;

    font-weight: 700;
}

.hero h1 span {
    display: block;

    color: #e2c28f;
}


/* Texto */

.hero p {
    max-width: 520px;

    margin-top: 28px;

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

    font-size: 1.05rem;

    line-height: 1.7;
}


/* Botones */

.hero-actions {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-top: 36px;
}

.hero-button {
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 22px;

    border-radius: 4px;

    font-size: 0.8rem;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

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

.hero-button-primary {
    background: var(--color-white);
    color: var(--color-primary);
}

.hero-button-primary:hover {
    background: #f0eee9;
}

.hero-button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.45);

    color: var(--color-white);

    background: rgba(255, 255, 255, 0.06);
}

.hero-button-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.7);
}


/* Indicador inferior */

.hero-scroll {
    position: absolute;

    z-index: 2;

    bottom: 28px;
    left: 50%;

    transform: translateX(-50%);

    width: 28px;
    height: 44px;

    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 20px;

    display: flex;
    justify-content: center;

    padding-top: 8px;
}

.hero-scroll span {
    width: 3px;
    height: 7px;

    border-radius: 3px;

    background: var(--color-white);

    animation: scrollIndicator 1.8s ease-in-out infinite;
}

@keyframes scrollIndicator {

    0% {
        opacity: 0;
        transform: translateY(0);
    }

    30% {
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(16px);
    }

}


/* =========================
   HERO MOBILE
========================= */

@media (max-width: 850px) {

    .hero {
        min-height: calc(100svh - 188px);

        align-items: flex-end;
    }

    .hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(15, 30, 25, 0.15) 0%,
                rgba(15, 30, 25, 0.45) 40%,
                rgba(15, 30, 25, 0.88) 100%
            );
    }

    .hero-content {
        padding-top: 100px;
        padding-bottom: 90px;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 13vw, 4.2rem);
    }

    .hero p {
        font-size: 0.95rem;

        margin-top: 22px;
    }

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

        margin-top: 28px;
    }

    .hero-button {
        width: 100%;
    }

    .hero-scroll {
        bottom: 18px;
    }

}

/* =========================
   WELCOME
========================= */

.welcome {
    padding: 120px 0;

    background: var(--color-background);

    overflow: hidden;
}

.welcome-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);

    align-items: center;

    gap: clamp(50px, 8vw, 110px);
}


/* =========================
   IMAGEN
========================= */

.welcome-image {
    position: relative;

    max-width: 560px;
}

.welcome-image-main {
    position: relative;

    aspect-ratio: 4 / 5;

    overflow: hidden;

    border-radius: 6px;
}

.welcome-image-main::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 60%,
            rgba(15, 30, 25, 0.18)
        );
}

.welcome-image-main img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.7s ease;
}

.welcome-image:hover .welcome-image-main img {
    transform: scale(1.03);
}


/* Detalle */

.welcome-image-detail {
    position: absolute;

    right: -28px;
    bottom: 35px;

    width: 105px;
    height: 105px;

    display: grid;
    place-items: center;

    background: var(--color-primary);

    color: var(--color-white);

    border-radius: 50%;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.welcome-image-detail span {
    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.2em;
}


/* =========================
   TEXTO
========================= */

.welcome-text {
    max-width: 520px;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--color-primary);

    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.16em;
}

.section-eyebrow::before {
    content: "";

    width: 28px;
    height: 1px;

    background: var(--color-accent);
}


.welcome-text h2 {
    margin-top: 18px;

    font-size: clamp(2.6rem, 4vw, 4.3rem);

    line-height: 1;

    letter-spacing: -0.04em;

    color: var(--color-text);
}

.welcome-text h2 span {
    display: block;

    color: var(--color-primary);
}


.welcome-text p {
    margin-top: 24px;

    color: var(--color-text-light);

    font-size: 0.98rem;

    line-height: 1.8;
}

.welcome-text p + p {
    margin-top: 14px;
}


/* Link */

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-top: 30px;

    color: var(--color-primary);

    font-size: 0.78rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.08em;

    transition: gap 0.25s ease;
}

.text-link span {
    color: var(--color-accent);

    font-size: 1.1rem;
}

.text-link:hover {
    gap: 18px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 850px) {

    .welcome {
        padding: 80px 0;
    }

    .welcome-content {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .welcome-image {
        max-width: 100%;
    }

    .welcome-image-main {
        aspect-ratio: 4 / 5;
    }

    .welcome-image-detail {
        right: -8px;
        bottom: 25px;

        width: 85px;
        height: 85px;
    }

    .welcome-text {
        max-width: none;
    }

}

/* =========================
   EVENTS
========================= */

.events-section {
    padding: 120px 0;

    background: var(--color-white);
}


/* Encabezado */

.events-heading {
    display: grid;
    grid-template-columns: 1fr 0.7fr;

    align-items: end;

    gap: 50px;

    margin-bottom: 55px;
}

.events-heading h2 {
    margin-top: 18px;

    font-size: clamp(2.6rem, 4vw, 4.3rem);

    line-height: 1;

    letter-spacing: -0.04em;
}

.events-heading h2 span {
    display: block;

    color: var(--color-primary);
}

.events-heading > p {
    max-width: 420px;

    color: var(--color-text-light);

    font-size: 0.95rem;
    line-height: 1.8;
}


/* Grid */

.events-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}


/* Card */

.event-card {
    background: var(--color-background);

    border: 1px solid var(--color-border);

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 18px 45px rgba(20, 35, 30, 0.09);
}


/* Imagen */

.event-image {
    position: relative;

    aspect-ratio: 16 / 10;

    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.04);
}


/* Fecha */

.event-date {
    position: absolute;

    left: 16px;
    top: 16px;

    min-width: 58px;

    padding: 9px 8px;

    display: flex;
    flex-direction: column;
    align-items: center;

    background: var(--color-white);

    color: var(--color-primary);

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.event-date-day {
    font-size: 1.25rem;
    font-weight: 700;

    line-height: 1;
}

.event-date-month {
    margin-top: 4px;

    font-size: 0.58rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}


/* Contenido */

.event-content {
    padding: 25px;
}

.event-category {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--color-accent);

    font-size: 0.62rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.event-content h3 {
    font-size: 1.25rem;

    line-height: 1.2;
}

.event-info {
    display: flex;
    flex-direction: column;

    gap: 7px;

    margin-top: 15px;

    color: var(--color-text-light);

    font-size: 0.76rem;
}

.event-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 22px;

    color: var(--color-primary);

    font-size: 0.7rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.08em;

    transition: gap 0.2s ease;
}

.event-link:hover {
    gap: 13px;
}


/* Footer */

.events-footer {
    display: flex;
    justify-content: center;

    margin-top: 45px;
}


/* =========================
   EVENTS MOBILE
========================= */

@media (max-width: 900px) {

    .events-heading {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .events-heading > p {
        max-width: 600px;
    }

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

}


@media (max-width: 600px) {

    .events-section {
        padding: 80px 0;
    }

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

    .event-image {
        aspect-ratio: 16 / 10;
    }

}

/* =========================
   TESTIMONIALS
========================= */

.testimonials {
    position: relative;

    padding: 120px 0;

    background: var(--color-primary);

    color: var(--color-white);

    overflow: hidden;
}


/* Detalle decorativo */

.testimonials::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -220px;
    top: -220px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 50%;
}

.testimonials::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    left: -180px;
    bottom: -180px;

    border: 1px solid rgba(255, 255, 255, 0.06);

    border-radius: 50%;
}


/* =========================
   ENCABEZADO
========================= */

.testimonials-heading {
    position: relative;

    z-index: 1;

    max-width: 650px;

    margin-bottom: 55px;
}

.testimonials-heading .section-eyebrow {
    color: rgba(255, 255, 255, 0.7);
}

.testimonials-heading h2 {
    margin-top: 18px;

    font-size: clamp(2.8rem, 5vw, 5rem);

    line-height: 0.98;

    letter-spacing: -0.04em;
}

.testimonials-heading h2 span {
    display: block;

    color: #e2c28f;
}

.testimonials-heading p {
    max-width: 520px;

    margin-top: 24px;

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

    font-size: 0.95rem;

    line-height: 1.8;
}


/* =========================
   SLIDER
========================= */

.testimonial-slider {
    position: relative;

    z-index: 1;

    display: grid;

    grid-template-columns: 55px minmax(0, 1fr) 55px;

    align-items: center;

    gap: 25px;
}


/* Tarjeta */

.testimonial-card {
    min-height: 330px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 55px 8%;

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

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

    border-radius: 6px;

    text-align: center;

    animation: testimonialIn 0.4s ease;
}

@keyframes testimonialIn {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* Contenido */

.testimonial-inner {
    max-width: 760px;
}

.testimonial-quote {
    margin-bottom: 28px;

    color: #e2c28f;

    font-size: 3rem;

    line-height: 0.5;

    font-family: Georgia, serif;
}

.testimonial-text {
    font-family: Georgia, serif;

    font-size: clamp(1.35rem, 2.4vw, 2rem);

    line-height: 1.45;

    letter-spacing: -0.02em;
}

.testimonial-author {
    margin-top: 30px;

    display: flex;
    flex-direction: column;

    gap: 5px;
}

.testimonial-name {
    font-size: 0.82rem;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}

.testimonial-category {
    color: #e2c28f;

    font-size: 0.68rem;

    text-transform: uppercase;

    letter-spacing: 0.12em;
}


/* =========================
   FLECHAS
========================= */

.testimonial-arrow {
    width: 55px;
    height: 55px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255, 255, 255, 0.2);

    background: transparent;

    color: var(--color-white);

    cursor: pointer;

    border-radius: 50%;

    font-size: 1.1rem;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.testimonial-arrow:hover {
    background: rgba(255, 255, 255, 0.1);

    border-color: rgba(255, 255, 255, 0.45);

    transform: scale(1.05);
}


/* =========================
   DOTS
========================= */

.testimonial-dots {
    position: relative;

    z-index: 1;

    display: flex;

    justify-content: center;

    gap: 7px;

    margin-top: 30px;
}

.testimonial-dot {
    width: 7px;
    height: 7px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.25);

    cursor: pointer;

    transition:
        width 0.25s ease,
        background 0.25s ease;
}

.testimonial-dot.active {
    width: 24px;

    border-radius: 10px;

    background: #e2c28f;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    .testimonials {
        padding: 80px 0;
    }

    .testimonials-heading {
        margin-bottom: 40px;
    }

    .testimonial-slider {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .testimonial-card {
        min-height: 360px;

        padding: 45px 25px;
    }

    .testimonial-arrow {
        position: absolute;

        z-index: 2;

        bottom: -70px;

        width: 42px;
        height: 42px;
    }

    .testimonial-prev {
        left: 0;
    }

    .testimonial-next {
        right: 0;
    }

    .testimonial-dots {
        margin-top: 80px;
    }

}

/* =========================
   PEDIR ORACIÓN
========================= */

.prayer {
    padding: 120px 0;

    background: #f1eee7;
}

.prayer-content {
    display: grid;

    grid-template-columns: 0.85fr 1fr;

    align-items: center;

    gap: clamp(50px, 8vw, 110px);
}


/* =========================
   INTRO
========================= */

.prayer-intro {
    max-width: 500px;
}

.prayer-intro h2 {
    margin-top: 18px;

    font-size: clamp(2.8rem, 5vw, 5rem);

    line-height: 0.98;

    letter-spacing: -0.04em;
}

.prayer-intro h2 span {
    display: block;

    color: var(--color-primary);
}

.prayer-intro > p {
    margin-top: 25px;

    color: var(--color-text-light);

    font-size: 0.98rem;

    line-height: 1.8;
}


/* Nota */

.prayer-note {
    display: flex;

    align-items: flex-start;

    gap: 15px;

    margin-top: 35px;

    padding-top: 25px;

    border-top: 1px solid var(--color-border);
}

.prayer-note-icon {
    width: 38px;
    height: 38px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--color-primary);

    color: var(--color-white);

    font-size: 0.8rem;
}

.prayer-note strong {
    font-size: 0.78rem;
}

.prayer-note p {
    margin-top: 5px;

    color: var(--color-text-light);

    font-size: 0.72rem;
}


/* =========================
   FORMULARIO
========================= */

.prayer-form-wrapper {
    padding: clamp(28px, 5vw, 50px);

    background: var(--color-white);

    border: 1px solid var(--color-border);

    box-shadow:
        0 20px 60px rgba(20, 35, 30, 0.06);
}

.prayer-form {
    display: flex;

    flex-direction: column;

    gap: 22px;
}

.form-field {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.form-field label {
    color: var(--color-text);

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.04em;
}

.form-field label span {
    color: var(--color-text-light);

    font-weight: 400;
}

.form-field input,
.form-field textarea {
    width: 100%;

    padding: 14px 15px;

    border: 1px solid var(--color-border);

    border-radius: 3px;

    background: #faf9f6;

    color: var(--color-text);

    font-family: inherit;

    font-size: 0.82rem;

    outline: none;

    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.form-field textarea {
    resize: vertical;

    min-height: 130px;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--color-primary);

    background: var(--color-white);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #a2a5a1;
}


/* Botón */

.prayer-submit {
    min-height: 50px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    margin-top: 5px;

    border: 0;

    border-radius: 3px;

    background: var(--color-primary);

    color: var(--color-white);

    cursor: pointer;

    font-size: 0.76rem;

    font-weight: 700;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.prayer-submit:hover {
    background: var(--color-primary-dark);

    transform: translateY(-2px);
}

.prayer-submit span {
    color: #e2c28f;

    font-size: 1rem;
}


/* Privacidad */

.form-privacy {
    color: #969a96;

    font-size: 0.62rem;

    line-height: 1.5;

    text-align: center;
}


/* =========================
   ÉXITO
========================= */

.prayer-success {
    display: none;

    min-height: 400px;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    text-align: center;
}

.prayer-success.show {
    display: flex;
}

.success-icon {
    width: 60px;
    height: 60px;

    display: grid;
    place-items: center;

    margin-bottom: 22px;

    border-radius: 50%;

    background: var(--color-primary);

    color: var(--color-white);

    font-size: 1.3rem;
}

.prayer-success h3 {
    font-size: 1.5rem;
}

.prayer-success p {
    max-width: 350px;

    margin-top: 12px;

    color: var(--color-text-light);

    font-size: 0.85rem;

    line-height: 1.7;
}

.prayer-success button {
    margin-top: 25px;

    border: 0;

    background: transparent;

    color: var(--color-primary);

    cursor: pointer;

    font-size: 0.72rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.08em;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 850px) {

    .prayer {
        padding: 80px 0;
    }

    .prayer-content {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .prayer-intro {
        max-width: none;
    }

    .prayer-form-wrapper {
        padding: 28px 22px;
    }

}

/* =========================
   EVENT MODAL
========================= */

.event-modal {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 20px;

    visibility: hidden;
    opacity: 0;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}


/* Estado abierto */

.event-modal.show {
    visibility: visible;
    opacity: 1;
}


/* Fondo */

.event-modal-overlay {
    position: absolute;

    inset: 0;

    background: rgba(10, 15, 13, 0.72);

    backdrop-filter: blur(5px);
}


/* =========================
   TARJETA
========================= */

.event-modal-card {
    position: relative;

    z-index: 1;

    width: min(900px, 100%);

    display: grid;

    grid-template-columns: 1fr 1fr;

    overflow: hidden;

    background: var(--color-white);

    border-radius: 6px;

    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.3);

    transform: translateY(20px) scale(0.97);

    transition: transform 0.4s ease;
}


.event-modal.show .event-modal-card {
    transform: translateY(0) scale(1);
}


/* =========================
   IMAGEN
========================= */

.event-modal-image {
    position: relative;

    min-height: 480px;
}

.event-modal-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* Etiqueta */

.event-modal-label {
    position: absolute;

    left: 22px;
    bottom: 22px;

    padding: 8px 12px;

    background: var(--color-white);

    color: var(--color-primary);

    font-size: 0.62rem;

    font-weight: 700;

    letter-spacing: 0.12em;
}


/* =========================
   CONTENIDO
========================= */

.event-modal-content {
    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: clamp(35px, 6vw, 65px);
}

.event-modal-date {
    color: var(--color-primary);

    font-size: 0.65rem;

    font-weight: 700;

    letter-spacing: 0.12em;
}

.event-modal-content h2 {
    margin-top: 18px;

    font-size: clamp(2rem, 4vw, 3.4rem);

    line-height: 1;

    letter-spacing: -0.04em;
}

.event-modal-content p {
    margin-top: 22px;

    color: var(--color-text-light);

    font-size: 0.9rem;

    line-height: 1.8;
}


/* Botón */

.event-modal-button {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    align-self: flex-start;

    margin-top: 30px;

    padding: 14px 20px;

    background: var(--color-primary);

    color: var(--color-white);

    font-size: 0.7rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.08em;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.event-modal-button:hover {
    transform: translateY(-2px);

    background: var(--color-primary-dark);
}


/* =========================
   CERRAR
========================= */

.event-modal-close {
    position: absolute;

    z-index: 3;

    top: 15px;
    right: 15px;

    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border: 0;

    border-radius: 50%;

    background: rgba(0, 0, 0, 0.55);

    color: var(--color-white);

    cursor: pointer;

    font-size: 1.3rem;

    line-height: 1;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.event-modal-close:hover {
    background: rgba(0, 0, 0, 0.8);

    transform: rotate(90deg);
}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    .event-modal {
        padding: 15px;
    }

    .event-modal-card {
        grid-template-columns: 1fr;

        max-height: 90vh;

        overflow-y: auto;
    }

    .event-modal-image {
        min-height: 230px;

        max-height: 280px;
    }

    .event-modal-content {
        padding: 30px 25px 35px;
    }

    .event-modal-content h2 {
        font-size: 2.2rem;
    }

}

/* =========================
   FOOTER CTA
========================= */

.footer-cta {
    padding: 110px 0;

    background: var(--color-background);

    text-align: center;
}

.footer-cta-content {
    display: flex;

    flex-direction: column;

    align-items: center;
}

.footer-cta h2 {
    margin-top: 18px;

    font-size: clamp(3rem, 6vw, 5.5rem);

    line-height: 0.95;

    letter-spacing: -0.05em;
}

.footer-cta h2 span {
    display: block;

    color: var(--color-primary);
}

.footer-cta p {
    max-width: 500px;

    margin-top: 25px;

    color: var(--color-text-light);

    font-size: 0.95rem;

    line-height: 1.8;
}


/* Botón */

.footer-cta-button {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-top: 30px;

    padding: 15px 22px;

    background: var(--color-primary);

    color: var(--color-white);

    font-size: 0.7rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.08em;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.footer-cta-button:hover {
    transform: translateY(-2px);

    background: var(--color-primary-dark);
}

.footer-cta-button span {
    color: #e2c28f;
}


/* =========================
   FOOTER MAIN
========================= */

.footer-main {
    padding: 75px 0;

    background: var(--color-primary);

    color: var(--color-white);
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1fr;

    gap: 70px;
}


/* Marca */

.footer-logo {
    display: inline-block;

    color: var(--color-white);

    font-size: 1.25rem;

    font-weight: 800;

    letter-spacing: 0.08em;
}

.footer-logo span {
    color: #e2c28f;
}

.footer-brand > p {
    max-width: 280px;

    margin-top: 18px;

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

    font-size: 0.82rem;

    line-height: 1.7;
}


/* Redes */

.footer-socials {
    display: flex;

    flex-wrap: wrap;

    gap: 18px;

    margin-top: 28px;
}

.footer-socials a {
    color: rgba(255, 255, 255, 0.7);

    font-size: 0.65rem;

    text-transform: uppercase;

    letter-spacing: 0.08em;

    transition: color 0.2s ease;
}

.footer-socials a:hover {
    color: #e2c28f;
}


/* =========================
   COLUMNAS
========================= */

.footer-column h3 {
    margin-bottom: 22px;

    color: #e2c28f;

    font-size: 0.65rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.12em;
}

.footer-column nav {
    display: flex;

    flex-direction: column;

    gap: 12px;
}

.footer-column nav a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.65);

    font-size: 0.78rem;

    transition: color 0.2s ease;
}

.footer-column nav a:hover,
.footer-contact a:hover {
    color: var(--color-white);
}


/* Contacto */

.footer-contact {
    display: flex;

    flex-direction: column;

    gap: 14px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.65);

    font-size: 0.78rem;

    line-height: 1.7;
}


/* =========================
   FOOTER BOTTOM
========================= */

.footer-bottom {
    background: rgba(0, 0, 0, 0.15);

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-content {
    min-height: 65px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}

.footer-bottom span {
    color: rgba(255, 255, 255, 0.4);

    font-size: 0.65rem;
}

.back-top {
    color: rgba(255, 255, 255, 0.65);

    font-size: 0.65rem;

    text-transform: uppercase;

    letter-spacing: 0.08em;

    transition: color 0.2s ease;
}

.back-top:hover {
    color: #e2c28f;
}


/* =========================
   FOOTER MOBILE
========================= */

@media (max-width: 750px) {

    .footer-cta {
        padding: 80px 0;
    }

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

        gap: 45px;
    }

    .footer-main {
        padding: 60px 0;
    }

    .footer-bottom-content {
        min-height: 85px;

        flex-direction: column;

        justify-content: center;

        text-align: center;
    }

}