/* =========================
   RESET BÁSICO
========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-light, #f8fafc);
  color: var(--text-dark, #edf4f3);
}

/* =========================
   VARIABLES DE COLOR
========================= */
:root {
  --primary: #8b0000;         /* rojo institucional */
  --primary-dark: #6f0000;
  --accent: #d4a017;          /* dorado */
  --text-dark: #1e293b;
  --text-muted: #475569;
  --bg-light: #f8fafc;
}

/* =========================
   HERO CAROUSEL (Swiper)
========================= */
.hero-carousel {
  height: 100svh;
  width: 100%;
  position: relative;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero-swiper,
.swiper-wrapper,
.swiper-slide {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Overlay oscuro */
.swiper-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* Contenido del slide */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  text-align: center;
  color: #fff;
  padding: 0 1.5rem;
}

/* Icono grande */
.hero-icon {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.7));
}

/* Títulos y textos */
.hero-content h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 700;
  margin-bottom: 0.6rem;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
}

.hero-content .versiculo,
.hero-content p {
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  font-style: italic;
  margin-bottom: 1.8rem;
  line-height: 1.4;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Botón */
.hero-content .btn {
  font-weight: 600;
  text-decoration: none;
  padding: 14px 40px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  box-shadow: 0 8px 20px rgba(212, 160, 23, 0.6);
  display: inline-block;
}

.hero-content .btn:hover {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  box-shadow: 0 15px 40px rgba(212, 160, 23, 0.8);
  transform: translateY(-3px);
}

/* Swiper controls */
.swiper-button-prev,
.swiper-button-next {
  color: var(--accent);
  filter: drop-shadow(0 0 4px rgba(212, 160, 23, 0.8));
}

.swiper-pagination-bullet {
  background: rgba(212, 160, 23, 0.5);
}

.swiper-pagination-bullet-active {
  background: var(--accent);
}

/* Responsive Hero */
@media (max-width: 768px) {
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }

  .hero-content h1 {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }

  .hero-content .versiculo,
  .hero-content p {
    font-size: clamp(1rem, 4vw, 1.2rem);
  }

  .hero-content .btn {
    padding: 12px 32px;
  }
}
/* =========================
   QUICK ACCESS (SVG CARDS)
========================= */

.quick-access {
  padding: clamp(70px, 8vw, 110px) 20px;
  background: var(--bg-light);
}

/* =========================
   TÍTULO
========================= */

.section-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 60px;
  color: var(--primary);
  position: relative;
}

.section-title::after {
  content: "";
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  display: block;
  margin: 16px auto 0;
  border-radius: 4px;
}


/* =========================
   CARD
========================= */

.info-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 26px;
  text-align: center;
  text-decoration: none;
  color: var(--text-dark);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transition:
    transform .4s cubic-bezier(.4,0,.2,1),
    box-shadow .4s cubic-bezier(.4,0,.2,1);
  opacity: 0;
  transform: translateY(30px);
  will-change: transform;
}

.info-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.15);
}

/* Accesibilidad */
.info-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

/* =========================
   ICONO
========================= */

.icon-box {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(225, 222, 222, 0.35);
  transition: transform .35s ease;
}

.info-svg {
  width: 36px;
  height: 36px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
  transition: transform .35s ease, stroke .35s ease;
}

/* =========================
   TEXTOS
========================= */

