/* ============================= */
/*        RESET Y BODY           */
/* ============================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

:root {
  --primary-color: #9258fc;
  --secondary-color: #550599;

  --text-color: #fff;
}
/* d6d6d6 */
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  background-color: var(--background-color);
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, ul {
  font-family: "Alice", system-ui;
}
p {
  font-family: "Aboreto", system-ui;
  line-height: 1.6;
}




/* ============================= */
/*            NAVBAR             */
/* ============================= */

.encabezado-principal {
  font-family: "Aclonica", sans-serif;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 10;
  padding: clamp(0.75rem, 2vw, 1.5rem) clamp(1rem, 3vw, 4rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  height: clamp(45px, 8vw, 75px);
  width: auto;
  display: block;
  animation: aparecer 1s ease-in forwards;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: clamp(0.5rem, 2vw, 2rem);
  font-size: clamp(0.9rem, 2vw, 20px);
  animation: deslizarArriba 1s ease-out forwards;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #9258fc;
}

/* Botón Hamburguesa (oculto por defecto) */
.menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 6px;
  padding: 8px;
  z-index: 11;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}


/* .textura img{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: -1;
} */

/* ============================= */
/*         SECTION HERO          */
/* ============================= */

.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.60)), url("/img/plenitud21.jpeg") center / cover no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2rem, 5vw, 5%);
  box-sizing: border-box;
  width: 100%;
  overflow-x: hidden;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  font-family: "Aclonica", sans-serif;
  max-width: 90vw;
  margin: 0 auto;
  padding: 1rem;
}

.hero-content h1 {
  font-size: clamp(2rem, 7vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0.25rem 0;
  overflow: hidden;
}

.hero-content .hero-title {
  animation: pasoLetras 4s both;
}

.hero-content .hero-title-2 {
  animation: pasoLetras 2s both;
}

.hero-content hr {
  background-color: #550599;
  margin: clamp(1rem, 3vw, 1.5rem) 0;
  width: 100%;
  height: 4px;
  border: none;
  clip-path: inset(0 15% 0 15%);
}


/* ============================= */
/*          SECTION 2            */
/* ============================= */

.ctn-ftr-section2 {
  min-height: 30vh;
  background-color: #d6d6d6;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(1.5rem, 5vw, 50px);
  box-sizing: border-box;
  width: 100%;
  overflow-x: hidden;
}

.ctn-reunion-text {
  text-align: center;
  letter-spacing: clamp(2px, 1.5vw, 7px);
  overflow-wrap: break-word;
  max-width: 100%;
}

.ctn-reunion-text p {
  color: #000;
  padding: clamp(1rem, 3vw, 50px);
  font-size: clamp(0.9rem, 2vw, 1rem);
  max-width: 100%;
  margin: 0 auto;
}

.ctn-section2-img {
  filter: invert(1);
  height: clamp(100px, 15vh, 150px);
  max-width: 100%;
  overflow: hidden;
}

.ctn-section2-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ctn-section2-img:first-child {
  position: relative;
  top: clamp(-30px, -5vh, -60px);
}

.ctn-section2-img:last-child {
  position: relative;
  top: clamp(30px, 5vh, 60px);
  transform: rotate(180deg);
}


/* ============================= */
/*          SECTION 3            */
/* ============================= */

.ctn-ftr-section3 {
  padding: clamp(1.5rem, 4vw, 30px);
  background: white;
  width: 100%;
  box-sizing: border-box;
  font-family: "Aclonica", sans-serif;
  overflow-x: hidden;
}

.ctn-header-section3 h2 {
  text-align: left;
  color: #000;
  margin-bottom: clamp(1rem, 3vw, 20px);
  letter-spacing: clamp(0.5px, 1vw, 1.5px);
  font-size: clamp(1.1rem, 2.5vw, 1.2rem);
  font-weight: 700;
}

.ctn-header-section3 hr {
  background-color: #550599;
  width: auto;
  height: 10px;
  border: none;
  clip-path: inset(0 85% 0 0%);
  margin: 1rem 0;
}

.ctn-ate-section3 {
  background-color: #fff;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: clamp(1.5rem, 5vw, 50px);
  width: 100%;
}

.container-reunion-text-2 {
  text-align: center;
  font-family: "Aclonica", sans-serif;
  letter-spacing: clamp(1px, 1.5vw, 4px);
  color: #000;
  margin-bottom: clamp(1.5rem, 5vw, 50px);
}

.container-family-text {
  line-height: 1.5;
  color: black;
  text-align: center;
  padding: clamp(0.5rem, 2vw, 1rem);
  width: 100%;
}

.container-family-text h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  margin-bottom: 0.75rem;
}

