:root {
  --ink: #17313a;
  --muted: #5d7077;
  --line: #d8e6e7;
  --surface: #ffffff;
  --soft: #edf6f4;
  --soft-2: #f7faf9;
  --teal: #0f8f8a;
  --teal-dark: #0a6d70;
  --aqua: #ccefeb;
  --coral: #d97961;
  --shadow: 0 20px 50px rgba(23, 49, 58, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

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

body.nav-open {
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: #ffffff;
  background: var(--ink);
  border-radius: 6px;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

:focus-visible {
  outline: 3px solid rgba(217, 121, 97, 0.9);
  outline-offset: 4px;
}

main,
.site-header,
.site-footer {
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

body.is-language-changing main,
body.is-language-changing .site-footer {
  opacity: 0.78;
  transform: translateY(2px);
}

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

a[href^="tel:"],
a[href^="mailto:"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

a[href^="tel:"]::before {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.78.62 2.63a2 2 0 0 1-.45 2.11L8.09 9.65a16 16 0 0 0 6.26 6.26l1.19-1.19a2 2 0 0 1 2.11-.45c.85.29 1.73.5 2.63.62A2 2 0 0 1 22 16.92Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.78.62 2.63a2 2 0 0 1-.45 2.11L8.09 9.65a16 16 0 0 0 6.26 6.26l1.19-1.19a2 2 0 0 1 2.11-.45c.85.29 1.73.5 2.63.62A2 2 0 0 1 22 16.92Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

a[href^="mailto:"]::before {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(245px, 1fr) auto auto auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  min-height: 86px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 230, 231, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 245px;
  transition: transform 180ms ease;
}

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

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--ink);
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  line-height: 1;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  margin-top: 7px;
  font-size: 0.82rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  color: #476269;
  background: rgba(237, 246, 244, 0.84);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 750;
  font-size: 0.92rem;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  white-space: nowrap;
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(23, 49, 58, 0.08);
}

.site-nav a.is-active {
  color: #ffffff;
  background: var(--teal-dark);
}

.language-dropdown {
  position: relative;
  justify-self: end;
}

.language-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 11px 0 13px;
  color: var(--ink);
  background: rgba(237, 246, 244, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
  transition:
    background 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease,
    transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.language-button:hover,
.language-dropdown.is-open .language-button,
.language-button.is-updating {
  transform: translateY(-1px);
  background: #ffffff;
  border-color: rgba(15, 143, 138, 0.28);
  box-shadow: 0 12px 26px rgba(23, 49, 58, 0.1);
}

.flag {
  font-size: 1.05rem;
  line-height: 1;
}

.chevron {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: var(--muted);
  transition: transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.chevron svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.language-dropdown.is-open .chevron {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  display: grid;
  min-width: 178px;
  padding: 7px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(23, 49, 58, 0.15);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition:
    opacity 240ms ease,
    visibility 240ms ease,
    transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.language-dropdown.is-open .language-menu {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.language-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  color: var(--muted);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 800;
  transition:
    background 220ms ease,
    color 220ms ease,
    transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.language-menu a:hover,
.language-menu a.is-active {
  color: var(--ink);
  background: var(--soft);
  transform: translateX(2px);
}

.site-nav a:hover {
  transform: translateY(-1px);
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 750;
  white-space: nowrap;
  transition:
    transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 260ms ease,
    background 260ms ease;
}

.header-cta,
.primary-button {
  color: #ffffff;
  background: var(--teal-dark);
  box-shadow: 0 14px 28px rgba(10, 109, 112, 0.18);
}

.header-cta.is-active {
  background: var(--ink);
  box-shadow: 0 14px 30px rgba(23, 49, 58, 0.24);
}

.header-cta {
  justify-self: end;
}

.header-cta:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(10, 109, 112, 0.2);
}

.secondary-button {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  padding: 162px clamp(18px, 5vw, 76px) 82px;
  overflow: hidden;
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(237, 246, 244, 0.96) 0%, rgba(237, 246, 244, 0.82) 42%, rgba(237, 246, 244, 0.2) 72%),
    linear-gradient(0deg, rgba(23, 49, 58, 0.18), rgba(23, 49, 58, 0.04));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(690px, 100%);
  padding: clamp(24px, 4vw, 44px) 0;
}

.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: 680px;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 5.1vw, 4.95rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 620px;
  color: #304a52;
  font-size: clamp(1.03rem, 1.6vw, 1.22rem);
}

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

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 34px clamp(18px, 5vw, 76px);
  background: #ffffff;
}

.metric {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 26px 18px;
  text-align: center;
  transition: transform 180ms ease;
}

.metric:hover {
  transform: translateY(-3px);
}

.metric:hover .metric-icon {
  transform: scale(1.06);
  color: var(--teal-dark);
}

.metric-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 8px;
  color: var(--teal-dark);
  transition:
    transform 180ms ease,
    color 180ms ease;
}

.metric-icon svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.redirect-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  text-align: center;
}

.metric strong {
  display: block;
  color: var(--teal-dark);
  font-size: 1.18rem;
}

.metric span,
.section-heading p,
.service-card p,
.split-copy p,
.process-list p,
.feature-row p,
.contact-section p,
.contact-panel span {
  color: var(--muted);
}

.section,
.split-section,
.contact-section {
  padding: clamp(72px, 9vw, 128px) clamp(18px, 5vw, 76px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.services-teaser {
  background:
    linear-gradient(135deg, rgba(204, 239, 235, 0.9), rgba(255, 255, 255, 0.86)),
    var(--soft);
  border-top: 1px solid rgba(10, 109, 112, 0.12);
  border-bottom: 1px solid rgba(10, 109, 112, 0.12);
}

.services-teaser .section-heading {
  margin-bottom: 0;
}

.services-teaser .primary-button {
  margin-top: 10px;
}

.services-page-hero {
  background:
    linear-gradient(90deg, rgba(237, 246, 244, 0.97), rgba(247, 250, 249, 0.9)),
    url("assets/optimized/service-first-exam.jpg") center right / cover;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 520px;
  padding: 0 0 28px;
  background: #ffffff;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(23, 49, 58, 0.1);
  transition:
    transform 300ms cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 300ms ease,
    filter 300ms ease;
}

.service-card img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  background: var(--soft);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(23, 49, 58, 0.14);
  filter: saturate(1.03);
}

.service-card img {
  transition:
    transform 520ms cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 520ms ease;
}

.service-card:hover img {
  transform: scale(1.035);
  filter: contrast(1.03);
}

.service-card h3,
.service-card p,
.service-link {
  margin-right: 26px;
  margin-left: 26px;
}

.service-card h3 {
  margin-top: 26px;
  margin-bottom: 10px;
  font-size: 1.28rem;
}

.service-card p {
  font-size: 0.98rem;
  line-height: 1.62;
}

.service-link {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  padding-top: 18px;
  color: var(--teal-dark);
  font-weight: 850;
}

.service-link::after {
  content: "→";
  margin-left: 8px;
  transition: transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.service-card:hover .service-link::after {
  transform: translateX(5px);
}

.service-contact-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(237, 246, 244, 0.98), rgba(255, 255, 255, 0.9)),
    #ffffff;
  border-top: 1px solid rgba(10, 109, 112, 0.12);
}

.service-contact-strip h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.mail-grid {
  display: grid;
  gap: 12px;
}

.mail-grid a {
  display: inline-flex;
  align-items: center;
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  color: var(--teal-dark);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 850;
  overflow-wrap: anywhere;
  box-shadow: 0 12px 28px rgba(23, 49, 58, 0.06);
  transition:
    transform 280ms cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 280ms ease,
    box-shadow 280ms ease,
    color 280ms ease;
}

.mail-grid a:hover {
  transform: translateY(-3px);
  color: var(--ink);
  border-color: rgba(15, 143, 138, 0.28);
  box-shadow: 0 18px 38px rgba(23, 49, 58, 0.1);
}

.split-section,
.team-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(38px, 7vw, 92px);
  align-items: start;
  background:
    linear-gradient(90deg, rgba(237, 246, 244, 0.92), rgba(247, 250, 249, 0.98)),
    var(--soft-2);
}

.split-copy {
  position: sticky;
  top: 110px;
}

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

.process-list div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 0 18px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.team-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(204, 239, 235, 0.62), transparent 28%),
    var(--soft-2);
}

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

