:root {
  --brand-teal: #48a0a0;
  --brand-teal-bright: #5bb3b3;
  --brand-gray: #5e5e5e;
  --brand-gray-dark: #3f3f3f;
  --navy: #3f3f3f;
  --navy-deep: #2a2a2a;
  --teal: #48a0a0;
  --teal-bright: #5bb3b3;
  --ice: #f7fafa;
  --mist: #e8f1f1;
  --ink: #3f3f3f;
  --muted: #6a6a6a;
  --white: #ffffff;
  --laser: #48a0a0;
  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ice);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}

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

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  padding: 1rem 0;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease),
    border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(243, 247, 248, 0.9);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(0, 59, 92, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand img {
  width: auto;
  height: 40px;
}

.wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.wordmark-main {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.wordmark-medik {
  color: var(--brand-teal);
}

.wordmark-laser {
  color: var(--brand-gray);
}

.wordmark-sub {
  margin: 0.45em 0 0;
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-gray);
}

.wordmark--compact .wordmark-main {
  font-size: 0.82rem;
}

.wordmark--hero .wordmark-main {
  font-size: clamp(1.6rem, 4.5vw, 2.75rem);
}

.wordmark--hero .wordmark-sub {
  font-size: clamp(0.62rem, 1.5vw, 0.82rem);
}

.site-header:not(.is-scrolled) .wordmark-laser,
.site-header:not(.is-scrolled) .wordmark-sub {
  color: rgba(255, 255, 255, 0.92);
}

.hero-brand .wordmark-laser,
.hero-brand .wordmark-sub {
  color: rgba(255, 255, 255, 0.92);
}

.nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
}

.site-header.is-scrolled .nav {
  color: var(--muted);
}

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

.site-header.is-scrolled .nav a:hover {
  color: var(--navy);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.35rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border: 0;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
    color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

.btn-primary {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.45);
}

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

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-outline {
  background: transparent;
  color: var(--brand-gray-dark);
  border: 1px solid rgba(72, 160, 160, 0.45);
}

.btn-outline:hover {
  background: var(--brand-teal);
  border-color: var(--brand-teal);
  color: var(--white);
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
}

.btn-teal:hover {
  background: var(--teal-bright);
}

.menu-toggle {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.site-header.is-scrolled .menu-toggle {
  border-color: rgba(0, 59, 92, 0.15);
  background: var(--white);
  color: var(--navy);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: currentColor;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 36, 56, 0.97);
  color: var(--white);
  padding: 1.5rem;
  flex-direction: column;
  gap: 1.25rem;
}

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

.mobile-nav[hidden] {
  display: none !important;
}

.mobile-nav.is-open[hidden] {
  display: flex !important;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
}

.mobile-nav .close {
  align-self: flex-end;
  background: transparent;
  border: 0;
  color: var(--white);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}

/* Full-bleed hero with video */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-deep);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 36, 56, 0.35) 0%, rgba(0, 36, 56, 0.55) 45%, rgba(0, 26, 41, 0.82) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 6rem 0 3rem;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 3.4rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  animation: rise 0.9s var(--ease) both;
}

.hero-sub {
  margin: 0.85rem 0 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  animation: rise 0.9s var(--ease) 0.12s both;
}

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

@keyframes pulse-soft {
  0%,
  100% {
    opacity: 0.88;
  }
  50% {
    opacity: 1;
  }
}

.section {
  padding: 5rem 0;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-kicker {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.services {
  background: var(--white);
}

.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.75rem;
}

.category-link {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.1rem;
  border: 1px solid rgba(72, 160, 160, 0.35);
  color: var(--brand-gray-dark);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.category-link:hover {
  background: var(--brand-teal);
  border-color: var(--brand-teal);
  color: var(--white);
}

.category-block + .category-block {
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--mist);
}

.category-title {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--navy);
}

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

@media (min-width: 800px) {
  .treatment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.treatment-card {
  display: grid;
  gap: 1rem;
  align-content: start;
  background: var(--ice);
  border: 1px solid var(--mist);
  overflow: hidden;
  scroll-margin-top: 5.75rem;
}

.treatment-video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #111;
  display: block;
}

.treatment-body {
  padding: 0 1.15rem 1.25rem;
}

.treatment-card--text .treatment-body {
  padding-top: 1.25rem;
}

.treatment-body h4 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}

.treatment-body > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.treatment-body ul {
  margin: 0.85rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink);
  font-size: 0.9rem;
}

.treatment-body li + li {
  margin-top: 0.35rem;
}

.category-block {
  scroll-margin-top: 5.75rem;
}

.category-lead {
  margin: -0.65rem 0 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 40rem;
}

.treatment-card--wide {
  grid-column: 1 / -1;
}

.program-steps {
  display: grid;
  gap: 1rem;
  margin-top: 1.15rem;
}

.program-step {
  background: var(--white);
  border: 1px solid var(--mist);
  padding: 1rem 1.05rem;
}

.program-step strong {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.program-step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink);
}