.container-family-text p {
  margin-bottom: clamp(1rem, 5vw, 200px);
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.container-family {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 3vw, 1.5rem);
  justify-items: center;
  width: 100%;
  max-width: 100%;
}

.container-family-img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  background: white;
  overflow: hidden;
  box-shadow: 2px 10px 15px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

.container-family-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ============================= */
/*          SECTION 4            */
/* ============================= */

.ctn-ftr-section4 {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #d6d6d6;
  min-height: 15vh;
  font-family: "Aboreto", system-ui;
  letter-spacing: clamp(0.5px, 1vw, 1.5px);
  font-size: clamp(0.9rem, 2vw, 14px);
  padding: clamp(1.5rem, 4vw, 50px);
  box-sizing: border-box;
  width: 100%;
  overflow-x: hidden;
}

.ctn-ftr-section4 h3 {
  color: #000;
  text-align: center;
  font-size: clamp(0.95rem, 2.2vw, 1rem);
}


/* ============================= */
/*          SECTION 5            */
/* ============================= */

.ctn-ftr-section5 {
  background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.60)), url("/img/plenitud4.jpeg") center / cover no-repeat;
  background-attachment: fixed;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  color: white;
  padding: clamp(2rem, 4vw, 50px);
  box-sizing: border-box;
  width: 100%;
  overflow-x: hidden;
}

.ctn-ate-section5 {
  padding: clamp(1rem, 4vw, 50px);
  max-width: 100%;
  text-align: right;
}

.ctn-ate-section5 h1 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  text-shadow: #000 2px 2px 4px;
  font-weight: 800;
  line-height: 1.1;
  animation: deslizarDerecha 2s both;
}

.ctn-ate-section5 p {
  font-size: clamp(0.85rem, 2vw, 0.9rem);
  text-shadow: #000 2px 2px 4px;
  line-height: 1.5;
}

.ctn-ate-section5 hr {
  background-color: #550599;
  margin: clamp(1.5rem, 3vw, 3rem) 0;
  width: 100%;
  height: 15px;
  border: none;
  clip-path: inset(0 0 0 70%);
  box-shadow: #000 2px 2px 4px;
}

@keyframes deslizarDerecha {
  from {
    width: 80%;
  }
  to {
    width: 100%;
  }
}

/* ============================= */
/*          SECTION 6            */
/* ============================= */

.ctn-ftr-section6 {
  background-color: #d6d6d6;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 60px);
  padding: clamp(1.5rem, 4vw, 60px);
  min-height: auto;
  font-family: "Aclonica", sans-serif;
  box-sizing: border-box;
  width: 100%;
  overflow-x: hidden;
}

.ctn-ate-section6 {
  width: 100%;
  color: #000;
}

.ctn-ate-section6 h1 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 900;
  margin-bottom: clamp(0.5rem, 2vw, 10px);
  letter-spacing: clamp(0.5px, 1vw, 1px);
  text-transform: uppercase;
}

.ctn-ate-section6 hr {
  width: clamp(40px, 8vw, 60px);
  height: 5px;
  background-color: #550599;
  border: none;
  margin-bottom: clamp(1rem, 2vw, 20px);
}

.ctn-ate-section6 p {
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  line-height: 1.6;
  text-align: left;
}

.ctn-ftr-img-section6 {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: auto;
  gap: clamp(0.75rem, 2vw, 15px);
}

.ctn-img-section6,
.ctn-img2-section6,
.ctn-img3-section6 {
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
}

.ctn-img-section6 {
  grid-column: 1 / -1;
  aspect-ratio: 3 / 2;
}

.ctn-img2-section6,
.ctn-img3-section6 {
  aspect-ratio: 4 / 3;
}

.ctn-img-section6 img,
.ctn-img2-section6 img,
.ctn-img3-section6 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================= */
/*    MEDIA QUERIES RESPONSIVE   */
/* ============================= */

