/*
========================================================================================================================
AUMENTO DE PECHO
========================================================================================================================
Estilos definidos para la landing page de aumento de pecho                                                            */

/* -------------- SECTION HERO -------------------------------------------------------------------------------------- */
#logo-dark {
  max-width: 20rem;
}

#aumento-de-pecho {
  background-image: url("/ka/apps/drsarria/assets/img/aumento/background-hero.png");
  background-attachment: fixed;
  background-position: 50% 25%;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: #d9d4d0;
}

.hero-content-aumento {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: center;
  height: 100%;
  padding: 0 var(--100px);
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: var(--20px);
}

.hero-text h1 {
  font-size: var(--55px);
  line-height: 1em;
  color: var(--dark-green);
}

.hero-text p {
  color: var(--dark-green);
  font-size: var(--24px);
  line-height: 1.25;
}

small {
  display: block;
  color: var(--dark-green);
  font-family: "neue-haas-grotesk", sans-serif;
  font-size: var(--14px);
}
/* -------------- SARRIA-FORMACION ---------------------------------------------------------------------------------- */
#sarria-formacion {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--30px);
  padding-top: var(--10px);
}
#sarria-formacion .three-columns {
  max-width: 65%;
  display: flex;
  gap: var(--30px);
}
#sarria-formacion .three-columns div {
  display: grid;
  justify-items: center;
  grid-template-rows: auto 1fr;
  width: 33.333333333333%;
  padding: var(--20px);
  border-radius: var(--40px);
  text-align: center;
}
#sarria-formacion .three-columns div p {
  align-self: flex-end;
  font-size: var(--18px);
  line-height: 1.2;
}
#sarria-formacion .three-columns div:first-child {
  background-color: var(--new-black);
  color: #fff;
  padding-top: var(--40px);
}
#sarria-formacion .three-columns div:nth-child(2) {
  background-color: var(--light-green);
  color: #fff;
}
#sarria-formacion .three-columns div:last-child {
  background-color: var(--light-green2);
}
/* -------------- REVIEWS ------------------------------------------------------------------------------------------- */
#reviews {
  margin-bottom: 0;
}

#reviews .wrapper-reviews {
  display: flex;
  flex-direction: column;
  padding: 0 var(--100px);
}
#reviews .title-reviews {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  color: var(--light-green2);
}
#reviews .title-reviews h3,
#reviews .title-reviews p {
  margin-bottom: 0;
  line-height: 1;
}

#reviews .title-reviews p {
  font-size: var(--25px);
}

#reviews .reviews-google {
  padding-top: var(--50px);
}

#reviews .reviews-google #slide-box {
  width: 100%;
}
#reviews .reviews-google #slide-box > div {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  justify-items: center;
  text-align: center;
  background-color: #fff;
  border-radius: var(--24px);
  padding: var(--30px);
  width: 100%;
  position: relative;
}

/* SVG decorativo en esquina superior derecha */
#reviews .reviews-google #slide-box > div::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background-image: url("/ka/apps/drsarria/assets/img/aumento/icon-google.svg");
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 1;
}

#reviews .reviews-google #slide-box > div img.img-review {
  width: var(--50px);
  height: var(--50px);
}
#reviews .reviews-google #slide-box > div img.img-stars {
  padding-top: var(--20px);
  width: 40%;
  height: auto;
}

#reviews .reviews-google #slide-box > div .name-review {
  font-weight: 700;
  font-size: var(--16px);
}
#reviews .reviews-google #slide-box > div .description-review {
  font-size: var(--14px);
  margin: 0;
}

#reviews .count-stars {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--20px);
}

#reviews .count-stars p {
  color: #fff;
}

.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.carousel-viewport {
  overflow: hidden;
  width: 100%;
  min-width: 0;
}
.carousel-track {
  display: flex;
  gap: var(--gap, 16px);
  transition: transform 400ms ease;
  will-change: transform;
  min-width: 0;
}
.carousel-item {
  flex: 0 0 auto;
  box-sizing: border-box;
  min-width: 0;
  overflow: hidden;
}
.carousel-item img {
  max-width: 100%;
  height: auto;
  display: block;
}
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.carousel-prev {
  left: 8px;
}
.carousel-next {
  right: 8px;
}

/* -------------- CONÓCEME ------------------------------------------------------------------------------------------ */
#conoceme-antes {
  display: flex;
  flex-direction: column;
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
#conoceme-antes .wrapper-conoceme {
  padding: 0 var(--100px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: -80px;
}

