* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 3rem;
    --space-xl: 4rem;

    --radius-sm: 8px;
    --radius-md: 12px;

    --shadow-card: 0 4px 12px rgba(0,0,0,0.08);

    --blue: #0f2747;
    --blue-light: #0f4c81;

}

body {
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1f2937;

    background: #fffefc;
}

h1 {
    line-height: 1.1;
}

p {
    font-size: 1rem;
}

/* =========================
   HEADER
========================= */

.header {

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    z-index: 10;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 1.25rem 1.5rem;
}

.logo img {

    height: 55px;

    width: auto;

    display: block;
}

.menu-button {
    border: none;
    background: none;

    font-size: 1.8rem;

    cursor: pointer;

    color: #fffefc;
}

/* =========================
   HERO
========================= */

.hero {

    min-height: 60vh;

    background-image:
        linear-gradient(
            rgba(0,0,0,0.65),
            rgba(0,0,0,0.65)
        ),
        url("../img/temp.jpg");

    background-size: cover;

    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 2rem;
}

.hero-content {
    max-width: 550px;

    margin-top: -120px;
}

.hero h1 {

    font-size: 4rem;

    line-height: 1.1;

    margin-bottom: 1rem;
}

.hero p {

    font-size: 1.3rem;

    line-height: 1.7;

    margin-bottom: 2rem;

    color: #4b5563;
}

.hero-button {

    display: inline-block;

    background: #fffefc;

    color: #0f2747;

    text-decoration: none;

    padding: 1.1rem 2.8rem;

    border-radius: var(--radius-sm);

    font-weight: 700;

    font-size: 1.05rem;
}

.hero-button:hover {

    opacity: 0.92;
}

.container {
    width: 86%;
    max-width: 1100px;
    margin: auto;
}

section {
    padding: 1.75rem 0;
}

h2 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