/* MOBILE: 360px a 480px */
@media (max-width: 480px) {
  .encabezado-principal {
    padding: 0.75rem 1rem;
  }

  .logo img {
    height: clamp(45px, 10vw, 55px);
  }

  .menu-toggle {
    display: flex;
  }

  .navbar {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    background-color: #fff; /* white background for dropdown */
    flex-direction: column;
    justify-content: center;
    color: #000; /* default text color inside dropdown */
    opacity: 0;
  }

  .navbar.activo {
    max-height: 300px;
    opacity: 1;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
    font-size: 1rem;
    padding: 1rem 0;
    text-align: center;
    width: 100%;
  }

  .nav-links li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .nav-links a {
    display: block;
    padding: 0.5rem;
    color: #000;
  }

  .nav-links a:hover {
    color: var(--primary-color);
  }

  .hero {
    padding: 2rem 1rem;
    min-height: 70vh;
  }

  .hero-content {
    max-width: 95vw;
  }

  .ctn-ftr-section2 {
    padding: 1rem;
  }

  .ctn-reunion-text p {
    padding: 1rem;
  }

  .ctn-ftr-section3 {
    padding: 1rem;
  }

  .container-family {
    gap: 1rem;
  }

  .container-family-text {
    padding: 0.5rem;
  }

  .container-family-text p {
    margin-bottom: 1rem;
  }

  .ctn-ftr-section4 {
    padding: 1.5rem 1rem;
    min-height: auto;
  }

  .ctn-ftr-section5 {
    padding: 1.5rem 1rem;
    min-height: 50vh;
  }

  .ctn-ate-section5 {
    padding: 1rem;
    text-align: left;
  }

  .ctn-ate-section5 hr {
    clip-path: inset(0 0 0 0%);
  }

  .ctn-ftr-section6 {
    gap: 1rem;
    padding: 1rem;
  }

  .ctn-ftr-img-section6 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ctn-img-section6 {
    grid-column: 1;
  }

  .ctn-stn2-img-sermons-page {
    max-width: 100%;
  }
}

