body {
  font-family: 'Inter', 'Poppins', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

/* ===== NAVBAR ===== */

.navbar {
  position: fixed;
  top: 0;                    /* pegada arriba */
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 4rem);  /* márgenes laterales */
  max-width: 1200px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 1rem 2.5rem;
  background-color: #539671; /* verde menta elegante */

  border-radius: 0 0 24px 24px; /* esquinas inferiores redondeadas */
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);

  font-family: 'Poppins', 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  z-index: 1000;
}

/* Espacio para que no se encime el contenido */
body {
  padding-top: 100px;
}

/* Logo */
.nav-left .logo {
  height: 100px;
  width: auto;
}

/* Centro */
.nav-center {
  display: flex;
  gap: 3rem;
}

.nav-center a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
}

/* Subrayado elegante */
.nav-center a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-color: #ffffff;
  transition: width 0.3s ease;
}

.nav-center a:hover::after {
  width: 100%;
}

/* CTA */
.btn-cta {
  background-color: #ffffff;
  color: #539671;
  padding: 0.75rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.btn-cta:hover {
  background-color: #e6f4f0;
  transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar {
    width: calc(100% - 2rem);
    padding: 1rem 1.5rem;
  }

  .nav-center {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 0.75rem;
    gap: 2rem;
  }

  body {
    padding-top: 140px;
  }
}


/* ===== HERO ===== */

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  margin-top: -3rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

/* Texto */
.hero-text h1 {
  font-family: 'Poppins', 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: #2f2f2f;
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 2.5rem;
  color: #4a4a4a;
}

/* CTA del hero */
.hero-text .btn-cta {
  font-size: 1rem;
  padding: 0.9rem 2.2rem;
}

.hero-text .btn-cta {
  background-color: #6fb8a6; /* verde menta */
  color: #ffffff;
}

.hero-text .btn-cta:hover {
  background-color: #4f9d8a; /* verde un poco más oscuro */
}
/* Imagen */
.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  object-fit: cover;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 4rem;
  }

  .hero-text {
    text-align: center;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 3.5rem 1.5rem 3rem;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }
}

/* ===== QUIÉNES SOMOS ===== */

.about {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Imagen */
.about-image img {
  width: 100%;
  height: auto;
  border-radius: 28px;
  object-fit: cover;
}

/* Texto */
.about-text h2 {
  font-family: 'Poppins', 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #2f2f2f;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4a4a4a;
  margin-bottom: 1rem;
  max-width: 520px;
}

/* Subtítulo misión */
.about-text h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #4f9d8a; /* verde más profundo */
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 2rem;
  }

  .about-text {
    text-align: center;
  }

  .about-text p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .about {
    padding: 3.5rem 1.5rem;
  }

  .about-text h2 {
    font-size: 2rem;
  }
}

/* ===== REDES SOCIALES ===== */

.social {
  max-width: 1200px;
  margin-top: -10rem;
  margin: 0 auto;
  padding: 3.5rem 2rem;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
}

.social-btn {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background-color: #f2f8f6;

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  transition: all 0.3s ease;
}

/* Iconos */
.social-btn i {
  font-size: 38px;
  color: #4f9d8a;
}

/* Hover */
.social-btn:hover {
  background-color: #6fb8a6;
  transform: translateY(-6px);
}

.social-btn:hover i {
  color: #ffffff;
}

/* Responsive */
@media (max-width: 480px) {
  .social-btn {
    width: 72px;
    height: 72px;
  }

  .social-btn i {
    font-size: 32px;
  }
}

/* ===== SERVICIOS ===== */

.services {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
  text-align: center;
}

.services h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #1f3d36;
  margin-bottom: 3rem;
}

/* Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

/* Card */
.service-card {
  background-color: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  text-align: left;

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

/* Imagen */
.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* Contenido */
.service-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2f6f61;
  margin: 1.6rem 1.6rem 0.6rem;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #4a4a4a;
  margin: 0 1.6rem 2rem;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services {
    padding: 4rem 1.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card img {
    height: 200px;
  }
}

/* ===== RECURSOS PARA FAMILIAS ===== */

.resources {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
  text-align: center;
}

.resources h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #1f3d36;
  margin-bottom: 1.2rem;
  font-family: inherit;
}

.resources-desc {
  max-width: 720px;
  margin: 0 auto 3.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4a4a4a;
  font-family: inherit;
}

/* Grid */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}

/* Card */
.resource-card {
  background-color: #539671;
  border-radius: 22px;
  padding: 2.2rem 2rem;
  text-align: left;

  box-shadow: 0 18px 36px rgba(0, 0, 0, 0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 52px rgba(0, 0, 0, 0.1);
}

/* Título del mito */
.resource-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.8rem;
  font-family: inherit;
}

/* Texto */
.resource-card p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #ffffff;
  font-family: inherit;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {
  .resources-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .resources {
    padding: 4rem 1.5rem;
  }

  .resources-grid {
    grid-template-columns: 1fr;
  }

  .resource-card {
    padding: 2rem 1.6rem;
  }
}

/* ===== FOOTER ===== */

.footer {
  background-color: #539671;
  color: #ffffff;

  width: 100%;
  padding: 4.5rem 2rem 3rem;

  border-top-left-radius: 32px;
  border-top-right-radius: 32px;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;

  max-width: 1200px;
  margin: 0 auto;
}
.footer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Columnas */
.footer-col h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  font-family: inherit;
}

.footer-col p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #d9e9e4;
  margin-bottom: 1.2rem;
  font-family: inherit;
}

/* Mapa */
.footer-col iframe {
  width: 100%;
  height: 220px;
  border: none;
  border-radius: 18px;
}

/* Redes */
.footer-social {
  display: flex;
  gap: 1.4rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: #2f6f61;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: #6fb8a6;
  transform: translateY(-4px);
}

/* Iconos (si usas img) */
.footer-social img {
  width: 26px;
  height: 26px;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 800px) {
  .footer {
    grid-template-columns: 1fr;
  }

  .footer-col iframe {
    height: 200px;
  }
}
