:root {
  --ink: #163238;
  --muted: #5c7074;
  --surface: #ffffff;
  --soft: #eef7f4;
  --line: #dbe8e4;
  --teal: #137c74;
  --teal-dark: #0f5c58;
  --coral: #ed7d5b;
  --gold: #c99a3e;
  --shadow: 0 20px 60px rgba(15, 52, 58, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fbfdfc;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(219, 232, 228, 0.9);
  background: rgba(251, 253, 252, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--teal), var(--coral));
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.main-nav a:hover {
  color: var(--teal-dark);
}

.header-call,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 750;
}

.header-call {
  padding: 0 16px;
  color: #fff;
  background: var(--ink);
}

.menu-button {
  display: none;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 750;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  align-items: stretch;
  background: var(--soft);
}

.hero-media {
  min-height: 560px;
  background-image:
    linear-gradient(90deg, rgba(22, 50, 56, 0.1), rgba(22, 50, 56, 0.02)),
    url("images/frontdesk.png");
  background-position: center;
  background-size: cover;
}

.hero-content {
  align-self: center;
  padding: clamp(38px, 7vw, 96px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.92;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.98;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.15;
}

.hero-copy,
.section-copy p,
.section-heading p,
.appointment-copy p,
.contact-section p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

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

.button {
  border: 0;
  padding: 0 20px;
  cursor: pointer;
  font-size: 0.96rem;
}

.button.primary {
  color: #fff;
  background: var(--teal);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
}

.button.full {
  width: 100%;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.trust-row span {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.74);
}

.trust-row strong {
  display: block;
  color: var(--ink);
  font-size: 1.35rem;
}

.quick-info,
.split-section,
.services-section,
.gallery-section,
.appointment-section,
.reviews-section,
.contact-section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--ink);
}

.quick-info article {
  min-height: 230px;
  padding: clamp(26px, 4vw, 42px);
  color: #fff;
  background: #1d444a;
}

.quick-info article:nth-child(2) {
  background: #244f51;
}

.quick-info article:nth-child(3) {
  background: #3b5143;
}

.info-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
}

.quick-info p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.split-section,
.appointment-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.section-copy,
.appointment-copy,
.section-heading,
.contact-section > div:first-child {
  max-width: 720px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 14px 16px;
  border-left: 4px solid var(--coral);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(22, 50, 56, 0.06);
}

.image-panel {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.services-section {
  background: #f5faf8;
}

.gallery-section {
  background: #fff;
}

.section-heading {
  margin-bottom: 26px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.filter-button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
  cursor: pointer;
  font-weight: 750;
}

.filter-button.active {
  color: #fff;
  border-color: var(--teal);
  background: var(--teal);
}

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

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(22, 50, 56, 0.08);
  transition: transform 160ms ease, opacity 160ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card.is-hidden {
  display: none;
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card div {
  padding: 22px;
}

.service-card span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.service-card p {
  color: var(--muted);
  line-height: 1.62;
}

.office-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: minmax(210px, 1fr);
  gap: 14px;
}

.office-gallery figure {
  min-height: 210px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
  box-shadow: 0 12px 34px rgba(22, 50, 56, 0.08);
}

.office-gallery .gallery-large {
  grid-row: span 2;
}

.office-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.appointment-section {
  background: #fff;
}

.office-card,
.map-card {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.office-card a {
  color: var(--teal-dark);
  font-weight: 800;
}

.appointment-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
  box-shadow: var(--shadow);
}

.appointment-form label,
.appointment-form fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 750;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  width: 100%;
  border: 1px solid #cfded9;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.appointment-form textarea {
  resize: vertical;
}

.appointment-form fieldset {
  border: 1px solid #cfded9;
  border-radius: 8px;
  padding: 14px;
}

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

.time-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 8px;
  background: #fff;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal-dark);
  line-height: 1.5;
}

.reviews-section {
  background: var(--ink);
}

.reviews-section .section-heading h2,
.reviews-section .eyebrow {
  color: #fff;
}

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

blockquote {
  margin: 0;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

blockquote p {
  font-size: 1.15rem;
  line-height: 1.55;
}

cite {
  color: rgba(255, 255, 255, 0.7);
  font-style: normal;
  font-weight: 750;
}

.contact-section {
  background:
    linear-gradient(rgba(251, 253, 252, 0.9), rgba(251, 253, 252, 0.9)),
    url("images/Waiting%20area.png");
  background-position: center;
  background-size: cover;
}

.map-card {
  overflow: hidden;
  min-height: 360px;
  padding: 0;
  background: #fff;
}

.map-card iframe {
  width: 100%;
  min-height: 430px;
  height: 100%;
  border: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: #10282d;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #fff;
  font-weight: 800;
}

@media (max-width: 980px) {
  .main-nav,
  .header-call {
    display: none;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
  }

  .site-header.is-open {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .site-header.is-open .main-nav,
  .site-header.is-open .header-call {
    display: flex;
    width: 100%;
  }

  .site-header.is-open .main-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    order: 3;
  }

  .site-header.is-open .header-call {
    order: 4;
  }

  .hero,
  .split-section,
  .appointment-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 44vh;
  }

  .quick-info,
  .service-grid,
  .office-gallery,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .office-gallery .gallery-large {
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .hero-content {
    padding: 34px 18px 46px;
  }

  .hero-media {
    min-height: 38vh;
  }

  h1 {
    font-size: 3rem;
  }

  .trust-row,
  .time-options {
    grid-template-columns: 1fr;
  }

  .quick-info,
  .split-section,
  .services-section,
  .gallery-section,
  .appointment-section,
  .reviews-section,
  .contact-section {
    padding-left: 18px;
    padding-right: 18px;
  }

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