:root {
  --bg: #eef5f4;
  --bg-deep: #0f3d42;
  --surface: rgba(255, 255, 255, 0.72);
  --line: rgba(15, 61, 66, 0.12);
  --text: #14363a;
  --muted: #4d6a6e;
  --accent: #1f8a84;
  --accent-deep: #16706b;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Fraunces", serif;
  --font-body: "Sora", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(ellipse 70% 45% at 10% -10%, rgba(31, 138, 132, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 20%, rgba(180, 210, 205, 0.45), transparent 50%),
    var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h2 {
  font-size: clamp(2rem, 4.8vw, 3.2rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(238, 245, 244, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.topbar.is-scrolled {
  background: rgba(238, 245, 244, 0.94);
  border-bottom-color: var(--line);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 650;
}

.logo span {
  color: var(--accent);
}

.nav {
  display: none;
  gap: 1.5rem;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

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

.btn[aria-disabled="true"] {
  cursor: default;
  pointer-events: none;
}

.btn-lg {
  min-height: 3.15rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.98rem;
}

.btn-primary {
  background: var(--accent);
  color: #f4fffe;
  box-shadow: 0 10px 28px rgba(31, 138, 132, 0.22);
}

.btn-primary:hover {
  background: var(--accent-deep);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(31, 138, 132, 0.4);
}

.topbar .btn {
  display: none;
}

.hero {
  position: relative;
  min-height: min(90vh, 780px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(238, 245, 244, 0.92) 0%, rgba(238, 245, 244, 0.72) 38%, rgba(15, 61, 66, 0.28) 100%),
    url("https://images.unsplash.com/photo-1629909615184-74f495363b67?auto=format&fit=crop&w=1600&q=80") center / cover no-repeat;
  animation: soft-pan 10s var(--ease) both;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: clamp(4rem, 12vw, 7rem) clamp(1rem, 4vw, 2.5rem) clamp(3rem, 8vw, 4.5rem);
  animation: rise 0.85s var(--ease) 0.1s both;
}

.hero h1 {
  font-size: clamp(3.2rem, 10vw, 5.8rem);
  color: var(--bg-deep);
}

.hero-lead {
  margin-top: 1rem;
  max-width: 30ch;
  font-size: clamp(1.05rem, 2.3vw, 1.25rem);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1rem, 4vw, 2.5rem);
}

.section-head {
  max-width: 620px;
  margin-bottom: 2rem;
}

.treatments {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  max-width: 980px;
}

.treatments li {
  padding: 1.4rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  backdrop-filter: blur(8px);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.treatments li:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 138, 132, 0.35);
}

.treatments h3 {
  margin-bottom: 0.4rem;
}

.treatments p {
  color: var(--muted);
  font-size: 0.96rem;
}

.clinic {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.clinic-copy {
  max-width: 34rem;
}

.clinic-copy > p:last-child {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.clinic-media {
  min-height: 18rem;
  border-radius: 1.25rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(238, 245, 244, 0.15), rgba(15, 61, 66, 0.22)),
    url("https://images.unsplash.com/photo-1606811841689-23dfddce3e95?auto=format&fit=crop&w=1200&q=80") center / cover no-repeat;
  box-shadow: 0 18px 40px rgba(15, 61, 66, 0.1);
}

.cta {
  text-align: center;
  border-radius: 1.5rem;
  margin: 0 clamp(1rem, 4vw, 2.5rem) clamp(3rem, 7vw, 4.5rem);
  padding: clamp(2.4rem, 6vw, 3.5rem) 1.25rem;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(31, 138, 132, 0.16), transparent 65%),
    #dff0ee;
  border: 1px solid rgba(31, 138, 132, 0.18);
}

.cta h2 {
  margin-bottom: 0.75rem;
}

.cta p {
  max-width: 36ch;
  margin: 0 auto 1.5rem;
  color: var(--muted);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.5rem clamp(1rem, 4vw, 2.5rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.85s var(--ease) var(--reveal-delay, 0ms),
    transform 0.85s var(--ease) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

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

@keyframes soft-pan {
  from {
    transform: scale(1.08) translateX(1.5%);
  }
  to {
    transform: scale(1.02) translateX(0);
  }
}

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

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 720px) {
  .nav,
  .topbar .btn {
    display: inline-flex;
  }

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

  .clinic {
    grid-template-columns: 1fr 1.1fr;
    gap: 2.5rem;
  }

  .clinic-media {
    min-height: 26rem;
  }
}
