:root {
  --bg: #f7efec;
  --bg-soft: #ffffff;
  --panel: #ffffff;
  --panel-border: rgba(183, 124, 114, 0.16);
  --text: #2f1f1c;
  --text-dim: #69514d;
  --text-soft: #8f716c;
  --accent: #c79288;
  --accent-strong: #b77c72;
  --accent-soft: #ead1cb;
  --warm: #f4e7e4;
  --shadow: 0 18px 44px rgba(60, 34, 30, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --section-space-desktop: 78px;
  --section-space-mobile: 36px;
  --scroll-offset-desktop: 112px;
  --scroll-offset-mobile: 90px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  background:
    radial-gradient(110% 90% at 0% 0%, rgba(234, 209, 203, 0.6), transparent 44%),
    radial-gradient(90% 70% at 100% 10%, rgba(248, 239, 236, 0.95), transparent 48%),
    linear-gradient(180deg, #fffaf8 0%, #f7efec 100%);
  line-height: 1.65;
}

img,
iframe {
  display: block;
  width: 100%;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Playfair Display", "Bodoni Moda", serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

p,
ul {
  margin: 0;
}

p,
li {
  font-size: 1.125rem;
}

a {
  color: inherit;
}

.container {
  width: min(1220px, 92vw);
  margin: 0 auto;
}

.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(251, 245, 242, 0.9);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(12px);
}

.site-header.scrolled {
  background: rgba(253, 249, 247, 0.95);
  border-color: rgba(96, 61, 56, 0.08);
  box-shadow: 0 8px 26px rgba(53, 33, 29, 0.06);
}

.nav-wrap {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 20px;
}

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

.brand-logo {
  width: auto;
  display: block;
}

.brand-logo-desktop {
  height: 48px;
}

.brand-logo-mobile {
  display: none;
  height: 42px;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent-strong);
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}

.nav-social a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(183, 124, 114, 0.18);
  background: rgba(255, 255, 255, 0.75);
  color: var(--accent-strong);
  text-decoration: none;
  font-size: 0;
}

.nav-social svg {
  width: 20px;
  height: 20px;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  padding: 0.78rem 1.28rem;
  font-size: 0.77rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

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

.btn-solid {
  background: var(--accent-strong);
  color: #f8fcf8;
}

.btn-solid:hover {
  background: var(--accent);
}

.btn-light {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(183, 124, 114, 0.18);
  color: var(--accent-strong);
}

.btn-light:hover {
  border-color: rgba(183, 124, 114, 0.36);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.58);
  color: #ffffff;
}

.btn-ghost:hover {
  border-color: #ffffff;
}

.header-cta {
  margin-left: 6px;
  white-space: nowrap;
}

.hero,
.page-hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 132px 0 78px;
  overflow: clip;
}

.page-hero {
  min-height: 62vh;
}

.hero-image,
.hero-overlay,
.page-hero-image,
.page-hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image,
.page-hero-image {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay,
.page-hero-overlay {
  background:
    linear-gradient(to right, rgba(91, 52, 48, 0.76) 0%, rgba(119, 74, 68, 0.42) 52%, rgba(97, 55, 51, 0.7) 100%),
    linear-gradient(to top, rgba(83, 47, 44, 0.82) 0%, rgba(120, 80, 75, 0.22) 56%, rgba(90, 54, 50, 0.58) 100%);
}

.hero-content,
.page-hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
  color: #fff8f6;
}

.hero-content .kicker,
.page-hero-content .kicker {
  color: #f0d2cd;
}

.hero-content h1,
.page-hero-content h1 {
  margin-top: 14px;
  font-size: clamp(2.45rem, 6.2vw, 5.25rem);
}

.page-hero-content h1 {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
}

.hero-content p,
.page-hero-content p {
  margin-top: 18px;
  color: rgba(245, 251, 246, 0.9);
  max-width: 60ch;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.section {
  padding: var(--section-space-desktop) 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: clamp(26px, 4vw, 42px);
}

.section-head-centered {
  margin-inline: auto;
  text-align: center;
}

.section-head-nowrap h2 {
  white-space: nowrap;
}

.section-head h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.stats {
  padding: var(--section-space-desktop) 0;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(255, 255, 255, 0.9), transparent 46%),
    radial-gradient(120% 140% at 0% 100%, rgba(234, 209, 203, 0.7), transparent 52%),
    #f7efec;
}

.stats-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stats-grid article {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  min-height: 208px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow);
}

.stats-grid h2 {
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  color: var(--accent-strong);
}

.stats-grid p {
  margin-top: 14px;
  color: var(--text-dim);
  font-size: 1em;
}

