/* =====================================================================
   Renuevo de Esperanza — Hoja de estilos principal
   Paleta inspirada en el logo: dorado, verde bosque y turquesa profundo
   ===================================================================== */

:root {
  --gold: #b8912f;
  --gold-light: #d9b45c;
  --gold-dark: #8f6f21;
  --green-deep: #0f3d2e;
  --green-dark: #0b2b21;
  --teal: #0e4a45;
  --teal-light: #17685f;
  --cream: #faf7f0;
  --cream-2: #f3efe3;
  --ink: #1c2620;
  --ink-soft: #4b564f;
  --white: #ffffff;
  --border: #e5e0d2;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-sm: 0 4px 14px rgba(15, 61, 46, 0.08);
  --shadow-md: 0 12px 30px rgba(15, 61, 46, 0.14);
  --shadow-lg: 0 24px 60px rgba(15, 61, 46, 0.20);

  --container-w: 1180px;
  --transition: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ---------------------------------------------------------------------
   Reset
--------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--green-deep);
  line-height: 1.25;
  margin: 0 0 0.5em;
  font-weight: 700;
}
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

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

section { position: relative; }
.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }

@media (max-width: 768px) {
  .section-pad { padding: 64px 0; }
  .section-pad-sm { padding: 44px 0; }
}

/* ---------------------------------------------------------------------
   Preloader
--------------------------------------------------------------------- */
#preloader {
  position: fixed; inset: 0; background: var(--cream);
  z-index: 9999; display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.hide { opacity: 0; visibility: hidden; }
.preloader-cross {
  width: 46px; height: 46px; border: 3px solid var(--border);
  border-top-color: var(--gold); border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------------
   Section eyebrow / titles
--------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold-dark); font-weight: 600; margin-bottom: 14px;
}
.eyebrow::before, .eyebrow::after { content: ''; width: 26px; height: 2px; background: var(--gold); }
.section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 0.4em; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head.left { text-align: left; margin-left: 0; }
.section-sub { color: var(--ink-soft); font-size: 1.05rem; }

/* ---------------------------------------------------------------------
   Buttons
--------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 32px; border-radius: 100px; font-weight: 600; font-size: 0.95rem;
  border: 2px solid transparent; transition: var(--transition); white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--green-dark); box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-outline { border-color: rgba(255,255,255,0.7); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.btn-dark { background: var(--green-deep); color: var(--white); }
.btn-dark:hover { background: var(--green-dark); transform: translateY(-3px); }
.btn-sm { padding: 9px 20px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------------
   Header / Navegación
--------------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(250, 247, 240, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(15,61,46,0.08);
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 18px 0;
}
.site-header.scrolled {
  padding: 8px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 52px; height: 52px; object-fit: contain; transition: var(--transition); }
.site-header.scrolled .brand-logo { width: 42px; height: 42px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; color: var(--green-deep); }
.brand-tagline { font-size: 0.68rem; letter-spacing: 1px; text-transform: uppercase; color: var(--gold-dark); }

.main-nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  padding: 10px 16px; font-weight: 500; font-size: 0.94rem; color: var(--ink);
  border-radius: 100px; transition: var(--transition); position: relative;
}
.nav-link:hover, .nav-link.active { background: rgba(184, 145, 47, 0.12); color: var(--gold-dark); }
.btn-nav-cta { margin-left: 8px; padding: 10px 24px; background: var(--green-deep); color: var(--white); border-radius: 100px; font-weight: 600; font-size: 0.9rem; transition: var(--transition); }
.btn-nav-cta:hover { background: var(--gold); color: var(--green-dark); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 10px; z-index: 1100; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--green-deep); border-radius: 4px; transition: var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 0; right: -100%; height: 100vh; width: min(340px, 82vw);
    background: var(--cream); flex-direction: column; align-items: stretch;
    padding: 100px 28px 40px; box-shadow: var(--shadow-lg); transition: right var(--transition);
    gap: 4px; overflow-y: auto;
  }
  .main-nav.open { right: 0; }
  .nav-link, .btn-nav-cta { width: 100%; text-align: left; }
  .btn-nav-cta { text-align: center; margin: 12px 0 0; }
}

/* ---------------------------------------------------------------------
   Separador entre el menú y el hero
--------------------------------------------------------------------- */
.hero-divider {
  margin-top: 90px; /* despeja el header fijo */
  height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream);
  position: relative;
}
.hero-divider::before {
  content: '';
  width: 130px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), var(--gold), var(--gold-light), transparent);
}
.hero-divider::after {
  content: '';
  position: absolute; left: 50%; top: 50%;
  width: 9px; height: 9px; transform: translate(-50%, -50%) rotate(45deg);
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--cream);
}

