/* ================================
   AMASALUD HERO
================================ */

.ama-salud-hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  isolation: isolate;
}

/* Overlay principal */
.ama-salud-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(47, 74, 61, 0.92) 0%,
      rgba(47, 74, 61, 0.78) 42%,
      rgba(47, 74, 61, 0.34) 100%
    ),
    radial-gradient(
      circle at 20% 80%,
      rgba(217, 138, 58, 0.22),
      transparent 34%
    );
}

/* Contenedor */
.ama-salud-hero .container {
  position: relative;
  z-index: 2;
}

/* Contenido */
.ama-salud-hero__content {
  max-width: 760px;
  padding: 150px 0 120px;
  color: #fffaf3;
}

/* Eyebrow */
.ama-salud-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 22px;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.13);
  border: 1px solid rgba(255, 250, 243, 0.26);
  color: #fffaf3;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

/* Título */
.ama-salud-hero__title {
  max-width: 860px;
  margin: 0 0 24px;
  font-size: clamp(1.7rem, 4vw, 3.8rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  color: #fffaf3;
}

/* Texto */
.ama-salud-hero__text {
  max-width: 690px;
  margin: 0 0 34px;
  color: rgba(255, 250, 243, 0.9);
  font-size: clamp(1.02rem, 1.35vw, 1.25rem);
  line-height: 1.72;
}

/* Acciones */
.ama-salud-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Botones base */
.ama-salud-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

/* Botón principal */
.ama-salud-btn--primary {
  background: #d98a3a;
  color: #fffaf3;
  box-shadow: 0 14px 34px rgba(217, 138, 58, 0.28);
}

.ama-salud-btn--primary:hover {
  transform: translateY(-2px);
  background: #c9792f;
  color: #fffaf3;
  box-shadow: 0 18px 42px rgba(217, 138, 58, 0.36);
}

/* Botón secundario */
.ama-salud-btn--secondary {
  background: rgba(255, 250, 243, 0.08);
  color: #fffaf3;
  border: 1px solid rgba(255, 250, 243, 0.42);
  backdrop-filter: blur(8px);
}

.ama-salud-btn--secondary:hover {
  transform: translateY(-2px);
  background: #fffaf3;
  color: #2f4a3d;
  border-color: #fffaf3;
}

/* Detalle decorativo inferior */
.ama-salud-hero::after {
  content: "";
  position: absolute;
  left: -8%;
  bottom: -20%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(217, 138, 58, 0.18);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 900px) {
  .ama-salud-hero {
    min-height: auto;
    background-position: center;
  }

  .ama-salud-hero__overlay {
    background:
      linear-gradient(
        180deg,
        rgba(47, 74, 61, 0.92) 0%,
        rgba(47, 74, 61, 0.82) 58%,
        rgba(47, 74, 61, 0.64) 100%
      );
  }

  .ama-salud-hero__content {
    max-width: 100%;
    padding: 120px 0 90px;
  }

  .ama-salud-hero__title {
    font-size: clamp(2.7rem, 12vw, 4.2rem);
    letter-spacing: -0.055em;
  }

  .ama-salud-hero__text {
    font-size: 1rem;
    line-height: 1.65;
  }
}

@media (max-width: 560px) {
  .ama-salud-hero__content {
    padding: 105px 0 74px;
  }

  .ama-salud-hero__eyebrow {
    font-size: 0.68rem;
    padding: 7px 13px;
  }

  .ama-salud-hero__title {
    font-size: clamp(2.45rem, 14vw, 3.55rem);
    line-height: 0.98;
  }

  .ama-salud-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ama-salud-btn {
    width: 100%;
  }
}



/* ================================
   INTRO / MANIFIESTO
================================ */

.ama-salud-intro {
  position: relative;
  background: #F4F1EA;
  overflow: hidden;
}

.ama-salud-intro__wrap {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

/* TÍTULO */
.ama-salud-intro__title {
  margin: 0 0 28px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
  color: #2F4A3D;
  letter-spacing: -0.02em;
}

/* TEXTO */
.ama-salud-intro__text p {
  margin: 0 0 18px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #5c6f65;
}

/* DESTACADO (segunda frase) */
.ama-salud-intro__highlight {
  margin-top: 24px;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #2F4A3D;
  font-weight: 500;
}

/* DETALLE SUTIL */
.ama-salud-intro__highlight::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 22px auto 0;
  background: #D98A3A;
  border-radius: 3px;
  opacity: 0.7;
}
/* CÍRCULO IZQUIERDO */
.ama-salud-intro::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -120px;
  width: 300px;
  height: 300px;
  background: rgba(217, 138, 58, 0.12); /* acento AMA */
  border-radius: 50%;
  z-index: 0;
}

/* CÍRCULO DERECHO */
.ama-salud-intro::after {
  content: "";
  position: absolute;
  bottom: -140px;
  right: -140px;
  width: 340px;
  height: 340px;
  background: rgba(47, 74, 61, 0.08); /* verde suave */
  border-radius: 50%;
  z-index: 0;
}

