:root {
  --bg: #FAF7F2;
  --surface: #F5F0EB;
  --surface-soft: #E8DDD1;
  --ink: #3D3D3D;
  --muted: #707070;
  --accent: #A8B7A0;
  --accent-dark: #8A9D82;
  --sage: #C5D0BE;
  --line: rgba(61, 61, 61, 0.1);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(168, 183, 160, 0.2), transparent 34rem),
    radial-gradient(circle at 85% 12%, rgba(216, 184, 184, 0.15), transparent 30rem),
    linear-gradient(180deg, #FAF7F2 0%, #F5F0EB 58%, #F0EBE3 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 5vw, 4rem);
  background: rgba(250, 247, 242, 0.85);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.hero-actions,
.trust-strip,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  color: #FAF7F2;
  background: var(--accent);
  border-radius: 50%;
  font-family: "Playfair Display", serif;
}

.site-nav {
  gap: 1.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

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

.nav-cta,
.button {
  border-radius: 999px;
}

.nav-cta {
  padding: 0.65rem 1rem;
  color: #FAF7F2;
  background: var(--accent);
}

.header-end {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  padding: 0.65rem 0.9rem;
  color: var(--ink);
  background: var(--surface);
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}

.theme-toggle:hover {
  background: var(--surface);
}

.theme-toggle .icon-sun { display: none; }

[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: 4rem 0;
}

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

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

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 680px;
  margin-bottom: 1.25rem;
  font-size: clamp(2.75rem, 6vw, 5.25rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy {
  max-width: 620px;
  font-size: 1.1rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 2rem 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.9rem 1.35rem;
  border: 1px solid transparent;
  font-weight: 800;
}

.button.primary {
  color: #FAF7F2;
  background: var(--accent);
  box-shadow: 0 16px 36px rgba(168, 183, 160, 0.3);
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
}

.button.secondary:hover {
  background: var(--surface);
}


.trust-strip {
  flex-wrap: wrap;
  gap: 0.6rem;
}

.trust-strip span {
  padding: 0.6rem 0.85rem;
  background: rgba(232, 221, 209, 0.4);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-card {
  position: relative;
  min-height: 620px;
}

.hero-image {
  position: absolute;
  inset: 0 0 7rem 0;
  overflow: hidden;
  background-color: var(--surface-soft);
  background-image:
    linear-gradient(180deg, rgba(250, 247, 242, 0), rgba(250, 247, 242, 0.5)),
    url("images/gallery-01.jpg");
  background-position: center, center 38%;
  background-repeat: no-repeat;
  background-size: cover, cover;
  border: 1px solid var(--line);
  border-radius: 3rem;
  box-shadow: var(--shadow);
}

.appointment-card {
  position: absolute;
  right: -1rem;
  bottom: 0;
  width: min(320px, 88%);
  padding: 1.35rem;
  background: rgba(235, 215, 215, 0.78);
  border: 1px solid rgba(216, 184, 184, 0.35);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.appointment-card span {
  color: var(--accent-dark);
  font-size: 0.85rem;
  font-weight: 800;
}

.appointment-card strong {
  display: block;
  margin: 0.35rem 0;
  font-size: 1.35rem;
}

.section,
.split-section,
.cta-section {
  padding: 5rem 0;
}

.about {
  padding: 5rem 3rem;
  background: rgba(216, 184, 184, 0.1);
  border: 1px solid rgba(216, 184, 184, 0.25);
  border-radius: 2rem;
}

.about-content {
  max-width: 620px;
}

.about-content h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 4vw, 3rem);
}


.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading h2 {
  max-width: 760px;
}

.section-heading.narrow {
  display: block;
  max-width: 620px;
}

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

.gallery-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  border-radius: 1.2rem;
  border: 1px solid var(--line);
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.02);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.service-card,
.detail-card,
.process-grid > div,
.benefits-list > div {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(250, 247, 242, 0.8), rgba(245, 240, 235, 0.6));
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 280px;
  padding: 1.4rem;
  border-radius: 2rem;
}