@media (max-width: 720px) {
  .hero-divider { height: 26px; }
  .hero-divider::before { width: 90px; }
}

/* ---------------------------------------------------------------------
   Hero Carousel
--------------------------------------------------------------------- */
.hero {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  min-height: 280px; max-height: 100vh;
  overflow: hidden; background: var(--green-dark);
}
.hero-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 1.1s ease;
  background-size: cover; background-position: center;
}
.hero-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.hero-slide .hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.08); transition: transform 8s ease;
}
.hero-slide.active .hero-bg { transform: scale(1); }
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,43,33,0.55) 0%, rgba(11,43,33,0.45) 40%, rgba(11,43,33,0.85) 100%);
}
.hero-content {
  position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center; max-width: 760px;
  margin: 0 auto; padding: 0 24px; color: var(--white);
}
.hero-content .eyebrow { color: var(--gold-light); }
.hero-content .eyebrow::before, .hero-content .eyebrow::after { background: var(--gold-light); }
.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4rem); color: var(--white); margin-bottom: 0.3em;
  opacity: 0; transform: translateY(24px); transition: all 0.9s ease 0.25s;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.25rem); max-width: 560px; color: rgba(255,255,255,0.92);
  margin-bottom: 2em; opacity: 0; transform: translateY(24px); transition: all 0.9s ease 0.45s;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; opacity: 0; transform: translateY(24px); transition: all 0.9s ease 0.65s; }
.hero-slide.active .hero-title, .hero-slide.active .hero-subtitle, .hero-slide.active .hero-actions { opacity: 1; transform: translateY(0); }

.hero-nav-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.08); color: var(--white); display: flex; align-items: center;
  justify-content: center; transition: var(--transition); backdrop-filter: blur(4px);
}
.hero-nav-arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--green-dark); }
.hero-prev { left: 24px; }
.hero-next { right: 24px; }

.hero-dots { position: absolute; bottom: 28px; left: 0; right: 0; z-index: 5; display: flex; gap: 10px; justify-content: center; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.45); border: none; padding: 0; transition: var(--transition); }
.hero-dot.active { background: var(--gold-light); width: 30px; border-radius: 6px; }

.scroll-cue {
  position: absolute; bottom: 30px; right: 34px; z-index: 5; color: rgba(255,255,255,0.75);
  display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 0.72rem;
  letter-spacing: 2px; text-transform: uppercase;
}
.scroll-cue span.line { width: 1px; height: 34px; background: rgba(255,255,255,0.5); position: relative; overflow: hidden; }
.scroll-cue span.line::after { content:''; position:absolute; top:-100%; left:0; width:100%; height:100%; background: var(--gold-light); animation: scrollcue 1.8s ease-in-out infinite; }
@keyframes scrollcue { 0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; } }

@media (max-width: 720px) {
  .hero-nav-arrow { width: 38px; height: 38px; }
  .hero-prev { left: 10px; } .hero-next { right: 10px; }
  .scroll-cue { display: none; }
}