/* ASEGURA QUE EL CONTENIDO QUEDE ENCIMA */
.ama-salud-intro .container {
  position: relative;
  z-index: 2;
}

/* ================================
   ESPACIADO GENERAL
================================ */

.section-space {
  padding: 40px 0;
}

@media (max-width: 768px) {
  .section-space {
    padding: 70px 0;
  }
}

@media (max-width: 768px) {
  .ama-salud-intro::before,
  .ama-salud-intro::after {
    width: 180px;
    height: 180px;
    opacity: 0.6;
  }
}




/* ================================
   REFUGIO DE PUERTAS ABIERTAS
================================ */

.ama-salud-refugio {
  position: relative;
  background: #fffaf3;
  overflow: hidden;
}

.ama-salud-refugio__header {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.ama-salud-refugio__eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(217, 138, 58, 0.1);
  border: 1px solid rgba(217, 138, 58, 0.22);
  color: #9a5b20;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ama-salud-refugio__title {
  margin: 0;
  color: #2f4a3d;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.ama-salud-refugio__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ama-salud-refugio-card {
  position: relative;
  min-height: 280px;
  padding: 32px 28px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 241, 234, 0.82));
  border: 1px solid rgba(47, 74, 61, 0.1);
  box-shadow: 0 22px 60px rgba(47, 74, 61, 0.08);
  overflow: hidden;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.ama-salud-refugio-card::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(217, 138, 58, 0.1);
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.ama-salud-refugio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 138, 58, 0.28);
  box-shadow: 0 28px 70px rgba(47, 74, 61, 0.12);
}

.ama-salud-refugio-card:hover::before {
  transform: scale(1.12);
  opacity: 0.9;
}

.ama-salud-refugio-card__icon {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(47, 74, 61, 0.08);
  font-size: 1.35rem;
}

.ama-salud-refugio-card__title {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  color: #2f4a3d;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.ama-salud-refugio-card__text {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #617167;
  font-size: 1rem;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 900px) {
  .ama-salud-refugio__grid {
    grid-template-columns: 1fr;
  }

  .ama-salud-refugio-card {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .ama-salud-refugio__header {
    margin-bottom: 34px;
  }

  .ama-salud-refugio-card {
    padding: 28px 24px;
    border-radius: 24px;
  }
}



/* ================================
   EVALUACIONES ESPECIALIZADAS
================================ */

.ama-salud-eval {
  position: relative;
  background: #f4f1ea;
  overflow: hidden;
}

.ama-salud-eval__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 58px;
  align-items: center;
}

.ama-salud-eval__media {
  position: relative;
  min-height: 620px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(47, 74, 61, 0.14);
}

.ama-salud-eval__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(47, 74, 61, 0.04),
      rgba(47, 74, 61, 0.24)
    );
}

.ama-salud-eval__media img {
  width: 100%;
  height: 100%;
  min-height: 700px;
  object-fit: cover;
  display: block;
}

.ama-salud-eval__content {
  position: relative;
  z-index: 2;
}

.ama-salud-eval__eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(217, 138, 58, 0.1);
  border: 1px solid rgba(217, 138, 58, 0.22);
  color: #9a5b20;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ama-salud-eval__title {
  margin: 0 0 22px;
  color: #2f4a3d;
  font-size: clamp(1.3rem, 2.3vw, 1.8rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.ama-salud-eval__text {
  max-width: 720px;
  margin: 0 0 34px;
  color: #5f6f65;
  font-size: 1.05rem;
  line-height: 1.75;
}

.ama-salud-eval__items {
  display: grid;
  gap: 16px;
}

.ama-salud-eval-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 250, 243, 0.78);
  border: 1px solid rgba(47, 74, 61, 0.1);
  box-shadow: 0 16px 44px rgba(47, 74, 61, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ama-salud-eval-item:hover {
  transform: translateX(4px);
  box-shadow: 0 20px 54px rgba(47, 74, 61, 0.1);
}

.ama-salud-eval-item__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(47, 74, 61, 0.08);
  font-size: 1.35rem;
}

.ama-salud-eval-item__title {
  margin: 0 0 6px;
  color: #2f4a3d;
  font-size: 1.08rem;
  line-height: 1.25;
}

.ama-salud-eval-item__text {
  margin: 0;
  color: #617167;
  font-size: 0.98rem;
  line-height: 1.65;
}

/* Responsive */
@media (max-width: 980px) {
  .ama-salud-eval__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ama-salud-eval__media,
  .ama-salud-eval__media img {
    min-height: 420px;
  }
}

@media (max-width: 560px) {
  .ama-salud-eval-item {
    grid-template-columns: 1fr;
  }

  .ama-salud-eval__media,
  .ama-salud-eval__media img {
    min-height: 340px;
    border-radius: 26px;
  }
}




/* ================================
   ÁREAS DE ACOMPAÑAMIENTO
================================ */