h3 {
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

/* =========================
   INFO RÁPIDA
========================= */

.quick-info {
    background: transparent;
}

.quick-info-grid {

    display: flex;
    flex-direction: column;

    gap: 1rem;
}

.quick-item {

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    gap: 0.75rem;

    padding: 1.5rem;

    border: 1px solid #e5e7eb;

    border-radius: var(--radius-sm);
}
.quick-icon {

    width: 36px;

    height: 36px;

    display: block;
}

.quick-text {

    line-height: 1.7;
}

.schedule-table {

    border-collapse: collapse;
}

.schedule-table td {

    padding: 0.1rem 0;
}

.schedule-table td:first-child {

    padding-right: 1rem;
}

.schedule-table td:last-child {

    text-align: right;
}

.quick-item span {
    font-size: 1rem;
}

.icon {
    font-size: 1.3rem;
}

/* =========================
   PRIMERA VISITA
========================= */

.secondary-button {

    display: inline-block;

    margin-top: 1rem;

    background: #e5e7eb;

    color: #111827;

    text-decoration: none;

    padding: 1rem 1.5rem;

    border-radius: 8px;
}

.visit-card {

    background: #f1efeb;

    border-radius: var(--radius-md);

    padding: 1.5rem;

    box-shadow: var(--shadow-card);

    display: grid;

    grid-template-columns: 100px 1fr 140px;

    align-items: center;

    gap: 1.5rem;
}

.visit-icon {

    width: 80px;

    height: 80px;

    display: block;
}

.visit-item {

    display: flex;

    justify-content: center;

    align-items: center;
}

.visit-content h2 {

    margin-bottom: 0.3rem;

    color: #0f2747;
}

.visit-content p {

    line-height: 1.6;
}

.visit-button {

    display: inline-block;

    background: white;

    color: #0f2747;

    width: auto;

    white-space: nowrap;

    align-self: center;

    border: 2px solid #0f2747;

    padding: 0.9rem 1.5rem;

    border-radius: var(--radius-sm);

    text-decoration: none;

    font-weight: 600;

    text-align: center;

    justify-self: center;
}

/* =========================
   PREDICACIÓN
========================= */

.featured-sermon {

    background: transparent;

    padding: 1rem 1.5rem 2rem;
}

.featured-sermon h2 {

    margin-bottom: 1rem;

    color: #0f2747;
}

.sermon-card {

    display: flex;

    gap: 1.5rem;

    align-items: center;

    text-decoration: none;

    color: inherit;
}

.sermon-thumbnail {

    width: 50%;

    display: block;

    object-fit: cover;

    border-radius: 12px;
}

.sermon-info {

    flex: 1;

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.sermon-info h3 {

    font-size: 1.8rem;

    color: #0f2747;

    margin-bottom: 0.5rem;
}

.sermon-info p {

    color: #666;

    margin-bottom: 1rem;
}

.sermon-button {

    display: inline-block;

    width: fit-content;

    padding: 0.8rem 1.2rem;

    background: #0f4c81;

    color: white;

    border-radius: var(--radius-sm);

    font-weight: 600;
}

.sermon-card:hover {

    opacity: 0.95;
}

/* =========================
   COMUNIDAD
========================= */

/* =========================
   MAPA
========================= */



/* =========================
   CTA FINAL
========================= */

.final-cta {

    background: #1f4f82;

    color: white;

    text-align: center;
}

.final-cta .hero-button {

    background: white;

    color: #1f4f82;
}

/* =========================
   FOOTER
========================= */

.footer {

    background: #111827;

    color: white;

    text-align: center;

    padding: 2rem 1rem;
}

@media (min-width: 768px) {

    .quick-info-grid {

        flex-direction: row;

        justify-content: space-between;
    }

    .quick-item {

        flex: 1;
    }

}

.hero h1 {
    color: #fffefc;
}

.hero p {
    color: #fffefc;
}

.final-cta h2 {

    font-size: 2.5rem;

    margin-bottom: 1rem;
}

.final-cta p {

    font-size: 1.2rem;

    margin-bottom: 2rem;
}

.first-visit {
    padding: 2rem 1.5rem;
}

.community {

    padding: 4rem 0;
    
    position: relative;

    background-image:
        linear-gradient(
            rgba(0,0,0,0.45),
            rgba(0,0,0,0.45)
        ),
        url("../img/estudio.png");

    background-size: cover;

    background-position: center;

    min-height: 350px;

    display: flex;

    align-items: center;

}

.community-overlay {

    padding: 2rem;

    color: #fffefc;

    max-width: 500px;
}

.community-overlay h2 {

    font-size: 2rem;

    margin-bottom: 1rem;

    line-height: 1.2;
}

.community-overlay p {

    line-height: 1.7;

    margin-bottom: 1.5rem;
}

.community-button {

    display: inline-block;

    padding: 0.9rem 1.5rem;

    border: 2px solid #fffefc;

    color: #fffefc;

    text-decoration: none;

    border-radius: var(--radius-sm);

    font-weight: 600;
}

/* =========================
   LOCALIZACIÓN
   ========================= */

.location {
    padding: 2rem 1.5rem;
}

.location-content {

    display: flex;

    gap: 2rem;

    align-items: flex-start;
}

.location-info {

    flex: 0 0 40%;
}

.location-info h3 {

    color: #0f2747;

    font-size: 2rem;

    margin-bottom: 1rem;
}

.address {

    line-height: 1.8;

    margin-bottom: 1.5rem;

    font-size: 1.1rem;
}

.maps-button {

    display: inline-block;

    padding: 0.9rem 1.5rem;

    border: 2px solid #0f2747;

    color: #0f2747;

    text-decoration: none;

    border-radius: var(--radius-sm);

    font-weight: 600;
}

.location-map-wrapper {

    flex: 1;

    display: block;
}

.location-map {

    width: 100%;

    height: 190px;

    object-fit: cover;

    border-radius: 12px;

    display: block;
}

.location-map {

    transition: transform 0.2s ease;
}

.location-map-wrapper:hover .location-map {

    transform: scale(1.02);
}

.final-cta {

    background-image:
        linear-gradient(
            rgba(0,0,0,0.45),
            rgba(0,0,0,0.45)
        ),
        url("../img/saludo.png");

    background-size: cover;

    background-position: center;

    min-height: 350px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

}

.final-cta-overlay {

    padding: 2rem;

    color: #fffefc;
}

.final-cta-overlay h2 {

    font-size: 2.2rem;

    margin-bottom: 1rem;
}

.final-cta-overlay p {

    font-size: 1.2rem;

    margin-bottom: 1.5rem;
}

.final-cta-button {

    display: inline-block;

    padding: 1rem 2rem;

    background: #fffefc;

    color: #0f2747;

    text-decoration: none;

    border-radius: var(--radius-sm);

    font-weight: 700;
}

.final-cta-button:hover {

    opacity: 0.92;
}

.footer a {

    color: white;

    text-decoration: none;
}

.footer a:hover {

    text-decoration: underline;
}