
:root {
    --white: #ffffff;
    --off-white: #f8f6f1;
    --cream: #f0ebe0;
    --gold: #b8860b;
    --gold-light: #d4a017;
    --gold-glow: rgba(184,134,11,0.15);
    --text-dark: #1a1208;
    --text-mid: #4a3f2a;
    --text-gray: #7a6e5e;
    --border: #e2d9c8;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: var(--text-dark);
}

/* ── NAV ── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: transparent;
    transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
    background: rgba(255,255,255,0.97);
    box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.nav.scrolled .nav-logo { color: var(--gold); }

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.9);
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav.scrolled .nav-links a { color: var(--text-mid); }

.nav-links a:hover { color: var(--gold-light) !important; }

.nav-cta {
    background: var(--gold) !important;
    color: white !important;
    padding: 8px 20px;
    border-radius: 6px;
}

.nav-cta:hover { background: var(--gold-light) !important; color: white !important; }

.nav-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
}

.nav.scrolled .nav-menu-btn { color: var(--text-dark); }

/* ── HERO ── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,8,5,0.6) 0%, rgba(10,8,5,0.4) 50%, rgba(10,8,5,0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 2rem;
    max-width: 750px;
}

.eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-light);
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    color: white;
}

.hero-content h1 em {
    font-style: italic;
    color: var(--gold-light);
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin-bottom: 2.2rem;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── BOTONES ── */
.btn-primary {
    display: inline-block;
    padding: 13px 30px;
    background: var(--gold);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-primary:active { transform: scale(0.97); }

.btn-outline {
    display: inline-block;
    padding: 13px 30px;
    background: transparent;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid rgba(255,255,255,0.7);
    transition: all 0.2s;
}

.btn-outline:hover { background: white; color: var(--text-dark); }
.btn-outline:active { transform: scale(0.97); }

/* ── HELPERS ── */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-header { margin-bottom: 3rem; }
.section-header.centrado { text-align: center; }

section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
}

.section-sub {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 550px;
    margin: 0 auto;
}

/* ── HORARIOS ── */
.horarios {
    padding: 6rem 0;
    background: var(--white);
}

.horarios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.horario-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.8rem 1.4rem;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
}

.horario-card:hover {
    box-shadow: 0 6px 24px var(--gold-glow);
    transform: translateY(-2px);
}

.horario-card.destacado {
    background: var(--gold);
    border-color: var(--gold);
    color: white;
}

.horario-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-dark);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 100px;
}

.horario-dia {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-gray);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.horario-card.destacado .horario-dia { color: rgba(255,255,255,0.75); }