.team-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(23, 49, 58, 0.08);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 143, 138, 0.28);
  box-shadow: 0 22px 44px rgba(23, 49, 58, 0.12);
}

.team-card > div:last-child {
  padding: 18px 18px 20px;
}

.team-photo {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(145deg, rgba(204, 239, 235, 0.54), rgba(247, 250, 249, 0.96)),
    var(--soft);
}

.team-photo::before {
  content: "";
  width: 78px;
  height: 78px;
  background:
    radial-gradient(circle at 50% 34%, rgba(15, 143, 138, 0.46) 0 24%, transparent 25%),
    radial-gradient(ellipse at 50% 92%, rgba(15, 143, 138, 0.34) 0 42%, transparent 43%);
  border-radius: 50%;
  opacity: 0.9;
}

.team-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.08rem;
  line-height: 1.2;
}

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

.process-list span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #ffffff;
  background: var(--coral);
  border-radius: 50%;
  font-weight: 850;
}

.process-list strong {
  font-size: 1.12rem;
}

.process-list p {
  margin-bottom: 0;
}

.muted {
  background:
    linear-gradient(180deg, #e6f2f0, #f7faf9);
  border-top: 1px solid rgba(10, 109, 112, 0.12);
  border-bottom: 1px solid rgba(10, 109, 112, 0.12);
}

.feature-row,
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-row div {
  padding: 26px 0 0;
  border-top: 3px solid var(--teal);
}

.schedule-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.schedule-grid article {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 30px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(23, 49, 58, 0.07);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.schedule-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 143, 138, 0.25);
  box-shadow: 0 20px 44px rgba(23, 49, 58, 0.12);
}

