
:root{
  --bg:#00101f;
  --bg-deep:#000b15;
  --panel:#041a30;
  --panel2:#06213a;
  --line:#0c78bd;
  --blue:#18a8ff;
  --blue2:#087fe1;
  --white:#ffffff;
  --muted:#c0cfda;
}

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

html{
  scroll-behavior:smooth;
}

body{
  font-family:Arial,Helvetica,sans-serif;
  background:
    radial-gradient(circle at 10% 20%, rgba(0,100,190,.12), transparent 26%),
    radial-gradient(circle at 88% 45%, rgba(0,105,210,.10), transparent 28%),
    linear-gradient(180deg,#00101f 0%,#001523 44%,#000b16 100%);
  color:var(--white);
  overflow-x:hidden;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;
  opacity:.32;
  background:
    radial-gradient(circle at 15% 10%,rgba(0,140,255,.12),transparent 22%),
    radial-gradient(circle at 85% 70%,rgba(0,100,255,.12),transparent 25%);
}

a{
  text-decoration:none;
  color:inherit;
}

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

/* =========================
   HEADER
========================= */

header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(0,10,20,.95);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(24,168,255,.25);
}

.nav{
  max-width:1180px;
  min-height:74px;
  margin:auto;
  padding:8px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
}

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

.brand img{
  width:54px;
  height:54px;
  border-radius:50%;
  object-fit:contain;
  background:#00101f;
  box-shadow:0 0 14px rgba(24,168,255,.35);
}

.brand h2{
  font-size:19px;
  line-height:1.05;
}

.brand span{
  display:block;
  color:var(--blue);
  font-size:13px;
  margin-top:4px;
  font-weight:bold;
}

.menu{
  display:flex;
  align-items:center;
  gap:26px;
}

.menu a{
  font-size:14px;
  padding:26px 0 18px;
  position:relative;
}

.menu a::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:10px;
  height:2px;
  width:0;
  margin:auto;
  background:var(--blue);
  transition:.25s;
}

.menu a:hover{
  color:var(--blue);
}

.menu a:hover::after{
  width:100%;
}

/* =========================
   HERO
========================= */

.hero{
  min-height:525px;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:58px 20px 55px;

  background:
    linear-gradient(
      rgba(0,10,22,.30),
      rgba(0,10,24,.82)
    ),
    url("log/iglesia-4.jpeg");

  background-size:cover;
  background-position:center center;
}

.hero::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:115px;
  background:linear-gradient(transparent,var(--bg));
}

.hero-content{
  position:relative;
  z-index:2;
  width:100%;
  max-width:820px;
}

.hero-logo{
  width:138px;
  height:138px;
  margin:0 auto 20px;
  border-radius:50%;
  object-fit:contain;
  background:#00101f;
  border:2px solid white;
  box-shadow:
    0 0 0 3px var(--blue),
    0 0 28px rgba(24,168,255,.65);
}

.hero h1{
  font-size:46px;
  line-height:1.08;
}

.hero h1 span{
  color:var(--blue);
}

.hero p{
  margin:14px auto 24px;
  max-width:640px;
  font-size:17px;
  line-height:1.5;
}

.hero-buttons{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}

.btn{
  min-width:165px;
  padding:13px 22px;
  border-radius:7px;
  border:1px solid var(--blue2);
  font-weight:bold;
  background:rgba(2,22,40,.82);
  transition:.2s;
  color:white;
  cursor:pointer;
  font-family:inherit;
  font-size:14px;
}

.btn-primary{
  background:linear-gradient(180deg,#19adff,#0786e8);
}

.btn:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(0,125,230,.25);
}

/* =========================
   ACCESOS RÁPIDOS
========================= */

.quick-area{
  position:relative;
  z-index:4;
  margin-top:-16px;
  padding:0 20px 34px;
}

.quick-grid{
  max-width:1000px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border:1px solid rgba(24,168,255,.4);
  border-radius:10px;
  overflow:hidden;
  background:rgba(3,25,46,.96);
  box-shadow:0 16px 35px rgba(0,0,0,.28);
}