.horario-hora {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.horario-card.destacado .horario-hora { color: white; }

.horario-nombre {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.horario-card.destacado .horario-nombre { color: white; }

.horario-lugar {
    font-size: 0.78rem;
    color: var(--text-gray);
}

.horario-card.destacado .horario-lugar { color: rgba(255,255,255,0.8); }

/* ── EVENTOS ── */
.eventos {
    padding: 6rem 0;
    background: var(--off-white);
}

.eventos-lista {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.evento-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.8rem 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: box-shadow 0.2s;
}

.evento-card:hover { box-shadow: 0 4px 20px var(--gold-glow); }

.evento-fecha {
    flex: 0 0 70px;
    text-align: center;
    background: var(--gold);
    color: white;
    border-radius: 10px;
    padding: 0.8rem 0.5rem;
}

.evento-mes {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.85;
}

.evento-dia-num {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.evento-info { flex: 1; }

.evento-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.evento-info p {
    font-size: 0.88rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 0.6rem;
}

.evento-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.78rem;
    color: var(--text-gray);
    font-weight: 500;
}

.btn-evento {
    display: inline-block;
    padding: 9px 20px;
    border: 2px solid var(--gold);
    color: var(--gold);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
}

.btn-evento:hover { background: var(--gold); color: white; }

/* ── GALERÍA ── */
.galeria {
    padding: 6rem 0 0;
    background: var(--white);
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 260px 260px;
    gap: 6px;
    margin-top: 3rem;
}

.galeria-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.galeria-item:hover img { transform: scale(1.05); }

.galeria-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,8,5,0.5);
    display: flex;
    align-items: flex-end;
    padding: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.galeria-item:hover .galeria-overlay { opacity: 1; }

.galeria-overlay span {
    color: white;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(184,134,11,0.8);
    padding: 4px 12px;
    border-radius: 100px;
}

/* ── APOYO ── */
.apoyo {
    padding: 6rem 0;
    background: var(--cream);
}

.apoyo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.apoyo-card {
    background: white;
    border-radius: 16px;
    padding: 2.2rem;
    border: 1px solid var(--border);
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
}

.apoyo-card:hover {
    box-shadow: 0 8px 30px var(--gold-glow);
    transform: translateY(-3px);
}

.apoyo-card.destacado {
    border-color: var(--gold);
    box-shadow: 0 4px 20px var(--gold-glow);
}

.apoyo-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.apoyo-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.apoyo-card p {
    font-size: 0.88rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.btn-apoyo {
    display: inline-block;
    padding: 10px 24px;
    background: var(--gold);
    color: white;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-apoyo:hover { background: var(--gold-light); }

/* ── ORACIÓN FORM ── */
.oracion {
    padding: 6rem 0;
    background: var(--off-white);
}

.oracion-inner {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: start;
}

.oracion-texto p {
    color: var(--text-mid);
    line-height: 1.75;
    font-size: 0.97rem;
    margin-bottom: 2rem;
}

.oracion-promesa {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--cream);
    border-left: 3px solid var(--gold);
    padding: 1.2rem;
    border-radius: 0 8px 8px 0;
}

.oracion-promesa span {
    color: var(--gold);
    font-size: 1.2rem;
    margin-top: 2px;
}

.oracion-promesa p {
    font-size: 0.88rem;
    color: var(--text-mid);
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

.oracion-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.oracion-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

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

.form-grupo { margin-bottom: 1.1rem; }

.form-grupo label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-gray);
    margin-bottom: 6px;
}

.form-grupo input,
.form-grupo select,
.form-grupo textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text-dark);
    background: var(--off-white);
    outline: none;
    transition: border-color 0.2s;
    appearance: none;
}

.form-grupo input:focus,
.form-grupo select:focus,
.form-grupo textarea:focus { border-color: var(--gold); }

.form-grupo textarea { resize: vertical; min-height: 100px; }

.form-check {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.form-check label {
    font-size: 0.83rem;
    color: var(--text-gray);
    cursor: pointer;
}

/* ── FOOTER ── */
.footer {
    background: var(--text-dark);
    color: rgba(255,255,255,0.6);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-col .nav-logo { color: var(--gold); display: block; margin-bottom: 0.8rem; }

.footer-col p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
}

.footer-col h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.footer-col ul li {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.83rem;
    transition: color 0.2s;
}

.social-links a:hover { color: var(--gold-light); }

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
}

.footer-bottom a { color: var(--gold-light); text-decoration: none; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: white; padding: 1rem 2rem; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
    .nav-links.open { display: flex; }
    .nav-links a { color: var(--text-mid) !important; padding: 0.5rem 0; }
    .nav-menu-btn { display: block; }
    .hero-content h1 { font-size: 2.8rem; }
    .horarios-grid { grid-template-columns: 1fr 1fr; }
    .apoyo-grid { grid-template-columns: 1fr; }
    .oracion-inner { grid-template-columns: 1fr; gap: 2rem; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
    .galeria-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
}

@media (max-width: 600px) {
    .hero-content h1 { font-size: 2.2rem; }
    .horarios-grid { grid-template-columns: 1fr; }
    .evento-card { flex-direction: column; align-items: flex-start; }
    .galeria-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
}
CSSEOF