.services {
  position: relative;
  z-index: 2;
}

.service-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-cta {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.service-card,
.team-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-card img {
  height: 250px;
  object-fit: cover;
}

.team-grid {
  display: grid;
  gap: 22px;
}

.team-page-container {
  width: min(1080px, 92vw);
}

.team-card {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  align-items: stretch;
}

.team-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-position: center top;
  object-fit: cover;
}

.card-copy,
.team-copy {
  padding: 24px;
}

.card-copy h3,
.team-copy h3 {
  font-size: 1.45rem;
}

.card-copy p,
.team-copy p {
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 1em;
}

.team-copy .kicker {
  font-size: 0.68rem;
}

.about {
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(255, 255, 255, 0.9), transparent 44%),
    #fff9f7;
}

.about-layout,
.visit-layout,
.feature-split,
.contact-layout {
  display: grid;
  gap: 30px;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
}

.feature-split.reverse {
  grid-template-columns: 1.08fr 0.92fr;
}

.feature-media,
.about-image,
.map-frame,
.form-panel,
.contact-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.84);
}

.feature-media img,
.about-image img {
  min-height: 420px;
  object-fit: cover;
}

.feature-copy,
.about-copy,
.visit-copy,
.contact-copy {
  padding: 0;
}

.feature-copy h2,
.about-copy h2,
.visit-copy h2,
.plain-copy h2 {
  margin-top: 12px;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
}

.feature-copy p,
.about-copy p,
.visit-copy p,
.plain-copy p {
  margin-top: 14px;
  color: var(--text-dim);
}

.media-stack {
  display: grid;
  gap: 14px;
}

.media-stack img {
  border-radius: var(--radius-md);
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.media-stack img:first-child {
  min-height: 320px;
  object-fit: cover;
}

.media-stack img:last-child,
.media-stack img:nth-child(2) {
  object-fit: contain;
  background: rgba(255, 255, 255, 0.92);
  padding: 20px;
}

.visit-section {
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(234, 209, 203, 0.55), transparent 42%),
    #f6ece9;
}

.visit-copy strong {
  color: var(--text);
}

.visit-details {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(13rem, 16rem) auto;
  gap: 28px;
  align-items: start;
}

.visit-hours,
.visit-contact {
  display: grid;
  gap: 14px;
}

.visit-hours p,
.visit-contact p {
  margin-top: 0;
}

.map-frame {
  min-height: 420px;
}

.map-frame iframe {
  height: 100%;
  min-height: 420px;
  border: 0;
}

.appointment-strip {
  padding-top: 10px;
  padding-bottom: 10px;
}

.center-cta {
  text-align: center;
  padding: clamp(28px, 5vw, 52px);
}

.center-cta h2 {
  margin-top: 12px;
  font-size: clamp(1.85rem, 3.8vw, 3rem);
}

.center-cta .btn {
  margin-top: 22px;
}

.plain-emergency {
  padding-top: 44px;
  padding-bottom: 44px;
  background:
    linear-gradient(180deg, rgba(110, 65, 58, 0.98), rgba(84, 48, 44, 0.98)),
    #54302c;
  color: #fbf3f1;
  text-align: center;
}

.plain-emergency h2 {
  margin-top: 0;
  margin-bottom: 22px;
  font-size: clamp(1.65rem, 3.4vw, 2.5rem);
  color: #fff8f6;
}

.plain-emergency p {
  margin-top: 14px;
  color: rgba(255, 243, 239, 0.9);
}

.emergency-entry {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  line-height: 1.45;
}

.emergency-entry a {
  color: #ffffff;
  text-decoration: none;
}

.page-intro {
  max-width: 760px;
}

.page-hero-top .page-hero-image {
  object-position: center 18%;
}

.narrow-container {
  width: min(900px, 92vw);
}

.service-carousel {
  display: grid;
  gap: 20px;
}

.service-carousel-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.service-carousel-viewport {
  overflow: hidden;
}

.service-carousel-track {
  display: flex;
  transition: transform 0.45s ease;
}