@media (min-width: 800px) {
  .program-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

.why {
  background: linear-gradient(180deg, var(--ice), var(--mist));
}

.why-grid {
  display: grid;
  gap: 1.75rem;
}

.why-point h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
}

.why-point p {
  margin: 0;
  color: var(--muted);
}

@media (min-width: 800px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.cta {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
}

.cta::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 120%;
  background: radial-gradient(circle, rgba(79, 209, 197, 0.28), transparent 60%);
  pointer-events: none;
}

.cta .wrap {
  position: relative;
  display: grid;
  gap: 1.5rem;
}

.cta h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  max-width: 18ch;
  line-height: 1.15;
}

.cta p {
  margin: 0.85rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  max-width: 34rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-self: end;
}

@media (min-width: 900px) {
  .cta .wrap {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
  }
}

.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

.contact dl {
  margin: 0;
  display: grid;
  gap: 1.25rem;
}

.contact dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.25rem;
}

.contact dd {
  margin: 0;
  color: var(--ink);
}

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

.social-row {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.4rem;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.social-btn svg {
  width: 0.95rem;
  height: 0.95rem;
  display: block;
}

.social-btn--facebook {
  background: #1877f2;
}

.social-btn--instagram {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
}

.social-btn:hover,
.social-btn:focus-visible {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 10px 18px -10px rgba(0, 0, 0, 0.55);
}

.contact a.social-btn:hover,
.nav a.social-btn:hover,
.mobile-nav a.social-btn:hover,
.site-footer a.social-btn:hover {
  color: #fff;
}

.mobile-nav .social-row {
  margin: 0.25rem 0 0.5rem;
}

.mobile-nav .social-btn {
  width: 2.15rem;
  height: 2.15rem;
}

.mobile-nav .social-btn svg {
  width: 1.05rem;
  height: 1.05rem;
}

.contact .social-btn {
  width: 2.1rem;
  height: 2.1rem;
}

.contact .social-btn svg {
  width: 1.05rem;
  height: 1.05rem;
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}

.site-footer {
  padding: 2rem 0 2.5rem;
  background: var(--ice);
  border-top: 1px solid var(--mist);
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-brand img {
  width: auto;
  height: 34px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a:hover {
  color: var(--teal);
}

.legal {
  padding-top: 7rem;
}

.legal-body {
  max-width: 46rem;
  color: var(--ink);
}

.legal-body h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 1.75rem 0 0.5rem;
}

.legal-body h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin: 1.15rem 0 0.4rem;
}

.legal-body p,
.legal-body li {
  line-height: 1.65;
}

.legal-body ul {
  margin: 0.4rem 0 1rem;
  padding-left: 1.2rem;
}

.legal-body li {
  margin: 0.25rem 0;
}

.legal-body a {
  color: var(--teal);
  text-decoration: underline;
}

.soon {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 7.5rem 0 4rem;
  background: var(--ice);
}

.soon-card {
  max-width: 42rem;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--mist);
  padding: clamp(1.75rem, 4vw, 2.75rem);
}

.soon-kicker {
  margin: 0 0 0.65rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.soon-card h1 {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  line-height: 1.15;
  color: var(--navy);
}

.soon-card p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  max-width: 38rem;
}

.soon-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.35rem 0 1.75rem;
}

.soon-pill {
  display: inline-flex;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(72, 160, 160, 0.35);
  color: var(--brand-gray-dark);
  font-size: 0.82rem;
  font-weight: 600;
}

.soon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

@media (max-width: 899px) {
  .wrap {
    width: min(100% - 1.5rem, var(--max));
  }

  .site-header {
    padding: calc(0.65rem + env(safe-area-inset-top, 0px)) 0 0.65rem;
  }

  .header-inner {
    min-height: 44px;
  }

  .brand img {
    height: 34px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .mobile-nav {
    padding: max(1.25rem, env(safe-area-inset-top, 0px)) 1.25rem max(1.5rem, env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-nav a {
    font-size: 1.35rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
  }

  .hero-content {
    padding: calc(5.2rem + env(safe-area-inset-top, 0px)) 0 2.4rem;
  }

  .hero h1 {
    font-size: clamp(1.65rem, 9vw, 2.35rem);
  }

  .hero-sub {
    letter-spacing: 0.1em;
    font-size: 0.78rem;
  }

  .section {
    padding: 3.25rem 0;
  }

  .section-head {
    margin-bottom: 1.6rem;
  }

  .section-head h2 {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .category-nav {
    gap: 0.45rem;
    margin-bottom: 1.75rem;
  }

  .category-link {
    padding: 0.55rem 0.8rem;
    font-size: 0.82rem;
    min-height: 42px;
  }

  .treatment-body {
    padding: 0 1rem 1.1rem;
  }

  .treatment-body h4 {
    font-size: 1.05rem;
  }

  .cta-actions,
  .soon-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions .btn,
  .soon-actions .btn,
  .contact .btn {
    width: 100%;
    min-height: 46px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .legal {
    padding-top: 6rem;
  }
}