#conoceme-antes .conoceme-text {
  align-content: center;
}
#conoceme-antes .conoceme-text p:first-child {
  font-size: var(--26px);
  line-height: 1.25;
}
#conoceme-antes .conoceme-text p:last-child {
  font-size: var(--17px);
  line-height: 1.25;
  color: var(--dark-green);
}

/* -------------- VIDEOS -------------------------------------------------------------------------------------------- */
#videos {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0;
}
#videos .wrapper-videos {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 var(--100px);
  margin-top: -150px;
}

#videos .wrapper-videos iframe {
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.55);
  border-radius: 12px;
  width: 75%;
  height: 500px;
}

#videos .wrapper-videos h2 {
  padding: var(--80px) 0 0 0;
  margin-bottom: 0;
}
#videos .wrapper-videos p {
  padding: var(--18px) var(--60px);
  border-radius: var(--40px);
  color: #fff;
  background-color: var(--light-green);
  margin: var(--50px) 0;
}

#videos .wrapper-videos .new-btn {
  margin-top: var(--50px);
  font-size: var(--20px);
}

@media (min-width: 1921px) {
  #videos .wrapper-videos iframe {
    height: 700px;
  }
}

/* -------------- SEGURIDAD-BIENESTAR ------------------------------------------------------------------------------- */
#seguridad-bienestar {
  background-image: url("/ka/apps/drsarria/assets/img/aumento/background-seguridad.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: 0;
  margin-bottom: 0;
}
#seguridad-bienestar h2 {
  color: #fff;
  margin-top: 0;
  padding: 10rem 0;
}
/* -------------- ICONOS-DESCUBRE ----------------------------------------------------------------------------------- */
#iconos-descubre {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--60px);
  padding-top: 0;
  margin-top: -40px;
}

#iconos-descubre > div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80%;
  padding: var(--30px) var(--100px);
  border-radius: var(--28px);
}

#iconos-descubre > .grid-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--30px);
  justify-items: center;
  background-color: var(--light-green);
  color: #fff;
}

#iconos-descubre > .grid-icons > div {
  display: grid;
  grid-template-rows: 80px 80px;
  text-align: center;
  justify-items: center;
  align-items: start;
  gap: var(--12px);
}

#iconos-descubre > .grid-icons > div img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

#iconos-descubre > .grid-icons > div p {
  font-size: var(--16px);
  margin: 0;
}

#iconos-descubre > .cta-descubre {
  display: flex;
  flex-direction: column;
  background-color: var(--light-green2);
}
#iconos-descubre > .cta-descubre a {
  font-size: var(--16px);
}

/* -------------- FORM ---------------------------------------------------------------------------------------------- */
#section-form {
  background-image: url("/ka/apps/drsarria/assets/img/aumento/background-form.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
}
#section-form .wrapper-form {
  padding: 0 var(--100px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

#section-form .form-content {
  align-content: center;
  color: #fff;
}

#section-form .form-content h2 {
  color: #fff;
  margin-bottom: var(--5px);
}

#section-form .form-content p {
  font-size: var(--22px);
  line-height: 1.25;
}

#section-form #contact-form {
  background-color: transparent;
  padding: 0;
  width: 80%;
}

#section-form #contact-form .form-group {
  padding-bottom: var(--5px);
}

#section-form #contact-form .form-group a,
#section-form #contact-form .form-group span.privacy {
  color: #fff;
  font-size: var(--14px);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  font-family: "neue-haas-grotesk", sans-serif;
  width: 100%;
  padding: var(--10px) var(--25px);
  border: 1px solid transparent;
  border-radius: 1em;
  background-color: #7b7065;
  color: #fff;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
textarea::placeholder {
  color: #fff;
}

button[type="submit"] {
  background-color: #fff;
  color: #102928;
  display: inline-block;
  width: auto;
  border-radius: 0.75rem;
  margin-top: var(--10px);
  padding: 0.6em 1.2em;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

button[type="submit"]:hover {
  animation: bgFade 1s forwards;
  color: #fff;
}

@keyframes bgFade {
  0% {
    background-color: #fff;
  }
  100% {
    background-color: #102928;
  }
}

textarea {
  min-height: 80px;
  resize: none;
}

/* -------------- FOOTER -------------------------------------------------------------------------------------------- */
footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url("/ka/apps/drsarria/assets/img/aumento/background-footer-aumento.png");
  background-position: 85% 53%;
  background-repeat: no-repeat;
  background-size: 200px;
}