.ama-salud-areas {
  position: relative;
  background: #fffaf3;
  overflow: hidden;
}

.ama-salud-areas::before {
  content: "";
  position: absolute;
  top: -130px;
  right: -120px;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: rgba(47, 74, 61, 0.07);
  pointer-events: none;
}

.ama-salud-areas__header {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto 52px;
  text-align: center;
}

.ama-salud-areas__eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(217, 138, 58, 0.1);
  border: 1px solid rgba(217, 138, 58, 0.22);
  color: #9a5b20;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ama-salud-areas__title {
  margin: 0 0 20px;
  color: #2f4a3d;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.ama-salud-areas__intro {
  max-width: 680px;
  margin: 0 auto;
  color: #5f6f65;
  font-size: 1.05rem;
  line-height: 1.75;
}

.ama-salud-areas__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ama-salud-area-card {
  position: relative;
  min-height: 260px;
  padding: 30px 26px;
  border-radius: 28px;
  background: #f4f1ea;
  border: 1px solid rgba(47, 74, 61, 0.1);
  box-shadow: 0 18px 50px rgba(47, 74, 61, 0.06);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease;
}

.ama-salud-area-card:hover {
  transform: translateY(-6px);
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(47, 74, 61, 0.12);
}

.ama-salud-area-card__icon {
  width: 268px;
  height: 268px;
  margin: 22px auto; /* 👈 esto la centra horizontalmente */
  border-radius: 50%;
  overflow: hidden;
  background: rgba(47, 74, 61, 0.08);
  border: 2px solid rgba(255, 250, 243, 0.9);
  box-shadow: 0 12px 28px rgba(47, 74, 61, 0.12);
}

.ama-salud-area-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.ama-salud-area-card:hover .ama-salud-area-card__icon img {
  transform: scale(1.08);
}

.ama-salud-area-card__title {
  margin: 0 0 12px;
  color: #2f4a3d;
  font-size: 1.25rem;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.ama-salud-area-card__text {
  margin: 0;
  color: #617167;
  font-size: 0.98rem;
  line-height: 1.68;
}

/* Responsive */
@media (max-width: 980px) {
  .ama-salud-areas__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ama-salud-areas__grid {
    grid-template-columns: 1fr;
  }

  .ama-salud-area-card {
    min-height: auto;
    padding: 28px 24px;
    border-radius: 24px;
  }

  .ama-salud-area-card__icon {
    width: 64px;
    height: 64px;
  }
}



/* ================================
   CONFIANZA / POR QUÉ AMA
================================ */

.ama-salud-confianza {
  background: #2F4A3D; /* verde profundo */
  color: #fffaf3;
  position: relative;
  overflow: hidden;
}

/* layout 2 columnas */
.ama-salud-confianza__wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

/* izquierda */
.ama-salud-confianza__eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.12);
  border: 1px solid rgba(255, 250, 243, 0.25);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ama-salud-confianza__title {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

/* derecha */
.ama-salud-confianza__right {
  display: grid;
  gap: 28px;
}

/* items */
.ama-salud-confianza-item {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 250, 243, 0.18);
}

.ama-salud-confianza-item:last-child {
  border-bottom: none;
}

.ama-salud-confianza-item__title {
  margin: 0 0 8px;
  font-size: 1.3rem;
  color: #fffaf3;
}

.ama-salud-confianza-item__text {
  margin: 0;
  color: rgba(255, 250, 243, 0.8);
  line-height: 1.7;
}

/* detalle decorativo */
.ama-salud-confianza::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 320px;
  height: 320px;
  background: rgba(217, 138, 58, 0.15);
  border-radius: 50%;
}

/* responsive */
@media (max-width: 900px) {
  .ama-salud-confianza__wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ama-salud-confianza__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}


/* ================================
   CTA FINAL
================================ */

/* CTA FINAL más separado del bloque confianza */
.ama-salud-cta {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  overflow: hidden;
  isolation: isolate;
  padding: 20px 0;
  margin:auto;
}
.ama-salud-cta .container {
  display: flex;
  justify-content: center; /* 👈 centra horizontal */
}
/* overlay más cálido, menos verde sólido */
.ama-salud-cta__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(244, 241, 234, 0.96) 0%,
      rgba(244, 241, 234, 0.88) 45%,
      rgba(244, 241, 234, 0.35) 100%
    );
}

/* contenido como tarjeta */
.ama-salud-cta__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 48px;
  border-radius: 34px;
  background: rgba(47, 74, 61, 0.92);
  color: #fffaf3;
  box-shadow: 0 28px 80px rgba(47, 74, 61, 0.18);
  margin: 0 auto; /* refuerzo */
  text-align: center; 
}

.ama-salud-cta__title {
  margin: 0 0 24px;
  color: #fffaf3;
  font-size: clamp(1.3rem, 3.5vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.ama-salud-cta__text {

  margin: 0 0 34px;
  color: rgba(255, 250, 243, 0.88);
  font-size: 1.08rem;
  line-height: 1.72;
}