:root {
    --primary: #0284c7;
    --dark: #0f172a;
    --white: #ffffff;
    --accent: #38bdf8;
    --text-gray: #475569;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background-color: #f8fafc; color: var(--dark); line-height: 1.6; scroll-behavior: smooth; }

/* Navegación */
.header { position: fixed; width: 100%; background: rgba(255, 255, 255, 0.98); padding: 1.2rem 0; box-shadow: 0 2px 10px rgba(0,0,0,0.1); z-index: 1000; }
.nav-container { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 2rem; }
.logo { font-weight: 800; font-size: 1.6rem; }
.logo span { color: var(--primary); }
.nav-menu a { text-decoration: none; color: var(--dark); font-weight: 600; margin-left: 2rem; transition: 0.3s; }
.cta-nav { background: var(--primary); color: white !important; padding: 0.6rem 1.2rem; border-radius: 5px; }

/* Hero */
.hero { height: 90vh; position: relative; display: flex; align-items: center; justify-content: center; background: url('Gemini_Generated_Image_sss99ysss99ysss9.png') no-repeat center center/cover; }
.hero-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(15, 23, 42, 0.75); }
.hero-content { position: relative; z-index: 1; text-align: center; color: white; padding: 0 2rem; }
.hero h1 { font-size: 3.5rem; margin-bottom: 1rem; }
.hero p { font-size: 1.25rem; margin-bottom: 2rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.btn-main { display: inline-block; padding: 1.2rem 2.5rem; background: var(--primary); color: white; text-decoration: none; border-radius: 8px; font-weight: 700; transition: 0.3s; }
.btn-main:hover { background: #0369a1; transform: translateY(-3px); }

/* Servicios */
.services { padding: 5rem 0; text-align: center; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.services h2 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.subtitle { color: var(--text-gray); margin-bottom: 3rem; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }

/* Tarjetas y lógica de despliegue con CSS Puro (:target) */
.card { background: white; padding: 2.5rem 1.5rem; border-radius: 15px; box-shadow: 0 10px 20px rgba(0,0,0,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; justify-content: space-between; text-align: left; }
.card:hover { transform: translateY(-5px); box-shadow: 0 15px 25px rgba(0,0,0,0.1); }
.icon { font-size: 3rem; margin-bottom: 1rem; text-align: center; }
.card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--dark); text-align: center; }
.short-desc { color: var(--text-gray); font-size: 0.95rem; margin-bottom: 1.5rem; text-align: center; }

/* Detalles ocultos por defecto */
.details { display: none; margin-top: 1rem; margin-bottom: 1.5rem; border-top: 1px solid #e2e8f0; padding-top: 1rem; }
.details ul { list-style: none; padding: 0; }
.details li { font-size: 0.9rem; color: var(--text-gray); margin-bottom: 0.5rem; }

.btn-card { display: block; text-align: center; background: var(--dark); color: white; padding: 0.6rem; border-radius: 5px; text-decoration: none; font-size: 0.9rem; font-weight: 600; margin-top: 1rem; transition: background 0.3s; }
.btn-card:hover { background: var(--primary); }

/* Botones de despliegue */
.btn-toggle { display: block; text-align: center; background: #e2e8f0; color: var(--dark); padding: 0.5rem; border-radius: 5px; text-decoration: none; font-size: 0.85rem; font-weight: 600; transition: background 0.3s; }
.btn-toggle:hover { background: var(--accent); color: var(--dark); }
.card .menos { display: none; }

/* Cuando la tarjeta está seleccionada (:target) */
.card:target { border: 2px solid var(--primary); background: #f0f9ff; }
.card:target .details { display: block; }
.card:target .más { display: none; }
.card:target .menos { display: block; background: #cbd5e1; }

/* WhatsApp */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; background: #25d366; color: white; width: 65px; height: 65px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; z-index: 1000; box-shadow: 0 5px 15px rgba(0,0,0,0.3); transition: 0.3s; }
.whatsapp-float:hover { transform: scale(1.1); }

/* Footer */
.footer { background: var(--dark); color: white; text-align: center; padding: 4rem 1rem; }
.bible-verse { font-style: italic; max-width: 600px; margin: 0 auto 2rem; }
.bible-verse cite { display: block; margin-top: 0.8rem; color: var(--accent); font-style: normal; font-weight: 600; }
.copyright { color: #64748b; font-size: 0.9rem; border-top: 1px solid #1e293b; padding-top: 2rem; }