.service-card.featured {
  background: linear-gradient(160deg, #D8B8B8, #C5A0A0);
}

.service-card.featured,
.service-card.featured p,
.service-card.featured h3,
.service-card.featured span {
  color: #3D3D3D;
}

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

.detail-card {
  min-height: 230px;
  padding: 1.35rem;
  border-radius: 2rem;
}

.detail-card.featured {
  background: linear-gradient(160deg, #D8B8B8, #C5A0A0);
}

.detail-card span,
.detail-card strong {
  display: block;
}

.detail-card span {
  margin-bottom: 1.5rem;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-card strong {
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
  line-height: 1.25;
}

.detail-card p {
  margin-bottom: 0;
}

.detail-card.featured,
.detail-card.featured p,
.detail-card.featured span {
  color: #3D3D3D;
}

.service-card span,
.process-grid span {
  display: inline-grid;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 3rem;
  place-items: center;
  color: #3D3D3D;
  background: var(--sage);
  border-radius: 50%;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.benefits-list {
  display: grid;
  gap: 1rem;
}

.benefits-list > div {
  padding: 1.25rem;
  border-radius: 1.5rem;
}

.benefits-list strong,
.benefits-list span {
  display: block;
}

.benefits-list strong {
  margin-bottom: 0.35rem;
  font-size: 1.15rem;
}

.benefits-list span {
  color: var(--muted);
  line-height: 1.6;
}

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

.process-grid > div {
  padding: 1.35rem;
  border-radius: 2rem;
}

.cta-section {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  margin-bottom: 4rem;
  padding: clamp(2rem, 5vw, 4rem);
  color: #3D3D3D;
  background:
    radial-gradient(circle at top right, rgba(168, 183, 160, 0.18), transparent 24rem),
    linear-gradient(135deg, #E8DDD1, #DCD0C0);
  border: 1px solid var(--line);
  border-radius: 2.4rem;
}

.cta-section h2 {
  max-width: 650px;
}

.cta-section p,
.cta-section .eyebrow {
  color: rgba(61, 61, 61, 0.75);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin-bottom: 0;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ── Dark mode ─────────────────────────────────────── */

[data-theme="dark"] {
  --bg: #1C1916;
  --surface: #252018;
  --surface-soft: #302820;
  --ink: #EDE8E0;
  --muted: #A09888;
  --line: rgba(237, 232, 224, 0.1);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] body {
  background:
    radial-gradient(circle at top left, rgba(168, 183, 160, 0.1), transparent 34rem),
    radial-gradient(circle at 85% 12%, rgba(216, 184, 184, 0.07), transparent 30rem),
    linear-gradient(180deg, #1C1916 0%, #201C18 58%, #231F1A 100%);
}

[data-theme="dark"] .site-header {
  background: rgba(28, 25, 22, 0.88);
}

[data-theme="dark"] .hero-image {
  background-image:
    linear-gradient(180deg, rgba(28, 25, 22, 0), rgba(28, 25, 22, 0.45)),
    url("images/gallery-01.jpg");
}

[data-theme="dark"] .appointment-card {
  background: rgba(70, 48, 48, 0.88);
  border-color: rgba(180, 140, 140, 0.25);
}

[data-theme="dark"] .service-card.featured {
  background: linear-gradient(160deg, #7A4A4A, #5E3636);
}

[data-theme="dark"] .service-card.featured,
[data-theme="dark"] .service-card.featured p,
[data-theme="dark"] .service-card.featured h3 {
  color: #EDE8E0;
}

[data-theme="dark"] .button.primary,
[data-theme="dark"] .nav-cta {
  background: #EDE8E0;
  color: #1C1916;
  box-shadow: 0 16px 36px rgba(237, 232, 224, 0.12);
}

[data-theme="dark"] .button.primary:hover,
[data-theme="dark"] .nav-cta:hover {
  background: #D8D0C5;
}

[data-theme="dark"] .trust-strip span {
  background: rgba(55, 46, 36, 0.7);
  border-color: rgba(237, 232, 224, 0.12);
}


[data-theme="dark"] .service-card,
[data-theme="dark"] .detail-card,
[data-theme="dark"] .process-grid > div,
[data-theme="dark"] .benefits-list > div {
  background: linear-gradient(180deg, var(--surface), var(--bg));
}

[data-theme="dark"] .detail-card.featured {
  background: linear-gradient(160deg, #7A4A4A, #5E3636);
}

[data-theme="dark"] .detail-card.featured,
[data-theme="dark"] .detail-card.featured p,
[data-theme="dark"] .detail-card.featured span {
  color: #EDE8E0;
}

[data-theme="dark"] .about {
  background: rgba(180, 120, 120, 0.07);
  border-color: rgba(180, 120, 120, 0.18);
}

[data-theme="dark"] .cta-section {
  background:
    radial-gradient(circle at top right, rgba(168, 183, 160, 0.1), transparent 24rem),
    linear-gradient(135deg, #2A2018, #322618);
  color: var(--ink);
}

[data-theme="dark"] .cta-section p,
[data-theme="dark"] .cta-section .eyebrow {
  color: rgba(237, 232, 224, 0.7);
}

[data-theme="dark"] .site-nav {
  background: var(--surface);
}

/* ── Media queries ──────────────────────────────────── */

@media (max-width: 920px) {
  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-card {
    min-height: 520px;
  }

  .cards-grid,
  .process-grid,
  .details-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-section {
    align-items: center;
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
  }

  .cta-section h2 {
    max-width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 1.4rem;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 0.55rem;
  }

  .nav-cta {
    text-align: center;
  }

  .hero,
  .section,
  .split-section {
    padding: 3.5rem 0;
  }

  .about {
    padding: 3.5rem 1.5rem;
  }

  .cta-section {
    padding: 2.5rem 1.5rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .cta-section .button {
    max-width: 320px;
  }

  .hero-card {
    min-height: 440px;
  }

  .appointment-card {
    right: 0;
    bottom: 1rem;
  }

  .section-heading,
  .cards-grid,
  .process-grid,
  .details-grid,
  .gallery-grid {
    display: block;
  }

  .gallery-grid img {
    margin-bottom: 0.75rem;
  }

  .service-card,
  .detail-card,
  .process-grid > div {
    margin-bottom: 1rem;
  }
}