.schedule-grid article h3 {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 13px;
  color: #ffffff;
  background: var(--teal-dark);
  border-radius: 999px;
  font-size: 0.92rem;
}

.schedule-grid article p {
  margin-bottom: 10px;
}

.schedule-grid a,
.info-card a {
  display: block;
  width: fit-content;
  color: var(--teal-dark);
  font-weight: 800;
  overflow-wrap: anywhere;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.schedule-grid a:hover,
.info-card a:hover,
.location-card a:hover,
.contact-panel a:not(.primary-button):hover,
.detail-aside a:not(.primary-button):hover {
  color: var(--coral);
  transform: translateX(3px);
}

.schedule-grid article > a:first-of-type {
  margin-top: auto;
}

.hours-list,
.wide-hours {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.hours-list div,
.wide-hours div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.hours-list dt,
.hours-list dd,
.wide-hours dt,
.wide-hours dd {
  margin: 0;
}

.hours-list dt,
.wide-hours dt {
  font-weight: 750;
}

.page-hero {
  padding: 142px clamp(18px, 5vw, 76px) 72px;
  background:
    linear-gradient(90deg, rgba(237, 246, 244, 0.96), rgba(247, 250, 249, 0.9)),
    url("assets/optimized/hero-clinic.jpg") center right / cover;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 146px clamp(18px, 5vw, 76px) clamp(64px, 8vw, 104px);
  background: var(--soft);
}

.detail-hero div {
  max-width: 760px;
}

.detail-hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 5.4rem);
}

.detail-hero p:not(.eyebrow) {
  color: #304a52;
  font-size: 1.14rem;
}

.detail-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(26px, 5vw, 72px);
  align-items: start;
  padding: clamp(64px, 8vw, 112px) clamp(18px, 5vw, 76px);
}

.detail-content article {
  grid-column: 1;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.detail-content article:last-of-type {
  border-bottom: 0;
}

.detail-content article h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.7rem);
}

.detail-content article p {
  color: var(--muted);
  font-size: 1.05rem;
}

