:root {
  --bg: #f6f3ee;
  --bg-2: #efeae3;
  --paper: #fcfbf9;
  --ink: #1f2428;
  --muted: #667078;
  --line: rgba(31, 36, 40, 0.12);
  --accent: #7a93a3;
  --accent-deep: #536d7c;
  --wa: #1f6b4a;
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header: 4.25rem;
  --wrap: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 0% 0%, rgba(122, 147, 163, 0.14), transparent 60%),
    radial-gradient(700px 420px at 100% 8%, rgba(196, 176, 148, 0.16), transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.6rem, 9vw, 4.6rem);
}

h2 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
}

h3 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

.label {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.section {
  padding: 5rem 0;
}

.section-head {
  max-width: 34rem;
  margin-bottom: 2.75rem;
}

.section-head p:last-child {
  margin-bottom: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.1rem;
  padding: 0.85rem 1.4rem;
  border: 0;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.25s ease, color 0.25s ease, box-shadow 0.35s ease;
}

.btn-dark {
  background: var(--ink);
  color: #f8f5f1;
}

.btn-dark:hover {
  background: var(--accent-deep);
  color: #fff;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 14px 34px rgba(31, 107, 74, 0.25);
}

.btn-whatsapp:hover {
  background: #18553a;
  color: #fff;
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 36, 40, 0.28);
  padding-bottom: 0.15rem;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.text-link:hover {
  color: var(--accent-deep);
  border-color: var(--accent-deep);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  backdrop-filter: blur(16px);
  background: rgba(246, 243, 238, 0.84);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(252, 251, 249, 0.92);
}

.header-inner {
  position: relative;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-toggle {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  display: grid;
  place-content: center;
  gap: 0.35rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(2.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-2.5px) rotate(-45deg);
}

.site-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header);
  background: rgba(252, 251, 249, 0.98);
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 1rem 1.5rem;
  flex-direction: column;
  gap: 1rem;
}

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

.site-nav a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}

.nav-cta {
  width: fit-content;
  margin-top: 0.25rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: var(--ink);
  color: #f8f5f1 !important;
}

/* Hero */
.hero {
  display: grid;
  gap: 0;
  min-height: calc(100svh - var(--header));
}

.hero-copy {
  order: 2;
  padding: 2rem 1rem 2.75rem;
  animation: rise 0.9s var(--ease) both;
}

.hero-kicker {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-size: clamp(1.55rem, 4.5vw, 2rem);
  color: var(--ink);
  font-style: italic;
  font-weight: 400;
}

.hero-lead {
  max-width: 28rem;
  font-size: 1.05rem;
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem 1.5rem;
}

.hero-portrait {
  order: 1;
  margin: 0;
  overflow: hidden;
  background: #ddd7cf;
  animation: rise 1s 0.08s var(--ease) both;
}

.hero-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 12%;
}

/* About */
.about {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}

.about-layout {
  display: grid;
  gap: 2.25rem;
}

.about-photo {
  margin: 0;
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.creds {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.creds li {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.98rem;
}

/* Practice */
.practice {
  background: var(--bg-2);
}

.services {
  list-style: none;
  margin: 0 0 3rem;
  padding: 0;
  columns: 1;
  column-gap: 3rem;
}

.services li {
  break-inside: avoid;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.8vw, 1.7rem);
  line-height: 1.25;
  color: var(--ink);
}

.whitening {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
}

.whitening-photo {
  margin: 0;
}

.whitening-photo img {
  width: 100%;
}

.whitening-text p:last-of-type {
  margin-bottom: 0;
}

.whitening + .whitening {
  margin-top: 1.5rem;
}

/* Clinic */
.place {
  color: var(--ink);
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0;
}

.gallery {
  display: grid;
  gap: 1rem;
}

.gallery-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: #ddd7cf;
  aspect-ratio: 3 / 4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.9s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(252, 251, 249, 0.88);
  padding: 0.4rem 0.65rem;
}