/* ---------------------------------------------------------------------
   Radio en vivo (Ministerio Ohio Radio)
--------------------------------------------------------------------- */
.radio-section { padding: 34px 0; background: var(--cream); }
.radio-bar {
  position: relative; overflow: hidden;
  background: linear-gradient(100deg, var(--green-deep), var(--green-dark) 75%);
  border-radius: 100px;
  box-shadow: var(--shadow-md);
  padding: 10px 30px 10px 10px;
  display: flex; align-items: center; gap: 20px;
  color: var(--cream);
}
.radio-bar::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 92% 10%, rgba(217,180,92,0.20), transparent 60%);
  pointer-events: none;
}

.radio-play {
  position: relative; z-index: 2; flex-shrink: 0;
  width: 52px; height: 52px; border-radius: 50%; border: none;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--green-dark); font-size: 1.05rem; display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 6px 16px rgba(184,145,47,0.38); transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.radio-play:hover { transform: scale(1.06); box-shadow: 0 8px 20px rgba(184,145,47,0.48); }
.radio-play .fa-pause { display: none; }
.radio-bar.is-playing .radio-play .fa-play { display: none; }
.radio-bar.is-playing .radio-play .fa-pause { display: inline-block; }
.radio-play::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid rgba(217,180,92,0.5);
  opacity: 0;
}
.radio-bar.is-playing .radio-play::after { animation: ringPulse 1.8s ease-out infinite; }
@keyframes ringPulse { 0% { opacity: 0.7; transform: scale(0.9); } 100% { opacity: 0; transform: scale(1.3); } }

.radio-meta {
  position: relative; z-index: 2; display: flex; flex-direction: column; gap: 2px;
  min-width: 0; flex-shrink: 0;
}
.radio-live-badge {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gold-light); font-size: 0.68rem; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
}
.radio-live-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: #e0483f; animation: pulseDot 1.4s ease-in-out infinite; }
.radio-live-badge.is-off .dot { background: rgba(255,255,255,0.35); animation: none; }
@keyframes pulseDot { 0%, 100% { box-shadow: 0 0 0 0 rgba(224,72,63,0.55); } 70% { box-shadow: 0 0 0 7px rgba(224,72,63,0); } }
.radio-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; color: var(--white); white-space: nowrap; }

.radio-equalizer { position: relative; z-index: 2; display: flex; align-items: flex-end; gap: 3px; height: 22px; flex-shrink: 0; }
.radio-equalizer span { width: 3px; border-radius: 2px; background: var(--gold-light); height: 5px; animation-play-state: paused; opacity: 0.5; transition: opacity 0.3s ease; }
.radio-bar.is-playing .radio-equalizer span { opacity: 1; animation-play-state: running; }
.radio-equalizer span:nth-child(1) { animation: eq 1.1s ease-in-out infinite; }
.radio-equalizer span:nth-child(2) { animation: eq 0.8s ease-in-out infinite 0.1s; }
.radio-equalizer span:nth-child(3) { animation: eq 1.3s ease-in-out infinite 0.2s; }
.radio-equalizer span:nth-child(4) { animation: eq 0.9s ease-in-out infinite 0.05s; }
.radio-equalizer span:nth-child(5) { animation: eq 1.15s ease-in-out infinite 0.15s; }
@keyframes eq { 0%, 100% { height: 5px; } 50% { height: 20px; } }

.radio-status {
  position: relative; z-index: 2; font-size: 0.78rem; color: rgba(250,247,240,0.6);
  flex: 1; min-width: 40px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.radio-volume { position: relative; z-index: 2; display: flex; align-items: center; gap: 8px; color: rgba(250,247,240,0.7); flex-shrink: 0; }
.radio-volume input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 74px; height: 4px; border-radius: 2px;
  background: rgba(250,247,240,0.25); outline: none;
}
.radio-volume input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 13px; height: 13px; border-radius: 50%; background: var(--gold-light); cursor: pointer;
}
.radio-volume input[type="range"]::-moz-range-thumb {
  width: 13px; height: 13px; border-radius: 50%; background: var(--gold-light); border: none; cursor: pointer;
}

.radio-fallback {
  position: relative; z-index: 2; flex-shrink: 0;
  color: rgba(250,247,240,0.55); font-size: 0.95rem; display: flex; align-items: center; transition: color 0.2s ease;
}
.radio-fallback:hover { color: var(--gold-light); }