.info-card h3 {
  margin: 14px 0 8px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

.info-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* =========================
   SVG DRAW ANIMATION
========================= */

.info-svg path,
.info-svg circle,
.info-svg line,
.info-svg polyline {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
}

.info-card.visible .info-svg path,
.info-card.visible .info-svg circle,
.info-card.visible .info-svg line,
.info-card.visible .info-svg polyline {
  animation: drawIcon 1.2s ease forwards;
}

@keyframes drawIcon {
  to {
    stroke-dashoffset: 0;
  }
}

/* =========================
   HOVER ICONO
========================= */

.info-card:hover .icon-box {
  transform: scale(1.08);
}

.info-card:hover .info-svg {
  transform: scale(1.15) rotate(-2deg);
  stroke: var(--accent);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
  .info-card {
    padding: 30px 22px;
  }

  .info-card h3 {
    font-size: 1.2rem;
  }

  .info-card p {
    font-size: 0.92rem;
  }
}

/* =========================
   REDUCED MOTION
========================= */
.cards-carousel {
  display: grid;
  grid-template-columns: repeat(3, minmax(360px, 1fr));
  gap: 2.8rem;
  margin-top: 3.5rem;
  justify-content: center;
}

.card {
  background: #fff;
  border-radius: 24px;
  padding: 36px 36px 32px;
  max-width: 420px;
  margin-inline: auto;
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
  transition: transform .35s ease, box-shadow .35s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 65px rgba(0,0,0,.14);
}

.card p {
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .cards-carousel {
    grid-template-columns: repeat(2, minmax(340px, 1fr));
  }
}

@media (max-width: 640px) {
  .cards-carousel {
    grid-template-columns: 1fr;
  }

  .card {
    max-width: 100%;
  }
}



/* =========================
   HEADER / NAV
========================= */
.header {
  background-color: var(--primary);
  padding: 14px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #fff;
  padding: 8px 16px;
  border-radius: 40px;
  text-decoration: none;
  color: #000;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.logo-img {
  height: 40px;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 28px;
}

.nav-list a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.nav-list a:hover {
  opacity: 0.8;
}

#nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger {
  width: 25px;
  height: 3px;
  background: white;
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 3px;
  background: white;
  left: 0;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

@media (max-width: 768px) {
  #nav-toggle { display: block; }
  .nav-list {
    position: absolute;
    top: 80px;
    right: 20px;
    background: var(--primary);
    flex-direction: column;
    padding: 20px;
    display: none;
    border-radius: 10px;
  }
  .nav-list.show { display: flex; }
}

/* =========================
   HAMBURGUESA ANIMADA
========================= */
#nav-toggle {
  width: 30px;
  height: 22px;
  position: relative;
  z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  transition: all 0.3s ease;
}

/* Estado activo (X) */
#nav-toggle.active .hamburger {
  background: transparent;
}

#nav-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

#nav-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* =========================
   MENÚ MOBILE MODERNO
========================= */
@media (max-width: 768px) {

  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: var(--primary);
    flex-direction: column;
    padding: 90px 24px;
    gap: 24px;
    display: flex;
    transition: right 0.35s ease;
    box-shadow: -8px 0 30px rgba(0,0,0,0.25);
  }

  .nav-list.show {
    right: 0;
  }

  .nav-list a {
    font-size: 1.1rem;
  }
}
/* =========================
   OVERLAY CON BLUR
========================= */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
}

.nav-overlay.show {
  opacity: 1;
  pointer-events: auto;
}
/* =========================
   LINK HOVER MODERNO
========================= */
.nav-list a {
  position: relative;
  padding-bottom: 4px;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #fff;
  transition: width 0.3s ease;
}

.nav-list a:hover::after {
  width: 100%;
}
/* =========================
   HEADER SCROLL
========================= */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: transform 0.35s ease;
}

.header.hide {
  transform: translateY(-100%);
}


/* =========================
   FOOTER
========================= */
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  background: #1e293b;
  color: #fff;
}

.footer-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 8px;
}

/* =========================
   CARDS GENERALES / NOSOTROS
========================= */
.card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  margin: 15px;
  height: 100%;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.card h3 {
  margin: 20px 0 12px;
  font-size: 1.35rem;
  color: var(--primary);
}

.card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.card-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg {
  width: 36px;
  height: 36px;
}

/* =========================
   RESPONSIVE GENERAL
========================= */
@media (max-width: 1024px) {
  .cards-carousel {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .cards-carousel {
    grid-template-columns: 1fr;
  }

  .info-card {
    text-align: center;
  }

  .icon-box {
    margin-inline: auto;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 por fila */
  }
}

/* Mobile */
@media (max-width: 640px) {
  .cards-grid {
    grid-template-columns: 1fr; /* 1 por fila */
  }
}
/* =========================
   CARDS EN UNA SOLA LÍNEA
========================= */

.cards-carousel {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 cards en desktop */
  gap: 30px;
  margin-top: 50px;
  align-items: stretch;
}

/* Tablet */
@media (max-width: 1024px) {
  .cards-carousel {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 640px) {
  .cards-carousel {
    grid-template-columns: 1fr;
  }
}
/* =========================
   BOTÓN SCROLL TO TOP
========================= */

.scroll-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border: none;
  cursor: pointer;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);

  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.35s ease;
}