.detail-aside {
  position: sticky;
  top: 116px;
  grid-column: 2;
  grid-row: 1 / span 6;
  display: grid;
  gap: 12px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.detail-aside p {
  color: var(--muted);
}

.detail-aside a:not(.primary-button) {
  color: var(--teal-dark);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.service-detail-list {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
}

.page-hero div {
  width: min(800px, 100%);
}

.page-hero h1 {
  font-size: clamp(2.35rem, 5vw, 4.8rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 660px;
  color: #304a52;
  font-size: 1.12rem;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(22px, 4vw, 44px);
  padding: clamp(56px, 7vw, 96px) clamp(18px, 5vw, 76px);
  background: #ffffff;
}

.booking-info {
  display: grid;
  align-content: start;
  gap: 16px;
}

.info-card,
.form-card {
  padding: 28px;
  background: var(--soft-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition:
    transform 280ms cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 280ms ease,
    border-color 280ms ease,
    background 280ms ease;
}

.info-card:hover,
.form-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 143, 138, 0.22);
  box-shadow: 0 16px 36px rgba(23, 49, 58, 0.1);
}

.info-card address {
  margin-bottom: 16px;
  color: var(--muted);
  font-style: normal;
}

.info-card p,
.form-card p,
.form-note {
  color: var(--muted);
}

.form-card {
  background: #ffffff;
  box-shadow: var(--shadow);
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.booking-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 750;
}

.booking-form .full-span,
.booking-form .checkbox-label,
.booking-form button,
.form-note {
  grid-column: 1 / -1;
}

.booking-form .date-label,
.booking-form .purpose-label {
  position: relative;
}

.booking-form .purpose-label select {
  min-height: 54px;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  transition:
    border-color 260ms ease,
    box-shadow 260ms ease,
    transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1),
    background 260ms ease;
}

.booking-form select {
  appearance: none;
  padding-right: 46px;
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 16px) 50%;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
}

.date-label::after {
  content: "";
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 18px;
  height: 18px;
  color: var(--teal-dark);
  background: currentColor;
  pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M16 2v4'/%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E") center / contain no-repeat;
}

.booking-form textarea {
  resize: vertical;
}

.booking-form input[type="date"] {
  padding-right: 46px;
}

.booking-form input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
}

.booking-form input:hover,
.booking-form select:hover,
.booking-form textarea:hover {
  background-color: #fbfdfd;
  border-color: rgba(15, 143, 138, 0.35);
  transform: translateY(-1px);
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(15, 143, 138, 0.12);
  outline: none;
  transform: translateY(-1px);
}

.booking-form input.is-invalid,
.booking-form select.is-invalid,
.booking-form textarea.is-invalid,
.checkbox-label.is-invalid {
  border-color: #b85038;
  box-shadow: 0 0 0 4px rgba(184, 80, 56, 0.1);
}

.checkbox-label.is-invalid {
  padding: 10px 12px;
  border: 1px solid #d98e7b;
  border-radius: 8px;
}

.checkbox-label {
  grid-template-columns: 20px 1fr;
  align-items: start;
  color: var(--muted);
  font-weight: 600;
}

.checkbox-label input {
  min-height: 20px;
  margin-top: 4px;
}

.booking-form button {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.form-note {
  min-height: 24px;
  margin: 0;
  padding: 0;
  font-weight: 700;
}

.form-note:not(:empty) {
  padding: 12px 14px;
  color: #8a3b28;
  background: #fff2ed;
  border: 1px solid #f2c9bd;
  border-radius: 8px;
}

.compact-section {
  padding-top: 64px;
  padding-bottom: 72px;
}

.wide-hours {
  max-width: 820px;
}

.wide-hours div {
  padding: 16px 0;
}

.location-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
  padding: clamp(72px, 9vw, 128px) clamp(18px, 5vw, 76px);
  background:
    linear-gradient(135deg, rgba(204, 239, 235, 0.92), rgba(247, 250, 249, 0.76)),
    #e8f4f2;
  border-top: 1px solid rgba(10, 109, 112, 0.14);
  border-bottom: 1px solid rgba(10, 109, 112, 0.14);
}

.location-copy {
  max-width: 760px;
}

.location-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.icon-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.icon-eyebrow svg,
.location-card svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.map-button::after {
  content: "→";
  margin-left: 10px;
  transition: transform 180ms ease;
}

.map-button:hover::after {
  transform: translateX(5px);
}

.light-button {
  background: #ffffff;
  border-color: var(--line);
}

.location-map-card {
  overflow: hidden;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.location-map-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 54px rgba(23, 49, 58, 0.16);
}

.location-map-card iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.location-card {
  display: grid;
  gap: 14px;
  padding: 34px;
  background: #ffffff;
}

.location-card span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-dark);
  font-weight: 850;
  text-transform: uppercase;
}

