:root {
  --ink: #121625;
  --muted: #5f6359;
  --paper: #e9dec8;
  --cream: #dcccaf;
  --forest: #2f7156;
  --forest-dark: #1f523e;
  --clay: #c99663;
  --clay-dark: #8f673e;
  --aqua: #8bd5dd;
  --line: rgba(18, 22, 37, 0.18);
  --light-line: rgba(233, 222, 200, 0.24);
  --shadow: 0 30px 90px rgba(18, 22, 37, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 14% 9%, rgba(201, 150, 99, 0.18), transparent 28rem),
    linear-gradient(180deg, #e9dec8 0%, #dcccaf 100%);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(18, 22, 37, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 22, 37, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 78%, transparent);
  pointer-events: none;
}

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

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

.cursor-glow {
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(201, 150, 99, 0.36), transparent 65%);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 220ms ease;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 22px;
  left: 50%;
  display: flex;
  width: min(1120px, calc(100% - 36px));
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px 8px 16px;
  border: 1px solid rgba(233, 222, 200, 0.18);
  border-radius: 999px;
  background: rgba(31, 82, 62, 0.36);
  backdrop-filter: blur(22px) saturate(130%);
  box-shadow: 0 18px 48px rgba(18, 22, 37, 0.16);
  transform: translateX(-50%);
  transition: min-height 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.site-header.is-scrolled {
  min-height: 54px;
  background: rgba(18, 22, 37, 0.66);
  box-shadow: 0 16px 50px rgba(18, 22, 37, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding-left: 8px;
  color: var(--paper);
  font-weight: 700;
}

.brand span:last-child {
  letter-spacing: -0.01em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-right: 10px;
}

.main-nav a {
  position: relative;
  padding: 10px 0;
  color: rgba(233, 222, 200, 0.76);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

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

.main-nav a:hover {
  color: var(--paper);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.social-dock {
  position: fixed;
  z-index: 15;
  right: 20px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(18, 22, 37, 0.14);
  border-radius: 999px;
  background: rgba(233, 222, 200, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 50px rgba(18, 22, 37, 0.14);
}

.social-dock span {
  padding: 0 10px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.social-dock a {
  display: inline-flex;
  width: 38px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  box-shadow: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.social-dock svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.social-icon.instagram {
  background:
    radial-gradient(circle at 30% 105%, #feda75 0 18%, #fa7e1e 34%, transparent 35%),
    radial-gradient(circle at 70% 0%, #4f5bd5 0 18%, transparent 32%),
    linear-gradient(135deg, #833ab4, #fd1d1d 52%, #fcb045);
}

.social-icon.whatsapp {
  background: #25d366;
}

.social-dock a:hover {
  transform: translateY(-2px);
}

.social-icon.instagram:hover,
.social-icon.whatsapp:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
}

.section-band {
  position: relative;
  overflow: hidden;
}

.hero {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 0.92fr) minmax(390px, 0.7fr);
  gap: 92px;
  align-items: center;
  padding: 136px max(24px, calc((100vw - 1120px) / 2)) 84px;
  background:
    radial-gradient(circle at 98% 16%, rgba(139, 213, 221, 0.17), transparent 24rem),
    radial-gradient(circle at 5% 92%, rgba(201, 150, 99, 0.24), transparent 30rem),
    var(--forest);
  color: var(--paper);
}

.hero::before {
  position: absolute;
  inset: 0 0 auto auto;
  width: 47vw;
  height: 100%;
  background:
    radial-gradient(circle at 70% 34%, rgba(233, 222, 200, 0.08), transparent 18rem),
    linear-gradient(90deg, transparent, rgba(18, 22, 37, 0.16));
  content: "";
  pointer-events: none;
}

.hero::after,
.clinics::after {
  position: absolute;
  inset: auto -20vw -32vw auto;
  width: 62vw;
  height: 62vw;
  border: 1px solid rgba(233, 222, 200, 0.16);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  animation: slow-spin 24s linear infinite;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--forest);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--clay);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.94;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: clamp(4rem, 7.2vw, 7.6rem);
  line-height: 0.86;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.1rem, 4.2vw, 4.35rem);
}

h3 {
  margin-bottom: 12px;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 500;
  font-size: 1.45rem;
  line-height: 1.08;
}

.hero-text {
  max-width: 570px;
  color: rgba(233, 222, 200, 0.78);
  font-size: 1.15rem;
}

.hero-copy {
  min-width: 0;
}

.hero-copy > * {
  max-width: 100%;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 34px;
  color: rgba(233, 222, 200, 0.62);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-meta span {
  position: relative;
}

.hero-meta span + span::before {
  position: absolute;
  top: 50%;
  left: -11px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--clay);
  content: "";
  transform: translateY(-50%);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  will-change: transform;
}

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

.button.primary {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 18px 42px rgba(18, 22, 37, 0.22);
}

.contact .button.primary,
.accent-card .button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.secondary {
  background: rgba(233, 222, 200, 0.08);
  color: currentColor;
}

.hero-portrait {
  position: relative;
  z-index: 1;
  margin: 0;
  align-self: center;
}

.hero-portrait img {
  width: 100%;
  aspect-ratio: 0.78;
  object-fit: cover;
  object-position: 58% 50%;
  border: 1px solid rgba(233, 222, 200, 0.24);
  border-radius: 50% 50% 3px 3px / 36% 36% 3px 3px;
  box-shadow: var(--shadow);
  filter: saturate(0.9) contrast(1.02);
}

.tilt-card {
  transform-style: preserve-3d;
  transition: transform 180ms ease;
}

.hero-portrait figcaption {
  position: absolute;
  right: -28px;
  bottom: 34px;
  display: grid;
  gap: 4px;
  min-width: 220px;
  padding: 18px 22px;
  background: rgba(233, 222, 200, 0.9);
  backdrop-filter: blur(12px);
  border-left: 0;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.intro,
.method,
.includes,
.services,
.about,
.clinics,
.prices,
.contact,
footer {
  padding-inline: max(24px, calc((100vw - 1120px) / 2));
}

.intro {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 88px;
  padding-top: 104px;
  padding-bottom: 104px;
  background: var(--paper);
  border-top: 1px solid rgba(233, 222, 200, 0.28);
}

.intro p {
  margin: 48px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.method {
  padding-top: 108px;
  padding-bottom: 112px;
  background:
    linear-gradient(135deg, rgba(18, 22, 37, 0.08), transparent 42%),
    var(--cream);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 54px;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 0;
  counter-reset: method;
}

.method-grid article {
  position: relative;
  min-height: 250px;
  padding: 0 34px 0 0;
  border: 0;
  background: transparent;
  border-radius: 0;
}

.method-grid article + article {
  padding-left: 34px;
  border-left: 1px solid rgba(18, 22, 37, 0.16);
}

.method-grid article:last-child {
  border-right: 0;
}

.method-grid span {
  display: inline-block;
  margin-bottom: 72px;
  color: var(--forest);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 4rem;
  font-weight: 300;
  line-height: 0.82;
  opacity: 0.5;
}

.method-grid p,
.include-list p,
.service-card p,
.about-copy p,
.contact-panel p {
  color: var(--muted);
}

.includes {
  padding-top: 104px;
  padding-bottom: 108px;
  background:
    radial-gradient(circle at 88% 22%, rgba(47, 113, 86, 0.12), transparent 24rem),
    var(--paper);
}

.include-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.include-list article {
  position: relative;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.include-list article::before {
  position: absolute;
  top: -4px;
  left: 0;
  width: 46px;
  height: 7px;
  border-radius: 999px;
  background: var(--forest);
  content: "";
}

.include-list h3 {
  margin-bottom: 16px;
  font-size: clamp(1.65rem, 2.3vw, 2.55rem);
}

.services .service-card p {
  color: rgba(233, 222, 200, 0.72);
}

.services .accent-card p {
  color: var(--muted);
}

.services {
  padding-top: 110px;
  padding-bottom: 118px;
  background: var(--forest-dark);
  color: var(--paper);
}

.services .section-kicker {
  color: var(--clay);
}

.service-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--light-line);
}

.service-card {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: 48px;
  min-height: auto;
  padding: 28px 0 30px;
  border: 0;
  border-bottom: 1px solid var(--light-line);
  background: transparent;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card:hover {
  border-color: rgba(201, 150, 99, 0.64);
  background: transparent;
  transform: translateX(10px);
}

.service-card h3 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 3rem);
}

.service-card p {
  margin: 0;
  align-self: center;
}

.accent-card {
  display: block;
  margin-top: 28px;
  padding: 34px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 34px;
  transform: none;
}

.accent-card p {
  color: var(--muted);
}

.accent-card a {
  display: inline-flex;
  margin-top: 18px;
  border-bottom: 1px solid var(--forest);
  color: var(--forest);
  font-weight: 900;
}

.clinics {
  padding-top: 112px;
  padding-bottom: 112px;
  background:
    radial-gradient(circle at 95% 10%, rgba(47, 113, 86, 0.16), transparent 22rem),
    var(--paper);
}

.clinic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.clinic-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 320px;
  padding: 0 0 34px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.clinic-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(47, 113, 86, 0.22));
  content: "";
  opacity: 0;
  transition: opacity 220ms ease;
}

.clinic-card:hover::before {
  opacity: 1;
}

.clinic-card > * {
  position: relative;
}

.clinic-tag {
  display: inline-flex;
  margin-bottom: 76px;
  padding: 0;
  background: transparent;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.clinic-card p {
  max-width: 520px;
  color: var(--muted);
}

.clinic-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: auto;
  padding-top: 24px;
}

.clinic-links a {
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-weight: 900;
}

.prices {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 42px;
  align-items: center;
  padding-top: 104px;
  padding-bottom: 108px;
}

.price-strip {
  display: grid;
  border-top: 1px solid var(--line);
}

.price-strip div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.price-strip span {
  color: var(--muted);
  font-weight: 700;
}

.price-strip strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 500;
}

.about {
  display: grid;
  grid-template-columns: 0.68fr 1fr;
  gap: 64px;
  align-items: start;
  padding-top: 112px;
  padding-bottom: 112px;
  background:
    radial-gradient(circle at 0% 15%, rgba(201, 150, 99, 0.24), transparent 24rem),
    var(--ink);
  color: var(--paper);
}

.about-image img {
  position: sticky;
  top: 118px;
  width: min(390px, 100%);
  aspect-ratio: 0.74;
  object-fit: cover;
  object-position: 52% 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50% 50% 3px 3px / 36% 36% 3px 3px;
}

.about-copy p {
  max-width: 720px;
  color: rgba(233, 222, 200, 0.74);
  font-size: 0.98rem;
  line-height: 1.75;
}

.about-copy h2 {
  max-width: 760px;
  font-size: clamp(2.35rem, 3.7vw, 4rem);
  line-height: 0.94;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 54px;
  align-items: end;
  padding-top: 112px;
  padding-bottom: 112px;
}

.contact-panel {
  max-width: 680px;
}

.contact-details {
  display: grid;
  gap: 14px;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
}

.contact-details a:hover {
  color: var(--forest);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 30px;
  padding-bottom: 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

.reveal {
  animation: rise 680ms ease both;
}

.hero-portrait.reveal {
  animation-delay: 130ms;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slow-spin {
  to {
    transform: rotate(360deg);
  }
}

.reveal-on-scroll {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 680ms ease, transform 680ms ease;
}

.js .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header {
    top: 12px;
    width: calc(100% - 20px);
    padding: 8px 10px 8px 14px;
  }

  .nav-toggle {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    background: transparent;
  }

  .nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--paper);
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    gap: 0;
    padding: 12px 16px;
    border: 1px solid rgba(233, 222, 200, 0.18);
    border-radius: 22px;
    background: rgba(18, 22, 37, 0.9);
    box-shadow: 0 18px 44px rgba(18, 22, 37, 0.2);
  }

  .site-header.is-open .main-nav {
    display: grid;
  }

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

  .hero,
  .intro,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 42px;
    padding-top: 118px;
  }

  .hero::before {
    width: 100%;
    height: 42%;
  }

  .hero-portrait {
    width: min(520px, 100%);
  }

  .intro p {
    margin-top: 0;
  }

  .method-grid,
  .include-list,
  .clinic-grid,
  .prices {
    grid-template-columns: 1fr;
  }

  .method-grid article,
  .method-grid article + article {
    min-height: auto;
    padding: 28px 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .method-grid span {
    margin-bottom: 22px;
  }

  .service-card {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: auto;
  }

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

  .clinic-links {
    margin-top: 0;
  }

  .clinic-tag {
    margin-bottom: 42px;
  }

  .contact {
    align-items: start;
  }

  .about-image img {
    position: static;
  }

  .social-dock {
    right: 10px;
    bottom: 10px;
  }
}

@media (max-width: 560px) {
  .brand span:last-child {
    max-width: 112px;
    line-height: 1.05;
  }

  h1 {
    font-size: 2.72rem;
    line-height: 0.96;
  }

  h2 {
    font-size: 2.1rem;
  }

  .hero,
  .intro,
  .method,
  .includes,
  .services,
  .about,
  .clinics,
  .prices,
  .contact {
    padding-inline: 18px;
  }

  .hero-meta {
    gap: 6px 14px;
    font-size: 0.68rem;
  }

  .hero-portrait img {
    aspect-ratio: 0.82;
    object-position: 55% 50%;
  }

  .hero-portrait figcaption {
    right: 8px;
    bottom: 12px;
    min-width: 0;
    max-width: calc(100% - 32px);
  }

  .about {
    gap: 34px;
  }

  .contact-actions,
  .hero-actions,
  footer {
    flex-direction: column;
  }

  .social-dock {
    right: 12px;
    left: 12px;
    justify-content: center;
    gap: 6px;
  }

  .social-dock span {
    display: none;
  }

  .social-dock a {
    flex: 1;
    width: auto;
    min-height: 42px;
    padding: 0 10px;
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
