:root {
  --ink: #1c1b1a;
  --soft-ink: #56514d;
  --paper: #f6f4f1;
  --white: #ffffff;
  --mist: #e8e4df;
  --sage: #d8d2cb;
  --sage-deep: #746e68;
  --rose: #a9958d;
  --terracotta: #81736b;
  --gold: #9d9286;
  --charcoal: #202020;
  --border: rgba(23, 23, 23, 0.12);
  --shadow: 0 22px 70px rgba(23, 23, 23, 0.14);
  --header-height: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

section {
  scroll-margin-top: var(--header-height);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 5vw;
  background: rgba(246, 244, 241, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 160px;
  height: 64px;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--soft-ink);
  font-size: 0.95rem;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 100%;
  height: 1px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 4px;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 136px 5vw 72px;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(32, 32, 32, 0.94) 0%, rgba(44, 42, 40, 0.72) 45%, rgba(72, 66, 60, 0.3) 100%),
    url("assets/hero-estetica-placeholder.png") center right / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(32, 32, 32, 0.92), rgba(32, 32, 32, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--sage-deep);
}

.hero h1,
.section-heading h2,
.intro h2,
.about h2,
.booking h2,
.location h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
}

.hero h1 {
  max-width: 680px;
  font-size: 5.1rem;
}

.hero-copy {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.18rem;
}

.hero-actions,
.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--terracotta);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #6f625c;
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.36);
  color: var(--white);
}

.button-whatsapp {
  background: #5f7064;
  color: var(--white);
}

.button-whatsapp:hover,
.button-whatsapp:focus-visible {
  background: #4f5f54;
}

.section-wrap {
  width: min(1140px, calc(100% - 10vw));
  margin: 0 auto;
}

.band-light {
  background: var(--white);
}

.band-muted {
  background: linear-gradient(135deg, #ece9e5, #d8d2cb);
}

.band-dark {
  background: var(--charcoal);
  color: var(--white);
}

.intro,
.about,
.news,
.treatments,
.booking,
.location {
  padding: 96px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 68px;
  align-items: start;
}

.intro h2,
.about h2,
.booking h2,
.location h2,
.section-heading h2 {
  font-size: 3rem;
}

.intro p:last-child,
.section-heading p,
.about-copy p,
.booking-copy p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 1.06rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 430px) 1fr;
  gap: 76px;
  align-items: center;
}

.portrait-frame {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--charcoal);
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 50%;
  pointer-events: none;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-copy p {
  margin-top: 18px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading p {
  margin-top: 18px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.news-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(23, 23, 23, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(23, 23, 23, 0.08);
}

.news-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--mist);
}

.news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-body {
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.news-body h3 {
  margin: 10px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.12;
}

.news-body p {
  margin: 0;
  color: var(--soft-ink);
}

.news-body ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 26px;
  padding: 0;
  color: var(--soft-ink);
  list-style: none;
}

.news-body li {
  position: relative;
  padding-left: 18px;
}

.news-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.dark-link {
  color: var(--terracotta);
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.treatment-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(23, 23, 23, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.treatment-card h3 {
  margin: 10px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.18;
}

.card-kicker {
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.treatment-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--soft-ink);
}

.treatment-card li {
  position: relative;
  padding-left: 18px;
}

.treatment-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.treatment-highlight {
  background: var(--charcoal);
  color: var(--white);
}

.treatment-highlight p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.78);
}

.text-link {
  width: fit-content;
  margin-top: auto;
  color: var(--sage);
  font-weight: 800;
  border-bottom: 1px solid currentColor;
}

.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: 64px;
  align-items: start;
}

.booking-copy p {
  margin-top: 18px;
}

.booking-copy .button {
  margin-top: 28px;
}

.booking-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(23, 23, 23, 0.08);
}

.booking-form label {
  display: grid;
  gap: 7px;
  color: var(--soft-ink);
  font-weight: 700;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  border: 1px solid rgba(23, 23, 23, 0.16);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  padding: 12px 13px;
}

.booking-form textarea {
  resize: vertical;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: 2px solid rgba(129, 115, 107, 0.26);
  border-color: var(--terracotta);
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 1fr);
  gap: 52px;
  align-items: center;
}

.location address {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
  font-size: 1.16rem;
}

.map-frame {
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #2b2f30;
}

.map-frame iframe {
  width: 100%;
  height: 390px;
  border: 0;
  filter: grayscale(0.35) contrast(0.95);
}

.site-footer {
  padding: 30px 0;
  background: var(--paper);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: var(--soft-ink);
  font-size: 0.95rem;
}

.footer-grid img {
  width: 134px;
}

.footer-grid p {
  margin: 0;
}

.footer-grid a {
  font-weight: 800;
  color: var(--terracotta);
}

@media (max-width: 960px) {
  .hero h1 {
    font-size: 4rem;
  }

  .intro-grid,
  .about-grid,
  .booking-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .booking-grid,
  .location-grid {
    gap: 42px;
  }

  .portrait-frame {
    width: min(430px, 100%);
  }

  .treatment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 74px;
  }

  .site-header {
    padding: 10px 20px;
  }

  .brand {
    width: 132px;
    height: 54px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    width: min(280px, calc(100vw - 40px));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 20px 50px rgba(23, 23, 23, 0.14);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 10px 12px;
  }

  .hero {
    min-height: 92svh;
    padding: 116px 24px 56px;
  }

  .hero-media {
    background:
      linear-gradient(0deg, rgba(32, 32, 32, 0.9) 0%, rgba(52, 49, 46, 0.64) 52%, rgba(32, 32, 32, 0.74) 100%),
      url("assets/hero-estetica-placeholder.png") center / cover no-repeat;
  }

  .hero h1 {
    font-size: 3.1rem;
  }

  .hero-copy {
    font-size: 1.03rem;
  }

  .hero-actions,
  .location-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .section-wrap {
    width: calc(100% - 40px);
  }

  .intro,
  .about,
  .news,
  .treatments,
  .booking,
  .location {
    padding: 72px 0;
  }

  .intro h2,
  .about h2,
  .booking h2,
  .location h2,
  .section-heading h2 {
    font-size: 2.35rem;
  }

  .treatment-grid {
    grid-template-columns: 1fr;
  }

  .treatment-card {
    min-height: auto;
  }

  .news-body {
    padding: 24px;
  }

  .news-body h3 {
    font-size: 1.7rem;
  }

  .booking-form {
    padding: 22px;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 320px;
    height: 320px;
  }

  .footer-grid {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 2.65rem;
  }

  .intro h2,
  .about h2,
  .booking h2,
  .location h2,
  .section-heading h2 {
    font-size: 2rem;
  }

  .button {
    width: 100%;
  }
}
