/* ============================
   PAGE — principal.css
============================ */
/* Ajuste del HERO */
.hero-inner {
  max-width: 760px;
  padding: 40px 40px 50px 40px;
  border-radius: 20px;
  background: rgba(255,255,255,0.20);
  backdrop-filter: blur(12px);
}

/* Logo full más pequeño */
.hero-logo-full {
  max-width: 500px;   /* antes 300px, ahora tamaño perfecto */
  margin: 0 ; /* más pegado al texto */
  display: block;
}

/* Contenido del hero */
.hero-content {
  margin-top: 0px;  /* antes demasiado espaciamiento */
}

.hero h1 {
  font-size: 25px;
  margin: 0;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 3px 10px rgba(0,0,0,0.35);
  text-align: center;
}

/* Texto “Centro de salud…” */
.lead {
  font-size: 22px;
  margin: 12px 0 24px 0;      /* reducido y más elegante */
  color: #ffffff;
  opacity: 0.94;
  text-shadow: 0 2px 6px rgba(0,0,0,0.45); /* MÁS VISIBILIDAD */
}

/* Botones más cerca del texto */
.hero-buttons {
  margin-top: 0;
}

.container p {
	  color: rgb(42, 42, 42);
	  font-size: 20px;
}
.container h2 {
	  color: rgb(36, 35, 35);
	  margin-bottom: 14px;
}	






.hero {
  height: 640px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 640px;
  background: linear-gradient(180deg,
      rgba(0,0,0,0.50) 0%,
      rgba(0,0,0,0.20) 60%
  );
  z-index: 0;
}



/* WHO section */
.who {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #86cbab 100%);
}

/* Cards (services) */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.card {
  background: #fff;
  padding: 18px;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.16);
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
}

.card h3 {
  margin: 16px 0 8px 0;
  color: var(--green-dark);
}

.card p {
  color: #333;
}

/* Reviews */
.reviews-embed iframe {
  width: 100%;
  height: 360px;
  border-radius: 14px;
  border: 0;
}

/* Map */
.map-embed iframe {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  border: 0;
}

/* OPINIONES SECTION */
.reviews {
  padding: 80px 0;
  background: linear-gradient(180deg, #ffffff 0%, #86cbab 100%);
}


/* =======================================
   RESPONSIVE PARA MÓVIL (pantallas < 700px)
   NO AFECTA ESCRITORIO
======================================= */
@media (max-width: 700px) {

  /* HERO */
  .hero {
    height: auto;
    padding: 40px 0;
  }

  .hero-inner {
    padding: 20px;
    width: 92%;
  }

  .hero-logo-full {
    max-width: 160px;
  }

  .hero h1 {
    font-size: 32px;
    text-align: center;
  }

  .lead {
    font-size: 16px;
    text-align: center;
  }

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

  /* QUIÉNES SOMOS */
  .who {
    padding: 50px 0;
    text-align: center;
  }

  .who p {
    font-size: 15px;
    padding: 0 10px;
  }

  /* TARJETAS DE SERVICIOS */
  .cards {
    grid-template-columns: 1fr;
    gap: 16px;
    justify-items: center;
  }

  .card {
    max-width: 320px;
  }

  /* MAPA */
  .map {
    padding: 40px 0;
    background: #f8f8f8;
  }

  .map .container {
    padding: 0 20px;
  }

  .map-embed iframe {
    width: 100%;
    height: 250px;
    border-radius: 12px;
  }
}