/* Connect */
.connect {
  padding-bottom: 3.5rem;
}

.connect-layout {
  display: grid;
  gap: 2rem;
}

.book,
.social {
  padding: 2rem 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
}

.book .btn {
  margin: 0.35rem 0 1rem;
}

.phone {
  margin: 0;
}

.phone a {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
}

.phone a:hover {
  color: var(--accent-deep);
}

.ig-handle {
  display: block;
  margin: 0.2rem 0 1rem;
  font-family: var(--display);
  font-size: clamp(2.4rem, 8vw, 3.8rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.25s ease;
}

.ig-handle:hover {
  color: var(--accent-deep);
}

.social p {
  max-width: 22rem;
}

/* Mail form */
.mail {
  padding-top: 2rem;
  padding-bottom: 5.5rem;
}

.mail-layout {
  display: grid;
  gap: 2rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.mail-form {
  position: relative;
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

.mail-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

.mail-form input,
.mail-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 0;
  padding: 0.9rem 0.95rem;
  font: inherit;
  color: var(--ink);
}

.mail-form input:focus,
.mail-form textarea:focus {
  outline: 2px solid rgba(122, 147, 163, 0.35);
  border-color: var(--accent);
}

.honey {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  opacity: 0;
}

.form-note {
  margin: 0;
  color: var(--wa);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.75rem 0 6rem;
  background: rgba(255, 255, 255, 0.28);
}

.footer-inner {
  display: grid;
  gap: 1.25rem;
}

.footer-inner p {
  margin: 0;
  font-size: 0.95rem;
}

.footer-name {
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--ink) !important;
  margin-bottom: 0.35rem !important;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
}

.footer-links a:hover {
  border-bottom-color: currentColor;
}

.footer-copy {
  opacity: 0.7;
  font-size: 0.88rem !important;
}

/* Float CTA */
.wa-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(5.75rem, calc(env(safe-area-inset-bottom) + 5.25rem));
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  background: var(--wa);
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 30px rgba(31, 107, 74, 0.32);
  animation: waFloat 2.8s ease-in-out infinite;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.wa-float svg {
  flex-shrink: 0;
}

.wa-float:hover,
.wa-float:focus-visible {
  background: #18553a;
  color: #fff;
  box-shadow: 0 16px 36px rgba(31, 107, 74, 0.42);
  outline: none;
  animation-play-state: paused;
  transform: translateY(-4px) scale(1.03);
}

@keyframes waFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

@media (min-width: 860px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.6rem;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .nav-cta {
    margin-top: 0;
  }

  .hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: stretch;
  }

  .hero-copy {
    order: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem clamp(2rem, 5vw, 5.5rem);
    max-width: none;
  }

  .hero-copy > * {
    max-width: 32rem;
  }

  .hero-portrait {
    order: 2;
    min-height: calc(100svh - var(--header));
  }

  .hero-portrait img {
    height: 100%;
    min-height: calc(100svh - var(--header));
    aspect-ratio: auto;
    object-position: center 10%;
  }

  .about-layout {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 4rem;
    align-items: center;
  }

  .about-photo img {
    aspect-ratio: 3 / 4;
  }

  .services {
    columns: 2;
  }

  .whitening {
    grid-template-columns: 1fr 1.05fr;
    gap: 2.5rem;
    align-items: center;
    padding: 2rem;
  }

  .whitening + .whitening {
    margin-top: 3rem;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: stretch;
  }

  .connect-layout {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.25rem;
  }

  .book,
  .social {
    min-height: 100%;
    padding: 2.75rem 2.25rem;
  }

  .mail-layout {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3.5rem;
    align-items: start;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    grid-template-columns: 1.4fr 1fr auto;
    align-items: end;
  }

  .footer-copy {
    text-align: right;
  }
}

@media (min-width: 1100px) {
  .section {
    padding: 6.5rem 0;
  }

  .hero-lead {
    font-size: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-copy,
  .hero-portrait,
  .wa-float,
  .reveal,
  .gallery-item img {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