/* TABLET: 481px a 768px */
@media (min-width: 481px) and (max-width: 768px) {
  .encabezado-principal {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    gap: clamp(0.75rem, 1.5vw, 1.5rem);
    font-size: clamp(0.95rem, 1.8vw, 1rem);
  }

  .menu-toggle {
    display: none;
  }

  .navbar {
    position: static;
    width: auto;
    max-height: 100%;
    background-color: transparent;
  }

  .hero {
    padding: 2rem 3vw;
    min-height: 75vh;
  }

  .ctn-ftr-section2 {
    padding: 2rem 3vw;
  }

  .ctn-ftr-section3 {
    padding: 2rem 3vw;
  }

  .container-family {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: center;
  }

  .container-family-img {
    width: 100%;
  }

  .container-family-text {
    text-align: left;
    padding: 0 1rem;
  }

  .ctn-ftr-section4 {
    padding: 2rem 3vw;
  }

  .ctn-ftr-section5 {
    padding: 2rem 3vw;
    min-height: 55vh;
    align-items: center;
    text-align: center;
  }

  .ctn-ate-section5 {
    padding: 1.5rem;
    text-align: center;
    max-width: 100%;
  }

  .ctn-ate-section5 hr {
    clip-path: inset(0 15% 0 15%);
  }

  .ctn-ftr-section6 {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 2rem 3vw;
    align-items: start;
  }

  .ctn-ate-section6 {
    width: 100%;
  }

  .ctn-ftr-img-section6 {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .ctn-img-section6 {
    grid-column: 1 / -1;
  }
}

/* LAPTOP: 769px a 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
  .encabezado-principal {
    padding: 1.25rem 3vw;
  }

  .nav-links {
    gap: clamp(1rem, 2vw, 1.5rem);
    font-size: clamp(0.95rem, 1.5vw, 1rem);
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    padding: 3rem 4vw;
    min-height: 80vh;
  }

  .ctn-ftr-section2 {
    padding: 3rem 4vw;
  }

  .ctn-ftr-section3 {
    padding: 3rem 4vw;
  }

  .container-family {
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 1.5rem;
    align-items: center;
  }

  .container-family-img {
    width: 100%;
  }

  .container-family-text {
    text-align: left;
  }

  .ctn-ftr-section4 {
    padding: 3rem 4vw;
  }

  .ctn-ftr-section5 {
    padding: 3rem 4vw;
    min-height: 60vh;
    align-items: flex-end;
    justify-content: center;
  }

  .ctn-ate-section5 {
    text-align: right;
    max-width: 55%;
  }

  .ctn-ftr-section6 {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 3rem 4vw;
    align-items: start;
  }

  .ctn-ftr-img-section6 {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .ctn-img-section6 {
    grid-column: 1 / -1;
    aspect-ratio: 2 / 1;
  }
}

/* DESKTOP: 1025px en adelante */
@media (min-width: 1025px) {
  .encabezado-principal {
    padding: 1.5rem clamp(2rem, 6vw, 100px);
  }

  .nav-links {
    gap: 2rem;
    font-size: 1rem;
  }

  .menu-toggle {
    display: none;
  }

  .navbar {
    position: static;
    width: auto;
  }

  .hero {
    padding: 4rem 8vw;
    min-height: 85vh;
  }

  .ctn-ftr-section2 {
    padding: 4rem 8vw;
  }

  .ctn-ftr-section3 {
    padding: 4rem 8vw;
  }

  .container-family {
    grid-template-columns: 0.9fr 1.2fr 0.9fr;
    gap: 2rem;
    align-items: center;
  }

  .container-family-img {
    max-width: 100%;
  }

  .container-family-text {
    text-align: left;
  }

  .ctn-ftr-section4 {
    padding: 4rem 8vw;
  }

  .ctn-ftr-section5 {
    padding: 4rem 8vw;
    min-height: 60vh;
    align-items: flex-end;
  }

  .ctn-ate-section5 {
    max-width: 52vw;
    text-align: right;
  }

  .ctn-ftr-section6 {
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    padding: 4rem 8vw;
  }

  .ctn-ftr-img-section6 {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr;
    gap: 1.5rem;
  }

  .ctn-img-section6 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    aspect-ratio: auto;
  }

  .ctn-img2-section6,
  .ctn-img3-section6 {
    aspect-ratio: auto;
  }
}






/* ------------------------ */
/* -------- About ----------*/
/* ------------------------ */
.ctn-ftr-stn-title-about {
  background-color: #d6d6d6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: clamp(15vh, 20vh, 25vh);
  box-sizing: border-box;
  padding: clamp(1.5rem, 3vw, 2rem);
}

.ctn-ftr-stn-title-about h1 {
  font-size: clamp(1.5rem, 5vw, 30px);
  color: black;
  text-align: center;
  letter-spacing: clamp(0.5px, 1vw, 2px);
}
.ctn-ftr-stn-title-about hr {
  background-color: #550599;
  margin: clamp(0.75rem, 2vw, 1.5rem) 0;
  width: 100%;
  height: 4px;
  border: none;
  clip-path: inset(0 35% 0 35%);
}

/* --------------------------- */

.ctn-ftr-stn1-about {
  background-color: #fff;
  padding: clamp(1.5rem, 4vw, 4rem);
  width: 100%;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}

/* Tarjeta */
.ctn-ate-about {
  max-width: 1100px;
  width: 100%;
  display: flex;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

/* Texto */
.ctn-ate-text-about {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 2vw, 1.2rem);
  text-align: left;
  color: #000;
}

.ctn-ate-text-about hr {
  background-color: #550599;
  margin: clamp(0.5rem, 2vw, 1.5rem) 0;
  width: 100%;
  height: 4px;
  border: none;
  clip-path: inset(0 80% 0 0);
}

.ctn-ate-text-about h2 {
  font-size: clamp(1.3rem, 3.5vw, 1.8rem);
  font-weight: 700;
}

.ctn-ate-text-about p {
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  line-height: 1.8;
  color: #333;
}

