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

:root {
  --terracotta: #B85D42;
  --terracotta-dark: #9A4B32;
  --terracotta-light: #D4856F;
  --sand: #F5F0EB;
  --sand-dark: #E8E0D8;
  --sand-deeper: #D6CCC2;
  --charcoal: #2C2C2C;
  --charcoal-light: #4A4A4A;
  --white: #FFFFFF;
  --off-white: #FAFAF8;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-sm: 0 1px 3px rgba(44,44,44,.08);
  --shadow-md: 0 4px 16px rgba(44,44,44,.1);
  --shadow-lg: 0 8px 32px rgba(44,44,44,.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: .3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--off-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--terracotta);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--terracotta-dark);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--terracotta);
  color: var(--white);
  padding: .5rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9375rem;
  padding: .8125rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.2;
}

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

.btn-terracotta:hover {
  background: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn-outline:hover {
  background: var(--charcoal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: .5625rem 1.25rem;
  font-size: .875rem;
}

.btn-full {
  width: 100%;
}

/* ─── Header ─── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250,250,248,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sand-dark);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  text-decoration: none;
  color: var(--charcoal);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.2;
  letter-spacing: -.01em;
}

.logo-light .logo-text {
  color: var(--white);
}

/* ─── Nav ─── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  z-index: 110;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-menu a {
  color: var(--charcoal-light);
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  padding: .25rem 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--terracotta);
  transition: width var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a:focus::after {
  width: 100%;
}

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

/* ─── Hero ─── */
.hero {
  padding-top: 72px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--off-white);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
}

.hero-eyebrow {
  font-size: .8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--terracotta);
  margin-bottom: 1rem;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  letter-spacing: -.02em;
}

.hero-description {
  font-size: 1.0625rem;
  color: var(--charcoal-light);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--charcoal-light);
}

.hero-image {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-accent {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 200px;
  height: 200px;
  background: var(--sand-dark);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* ─── Section shared ─── */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  font-size: .8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--terracotta);
  margin-bottom: .75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 1rem;
  letter-spacing: -.02em;
}

.section-description {
  font-size: 1.0625rem;
  color: var(--charcoal-light);
  line-height: 1.75;
}

/* ─── Services ─── */
.services {
  padding: 6rem 0;
  background: var(--sand);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition);
  border: 1px solid var(--sand-dark);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--terracotta-light);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sand);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  transition: background var(--transition);
}

.service-card:hover .service-icon {
  background: var(--terracotta);
}

.service-card:hover .service-icon svg {
  stroke: var(--white);
  fill: var(--white);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: .625rem;
}

.service-card p {
  font-size: .9375rem;
  color: var(--charcoal-light);
  line-height: 1.7;
}

/* ─── About ─── */
.about {
  padding: 6rem 0;
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-secondary {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 55%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--off-white);
}

.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-stats {
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  display: flex;
  gap: 1rem;
}

.stat {
  background: var(--terracotta);
  color: var(--white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.stat-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .85;
}

.about-content .section-title {
  text-align: left;
}

.about-text {
  font-size: 1rem;
  color: var(--charcoal-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem 1.5rem;
  margin-top: 2rem;
}

.value-item {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--charcoal);
}

/* ─── New Patients ─── */
.new-patients {
  padding: 6rem 0;
  background: var(--charcoal);
  color: var(--white);
}

.new-patients-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.new-patients-content .section-eyebrow {
  color: var(--terracotta-light);
}

.new-patients-content .section-title-light {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -.02em;
}

.new-patients-text {
  font-size: 1rem;
  color: rgba(255,255,255,.7);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.new-patients-text a {
  color: var(--terracotta-light);
}

.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.steps-list li {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--terracotta);
  line-height: 1;
  min-width: 2.5rem;
}

.steps-list strong {
  display: block;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: .25rem;
}

.steps-list p {
  font-size: .9375rem;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
}

.new-patients-visual {
  position: relative;
}

.new-patients-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.visual-accent {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  right: -1.5rem;
  background: var(--terracotta);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.visual-quote {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
}

/* ─── Contact ─── */
.contact {
  padding: 6rem 0;
  background: var(--sand);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info .section-title {
  text-align: left;
}

.contact-text {
  font-size: 1rem;
  color: var(--charcoal-light);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.contact-detail strong {
  display: block;
  font-size: .9375rem;
  color: var(--charcoal);
  margin-bottom: .25rem;
}

.contact-detail p {
  font-size: .9375rem;
  color: var(--charcoal-light);
  line-height: 1.6;
}

.contact-detail a {
  color: var(--terracotta);
}

/* ─── Form ─── */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--sand-dark);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: .375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  font-family: var(--font-body);
  font-size: .9375rem;
  color: var(--charcoal);
  background: var(--sand);
  border: 1.5px solid var(--sand-dark);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(184,93,66,.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--sand-deeper);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-privacy {
  font-size: .8125rem;
  color: var(--charcoal-light);
  text-align: center;
  margin-top: 1rem;
}

.form-success {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: var(--sand);
  border: 1.5px solid var(--sand-dark);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  font-size: .9375rem;
  color: var(--charcoal);
}

.form-success strong {
  color: var(--terracotta-dark);
}

/* ─── Footer ─── */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand p {
  font-size: .9375rem;
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .625rem;
}

.footer-links a,
.footer-contact a {
  color: rgba(255,255,255,.6);
  font-size: .9375rem;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--terracotta-light);
}

.footer-contact p {
  font-size: .9375rem;
  line-height: 1.7;
  margin-bottom: .25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.45);
}

.footer-bottom a {
  color: rgba(255,255,255,.45);
}

.footer-bottom a:hover {
  color: var(--terracotta-light);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 2rem;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--off-white);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--sand-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu li {
    padding: .75rem 0;
    border-bottom: 1px solid var(--sand-dark);
  }

  .nav-menu li:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .nav-menu a {
    display: block;
    font-size: 1rem;
  }

  .nav-menu a::after {
    display: none;
  }

  .nav-menu .btn {
    text-align: center;
    margin-top: .5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 0 3rem;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-image {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-accent {
    display: none;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-images {
    max-width: 480px;
    margin: 0 auto;
  }

  .about-img-secondary {
    right: -1rem;
    bottom: -1.5rem;
  }

  .about-stats {
    left: -1rem;
    top: -1rem;
  }

  .about-content .section-title {
    text-align: center;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .new-patients-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .new-patients-visual {
    max-width: 480px;
    margin: 0 auto;
  }

  .visual-accent {
    left: -1rem;
    right: -1rem;
    bottom: -1rem;
  }

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

  .contact-info .section-title {
    text-align: center;
  }

  .contact-text {
    text-align: center;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .hero-headline {
    font-size: 1.75rem;
  }

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

  .hero-actions .btn {
    width: 100%;
  }

  .service-card {
    padding: 1.5rem;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .about-img-secondary {
    width: 65%;
  }
}

/* ─── Animations ─── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