@media (prefers-reduced-motion: reduce) {
  .radio-live-badge .dot, .radio-play::after, .radio-equalizer span { animation: none !important; }
}

@media (max-width: 720px) {
  .radio-status, .radio-volume { display: none; }
  .radio-bar { padding: 8px 20px 8px 8px; gap: 14px; }
  .radio-name { font-size: 0.95rem; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 400px) {
  .radio-fallback { display: none; }
}

/* ---------------------------------------------------------------------
   Bienvenida / Quiénes somos
--------------------------------------------------------------------- */
.welcome-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.welcome-media { position: relative; }
.welcome-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.welcome-media::before {
  content: ''; position: absolute; inset: -18px -18px auto auto; width: 70%; height: 70%;
  border: 3px solid var(--gold); border-radius: var(--radius-lg); z-index: -1;
}
.welcome-badge {
  position: absolute; bottom: -24px; left: -24px; background: var(--green-deep); color: var(--white);
  padding: 20px 26px; border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  text-align: center; min-width: 140px;
}
.welcome-badge strong { display: block; font-family: var(--font-heading); font-size: 1.8rem; color: var(--gold-light); }
.welcome-badge span { font-size: 0.78rem; letter-spacing: 1px; text-transform: uppercase; }

.verse-highlight {
  border-left: 4px solid var(--gold); padding: 14px 22px; margin: 24px 0; background: var(--cream-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--font-heading); font-style: italic;
  color: var(--green-deep); font-size: 1.08rem;
}

@media (max-width: 900px) {
  .welcome-grid { grid-template-columns: 1fr; gap: 40px; }
  .welcome-media::before { display: none; }
  .welcome-badge { position: static; margin-top: 20px; display: inline-block; }
}

/* ---------------------------------------------------------------------
   Ministerios
--------------------------------------------------------------------- */
.bg-alt { background: var(--cream-2); }
.ministries-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ministry-card {
  background: var(--white); border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition); display: flex; flex-direction: column;
  border: 1px solid var(--border);
}
.ministry-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.ministry-media { height: 190px; overflow: hidden; }
.ministry-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.ministry-card:hover .ministry-media img { transform: scale(1.08); }
.ministry-icon {
  width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-light), var(--gold));
  display: flex; align-items: center; justify-content: center; font-size: 1.35rem; color: var(--green-dark);
  margin: -28px 0 0 24px; box-shadow: var(--shadow-sm); border: 4px solid var(--white); position: relative; z-index: 2;
}
.ministry-body { padding: 12px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.ministry-body h3 { font-size: 1.2rem; margin-bottom: 0.5em; }
.ministry-body p { color: var(--ink-soft); font-size: 0.94rem; flex: 1; }
.ministry-link { font-weight: 600; color: var(--teal-light); display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; }
.ministry-link i { transition: transform 0.3s ease; }
.ministry-card:hover .ministry-link i { transform: translateX(4px); }

@media (max-width: 980px) { .ministries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .ministries-grid { grid-template-columns: 1fr; } }

/* Página de detalle de ministerio */
.ministry-detail { padding: 60px 0; border-bottom: 1px solid var(--border); }
.ministry-detail:last-of-type { border-bottom: none; }
.ministry-detail-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.ministry-detail:nth-child(even) .ministry-detail-grid { direction: rtl; }
.ministry-detail:nth-child(even) .ministry-detail-grid > * { direction: ltr; }
.ministry-detail-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.ministry-detail-icon {
  width: 64px; height: 64px; border-radius: 50%; background: var(--green-deep); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 20px;
}
.ministry-detail-body .content p { color: var(--ink-soft); }
@media (max-width: 860px) {
  .ministry-detail-grid, .ministry-detail:nth-child(even) .ministry-detail-grid { grid-template-columns: 1fr; direction: ltr; }
}

/* ---------------------------------------------------------------------
   Cita / versículo destacado
--------------------------------------------------------------------- */
.quote-banner {
  position: relative; padding: 110px 0; text-align: center; color: var(--white);
  background: linear-gradient(135deg, var(--green-deep), var(--teal));
  overflow: hidden;
}
.quote-banner::before {
  content: '\201C'; position: absolute; top: -40px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-heading); font-size: 14rem; color: rgba(255,255,255,0.06); line-height: 1;
}
.quote-banner blockquote { font-family: var(--font-heading); font-size: clamp(1.4rem, 3vw, 2.2rem); max-width: 820px; margin: 0 auto 18px; position: relative; z-index: 1; font-style: italic; }
.quote-banner cite { color: var(--gold-light); font-style: normal; letter-spacing: 1px; text-transform: uppercase; font-size: 0.85rem; position: relative; z-index: 1; }