.quick-card{
  min-height:150px;
  padding:22px 14px;
  text-align:center;
  border-right:1px solid rgba(24,168,255,.32);
}

.quick-card:last-child{
  border-right:none;
}

.quick-icon{
  font-size:34px;
  color:var(--blue);
  margin-bottom:8px;
}

.quick-card h3{
  font-size:16px;
}

.quick-card p{
  font-size:12px;
  line-height:1.5;
  margin-top:6px;
  color:var(--muted);
}

/* =========================
   SECCIONES
========================= */

.section{
  position:relative;
  padding:50px 20px;
  border-top:1px solid rgba(20,130,195,.22);
}

.section::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 3% 80%,rgba(0,125,255,.16),transparent 25%),
    radial-gradient(circle at 96% 20%,rgba(0,105,230,.14),transparent 28%);
}

.container{
  position:relative;
  z-index:2;
  max-width:1000px;
  margin:auto;
}

.eyebrow{
  display:block;
  color:var(--blue);
  font-size:11px;
  font-weight:bold;
  letter-spacing:1.2px;
  text-transform:uppercase;
}

.title{
  font-size:30px;
  line-height:1.1;
  margin-top:5px;
}

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

/* =========================
   NUESTRA IGLESIA
========================= */

.about-grid{
  display:grid;
  grid-template-columns:48% 1fr;
  gap:35px;
  align-items:center;
}

.image-frame{
  width:100%;
  border-radius:10px;
  border:1px solid rgba(24,168,255,.45);
  overflow:hidden;
  background:#031729;
}

.image-frame img{
  width:100%;
  height:auto;
  max-height:330px;
  object-fit:contain;
  object-position:center;
  margin:auto;
  background:#031729;
}

.about-text p{
  margin-top:12px;
  font-size:14px;
  line-height:1.65;
  color:#d6e1e9;
}

/* =========================
   PASTORES
========================= */

.pastores-grid{
  display:grid;
  grid-template-columns:34% 1fr;
  gap:34px;
  align-items:center;
}

.pastores-text h2{
  font-size:28px;
  margin-top:4px;
}

.pastores-text h3{
  color:var(--blue);
  font-size:16px;
  margin:10px 0;
}

.pastores-text p{
  font-size:14px;
  line-height:1.65;
  color:#d3dee7;
}

.pastor-photo{
  width:fit-content;
  max-width:100%;
  margin:0 auto;
  border-radius:10px;
  overflow:hidden;
  border:1px solid rgba(24,168,255,.42);
  background:#031729;
  box-shadow:0 8px 25px rgba(0,0,0,.18);
}

.pastor-photo img{
  display:block;
  width:auto;
  height:280px;
  max-width:100%;
  object-fit:contain;
}

/* =========================
   HORARIOS
========================= */

.schedule{
  text-align:center;
}

.schedule .title{
  margin-bottom:18px;
}

.schedule-grid{
  max-width:720px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:9px 14px;
}

.schedule-card{
  min-height:62px;
  padding:9px 12px;
  border-radius:7px;
  border:1px solid rgba(18,140,210,.62);
  background:rgba(3,24,43,.92);
  display:flex;
  align-items:center;
  gap:10px;
  text-align:left;
}

.schedule-icons{
  min-width:26px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:3px;
  font-size:14px;
}

.schedule-info strong{
  display:block;
  color:var(--blue);
  font-size:13px;
}

.schedule-info span{
  display:block;
  margin-top:3px;
  font-size:12px;
  font-weight:bold;
}

.calendar-blue{
  color:#20b7ff;
}

.calendar-green{
  color:#62e600;
}

.calendar-purple{
  color:#a457ff;
}

.calendar-red{
  color:#ff2447;
}

/* =========================
   RADIO
========================= */

.radio-section{
  overflow:hidden;
  background:
    linear-gradient(90deg,rgba(0,39,75,.98),rgba(0,18,34,.98));
}