/* Visible */
.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Hover */
.scroll-to-top:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

/* Icono */
.scroll-to-top svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.5;
}

/* Mobile ajuste */
@media (max-width: 640px) {
  .scroll-to-top {
    width: 46px;
    height: 46px;
    bottom: 18px;
    right: 18px;
  }
}
/* =========================
   FOOTER MODERNO
========================= */

.footer {
  background: linear-gradient(180deg, #0f172a, #020617);
  color: #cbd5e1;
  padding: 80px 0 0;
  font-size: 0.95rem;
}

.footer-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}

/* Títulos */
.footer h3,
.footer h4 {
  color: #fff;
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Texto */
.footer p,
.footer li {
  line-height: 1.7;
  color: #94a3b8;
}

/* Links */
.footer a {
  color: #cbd5f5;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--accent);
}

/* Listas */
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer li {
  margin-bottom: 10px;
}

/* =========================
   SOCIAL ICONS
========================= */

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icons a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icons svg {
  width: 22px;
  height: 22px;
}

.social-icons a:hover {
  background: var(--accent);
  transform: translateY(-4px);
}

/* =========================
   FOOTER BOTTOM
========================= */

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #020617;
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer-logo {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  opacity: 0.9;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .footer-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .footer {
    padding-top: 60px;
  }

  .footer-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}
/* =========================
   ABOUT CARD – MODERNA
========================= */

.about-text {
  max-width: 920px;
  margin: 70px auto 0;
  padding: 45px 50px;
  background: #ffffff;
  border-radius: 26px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

/* Detalle decorativo superior */
.about-text::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50px;
  width: 90px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 4px;
}

/* =========================
   HEADER
========================= */

.about-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

/* Icono */
.about-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: 0 10px 25px rgba(139, 0, 0, 0.35);
}

/* Título */
.about-header h3 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
}

/* =========================
   TEXTO
========================= */

.about-text {
  transition: transform .3s ease, box-shadow .3s ease;
}

.about-text:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
  .about-text {
    padding: 30px 25px;
    margin-top: 45px;
  }

  .about-text::before {
    left: 25px;
    width: 60px;
  }

  .about-header {
    flex-direction: column;
    text-align: center;
  }

  .about-header h3 {
    font-size: 1.4rem;
  }

  .about-text p {
    font-size: 1rem;
  }
}

/* =========================
   ACORDEÓN – MODERNO
========================= */

.accordion-item {
  background: #ffffff;
  border-radius: 20px;
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  transition: box-shadow .3s ease, transform .3s ease;
}

.accordion-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 22px 26px;
  font-size: 1.2rem;
  background: linear-gradient(135deg, #8b0000, #d4a017);
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 700;
}

.accordion-header span {
  text-align: left;
}

.accordion-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.4s ease;
}

.accordion-header[aria-expanded="true"] .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 26px;
  background: #fafafa;
  transition: max-height .6s ease, padding .6s ease;
}

.accordion-content.open {
  max-height: 3000px;
  padding: 26px;
}

.serie-descripcion {
  font-size: 1.05rem;
  color: #475569;
  margin-bottom: 20px;
  line-height: 1.7;
}
/* =========================
   VIDEOS GRID
========================= */

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.video-card {
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  transition: transform .35s ease, box-shadow .35s ease;
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.video-thumb {
  position: relative;
  padding-top: 56.25%;
  background-size: cover;
  background-position: center;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,.1));
  opacity: 0;
  transition: opacity .3s ease;
}

.video-card:hover .video-overlay {
  opacity: 1;
}

.video-overlay h3 {
  font-size: .95rem;
  line-height: 1.4;
  color: #fff;
}
/* =========================
   ABOUT CARD – PREDICACIONES
========================= */

.about-text {
  max-width: 900px;
  margin: 80px auto 0;
  padding: 45px 50px;
  background: #ffffff;
  border-radius: 26px;
  box-shadow: 0 25px 55px rgba(0,0,0,0.08);
  text-align: center;
}