/* ---------------------------------------------------------------------
   Biografía teaser (home) + página completa
--------------------------------------------------------------------- */
.bio-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center; }
.bio-photo { position: relative; }
.bio-photo img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.bio-photo .ribbon {
  position: absolute; top: 24px; left: -14px; background: var(--gold); color: var(--green-dark);
  padding: 8px 20px 8px 16px; font-weight: 600; font-size: 0.85rem; border-radius: 0 100px 100px 0; box-shadow: var(--shadow-sm);
}
.bio-name { font-size: 1.9rem; margin-bottom: 0.1em; }
.bio-role { color: var(--gold-dark); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 20px; display: block; }
.bio-content p { color: var(--ink-soft); }
.bio-full-page .bio-content { columns: 1; max-width: 760px; }
.bio-full-page .bio-content p { text-align: justify; }
@media (max-width: 900px) { .bio-grid { grid-template-columns: 1fr; gap: 34px; } }

/* ---------------------------------------------------------------------
   Stats strip
--------------------------------------------------------------------- */
.stats-strip { background: var(--green-deep); padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item strong { display: block; font-family: var(--font-heading); font-size: 2.4rem; color: var(--gold-light); }
.stat-item span { color: rgba(255,255,255,0.8); font-size: 0.88rem; letter-spacing: 0.5px; }
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }

