:root {
  --ink: #161412;
  --charcoal: #2d2925;
  --muted: #746c62;
  --paper: #fffdf8;
  --porcelain: #f8f6f1;
  --cream: #fbf0d9;
  --gold: #d7a736;
  --gold-deep: #a8751b;
  --gold-soft: #f4d47d;
  --grey: #8b8780;
  --line: rgba(45, 41, 37, 0.14);
  --shadow: 0 28px 70px rgba(37, 31, 24, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(215, 167, 54, 0.65);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  padding: 0.7rem 1rem;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav,
.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  text-decoration: none;
}

.brand img {
  width: 240px;
  height: 62px;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.2rem;
  color: var(--charcoal);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a,
.footer a {
  text-decoration: none;
}

.nav-links a:hover,
.footer a:hover {
  color: var(--gold-deep);
}

.nav-cta {
  min-height: 44px;
  border: 1px solid rgba(168, 117, 27, 0.36);
  border-radius: 999px;
  padding: 0.62rem 1rem;
  color: var(--gold-deep);
  font-weight: 800;
  text-decoration: none;
}

.hero,
.section,
.section-band {
  padding: 72px 0;
  scroll-margin-top: 86px;
}

.hero,
.section-band {
  background:
    linear-gradient(120deg, rgba(255, 253, 248, 0.8), rgba(251, 240, 217, 0.82)),
    var(--porcelain);
}

.intro-strip {
  background: var(--paper);
}

.hero-grid,
.two-column,
.doctor-grid,
.gallery-grid,
.results-grid,
.contact-grid,
.testimonial-grid {
  display: grid;
  gap: 2rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.04;
}

h1 {
  max-width: none;
  background: linear-gradient(90deg, #080706 0%, #171513 34%, #77736d 68%, #23201d 100%);
  background-clip: text;
  color: transparent;
  font-size: clamp(2.85rem, 7vw, 4.75rem);
  white-space: nowrap;
}

h2 {
  max-width: 14ch;
  font-size: clamp(2.15rem, 8vw, 4.1rem);
}

h3 {
  margin: 0 0 0.55rem;
  font-size: 1.04rem;
  line-height: 1.25;
}

.hero-text,
.rich-text,
.section-heading p,
.results p,
.doctor-card p,
.contact p,
.service-card p,
.why p,
.faq p,
.gallery p,
.testimonial-note {
  color: var(--muted);
}

.hero-text {
  max-width: 59ch;
  margin: 1.2rem 0 0;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.65rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.82rem 1.2rem;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.button-primary {
  background: var(--ink);
  color: white;
  box-shadow: 0 14px 32px rgba(22, 20, 18, 0.22);
}

.button-primary:hover {
  background: #000;
}

.button-secondary {
  border-color: rgba(168, 117, 27, 0.34);
  background: rgba(255, 255, 255, 0.72);
  color: var(--gold-deep);
}

.button-secondary:hover {
  border-color: var(--gold-deep);
  color: var(--ink);
}

.hero-media,
.doctor-photo {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.hero-media img,
.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media img {
  min-height: 440px;
}

.trust-panel {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.9);
  padding: 1rem;
  backdrop-filter: blur(16px);
}

.trust-panel span {
  color: var(--gold-deep);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.trust-panel strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 1.65rem;
}

.trust-panel p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.rich-text p:first-child,
.doctor-card p:first-of-type {
  margin-top: 0;
}

.credential-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.25rem 0 0;
  padding: 0;
}

.credential-list span {
  border-left: 3px solid var(--gold);
  color: var(--charcoal);
  padding-left: 0.8rem;
  font-weight: 800;
  line-height: 1.35;
}

.doctor-card,
.service-card,
.why article,
.testimonial-note,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.84);
}

.doctor-card {
  padding: clamp(1.4rem, 5vw, 2.2rem);
}

.doctor-photo {
  min-height: 420px;
}

.mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.35rem;
}

.mini-list span {
  border: 1px solid rgba(168, 117, 27, 0.25);
  border-radius: 999px;
  background: white;
  color: var(--gold-deep);
  padding: 0.45rem 0.72rem;
  font-size: 0.86rem;
  font-weight: 800;
}

.service-grid,
.why-grid,
.image-mosaic {
  display: grid;
  gap: 1rem;
}

.service-card,
.why article {
  padding: 1.25rem;
}

.service-card {
  border-top: 4px solid var(--gold);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

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

.image-mosaic img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 14px 34px rgba(37, 31, 24, 0.12);
}

.image-mosaic img:nth-child(1) {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.results-grid {
  align-items: center;
}

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

.result-card {
  margin: 0;
}

.result-card img {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 14px 34px rgba(37, 31, 24, 0.12);
}

.result-card figcaption {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 1rem 1.1rem;
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

details p {
  margin-bottom: 0;
}

.testimonial-note {
  padding: 1.25rem;
}

.contact-grid {
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
}

label {
  display: grid;
  gap: 0.4rem;
  color: var(--ink);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  padding: 0.82rem 0.9rem;
}

textarea {
  resize: vertical;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0;
  background: var(--paper);
}

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

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

.footer a {
  color: var(--gold-deep);
  font-weight: 800;
}

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

  .hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.9fr);
    align-items: center;
  }

  .two-column,
  .doctor-grid,
  .gallery-grid,
  .results-grid,
  .contact-grid,
  .testimonial-grid {
    grid-template-columns: 0.88fr 1fr;
  }

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

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

@media (min-width: 980px) {
  .hero,
  .section,
  .section-band {
    padding: 96px 0;
  }

  .service-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 430px) {
  .brand img {
    width: 180px;
  }

  .nav-cta {
    padding-inline: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