.about-text h3 {
  font-size: 1.8rem;
  color: #8b0000;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .about-text {
    padding: 30px 25px;
  }
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  transform: translateY(-4px);
}
/* =========================
   CONTACTO – SECCIÓN
========================= */

.contacto {
  padding: clamp(70px, 8vw, 110px) 0;
}

/* Header */
.contact-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 70px;
}

.contact-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Grid */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
}

/* Card base */
.contact-card {
  background: #ffffff;
  padding: 36px;
  border-radius: 22px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.08);
  transition: transform .35s ease, box-shadow .35s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 35px 70px rgba(0,0,0,0.12);
}

.contact-card h3 {
  font-size: 1.7rem;
  color: var(--primary);
  margin-bottom: 24px;
}

/* =========================
   MAPA
========================= */

.map-wrapper {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
}

.map-wrapper iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

/* Dirección */
.contact-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f8fafc;
  padding: 16px 18px;
  border-radius: 14px;
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
}

.contact-info-card h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--primary);
}

.contact-info-card p {
  margin: 0;
  font-size: .95rem;
  color: var(--text-muted);
}

/* =========================
   FORMULARIO
========================= */

.contact-card form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  font-size: 1rem;
  transition: border .3s ease, box-shadow .3s ease;
}

.contact-card input:focus,
.contact-card textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139,0,0,0.15);
}

.btn-submit {
  margin-top: 10px;
  padding: 14px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(212,160,23,0.5);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
  .contact-card {
    padding: 28px;
  }

  .map-wrapper iframe {
    height: 240px;
  }
}
/* Header Grupos */
.grupos-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}
.grupos-header p {
    color: #555;
    font-size: 1.1rem;
}

/* Cards de grupos */
.grupos-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.grupos-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.grupos-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.grupos-card h3 {
    margin: 20px 0 10px;
    font-size: 1.5rem;
}

.grupos-card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

/* Iconos */
.icon-box {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    background: #8b0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.3s;
}
.icon-box svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
}
.grupos-card:hover .icon-box {
    background: #d4a017;
    transform: scale(1.1);
}

/* Información adicional */
.grupos-info {
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .grupos-cards {
        gap: 20px;
    }
}
/* Card Información adicional */
.grupos-info-card {
    background: #f8f9fa; /* Fondo ligeramente diferente para destacar */
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.grupos-info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.grupos-info-card h3 {
    margin: 20px 0 15px;
    font-size: 1.5rem;
}

.grupos-info-card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

/* Icono de información */
.info-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px auto;
    background: #8b0000; /* color distinto para diferenciar */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.3s;
}

.info-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
}

.grupos-info-card:hover .info-icon {
    background: #d4a017;
    transform: scale(1.1);
}
/* Header Misiones */
.misiones-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}
.misiones-header p {
    color: #555;
    font-size: 1.1rem;
}

/* Cards de misiones */
.misiones-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.misiones-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.misiones-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.misiones-card h3 {
    margin: 20px 0 10px;
    font-size: 1.5rem;
}

.misiones-card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

.misiones-card:hover .icon-box {
    background: #d4a017;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .misiones-cards {
        gap: 20px;
    }
}
.icon-box {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    border-radius: 50%;
    background: #600303;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;      /* tamaño del icono */
    transition: background 0.3s, transform 0.3s;
}

.misiones-card:hover .icon-box {
    background: #d4a017;
    transform: scale(1.1);
}
/* SVG dentro del icon-box */
.icon-box svg {
    width: 36px;
    height: 36px;
    stroke: #333;
    stroke-width: 2;
    fill: none;
}
.misiones-card:hover .icon-box svg {
    stroke: #fff;
}

/* ================= PASTORES ================= */
/* ================= PASTORES GRID ================= */
.pastores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

/* Card del pastor */
.pastor-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.pastor-card:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.pastor-img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 3px solid #fff;
}

.pastor-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.pastor-role {
  font-size: 0.9rem;
  color: #555;
  min-height: 50px;
}

.btn-ver-perfil {
  margin-top: 12px;
  padding: 10px 20px;
  border-radius: 25px;
  background: #6f0000;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-ver-perfil:hover {
  background: #6f0000;
}