/* Imagen */
.ctn-ate-img2-about {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ctn-ate-img2-about img {
  width: clamp(200px, 90vw, 22rem);
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* MOBILE: Small phones (360px - 480px) */
@media (max-width: 480px) {
  .ctn-ftr-stn1-about {
    padding: 1.5rem 1rem;
  }
  
  .ctn-ate-about {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .ctn-ate-text-about {
    text-align: center;
  }
  
  .ctn-ate-text-about hr {
    clip-path: inset(0 40% 0 40%);
  }
  
  .ctn-ate-img2-about img {
    width: 100%;
    max-width: 300px;
  }
}

/* MOBILE: Medium phones (481px - 600px) */
@media (min-width: 481px) and (max-width: 600px) {
  .ctn-ftr-stn1-about {
    padding: 2rem 1.5rem;
  }
  
  .ctn-ate-about {
    flex-direction: column;
    gap: 2rem;
  }
  
  .ctn-ate-text-about {
    text-align: center;
  }
  
  .ctn-ate-text-about hr {
    clip-path: inset(0 45% 0 45%);
  }
  
  .ctn-ate-img2-about img {
    width: 90%;
    max-width: 350px;
  }
}

/* MOBILE: Large phones (601px - 768px) */
@media (min-width: 601px) and (max-width: 768px) {
  .ctn-ftr-stn1-about {
    padding: 2.5rem 2rem;
  }
  
  .ctn-ate-about {
    flex-direction: column;
    gap: 2rem;
  }
  
  .ctn-ate-text-about {
    text-align: center;
  }
  
  .ctn-ate-text-about hr {
    clip-path: inset(0 50% 0 50%);
  }
  
  .ctn-ate-img2-about img {
    width: 85%;
    max-width: 400px;
  }
}

/* TABLET: 769px - 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
  .ctn-ftr-stn1-about {
    padding: 3rem 2.5rem;
  }
  
  .ctn-ate-about {
    gap: 2.5rem;
  }
  
  .ctn-ate-text-about h2 {
    font-size: 1.6rem;
  }
  
  .ctn-ate-img2-about img {
    width: 90%;
    max-width: 400px;
  }
}

/* DESKTOP: 1025px+ */
@media (min-width: 1025px) {
  .ctn-ftr-stn1-about {
    padding: 4rem 4rem;
  }
  
  .ctn-ate-about {
    gap: 4rem;
  }
  
  .ctn-ate-img2-about img {
    width: 22rem;
  }
}

/* ------------------------------- */

.ctn-ftr-stn-title2-about {
  position: relative;
  min-height: clamp(30vh, 40vh, 50vh);
  background: linear-gradient(rgba(0,0,0,0.60)), url("/img/plenitud17.jpeg") center / cover no-repeat;
  background-attachment: fixed;
  display: grid;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  width: 100%;
  overflow-x: hidden;
  padding: clamp(1.5rem, 3vw, 3rem);
}

.ctn-ftr-stn-title2-about h1 {
  font-size: clamp(1rem, 4vw, 20px);
  letter-spacing: clamp(0.2rem, 1vw, 4px);
  color: white;
  line-height: 1.6;
  padding: 0 1rem;
}

/* MOBILE: Small phones (360px - 480px) */
@media (max-width: 480px) {
  .ctn-ftr-stn-title2-about {
    min-height: 35vh;
    padding: 1.5rem 1rem;
  }
  
  .ctn-ftr-stn-title2-about h1 {
    font-size: 0.95rem;
    letter-spacing: 0.15rem;
  }
}

/* MOBILE: Medium phones (481px - 600px) */
@media (min-width: 481px) and (max-width: 600px) {
  .ctn-ftr-stn-title2-about {
    min-height: 38vh;
    padding: 2rem 1.5rem;
  }
  
  .ctn-ftr-stn-title2-about h1 {
    font-size: 1.1rem;
  }
}

/* MOBILE: Large phones (601px - 768px) */
@media (min-width: 601px) and (max-width: 768px) {
  .ctn-ftr-stn-title2-about {
    min-height: 40vh;
    padding: 2rem;
  }
  
  .ctn-ftr-stn-title2-about h1 {
    font-size: 1.3rem;
    letter-spacing: 0.25rem;
  }
}

/* TABLET: 769px - 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
  .ctn-ftr-stn-title2-about {
    min-height: 42vh;
    padding: 2.5rem;
  }
  
  .ctn-ftr-stn-title2-about h1 {
    font-size: 1.5rem;
  }
}

/* ------------------------------------- */

.ctn-ftr-stn1-about {
  background-color: #fff;
  padding: 4rem 4rem;
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Tarjeta */
.ctn-ate-about {
  max-width: 1100px;
  width: 100%;
  display: flex;
  gap: 4rem;
  align-items: center;
}

/* Texto */
.ctn-ate-text-about {
  flex: 1;
  display: flex;
  flex-direction: column;
  
  gap: 1.2rem;
  text-align: left;
  color: #000;
}

.ctn-ate-text-about hr {
  background-color: #550599;
  margin: clamp(0, 3vw, 1.5rem) 0;
  width: 100%;
  height: 4px;
  border: none;
  clip-path: inset(0 80% 0 0);
}

.ctn-ate-text-about h2 {
  font-size: 1.8rem;
  font-weight: 700;
}

.ctn-ate-text-about p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #333;
}

/* Imagen */
.ctn-ate-img2-about {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  
}

.ctn-ate-img2-about img {
  width: 22rem;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}


/* Responsive */
@media (max-width: 900px) {
  .ctn-ate-about {
    flex-direction: column;
    text-align: center;
  }

  .ctn-ate-text-about {
    text-align: center;
  }

  .ctn-ate-img2-about img {
    width: 100%;
    max-width: 420px;
  }
}

/* --------------------------- */

.ctn-ftr-stn6-about {
  background-color: #fff;
  padding: clamp(1.5rem, 4vw, 4rem);
  gap: clamp(1rem, 3vw, 5rem);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  box-sizing: border-box;
  width: 100%;
}

.container-img3-about {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: #ccc;
}

.container-img3-about img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.ctn-ate-text2-about {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 2vw, 1.2rem);
  text-align: center;
  color: #000;
  padding: clamp(1rem, 2vw, 1.5rem) 0;
}

.ctn-ate-text2-about hr {
  background-color: #550599;
  margin: clamp(0.5rem, 2vw, 1.5rem) auto;
  width: clamp(60%, 70%, 80%);
  height: 4px;
  border: none;
  clip-path: inset(0 0% 0 0%);
}

.ctn-ate-text2-about h2 {
  font-size: clamp(1.3rem, 3.5vw, 1.8rem);
  font-weight: 700;
  text-align: center;
  color: #000;
}

.ctn-ate-text2-about p {
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  line-height: 1.8;
  color: #333;
}

/* MOBILE: Small phones (360px - 480px) */
@media (max-width: 480px) {
  .ctn-ftr-stn6-about {
    padding: 1.5rem 1rem;
    gap: 1.2rem;
    grid-template-columns: 1fr;
  }
  
  .container-img3-about {
    aspect-ratio: 16 / 10;
  }
  
  .ctn-ate-text2-about {
    gap: 1rem;
    padding: 1rem 0;
  }
}

/* MOBILE: Medium phones (481px - 600px) */
@media (min-width: 481px) and (max-width: 600px) {
  .ctn-ftr-stn6-about {
    padding: 1.75rem 1.25rem;
    gap: 1.5rem;
    grid-template-columns: 1fr;
  }
  
  .container-img3-about {
    aspect-ratio: 16 / 10;
  }
  
  .ctn-ate-text2-about {
    gap: 1rem;
  }
}

/* MOBILE: Large phones (601px - 768px) */
@media (min-width: 601px) and (max-width: 768px) {
  .ctn-ftr-stn6-about {
    padding: 2rem 1.5rem;
    gap: 1.8rem;
    grid-template-columns: 1fr 1fr;
  }
  
  .container-img3-about {
    aspect-ratio: 1 / 1;
  }
  
  .ctn-ate-text2-about {
    grid-column: 1 / -1;
  }
}

/* TABLET: 769px - 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
  .ctn-ftr-stn6-about {
    padding: 2.5rem 2rem;
    gap: 2rem;
    grid-template-columns: repeat(2, 1fr);
  }
  
  .container-img3-about {
    aspect-ratio: 1 / 1;
  }
}

/* DESKTOP: 1025px+ */
@media (min-width: 1025px) {
  .ctn-ftr-stn6-about {
    padding: 4rem 4rem;
    gap: 5rem;
  }
}

/* --------------------------------- */

.ctn-ftr-stn7-about {
  position: relative;
  min-height: 80vh;
  background: linear-gradient(rgba(0,0,0,0.60)), url("/img/plenitud7.jpeg") center / cover no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2rem, 5vw, 5%);
  box-sizing: border-box;
  width: 100%;
  overflow-x: hidden;
  gap: 10rem;
  flex-wrap: wrap; /* allow stacking */
}

/* responsive adjustments for meetings/activities section */
@media (max-width: 900px) {
  .ctn-ftr-stn7-about {
    gap: 4rem;
    padding: clamp(1.5rem, 4vw, 4%);
  }
  .ctn-ate-text5-about {
    flex: 1 1 100%;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .ctn-ftr-stn7-about {
    gap: 2.5rem;
    padding: clamp(1rem, 3vw, 3%);
  }
  .ctn-ate-text5-about {
    padding: 0 1rem;
  }
}



.ctn-ate-text5-about {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  text-align: left;
  color: white;
}

.ctn-ate-text5-about hr {
  background-color: #550599;
  margin: clamp(0, 3vw, 1.5rem) 0;
  width: 100%;
  height: 4px;
  border: none;
  clip-path: inset(0 40% 0 40%);
}

.ctn-ate-text5-about h2 {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
}

.ctn-ate-text5-about h4 {
  font-size: 1.2rem;
  font-weight: 700;
  text-align: left;
}

.ctn-ate-text5-about p {
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ------------------------ */
/* ----- About (Fin) -------*/
/* ------------------------ */

















/* ============================= */
/*          SERMONS              */
/* ============================= */

/* ---------- SECCIÓN 1 (3 imágenes) ----------- */
.ctn-ftr-stn-sermons {
  width: 100%;
  background: #fff;
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  justify-content: center;
}

.container-img-sermons {
  max-width: 1100px;
  width: 100%;
  display: flex;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.container-img-sermons img {
  flex: 1;
  height: 320px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform .4s ease, box-shadow .4s ease;
}

.container-img-sermons img:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0,0,0,.15);
}

/* Responsive */
@media (max-width: 900px) {
  .container-img-sermons {
    flex-direction: column;
  }

  .container-img-sermons img {
    height: 240px;
  }
}

/* ---------- TÍTULO CENTRAL ----------- */
.ctn-ftr-stn-title-sermons {
  background: #d6d6d6;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 20vh;
  padding: 2rem;
  text-align: center;
}

.ctn-ftr-stn-title-sermons h1 {
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: #000;
}

/* ---------- BLOQUE TEXTO + IMAGEN ----------- */
.ctn-ftr-stn1-sermons {
  background: #fff;
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  justify-content: center;
}

.ctn-ate-sermons {
  max-width: 1100px;
  width: 100%;
  display: flex;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.ctn-ate-text-sermons {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.ctn-ate-text-sermons h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  color: #000;
}

.ctn-ate-text-sermons p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #333;
}

.ctn-ate-img2-sermons img {
  width: 22rem;
  max-width: 100%;
  border-radius: 6px;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 900px) {
  .ctn-ate-sermons {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------- GRID DE 4 IMÁGENES ----------- */
.ctn-ftr-stn2-sermons {
  background: #fff;
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  justify-content: center;
}

.container-img2-sermons {
  max-width: 1100px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 3vw, 3rem);
}

.container-img2-sermons img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 700px) {
  .container-img2-sermons {
    grid-template-columns: 1fr;
  }

  .container-img2-sermons img {
    height: 240px;
  }
}


























/* ============================= */
/*            FOOTER             */
/* ============================= */

.footer-final {
  min-height: 20vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(1rem, 3vw, 1.5rem);
  background-color: #0a0a0a;
  font-size: clamp(0.85rem, 1.8vw, 0.9rem);
  color: #aaa;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* ============================= */
/*        FOOTER (Fin)           */
/* ============================= */

/* ============================= */
/*          ANIMACIONES          */
/* ============================= */

@keyframes pasoLetras {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

@keyframes deslizarArriba {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes aparecer {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes deslizarDerecha {
  from {
    width: 80%;
  }
  to {
    width: 100%;
  }
}

/* ============================= */
/*       ANIMACIONES(Fin)        */
/* ============================= */