.service-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-slide-media img {
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.service-slide-copy {
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-slide-copy h3 {
  margin-top: 12px;
  font-size: clamp(1.9rem, 3.3vw, 2.8rem);
}

.service-slide-copy p:not(.kicker) {
  margin-top: 16px;
  color: var(--text-dim);
  font-size: 1.125rem;
}

.service-carousel-btn {
  border: 1px solid rgba(183, 124, 114, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent-strong);
  border-radius: 999px;
  width: 48px;
  height: 48px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.service-carousel-btn svg {
  width: 16px;
  height: 16px;
}

.service-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.service-carousel-dots button {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 0;
  background: rgba(183, 124, 114, 0.22);
  padding: 0;
  cursor: pointer;
}

.service-carousel-dots button.is-active {
  background: var(--accent-strong);
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  border-bottom: 1px solid rgba(183, 124, 114, 0.18);
  padding-bottom: 18px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: "Sora", sans-serif;
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
  padding-right: 30px;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--accent-strong);
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-answer {
  margin-top: 14px;
  color: var(--text-dim);
}

.faq-answer p + p,
.faq-answer ul {
  margin-top: 12px;
}

.faq-answer ul,
.legal-copy ul {
  padding-left: 20px;
  color: var(--text-dim);
}

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

.contact-info {
  display: grid;
  gap: 22px;
  align-content: start;
}

.contact-media {
  margin: 0;
  aspect-ratio: 1.08 / 1;
}

.contact-media img {
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
}

.contact-copy h2 {
  margin-top: 12px;
  font-size: clamp(1.8rem, 3.1vw, 2.8rem);
}

.contact-copy p + p,
.contact-copy nav {
  margin-top: 14px;
}

.contact-social {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.form-panel {
  padding: 34px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.field-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

.field label,
.checkbox-field span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(183, 124, 114, 0.22);
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

.field textarea {
  min-height: 180px;
  resize: vertical;
}

.checkbox-field {
  display: grid;
  gap: 10px;
}

.checkbox-field label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
  font-size: 1rem;
}

.checkbox-field a {
  color: var(--accent-strong);
}

.form-note {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.legal-copy {
  max-width: 860px;
}

.legal-copy h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
}

.legal-copy h2 {
  margin-top: 28px;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

.legal-copy h3 {
  margin-top: 22px;
  font-size: 1.1rem;
}

.legal-copy p,
.legal-copy address,
.legal-copy ul {
  margin-top: 12px;
  color: var(--text-dim);
}

.legal-copy address {
  font-style: normal;
}

.site-footer {
  padding: 28px 0 34px;
  color: var(--text-soft);
  font-size: 0.84rem;
}

.back-to-top {
  position: fixed;
  right: 34px;
  bottom: 34px;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff8f6;
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  z-index: 110;
}

.back-to-top:hover {
  background: var(--accent-strong);
  box-shadow: 0 20px 40px rgba(96, 52, 47, 0.2);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

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

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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

@media (max-width: 1120px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid,
  .about-layout,
  .visit-layout,
  .feature-split,
  .feature-split.reverse,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .visit-details {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-slide,
  .team-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    background: rgba(252, 247, 245, 0.97);
    border-bottom-color: rgba(183, 124, 114, 0.08);
  }

  .brand-logo-desktop {
    display: none;
  }

  .brand-logo-mobile {
    display: block;
  }

  .menu-toggle {
    display: block;
    border: 1px solid rgba(183, 124, 114, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: 86px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    background: #fff8f6;
    border-top: 1px solid rgba(183, 124, 114, 0.08);
    border-bottom: 1px solid rgba(183, 124, 114, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    gap: 0;
  }

  .site-nav a {
    padding: 0.95rem 4vw;
    border-top: 1px solid rgba(183, 124, 114, 0.06);
  }

  .nav-social {
    margin-left: 0;
    gap: 12px;
    flex-wrap: wrap;
    padding: 0.95rem 4vw 1.15rem;
    border-top: 1px solid rgba(183, 124, 114, 0.06);
  }

  .nav-social a {
    width: 42px;
    height: 42px;
    padding: 0;
    border-top: 0;
  }

  .nav-social svg {
    width: 22px;
    height: 22px;
  }

  .site-header.menu-open .site-nav {
    max-height: 420px;
  }

  .hero,
  .page-hero {
    margin-top: 86px;
    min-height: 0;
    align-items: start;
    padding-top: 34px;
    padding-bottom: 28px;
  }

  .hero-content,
  .page-hero-content {
    width: 100%;
    padding-inline: 14px;
  }

  .hero-content h1,
  .page-hero-content h1 {
    font-size: clamp(2.3rem, 10vw, 4rem);
  }

  .section,
  .stats {
    padding: var(--section-space-mobile) 0;
  }

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

  .section-head-nowrap h2 {
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

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

  .service-carousel-shell {
    grid-template-columns: 1fr 1fr;
  }

  .service-carousel-viewport {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .service-carousel-btn.prev {
    grid-column: 1;
    grid-row: 2;
  }

  .service-carousel-btn.next {
    grid-column: 2;
    grid-row: 2;
  }

  .service-carousel-btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
  }

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

  .back-to-top {
    right: 20px;
    bottom: 20px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  * {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