/* ================= MODAL ================= */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
  overflow-y: auto;
  padding: 40px 20px;
}

.modal-content {
  background: white;
  margin: auto;
  max-width: 900px; /* ⬅ MÁS GRANDE */
  width: 100%;
  border-radius: 20px;
  padding: 40px 35px 45px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}


.modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 28px;
  font-weight: 700;
  cursor: pointer;
  color: #555;
}

.modal-close:hover {
  color: #e40808;
}

.modal-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #6f0000;
  margin-bottom: 15px;
}

.modal-family {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  margin: 12px 0 20px;
}

/* Cards de bio dentro del modal */
.modal-bio-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 30px;
}


.bio-card {
  background: #fefefe;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  padding: 15px;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}

.bio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.bio-card h4 {
  color: #8b0000;
  font-weight: 600;
  margin-bottom: 8px;
}

.bio-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #444;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 600px) {
  .pastores-grid {
    grid-template-columns: 1fr;
  }
  .modal-content {
    width: 95%;
    padding: 20px;
  }
  .modal-bio-cards {
    grid-template-columns: 1fr;
  }
}
/* ================= APOYO MINISTERIAL ================= */
.apoyo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
  padding-bottom: 20px;
}

.apoyo-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 24px 20px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.apoyo-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.apoyo-card img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 3px solid #fff;
  background-color: #fff;
}

.apoyo-card .role-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #6f0000;
  color: white;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.apoyo-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #222;
}

.apoyo-card p {
  font-size: 0.95rem;
  color: #555;
  margin: 0;
  padding: 0 10px;
  min-height: 50px;
}

.apoyo-card .btn-ver-perfil {
  margin-top: 20px;
  padding: 10px 24px;
  background-color: #6f0000;
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
  max-width: 200px;
  box-shadow: 0 3px 8px rgba(138, 39, 1, 0.4);
}

.apoyo-card .btn-ver-perfil:hover {
  background-color: #6f0000;
  box-shadow: 0 5px 12px rgba(100, 18, 2, 0.6);
}

/* ===== Modal styles ===== */
.modal {
  display: none; /* oculto por defecto */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  padding: 40px 20px;
  box-sizing: border-box;
}

.modal-content {
  background: white;
  margin: auto;
  max-width: 480px;
  border-radius: 15px;
  padding: 30px 25px 40px;
  position: relative;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  text-align: center;
  animation: modalFadeIn 0.3s ease forwards;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-30px);}
  to { opacity: 1; transform: translateY(0);}
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 18px;
  font-size: 28px;
  font-weight: 700;
  color: #999;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #440118;
}

.modal-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 18px;
  border: 3px solid #3e0216;
}

.modal-content h3 {
  margin-bottom: 8px;
  color: #222;
  font-weight: 700;
}

.modal-content p {
  color: #444;
  font-size: 1rem;
  line-height: 1.5;
  margin: 8px 0 0;
  padding: 0 15px;
}

/* Responsive */
@media (max-width: 600px) {
  .modal-content {
    width: 90%;
    padding: 20px 15px 30px;
  }
  .apoyo-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1200px) {
  .bio-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .pastor-wrapper, .pastor-wrapper.reverse { flex-direction: column; text-align: center; }
  .pastor-bio { text-align: left; margin-top: 20px; }
  .bio-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .bio-cards { grid-template-columns: 1fr; }
  .apoyo-grid { grid-template-columns: 1fr; }
  .pastor-family { margin: 0 auto 20px auto; max-width: 90%; }
}
.footer-church{
    background:#0b1320;
    color:#cbd5e1;
    padding:70px 0 20px;
    font-size:15px;
}

/* titulos */

.footer-church h4,
.footer-church h5{
    color:#ffffff;
    margin-bottom:20px;
    font-weight:600;
}

/* texto */

.footer-about p{
    line-height:1.7;
    margin-bottom:20px;
}

/* enlaces */

.footer-links ul{
    list-style:none;
    padding:0;
}

.footer-links li{
    margin-bottom:10px;
}

.footer-links a{
    color:#cbd5e1;
    text-decoration:none;
    transition:.3s;
}