/* ---------------------------------------------------------------------
   Blog
--------------------------------------------------------------------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--border); display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.blog-media { height: 200px; overflow: hidden; }
.blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.blog-card:hover .blog-media img { transform: scale(1.08); }
.blog-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.blog-date { font-size: 0.78rem; color: var(--gold-dark); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.blog-body h3 { font-size: 1.18rem; margin-bottom: 10px; }
.blog-body p { color: var(--ink-soft); font-size: 0.94rem; flex: 1; }
.blog-readmore { font-weight: 600; color: var(--teal-light); display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; }
@media (max-width: 980px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }

.post-full { max-width: 820px; margin: 0 auto; }
.post-full .post-cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px; box-shadow: var(--shadow-md); }
.post-full h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.post-meta { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 30px; display: flex; gap: 18px; flex-wrap: wrap; }
.post-content p { color: var(--ink-soft); }
.post-content img { border-radius: var(--radius-sm); margin: 20px 0; }
.post-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 30px; font-weight: 600; color: var(--teal-light); }

.empty-state { text-align: center; padding: 60px 20px; color: var(--ink-soft); }
.empty-state i { font-size: 3rem; color: var(--gold); margin-bottom: 16px; display: block; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: 600; color: var(--ink); border: 1px solid var(--border); transition: var(--transition); }
.pagination a:hover { background: var(--gold); color: var(--green-dark); border-color: var(--gold); }
.pagination .current { background: var(--green-deep); color: var(--white); border-color: var(--green-deep); }

/* ---------------------------------------------------------------------
   Galería
--------------------------------------------------------------------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.gallery-filters button { padding: 9px 22px; border-radius: 100px; border: 1px solid var(--border); background: var(--white); font-weight: 600; font-size: 0.86rem; transition: var(--transition); }
.gallery-filters button.active, .gallery-filters button:hover { background: var(--green-deep); color: var(--white); border-color: var(--green-deep); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; aspect-ratio: 1 / 1; box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,61,46,0) 40%, rgba(11,43,33,0.85) 100%); display: flex; align-items: flex-end; padding: 16px; opacity: 0; transition: var(--transition); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: var(--white); font-weight: 600; font-size: 0.92rem; }
@media (max-width: 980px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.lightbox { position: fixed; inset: 0; background: rgba(6,16,12,0.94); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.lightbox-caption { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: var(--white); opacity: 0.85; }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; color: var(--white); background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); border-radius: 50%; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--gold); color: var(--green-dark); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ---------------------------------------------------------------------
   Contacto
--------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; }
.contact-info-card { background: var(--green-deep); color: var(--white); border-radius: var(--radius-lg); padding: 46px 38px; height: 100%; }
.contact-info-card h3 { color: var(--white); }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-info-item i { width: 44px; height: 44px; min-width: 44px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: var(--gold-light); }
.contact-info-item strong { display: block; margin-bottom: 2px; }
.contact-info-item span, .contact-info-item a { color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.contact-social { display: flex; gap: 12px; margin-top: 30px; }
.contact-social a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: var(--white); transition: var(--transition); }
.contact-social a:hover { background: var(--gold); color: var(--green-dark); }

.contact-form-card { background: var(--white); border-radius: var(--radius-lg); padding: 46px 38px; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 8px; color: var(--green-deep); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  background: var(--cream); transition: var(--transition); color: var(--ink);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--gold); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 140px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }

.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); margin-top: 60px; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------------------------------------------------------------------
   Alerts
--------------------------------------------------------------------- */
.alert { padding: 16px 22px; border-radius: var(--radius-sm); margin-bottom: 24px; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.alert-success { background: #e5f4e9; color: #1c6b3a; border: 1px solid #b9e3c4; }
.alert-error { background: #fbe7e7; color: #a3312f; border: 1px solid #f3c2c1; }

/* ---------------------------------------------------------------------
   Page header (páginas internas)
--------------------------------------------------------------------- */
.page-hero {
  position: relative; padding: 190px 0 90px; text-align: center; color: var(--white);
  background: linear-gradient(rgba(11,43,33,0.72), rgba(11,43,33,0.86)), center / cover no-repeat;
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.page-hero .breadcrumb { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.page-hero .breadcrumb a { color: var(--gold-light); font-weight: 600; }

/* ---------------------------------------------------------------------
   Footer
--------------------------------------------------------------------- */
.site-footer { background: var(--green-dark); color: rgba(255,255,255,0.85); }
.footer-top { padding: 70px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { width: 64px; margin-bottom: 16px; }
.footer-col h4 { color: var(--gold-light); font-size: 1rem; margin-bottom: 18px; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.5px; }
.footer-col h4.mt { margin-top: 24px; }
.footer-links li, .footer-contact li { margin-bottom: 12px; font-size: 0.92rem; }
.footer-links a { color: rgba(255,255,255,0.8); transition: var(--transition); }
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-contact a { color: rgba(255,255,255,0.8); }
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-links a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; transition: var(--transition); }
.social-links a:hover { background: var(--gold); color: var(--green-dark); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.85rem; color: rgba(255,255,255,0.6); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom-inner { justify-content: center; text-align: center; } }

.back-to-top {
  position: fixed; bottom: 26px; right: 26px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--green-deep); color: var(--white); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: var(--transition); z-index: 500; font-size: 1.2rem;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); color: var(--green-dark); }

/* ---------------------------------------------------------------------
   Scroll reveal
--------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1.in-view { transition-delay: 0.12s; }
.reveal-delay-2.in-view { transition-delay: 0.24s; }
.reveal-delay-3.in-view { transition-delay: 0.36s; }

/* ---------------------------------------------------------------------
   404
--------------------------------------------------------------------- */
.error-page { text-align: center; padding: 200px 20px 120px; }
.error-page h1 { font-size: 7rem; color: var(--gold); margin-bottom: 0; }
