/* =============== GOOGLE FONTS =============== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* =============== VARIABLES CSS =============== */
:root {
  --header-height: 4rem;

  /* HSL Colors */
  --first-color: hsl(344, 48%, 49%);
  /* #BC3E60 */
  --first-color-alt: hsl(344, 48%, 42%);
  --first-color-light: hsl(344, 48%, 96%);
  --text-color: hsl(0, 0%, 20%);
  --text-color-light: hsl(0, 0%, 40%);
  --body-color: hsl(344, 35%, 97%);
  /* Subtle blush pink */
  --container-color: #fff;
  --bg-gradient: linear-gradient(135deg, hsl(344, 35%, 95%) 0%, #fff 100%);
  --overlay-bg: rgba(0, 0, 0, 0.4);

  /* Font and Typography */
  --body-font: 'Montserrat', sans-serif;
  --title-font: 'Montserrat', sans-serif;

  --biggest-font-size: 2.5rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /* Font Weight */
  --font-medium: 500;
  --font-semi-bold: 600;

  /* Margins */
  --mb-0-25: .25rem;
  --mb-0-5: .5rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;

  /* z-index */
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;

  /* Border radius & shadows */
  --border-radius: 12px;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(188, 62, 96, 0.15);
  --transition: .4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@media screen and (min-width: 968px) {
  :root {
    --biggest-font-size: 3.5rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/* =============== BASE =============== */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4 {
  color: var(--first-color);
  font-weight: var(--font-semi-bold);
  font-family: var(--title-font);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

/* =============== REUSABLE CLASSES =============== */
.section {
  padding: 4.5rem 0 2rem;
}

.section__title {
  font-size: var(--h2-font-size);
  color: var(--first-color);
  text-align: center;
  margin-bottom: var(--mb-2);
}

.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  text-align: center;
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-3);
}

.container {
  max-width: 1024px;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

/* =============== HEADER & NAV =============== */
.header {
  width: 100%;
  position: relative;
  z-index: var(--z-fixed);
  background-color: var(--body-color);
  transition: .4s;
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo-img {
  width: 120px;
}

.nav__logo,
.nav__toggle,
.nav__close {
  color: var(--first-color);
}

.nav__toggle {
  font-size: 1.25rem;
  cursor: pointer;
}

@media screen and (max-width: 1023px) {
  .nav__menu {
    display: none;
  }

  .nav__toggle,
  .nav__close {
    display: none;
  }

  .header {
    padding: 0.5rem 0;
  }

  .nav {
    height: 3rem;
  }

  .section {
    padding: 2.5rem 0 1.5rem;
  }

  .hero__container {
    padding-top: 0.5rem;
  }

  .container {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

.nav__list {
  display: flex;
  flex-direction: column;
  row-gap: 2rem;
}

.nav__link {
  color: var(--first-color);
  font-weight: var(--font-medium);
  text-transform: uppercase;
  font-size: var(--small-font-size);
  transition: .3s;
}

.nav__link:hover {
  color: var(--first-color-alt);
}

.nav__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 1.5rem;
  cursor: pointer;
}

.show-menu {
  top: 0;
}



/* =============== BUTTONS =============== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background-color: var(--first-color);
  color: #fff;
  padding: 1rem 1.75rem;
  border-radius: 30px;
  font-weight: var(--font-medium);
  font-size: var(--small-font-size);
  transition: var(--transition);
  border: 2px solid var(--first-color);
  cursor: pointer;
}

.button:hover {
  background-color: var(--first-color-alt);
  color: #fff;
}

.button--outline {
  background-color: transparent;
  color: var(--first-color);
}

.button--outline:hover {
  background-color: var(--first-color-light);
  color: var(--first-color);
}

.button--small {
  padding: .75rem 1.25rem;
}

.button--full {
  width: 100%;
}

.button--glow {
  box-shadow: 0 4px 15px rgba(188, 62, 96, 0.4);
}

.button--glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(188, 62, 96, 0.6);
}

/* =============== HERO SECTION =============== */
.hero__container {
  row-gap: 2rem;
  padding-top: 2rem;
}

.hero__data {
  text-align: center;
}

.hero__title {
  font-size: var(--biggest-font-size);
  margin-bottom: var(--mb-1);
}

.hero__subtitle {
  font-size: var(--h3-font-size);
  color: var(--first-color-alt);
  margin-bottom: var(--mb-1);
}

.hero__description {
  margin-bottom: var(--mb-2);
  color: var(--text-color-light);
}

.hero__location {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  margin-bottom: var(--mb-2-5);
  font-size: var(--small-font-size);
  background-color: var(--container-color);
  padding: .75rem 1.25rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
}

.hero__location i {
  color: var(--first-color);
  font-size: 1.5rem;
}

.hero__location-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-align: left;
}

.hero__location-title {
  font-weight: var(--font-semi-bold);
  color: var(--first-color);
  margin-bottom: 0.1rem;
}

.hero__buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.hero__img {
  justify-self: center;
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
}

/* =============== ABOUT SECTION =============== */
.about__container {
  row-gap: 2.5rem;
}

.about__data {
  text-align: center;
}

.about__img {
  border-radius: 10rem;
  /* Creates a soft oval pill shape */
  box-shadow: var(--shadow-md);
}

.about__description {
  margin-bottom: var(--mb-1);
  color: var(--text-color);
}

/* =============== PROCEDURES SECTION (FLIP CARDS) =============== */
.procedures {
  background-color: var(--first-color-light);
}

.procedures__container {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.procedure__flip-container {
  perspective: 1000px;
  height: 280px;
  cursor: pointer;
}

.procedure__flip-card {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}

.procedure__flip-container.flipped .procedure__flip-card,
.procedure__flip-container:hover .procedure__flip-card {
  transform: rotateY(180deg);
}

.procedure__front,
.procedure__back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(188, 62, 96, 0.15);
}

.procedure__front {
  background-color: var(--container-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.procedure__back {
  background-color: var(--first-color);
  color: #fff;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-size: cover;
  background-position: center;
}

.procedure__back::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.procedure__back-content {
  position: relative;
  z-index: 2;
}

.procedure__icon {
  width: 70px;
  height: 70px;
  background-color: rgba(188, 62, 96, 0.1);
  color: var(--first-color);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto var(--mb-1-5);
  transition: var(--transition);
}

.procedure__click-hint {
  font-size: var(--smaller-font-size);
  color: var(--first-color);
  margin-top: 1rem;
  opacity: 0.8;
  font-style: italic;
}

.procedure__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-5);
  color: var(--first-color);
}

.procedure__desc {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.procedure__back-title {
  color: #fff;
  margin-bottom: 1.5rem;
}

/* =============== BENEFITS SECTION =============== */
.benefits__container {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.benefit__card {
  text-align: center;
  padding: 2rem 1rem;
  background-color: var(--container-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(188, 62, 96, 0.1);
  transition: var(--transition);
}

.benefit__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--first-color);
  background-color: var(--first-color-light);
}

.benefit__icon {
  font-size: 2rem;
  color: var(--first-color);
  margin-bottom: var(--mb-1);
}

/* =============== RESULTS/GALLERY SECTION =============== */
.results__container {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.result__card {
  background-color: var(--container-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(188, 62, 96, 0.1);
}

.result__card:hover {
  transform: translateY(-5px);
  border-color: var(--first-color);
  box-shadow: var(--shadow-md);
}

.result__stars {
  color: #E2A03F;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.result__text {
  font-style: italic;
  font-size: var(--normal-font-size);
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.result__client {
  font-weight: var(--font-semi-bold);
  color: var(--first-color);
}


/* =============== INSTAGRAM SECTION =============== */
.instagram__container {
  text-align: center;
  background: var(--bg-gradient);
  padding: 3rem 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.instagram__description {
  margin-bottom: var(--mb-2);
}

/* =============== LOCATION SECTION =============== */
.location__container {
  row-gap: 2rem;
}

.location__info {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: var(--mb-1-5);
  background-color: var(--container-color);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.location__info i {
  font-size: 1.5rem;
  color: var(--first-color);
}

.location__data {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* =============== FOOTER =============== */
.footer {
  background-color: var(--first-color-light);
  padding: 3rem 0;
}

.footer__container {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  row-gap: 2.5rem;
}

.footer__logo {
  font-size: var(--h2-font-size);
  color: var(--first-color);
  font-weight: var(--font-semi-bold);
  font-family: var(--title-font);
  display: inline-block;
  margin-bottom: var(--mb-1);
}

.footer__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1-5);
  color: var(--first-color);
}

.footer__links,
.footer__social {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}

.footer__social {
  flex-direction: row;
  column-gap: 1.5rem;
}

.footer__social-link {
  font-size: 1.5rem;
  color: var(--first-color);
  transition: .3s;
}

.footer__social-link:hover {
  transform: translateY(-3px);
  color: var(--first-color-alt);
}

.footer__copy {
  text-align: center;
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
  margin-top: 4rem;
}

/* =============== FLOATING WHATSAPP =============== */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  background-color: #25d366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: .3s;
}

.floating-whatsapp:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.6);
}

/* =============== MODAL =============== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: var(--transition);
}

.modal.show-modal {
  visibility: visible;
  opacity: 1;
}

.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-bg);
  backdrop-filter: blur(5px);
}

.modal__content {
  position: relative;
  background-color: var(--container-color);
  width: 90%;
  max-width: 450px;
  padding: 3rem 2rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transform: translateY(20px);
  transition: var(--transition);
}

.modal.show-modal .modal__content {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--text-color);
  cursor: pointer;
}

.modal__close:hover {
  color: var(--first-color);
}

.form__step {
  display: none;
}

.form__step.active {
  display: block;
}

.form__label {
  display: block;
  font-size: var(--small-font-size);
  color: var(--text-color);
  margin-bottom: var(--mb-1);
  font-weight: var(--font-medium);
}

.form__input {
  width: 100%;
  background-color: var(--body-color);
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  margin-bottom: var(--mb-2);
  outline: none;
  transition: .3s;
}

.form__input:focus {
  border: 1px solid var(--first-color);
}

.form__input.error {
  border-color: red;
}

.form__options {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.form__option-btn {
  width: 100%;
  padding: 1rem;
  background-color: var(--body-color);
  color: var(--text-color);
  border: 1px solid transparent;
  border-radius: var(--border-radius);
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  cursor: pointer;
  transition: .3s;
}

.form__option-btn:hover {
  background-color: var(--first-color-light);
  color: var(--first-color);
  border-color: var(--first-color);
}

/* =============== BREAKPOINTS / RESPONSIVE =============== */
@media screen and (min-width: 1024px) {
  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }

  .nav__list {
    flex-direction: row;
    column-gap: 3rem;
  }

  .nav__toggle,
  .nav__close {
    display: none;
  }

  .hero__container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .hero__data {
    text-align: left;
  }

  .hero__location {
    justify-content: flex-start;
  }

  .hero__buttons {
    flex-direction: row;
  }

  .about__container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .about__data {
    text-align: left;
  }

  .about__img-container {
    order: -1;
  }

  .location__container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .location__data {
    text-align: left;
    align-items: flex-start;
  }

  .procedures__container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (min-width: 1024px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }

  .section {
    padding: 6rem 0 3rem;
  }

  .hero {
    padding-top: 8rem;
  }

  .hero__img {
    width: 400px;
  }
}