.footer-links a:hover{
    color:#d4af37;
}

/* contacto */

.footer-contact p{
    margin-bottom:10px;
}

.footer-contact i{
    color:#d4af37;
    margin-right:8px;
}

/* redes */

.footer-social{
    display:flex;
    gap:15px;
}

.footer-social a{
    width:40px;
    height:40px;
    background:#1f2937;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    color:white;
    font-size:18px;
    transition:.3s;
}

.footer-social a:hover{
    background:#d4af37;
    color:#000;
}

/* línea inferior */

.footer-bottom{
    border-top:1px solid rgba(255,255,255,0.1);
    margin-top:40px;
    padding-top:20px;
    text-align:center;
    font-size:14px;
}
.info-card{
background:white;
padding:30px;
border-radius:12px;
box-shadow:0 10px 25px rgba(0,0,0,.05);
transition:.3s;
text-align:center;
}

.info-card:hover{
transform:translateY(-6px);
}

.sermon-section{
padding:80px 0;
background:#f8fafc;
}

.sermon-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
align-items:center;
}

.sermon-video iframe{
width:100%;
height:350px;
border-radius:10px;
}

.events-section{
padding:80px 0;
}

.events-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
}

.event-card{
background:white;
padding:30px;
border-radius:10px;
box-shadow:0 10px 25px rgba(0,0,0,.05);
}

.event-date{
background:#d4af37;
padding:5px 10px;
border-radius:5px;
font-weight:600;
display:inline-block;
margin-bottom:10px;
}

.verse-section{
padding:70px 0;
background:#0b1320;
color:white;
text-align:center;
}

.verse-text{
font-size:1.6rem;
font-style:italic;
}

.verse-ref{
color:#d4af37;
font-weight:600;
}

.scroll-to-top{
position:fixed;
bottom:30px;
right:30px;
width:45px;
height:45px;
border-radius:50%;
background:#a20303af;
border:none;
opacity:0;
transition:.3s;
}

.scroll-to-top.show{
opacity:1;
}

.visible{
opacity:1;
transform:translateY(0);
}

.hero-content,
.info-card,
.event-card{
opacity:0;
transform:translateY(40px);
transition:.8s;
}

.hero-overlay{
position:absolute;
inset:0;
background:linear-gradient(
180deg,
rgba(0,0,0,0.4),
rgba(0,0,0,0.75)
);
}

.hero-content{
position:relative;
z-index:2;
max-width:850px;
padding:20px;
}

.hero-logo img{
width:90px;
margin-bottom:20px;
}

.hero-content h2{
font-size:2.8rem;
font-weight:700;
margin-bottom:15px;
}

.versiculo{
font-size:1.2rem;
margin-bottom:30px;
opacity:.9;
}

.btn-hero{
padding:12px 30px;
font-size:1rem;
border-radius:30px;
font-weight:600;
transition:.3s;
}

.btn-hero:hover{
transform:translateY(-3px);
}
.cards-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
gap:25px;
}

.hero-slide{
height:90vh;
background-size:cover;
background-position:center;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
position:relative;
}

.hero-overlay{
position:absolute;
inset:0;
background:linear-gradient(
180deg,
rgba(0,0,0,0.35),
rgba(0,0,0,0.75)
);
}

.hero-content{
position:relative;
z-index:2;
color:white;
max-width:850px;
padding:20px;
}

.hero-logo{
width:100px;
margin-bottom:20px;
filter:drop-shadow(0 5px 10px rgba(0,0,0,.4));
}

.hero-content h1{
font-size:3rem;
font-weight:700;
margin-bottom:15px;
}

.versiculo{
font-size:1.2rem;
margin-bottom:30px;
opacity:.9;
}

.hero-buttons{
display:flex;
gap:15px;
justify-content:center;
flex-wrap:wrap;
}

.btn-hero{
padding:12px 28px;
border-radius:30px;
font-weight:600;
}

.btn-hero-outline{
border:2px solid white;
padding:12px 28px;
border-radius:30px;
color:white;
}

.hero-slide{
height:80vh;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
background-size:cover;
background-position:center;
}

.hero-overlay{
position:absolute;
inset:0;
background:rgba(0,0,0,.5);
}