.location-card strong {
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1.2;
}

.location-card a {
  width: fit-content;
  color: var(--teal-dark);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 430px);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(10, 109, 112, 0.18), rgba(23, 49, 58, 0) 45%),
    var(--ink);
  color: #ffffff;
}

.contact-section .eyebrow {
  color: #8ee0da;
}

.contact-section p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-panel {
  display: grid;
  gap: 14px;
  padding: 30px;
  color: var(--ink);
  background: #ffffff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.contact-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 54px rgba(23, 49, 58, 0.16);
}

.contact-panel a:not(.primary-button) {
  color: var(--teal-dark);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-panel .primary-button {
  margin-top: 12px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background:
    linear-gradient(135deg, rgba(15, 143, 138, 0.2), rgba(217, 121, 97, 0.08)),
    #102b34;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr) minmax(260px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(46px, 6vw, 76px) clamp(18px, 5vw, 76px);
}

.footer-brand strong {
  display: block;
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1;
}

.footer-brand span {
  display: block;
  margin-top: 12px;
  color: var(--aqua);
  font-weight: 800;
}

.footer-brand p,
.site-footer p {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer h3 {
  color: #ffffff;
  font-size: 1rem;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  width: fit-content;
  color: #ffffff;
  font-weight: 750;
  margin-top: 9px;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.site-footer a:hover {
  color: var(--aqua);
  transform: translateX(3px);
}

.footer-phone,
.footer-email {
  color: #ffffff;
  font-size: 1.08rem;
}

.footer-email {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
}

.footer-hours {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
}

.footer-hours div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-hours dt,
.footer-hours dd {
  margin: 0;
}

.footer-hours dt {
  color: #ffffff;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px clamp(18px, 5vw, 76px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom a {
  margin-top: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

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

.service-card:nth-child(2),
.team-card:nth-child(2),
.schedule-grid article:nth-child(2) {
  transition-delay: 70ms;
}

.service-card:nth-child(3),
.team-card:nth-child(3) {
  transition-delay: 140ms;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

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

  .service-card,
  .team-card {
    transition: none;
  }
}

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav,
  .language-dropdown,
  .header-cta {
    display: none;
  }

  .site-header.is-open .site-nav {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 0;
    margin-top: 16px;
    padding-top: 12px;
    background: transparent;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    border-top: 1px solid var(--line);
  }

  .site-header.is-open .header-cta {
    display: inline-flex;
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 12px;
  }

  .site-header.is-open .language-dropdown {
    display: block;
    grid-column: 1 / -1;
    width: fit-content;
    margin-top: 12px;
  }

  .site-header.is-open .language-menu {
    right: auto;
    left: 0;
  }

  .site-header.is-open .site-nav a {
    padding: 13px 0;
    border-radius: 0;
  }

  .site-header.is-open {
    max-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    box-shadow: 0 22px 46px rgba(23, 49, 58, 0.14);
  }

  .hero {
    min-height: 88vh;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(237, 246, 244, 0.95) 0%, rgba(237, 246, 244, 0.9) 54%, rgba(237, 246, 244, 0.62) 100%),
      rgba(23, 49, 58, 0.08);
  }

  .intro-band,
  .service-grid,
  .feature-row,
  .schedule-grid,
  .split-section,
  .team-section,
  .team-list,
  .contact-section,
  .location-section,
  .service-contact-strip,
  .detail-hero,
  .detail-content,
  .booking-layout,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .split-copy {
    position: static;
  }

  .detail-aside {
    position: static;
    grid-column: auto;
    grid-row: auto;
  }

  .detail-content article {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 1.2rem;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
    padding-bottom: 54px;
  }

  .hero-image {
    object-position: 61% center;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

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

  .service-card {
    min-height: 0;
  }

  .process-list div {
    grid-template-columns: 42px 1fr;
    padding: 20px;
  }

  .team-card > div:last-child,
  .schedule-grid article,
  .info-card,
  .form-card {
    padding: 20px;
  }

  .process-list span {
    width: 38px;
    height: 38px;
  }

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

  .booking-form button {
    width: 100%;
  }

  .hours-list div,
  .wide-hours div {
    flex-direction: column;
    gap: 2px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .location-map-card iframe {
    height: 280px;
  }
}
