/* ============================================================
   GUARDIÁN EN EL MURO — Hoja de estilos principal
   Paleta: negro profundo, rojo profético, dorado
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #0b0a0c;
  --bg-soft: #14111a;
  --bg-card: #1b1620;
  --bg-card-border: #2c2430;
  --red: #b3242c;
  --red-light: #e3454f;
  --gold: #d4af37;
  --gold-soft: #e9cf7a;
  --text: #f3efe9;
  --text-muted: #aba2ad;
  --text-faint: #786f7d;
  --shadow: rgba(0, 0, 0, 0.45);
  --max-width: 1140px;
  --radius: 10px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); }

p { color: var(--text-muted); }

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--gold-soft); }

img, svg { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--red-light); }
.gold { color: var(--gold); }

/* Background texture: subtle radial glow for a "watchtower at night" feel */
body {
  background-image:
    radial-gradient(ellipse at 50% -10%, rgba(179, 36, 44, 0.18) 0%, rgba(11, 10, 12, 0) 55%),
    radial-gradient(ellipse at 90% 10%, rgba(212, 175, 55, 0.08) 0%, rgba(11, 10, 12, 0) 45%),
    linear-gradient(var(--bg), var(--bg));
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 10, 12, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bg-card-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

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

.logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo-text {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  color: var(--text);
  white-space: nowrap;
}

.logo-text .accent {
  color: var(--red-light);
}

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

.main-nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--red);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--bg-card-border);
  color: var(--text);
  font-size: 1.4rem;
  border-radius: 6px;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), #8c1d24);
  color: #fff;
  box-shadow: 0 8px 24px rgba(179, 36, 44, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(179, 36, 44, 0.45);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}
.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-soft);
}

.btn-ghost {
  background: rgba(255,255,255,0.04);
  border-color: var(--bg-card-border);
  color: var(--text);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  color: var(--gold);
}

.btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 110px 0 90px;
  text-align: center;
  position: relative;
}

.hero .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: 999px;
  padding: 8px 20px;
  margin-bottom: 26px;
}

.hero h1 {
  max-width: 850px;
  margin: 0 auto 22px;
}

.hero .lead {
  max-width: 640px;
  margin: 0 auto 38px;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.hero .btn-row {
  justify-content: center;
}

.page-hero {
  padding: 80px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--bg-card-border);
}

.page-hero .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.page-hero p {
  max-width: 620px;
  margin: 18px auto 0;
}

/* ============================================================
   SECTIONS
   ============================================================ */
section {
  padding: 80px 0;
}

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.015) 50%, transparent);
  border-top: 1px solid var(--bg-card-border);
  border-bottom: 1px solid var(--bg-card-border);
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-head .eyebrow {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-head p {
  margin-top: 16px;
}

/* ============================================================
   STATS
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item .stat-number {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--gold);
  display: block;
}

.stat-item .stat-label {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 6px;
}

/* ============================================================
   CARDS
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,175,55,0.35);
}

.card .card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 2rem;
  line-height: 1;
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  font-size: 0.95rem;
}

.card .card-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red-light);
  border: 1px solid rgba(179,36,44,0.4);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 16px;
}

.card .card-footer {
  margin-top: 22px;
}

/* ============================================================
   QUOTE / VERSE BLOCK
   ============================================================ */
.verse-block {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 50px 30px;
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(212,175,55,0.05), transparent);
  position: relative;
}

.verse-block .verse-text {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  color: var(--gold-soft);
  font-weight: 600;
  font-style: italic;
  margin-bottom: 14px;
}

.verse-block .verse-ref {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ============================================================
   TWO-COLUMN CONTENT
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split h2 { margin-bottom: 18px; }
.split p { margin-bottom: 16px; }

.split-media {
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius);
  background: var(--bg-card);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

/* ============================================================
   DOCTRINE / VALUES LIST
   ============================================================ */
.value-list {
  list-style: none;
  display: grid;
  gap: 18px;
}

.value-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 22px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius);
}

.value-list .num {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.value-list strong {
  color: var(--text);
}

/* ============================================================
   TIMELINE / SCHEDULE
   ============================================================ */
.schedule-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.schedule-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 24px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius);
}

.schedule-list .day {
  font-family: 'Cinzel', serif;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.schedule-list .desc {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ============================================================
   SOCIAL GRID
   ============================================================ */
.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  padding: 34px 20px;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius);
  color: var(--text);
  transition: transform var(--transition), border-color var(--transition);
}

.social-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,175,55,0.4);
  color: var(--text);
}

.social-card .icon {
  width: 40px;
  height: 40px;
  color: var(--gold);
}

.social-card .handle {
  font-size: 0.85rem;
  color: var(--text-faint);
}

.social-card .platform {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 1rem;
}

/* ============================================================
   SUPPORT / DONATION CARDS
   ============================================================ */
.support-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.support-card .price {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  color: var(--gold);
  margin: 10px 0 18px;
}

.support-card ul {
  list-style: none;
  margin: 18px 0 26px;
  display: grid;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.support-card ul li::before {
  content: '✦ ';
  color: var(--red-light);
}

.support-card .card-footer {
  margin-top: auto;
}

.support-note {
  max-width: 760px;
  margin: 50px auto 0;
  padding: 24px 28px;
  border-left: 3px solid var(--gold);
  background: var(--bg-card);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.92rem;
}

/* Generic feature list (used inside cards) */
.feature-list {
  list-style: none;
  margin: 18px 0 26px;
  display: grid;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.feature-list li::before {
  content: '✦ ';
  color: var(--red-light);
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
  display: grid;
  gap: 18px;
}

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

.contact-form label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  text-align: center;
  padding: 70px 40px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(179,36,44,0.18), rgba(212,175,55,0.08));
  border: 1px solid var(--bg-card-border);
}

.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p { max-width: 560px; margin: 0 auto 30px; }
.cta-banner .btn-row { justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--bg-card-border);
  padding: 60px 0 30px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer-links {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

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

.footer-brand .logo { margin-bottom: 16px; }

.footer-brand p {
  font-size: 0.9rem;
  max-width: 360px;
}

.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bg-card-border);
  border-radius: 50%;
  color: var(--text-muted);
  transition: all var(--transition);
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-social svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid var(--bg-card-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-faint);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split-media { order: -1; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--bg-card-border);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 16px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .card-grid,
  .card-grid.two-col { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 70px 0 60px; }
  section { padding: 56px 0; }
}