.hero-content{
position:relative;
z-index:2;
max-width:700px;
padding:40px;
background:rgba(255,255,255,.08);
backdrop-filter:blur(10px);
border-radius:15px;
}

.hero-logo{
width:100px;
margin-bottom:20px;
}

/* CARDS */

.info-card{
background:white;
padding:25px;
border-radius:12px;
transition:.3s;
box-shadow:0 4px 20px rgba(0,0,0,.05);
}

.info-card:hover{
transform:translateY(-5px);
}


.scroll-to-top.show{
opacity:1;
}

/* HERO MODERNO CON PARALLAX */
.hero-modern {
    height: 90vh;
    background: url('/assets/img/hero3.jpg') center/cover no-repeat fixed; /* parallax */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Overlay degradado dinámico */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
    animation: overlayFade 2s ease forwards;
}

/* Animación overlay */
@keyframes overlayFade {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* Contenido */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 20px;
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

/* Animación de entrada */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo */.hero-logo {
    width: 90px;             /* tamaño del logo */
    height: 90px;            /* mismo que width para que sea cuadrado */
    border-radius: 80%;      /* lo hace circular */
    overflow: hidden;        /* recorta la imagen para que no sobresalga */
    margin-bottom: 20px;
    border: 3px solid #b7b6b524; /* opcional, elegante */
    box-shadow: 0 4px 15px rgba(0,0,0,0.4); /* opcional, sombra */
    display: inline-block;   /* para que respete tamaño */
    align-items: center;
    justify-content: center;
}

.hero-logo img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    margin: auto;
}

/* Titulos y versículo */
.hero-modern h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.hero-modern .versiculo {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 25px;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
}

/* Botones */
.hero-buttons .btn-hero,
.hero-buttons .btn-hero-outline {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.btn-hero {
    background: #d43737cf;
    color: black;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.btn-hero-outline {
    border: 2px solid #8b0000;
    color: #8b0000;
    background: transparent;
}

.btn-hero-outline:hover {
    background: #8b0000;
    color: black;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Parallax dinámico con JS */
.hero-modern[data-parallax] {
    background-attachment: fixed;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-modern h1 { font-size: 2.2rem; }
    .hero-modern .versiculo { font-size: 1rem; }
    .btn-hero, .btn-hero-outline { padding: 10px 25px; margin: 5px; }
}

@media (max-width: 768px) {
    .hero-modern h1 { font-size: 1.8rem; }
    .hero-modern .versiculo { font-size: 0.95rem; }
}

.btn-confesion-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: white;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-confesion-modern .btn-icon {
    display: flex;
    align-items: center;
}

.btn-confesion-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.35);
    background: linear-gradient(135deg, #b8860b, #d4af37);
}

.confesion-cta {
    text-align: center;
    margin-top: 30px;
}
.video-thumb {
    width:100%;
    padding-top:56.25%;
    background-size:cover;
    position:relative;
    border-radius:8px;
    overflow:hidden;
    cursor:pointer;
}

.video-overlay {
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.4);
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
    font-weight:bold;
    opacity:0;
    transition:0.3s;
}

.video-thumb:hover .video-overlay {
    opacity:1;
}

.btn-pdf {
    display:inline-block;
    margin-top:0.5rem;
    padding:8px 15px;
    background:#8b0000;
    color:#000;
    border-radius:40px;
    text-decoration:none;
    font-weight:600;
}
/* TITULO PDF */
.pdf-section-title {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 600;
    text-align: left;
}

/* GRID */
.pdf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

/* CARD */
.pdf-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 20px;
    text-align: center;

    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.pdf-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* ICONO */
.pdf-icon {
    font-size: 40px;
    color: #dc3545;
    margin-bottom: 10px;
}

/* TITULO */
.pdf-card h4 {
    font-size: 16px;
    margin-bottom: 15px;
}

/* BOTONES */
.pdf-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.btn-view {
    padding: 8px 14px;
    background: #343a40;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
}

.btn-download {
    padding: 8px 14px;
    background: #dc3545;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
}

.btn-view:hover {
    background: #1d2124;
}

.btn-download:hover {
    background: #b02a37;
}