footer .contact-btns {
  padding: var(--50px) 0 var(--30px) 0;
  display: flex;
  gap: var(--20px);
}
footer .contact-btns a {
  display: flex;
  align-items: center;
  gap: var(--10px);
  padding: var(--10px) var(--25px);
  border-radius: var(--14px);
  font-size: var(--16px);
  text-decoration: none;
  transition: all 0.3s ease;
}

footer .contact-btns a#whatsapp-button {
  background-color: var(--light-green);
  color: #fff;
}

footer .contact-btns a#whatsapp-button:hover {
  background-color: var(--light-green2);
  color: #102928;
  transform: scale(0.95);
}

footer .contact-btns a#clic-phone {
  background-color: var(--light-green2);
  color: #102928;
}

footer .contact-btns a#clic-phone:hover {
  background-color: var(--light-green);
  color: #fff;
  transform: scale(0.95);
}

footer .contact-btns a img {
  width: var(--40px);
  height: auto;
}

footer small {
  padding: var(--80px) 0 var(--20px) 0;
  font-size: var(--16px);
}
/* -------------- COMMON -------------------------------------------------------------------------------------------- */
body {
  padding: 0;
}

section {
  margin: min(var(--27px), 4%);
  border-radius: var(--40px);
}

.whatsapp-fixed {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  border-radius: 14px;
  text-decoration: none;
  z-index: 9999;
  transition: all 0.3s ease;
}

.whatsapp-fixed:hover {
  transform: scale(0.9);
}

.whatsapp-fixed img {
  width: var(--70px);
  height: auto;
}

@media (min-width: 1921px) {
  section {
    margin-left: 15em;
    margin-right: 15em;
  }
}

.bg-new-black {
  background-color: var(--new-black);
}

.bg-light-green2 {
  background-color: var(--light-green2);
}
.new-btn {
  font-size: var(--24px);
  align-self: flex-start;
  color: var(--dark-green);
  border: 2px solid var(--dark-green);
  padding: var(--10px) var(--24px);
  border-radius: var(--20px);
}

/* Clase reutilizable para animación de relleno */
.btn-fill-anim {
  position: relative;
  overflow: hidden;
  z-index: 0;
  transition: color 0.3s ease;
}

h2 {
  font-size: var(--52px);
  line-height: var(--52px);
  color: var(--dark-green);
}

.btn-fill-anim::before {
  content: "";
  position: absolute;
  top: 0;
  left: -2px;
  right: -2px;
  bottom: 0;
  background-color: var(--light-green);
  z-index: -1;
  width: auto;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  border-radius: inherit;
}

.btn-fill-anim:hover {
  color: #fff;
}

.btn-fill-anim:hover::before {
  transform: scaleX(1);
}

@media (max-width: 768px) {
  .btn-center {
    display: flex;
    justify-content: center;
  }
}

