:root {
  --bg: #131313;
  --bg-soft: #1c1c1c;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --text: #f3efe8;
  --muted: #b6b0a7;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #ff6b1a;
  --accent-soft: #ffb27f;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 107, 26, 0.2), transparent 28%),
    linear-gradient(180deg, #161616 0%, #0f0f0f 100%);
}

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

p,
h1,
h2,
h3,
h4 {
  margin: 0;
}

.hero,
.section,
.footer,
.stats-band {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  padding: 1rem 0 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 2rem;
  align-items: center;
}

.topbar {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.72);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 1rem;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--accent-soft);
}

.brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #ff914d);
  color: #111;
  font-weight: 800;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar-links a:not(.button) {
  color: var(--muted);
}

.hero-content {
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--accent-soft);
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 1rem;
}

h1,
h2,
h3 {
  font-family: "Barlow Condensed", sans-serif;
  line-height: 0.95;
  text-transform: uppercase;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.8rem, 11vw, 7.2rem);
}

h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  max-width: 12ch;
}

h3 {
  font-size: 2rem;
}

.hero-copy,
.section-heading,
.split-copy p,
.testimonial,
.footer p {
  color: var(--muted);
}

.hero-copy {
  max-width: 36rem;
  margin-top: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, var(--accent), #ff8e4a);
  color: #171717;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 12px 32px rgba(255, 107, 26, 0.22);
}

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

.button-secondary,
.button-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-highlights li {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--muted);
}

.hero-card,
.service-card,
.testimonial,
.appointment-panel,
.gallery-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    var(--bg-soft);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-visual {
  position: relative;
  display: grid;
  align-items: end;
}

.hero-photo-frame {
  margin: 0;
  min-height: 560px;
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
  position: relative;
}

.hero-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.08), rgba(10, 10, 10, 0.38));
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-card {
  padding: 1.5rem;
  border-radius: 1.75rem;
  position: relative;
  overflow: hidden;
  width: min(88%, 420px);
  margin: -8rem 0 0 auto;
  z-index: 1;
  backdrop-filter: blur(18px);
}

.hero-card::before,
.appointment-panel::before {
  content: "";
  position: absolute;
  inset: auto -20% 80% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 26, 0.28), transparent 68%);
}

.card-header {
  margin-bottom: 1.5rem;
}

.card-header p,
.card-grid span,
.form-note {
  color: var(--accent-soft);
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.card-grid div,
.feature-list div,
.footer-block {
  display: grid;
  gap: 0.4rem;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 4rem;
}

.stat {
  padding: 1.4rem;
  border-top: 1px solid var(--accent);
  background: rgba(255, 255, 255, 0.03);
}

.stat strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 3rem;
  margin-bottom: 0.35rem;
}

.section {
  padding: 4rem 0;
}

.section-heading {
  margin-bottom: 2rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1rem;
}

.gallery-card {
  margin: 0;
  border-radius: 1.5rem;
  overflow: hidden;
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: cover;
}

.gallery-card figcaption {
  padding: 1rem 1.2rem 1.2rem;
  color: var(--muted);
}

.gallery-card-wide img {
  object-position: center;
}

.service-card {
  padding: 1.5rem;
  border-radius: 1.25rem;
  min-height: 220px;
}

.service-card p,
.feature-list p,
.appointment-form label,
.footer a,
.footer p {
  color: var(--muted);
  line-height: 1.7;
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: stretch;
}

.feature-list {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.testimonial {
  border-radius: 1.5rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.review-card {
  padding: 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  min-height: 220px;
  display: grid;
  align-content: space-between;
  gap: 1rem;
}

.review-card p {
  color: var(--muted);
  line-height: 1.7;
}

.review-card strong {
  color: var(--accent-soft);
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 1.15rem;
}

.quote {
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.4;
}

.author {
  margin-top: 1rem;
  color: var(--accent-soft);
}

.appointment-panel {
  position: relative;
  border-radius: 1.75rem;
  padding: 2rem;
}

.appointment-panel h2 {
  margin-top: 0.5rem;
}

.appointment-form {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  align-items: end;
}

.appointment-form label {
  display: grid;
  gap: 0.45rem;
  grid-column: span 2;
}

.appointment-form label:last-of-type {
  grid-column: span 4;
}

.appointment-form input {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  color-scheme: dark;
}

.appointment-form .button {
  grid-column: span 2;
}

.form-note {
  min-height: 1.5rem;
  margin-top: 0.75rem;
}

.form-note a {
  color: var(--text);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.25rem;
}

.footer {
  padding: 0 0 3rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.5rem;
}

.footer h3,
.footer h4 {
  margin-bottom: 0.4rem;
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (max-width: 900px) {
  .hero,
  .split,
  .footer,
  .service-grid,
  .review-grid,
  .gallery-grid,
  .stats-band {
    grid-template-columns: 1fr;
  }

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

  .appointment-form label,
  .appointment-form label:last-of-type,
  .appointment-form .button {
    grid-column: auto;
  }

  .topbar {
    border-radius: 1.4rem;
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .topbar-links {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 2rem;
  }

  .hero-photo-frame {
    min-height: 420px;
  }

  .hero-card {
    width: calc(100% - 1.25rem);
    margin: -5rem auto 0;
  }

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

  .footer {
    padding-top: 2rem;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .hero,
  .section,
  .footer,
  .stats-band {
    width: min(100% - 1.25rem, 1120px);
  }

  h1 {
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-highlights {
    flex-direction: column;
  }

  .button,
  .button-secondary,
  .button-ghost {
    width: 100%;
  }

  .appointment-panel,
  .hero-card,
  .hero-photo-frame,
  .service-card,
  .testimonial,
  .gallery-card {
    border-radius: 1.25rem;
  }
}
