:root {
  --bg: #ece7e3;
  --footer: #8f8f92;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: #2f2f2f;
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.page {
  width: min(100vw, 1900px);
  margin: 0 auto;
  background: var(--bg);
}

.section {
  width: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

.hero {
  aspect-ratio: 5334 / 5647;
  background-image: url('WEB MOM AND BABY_Mesa de trabajo 1 copia 4.png');
}

.hero-agenda-link {
  position: absolute;
  right: 8.9%;
  top: 5.4%;
  width: 15.8%;
  height: 4.3%;
  border-radius: 999px;
}

.services-stage {
  position: absolute;
  left: 8.8%;
  top: 66.8%;
  width: 82.4%;
  height: 27.6%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5.8%;
  justify-items: center;
  align-items: start;
  touch-action: pan-y;
}

.service-card {
  width: 96%;
  height: 94%;
  border-radius: clamp(22px, 2.8vw, 50px);
  border: 3px solid #eed4e1;
  background: #fff7fb;
  padding: clamp(14px, 1.3vw, 22px);
  box-shadow: 0 4px 16px rgba(173, 98, 136, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.service-title {
  margin: 0 0 clamp(6px, 0.7vw, 12px);
  color: #b5658d;
  font-size: clamp(18px, 1.4vw, 30px);
  line-height: 1.15;
  font-weight: 800;
  max-width: 95%;
}

.service-copy {
  margin: 0;
  color: #6f6170;
  font-size: clamp(14px, 0.95vw, 20px);
  line-height: 1.35;
  font-weight: 700;
  margin-inline: auto;
  max-width: 95%;
}

.services-hit {
  position: absolute;
  top: 69%;
  width: 7%;
  height: 16%;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.services-hit-left {
  left: 1%;
}

.services-hit-right {
  right: 1%;
}

.cta {
  aspect-ratio: 5334 / 1540;
  background-image: url('WEB MOM AND BABY-05.png');
}

.cta-link {
  position: absolute;
  right: 18.1%;
  top: 40.1%;
  width: 32%;
  height: 36%;
  border-radius: 999px;
}

.testimonials {
  aspect-ratio: 5334 / 3056;
  background-image: url('WEB MOM AND BABY-06.png');
}

.testimonials-stage {
  position: absolute;
  left: 9.2%;
  top: 27.8%;
  width: 81.6%;
  height: 58%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6.8%;
  justify-items: center;
  align-items: start;
  touch-action: pan-y;
}

.testimonial-card {
  width: 92%;
  height: 86%;
  border-radius: clamp(22px, 2.8vw, 54px);
  background: transparent;
  padding: clamp(14px, 1.2vw, 22px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.testimonial-stars {
  color: #efbb71;
  font-size: clamp(16px, 1.2vw, 26px);
  letter-spacing: 1px;
  line-height: 1;
  margin: 0;
}

.testimonial-name {
  margin: clamp(8px, 0.7vw, 12px) 0 0;
  color: #4f4f4f;
  font-size: clamp(20px, 1.35vw, 29px);
  line-height: 1.15;
  font-weight: 800;
}

.testimonial-divider {
  border: 0;
  border-top: 1px solid #cccccc;
  margin: clamp(8px, 0.7vw, 12px) 0;
  width: 100%;
}

.testimonial-copy {
  margin: 0;
  color: #666666;
  font-size: clamp(14px, 0.96vw, 20px);
  line-height: 1.32;
  font-weight: 700;
  max-width: 96%;
}

.testimonials-hit {
  position: absolute;
  top: 45%;
  width: 8%;
  height: 20%;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.testimonials-hit-left {
  left: 0.5%;
}

.testimonials-hit-right {
  right: 0.5%;
}

.footer {
  min-height: clamp(44px, 4vw, 76px);
  background: var(--footer);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 0.9vw, 14px);
}

.footer-link {
  color: #f2eee6;
  text-decoration: none;
  font-size: clamp(13px, 1vw, 24px);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: clamp(5px, 0.5vw, 12px);
  letter-spacing: 0.1px;
}

.footer-icon {
  width: clamp(13px, 1.05vw, 24px);
  height: clamp(13px, 1.05vw, 24px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-icon svg {
  width: 100%;
  height: 100%;
}

.footer-icon rect,
.footer-icon circle {
  fill: none;
  stroke: #f2eee6;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-agenda-link:focus-visible,
.cta-link:focus-visible,
.services-hit:focus-visible,
.testimonials-hit:focus-visible,
.footer-link:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

@media (max-width: 980px) {
  .page {
    width: 100%;
  }

  .hero-agenda-link {
    right: 5.9%;
    top: 5.6%;
    width: 21.5%;
    height: 4.8%;
  }

  .services-stage {
    left: 8.5%;
    top: 66.4%;
    width: 83%;
    height: 27.8%;
    gap: 4.8%;
  }

  .service-card {
    border-width: 2px;
    border-radius: 14px;
    padding: 8px;
    width: 95%;
    height: 93%;
  }

  .service-title {
    margin-bottom: 4px;
    font-size: clamp(9px, 1.9vw, 14px);
  }

  .service-copy {
    font-size: clamp(7px, 1.5vw, 11px);
    line-height: 1.3;
  }

  .services-hit {
    width: 9%;
    height: 18%;
    top: 69%;
  }

  .cta-link {
    right: 9.3%;
    top: 41.2%;
    width: 40.5%;
    height: 35.5%;
  }

  .testimonials-stage {
    left: 9%;
    top: 27.2%;
    width: 82%;
    height: 60%;
    gap: 5.5%;
  }

  .testimonial-card {
    width: 90%;
    height: 85%;
    border-radius: 14px;
    padding: 7px;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .testimonial-stars {
    font-size: clamp(7px, 1.9vw, 12px);
    letter-spacing: 0.4px;
  }

  .testimonial-name {
    margin-top: 5px;
    font-size: clamp(8px, 2vw, 13px);
  }

  .testimonial-divider {
    margin: 4px 0;
  }

  .testimonial-copy {
    font-size: clamp(6px, 1.55vw, 9px);
    line-height: 1.24;
    max-width: 98%;
  }

  .testimonials-hit {
    width: 10%;
    height: 22%;
    top: 43%;
  }

  .footer-link {
    font-size: clamp(11px, 2.5vw, 15px);
    gap: 6px;
  }
}