.radio-section::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:88px;
  opacity:.35;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(17,130,230,.5) 0 5px,
      transparent 5px 11px
    );
  clip-path:polygon(
    0 80%,4% 56%,8% 72%,12% 38%,16% 65%,20% 26%,
    24% 50%,28% 18%,32% 58%,36% 31%,40% 75%,44% 47%,
    48% 68%,52% 34%,56% 72%,60% 42%,64% 73%,68% 36%,
    72% 62%,76% 27%,80% 56%,84% 44%,88% 70%,92% 48%,
    96% 68%,100% 54%,100% 100%,0 100%
  );
}

.radio-grid{
  display:grid;
  grid-template-columns:32% 1fr;
  gap:36px;
  align-items:center;
}

.radio-image{
  display:flex;
  align-items:center;
  justify-content:center;
}

.radio-image img{
  width:230px;
  height:230px;
  object-fit:contain;
  border-radius:50%;
  filter:drop-shadow(0 0 16px rgba(24,168,255,.28));
}

.radio-text h2{
  font-size:29px;
  margin:5px 0 10px;
}

.radio-text p{
  color:#d4e0e9;
  max-width:520px;
  line-height:1.5;
  margin-bottom:16px;
}

.radio-status{
  margin-top:12px;
  font-size:12px;
  color:#78cfff;
  min-height:18px;
}

/* =========================
   GALERÍA
========================= */

.gallery-title{
  text-align:center;
}

.gallery-strip{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:8px;
}

.gallery-item{
  border-radius:7px;
  overflow:hidden;
  border:1px solid rgba(24,168,255,.4);
  background:#031729;
  height:95px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.gallery-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

/* =========================
   CONTACTO
========================= */

.contact-title{
  text-align:center;
  margin-bottom:14px;
}

.contact-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
}

.contact-card{
  padding:14px;
  border-radius:7px;
  text-align:center;
  border:1px solid rgba(18,115,180,.4);
  background:rgba(3,27,48,.9);
}

.contact-card .icon{
  font-size:24px;
  margin-bottom:4px;
}

.contact-card h3{
  font-size:14px;
}

.contact-card p{
  margin-top:2px;
  font-size:11px;
  color:var(--muted);
}

/* =========================
   FOOTER
========================= */

footer{
  background:#000b15;
  border-top:1px solid rgba(24,168,255,.25);
  padding:16px 20px;
}

.footer-inner{
  max-width:1000px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.footer-brand{
  display:flex;
  align-items:center;
  gap:10px;
}

.footer-brand img{
  width:50px;
  height:50px;
  border-radius:50%;
  object-fit:contain;
}

.footer-brand h3{
  font-size:14px;
}

.footer-brand p{
  font-size:10px;
  color:#aebdca;
  line-height:1.35;
}

.socials{
  display:flex;
  align-items:center;
  gap:18px;
  font-size:13px;
}

/* =========================
   CELULAR / TABLET
========================= */

@media(max-width:820px){

  .menu{
    display:none;
  }

  .hero{
    min-height:470px;
  }

  .hero h1{
    font-size:34px;
  }

  .hero-logo{
    width:110px;
    height:110px;
  }

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

  .quick-card:nth-child(2){
    border-right:none;
  }

  .quick-card{
    border-bottom:1px solid rgba(24,168,255,.3);
  }

  .about-grid,
  .pastores-grid,
  .radio-grid{
    grid-template-columns:1fr;
  }

  .pastores-text{
    text-align:left;
  }

  .pastor-photo img{
    width:auto;
    height:auto;
    max-height:350px;
    max-width:100%;
  }

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

  .gallery-strip{
    grid-template-columns:repeat(2,1fr);
  }

  .gallery-item{
    height:135px;
  }

  .contact-grid{
    grid-template-columns:1fr;
  }

  .footer-inner{
    flex-direction:column;
    text-align:center;
  }
}

@media(max-width:500px){

  .hero h1{
    font-size:29px;
  }

  .hero p{
    font-size:14px;
  }

  .hero-buttons{
    flex-direction:column;
  }

  .btn{
    width:100%;
  }

  .schedule-grid{
    grid-template-columns:1fr;
  }
}