/* -------------- RESPONSIVE PANTALLAS PEQUEÑAS --------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* ------------ COMMON -------------- */
  section {
    padding: 1.5em;
  }
  .new-btn {
    font-size: var(--16px);
    padding: var(--8px) var(--20px);
    border-radius: var(--16px);
  }
  h2 {
    font-size: var(--36px);
    line-height: var(--38px);
    margin-bottom: var(--10px);
  }
  /* ------------ HERO -------------- */
  #aumento-de-pecho {
    background-image: url("/ka/apps/drsarria/assets/img/aumento/background-hero-xs.png");
    background-attachment: unset;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  #logo-dark {
    max-width: 14rem;
    padding-bottom: var(--30px);
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: start;
  }

  .hero-content-aumento {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    align-items: start;
    height: 100%;
    padding: 0;
  }

  .hero-text {
    gap: var(--10px);
  }

  .hero-text h1 {
    font-size: var(--34px);
    line-height: var(--36px);
  }

  .hero-text p {
    font-size: var(--20px);
  }

  /* ------------ FORMACIÓN -------------- */
  #sarria-formacion {
    align-items: center;
    gap: var(--30px);
    padding-top: var(--10px);
  }
  #sarria-formacion .three-columns {
    max-width: 100%;
    flex-direction: column;
    align-items: center;
    gap: var(--20px);
  }
  #sarria-formacion .three-columns div {
    display: grid;
    justify-items: center;
    grid-template-rows: auto 1fr;
    gap: var(--10px);
    width: 80%;
    padding: var(--20px);
    border-radius: var(--40px);
    text-align: center;
  }
  #sarria-formacion .three-columns div p {
    font-size: var(--14px);
    line-height: 1.2;
  }

  /* ------------ REVIEWS -------------- */
  #reviews .wrapper-reviews {
    padding: 0;
  }

  #reviews .title-reviews {
    flex-direction: column;
    align-items: start;
    justify-content: start;
  }

  #reviews .title-reviews p {
    font-size: var(--20px);
  }

  #slide-box {
    flex-direction: unset;
  }

  #reviews .count-stars {
    gap: var(--24px);
    padding-top: var(--12px);
  }
  #reviews .count-stars img {
    max-width: 90px;
  }

  #reviews .count-stars p {
    font-size: var(--12px);
  }

  /* ------------ CONÓCEME -------------- */
  #conoceme-antes .wrapper-conoceme {
    padding: 0;
    grid-template-columns: 1fr;
    margin-top: 0px;
  }

  #conoceme-antes .wrapper-conoceme > *:first-child {
    order: 2;
  }

  #conoceme-antes .wrapper-conoceme > *:last-child {
    order: 1;
  }

  #conoceme-antes .conoceme-text p:first-child {
    font-size: var(--20px);
    line-height: 1.25;
  }

  #conoceme-antes .conoceme-text p:last-child {
    padding-bottom: var(--50px);
  }

  /* ------------ VÍDEOS -------------- */
  #videos .wrapper-videos {
    padding: 0;
    margin-top: -70px;
  }

  #videos .wrapper-videos iframe {
    width: 100%;
    height: 200px;
  }

  #videos .wrapper-videos h2 {
    padding: var(--40px) 0 0 0;
    margin-bottom: 0;
    font-size: var(--28px);
    line-height: 1.1;
  }

  #videos .wrapper-videos p {
    padding: var(--18px) var(--20px);
    border-radius: var(--25px);
    margin: var(--30px) 0;
  }

  /* ------------ SEGURIDAD -------------- */
  #seguridad-bienestar {
    background-image: url(/ka/apps/drsarria/assets/img/aumento/background-seguridad.png);
    margin-top: var(--40px);
    margin-bottom: 0;
  }

  /* ------------ ICONOS -------------- */
  #iconos-descubre {
    gap: var(--30px);
    margin-top: var(--20px);
    padding: 0;
  }

  #iconos-descubre > div {
    width: 100%;
    padding: 1.5em;
  }

  #iconos-descubre > .grid-icons {
    grid-template-columns: 1fr;
    gap: var(--40px);
  }

  #iconos-descubre > .grid-icons > div {
    display: grid;
    grid-template-rows: auto auto;
    padding-left: var(--28px);
    padding-right: var(--28px);
    gap: var(--12px);
  }

  #iconos-descubre > .cta-descubre {
    padding-top: var(--40px);
    padding-bottom: var(--50px);
  }

  /* ------------ FORM -------------- */

  #section-form {
    background-image: url("/ka/apps/drsarria/assets/img/aumento/background-form-xs.png");
    min-height: 110dvh;
    margin-bottom: var(--40px);
  }

  #section-form #contact-form {
    width: 100%;
  }
  #section-form .wrapper-form {
    padding: 0;
    grid-template-columns: 1fr;
  }
  .form-group {
    width: 100%;
  }

  /* ------------ FOOTER -------------- */
  footer {
    background-position: center 85%;
  }

  footer .contact-btns {
    padding: var(--50px) 0 15rem 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--20px);
  }

  footer .contact-btns a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
  }

  #section-form .form-content h2 {
    font-size: var(--32px);
  }

  footer small {
    padding: var(--20px) 1.5rem;
    font-size: var(--12px);
    text-align: center;
  }

  .whatsapp-fixed img {
    width: var(--50px);
  }
}

/* -------------- RESPONSIVE PANTALLAS GRANDES ---------------------------------------------------------------------- */

@media (min-width: 1921px) {
  .hero-text h1 {
    font-size: var(--65px);
  }

  #section-form {
    min-height: 70vh;
  }
  .hero {
    height: 100dvh;
  }
}
