:root {
  --ink: #1a2522;
  --deep: #193b36;
  --deep-2: #0f2c31;
  --leaf: #477b65;
  --blue: #315f75;
  --clay: #d96f48;
  --gold: #d8a83f;
  --paper: #f7f4ea;
  --paper-2: #fffaf0;
  --white: #ffffff;
  --muted: #65746e;
  --line: rgba(26, 37, 34, 0.16);
  --shadow: 0 22px 70px rgba(16, 43, 48, 0.16);
  --radius: 8px;
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: "Trebuchet MS", Verdana, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(25, 59, 54, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(25, 59, 54, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 80;
  transform: translateY(-180%);
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--deep);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 58px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(7, 23, 25, 0.86), rgba(7, 23, 25, 0.46));
  backdrop-filter: blur(16px);
}

.compact-header {
  position: sticky;
  background: rgba(15, 44, 49, 0.96);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  width: min(260px, 54vw);
  min-height: 56px;
  margin-right: auto;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.18));
}

.compact-header .brand-mark img {
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.18));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding: 10px 12px;
  text-decoration: none;
}

.nav-links a::after {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 2px;
  background: var(--clay);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-appointment {
  color: var(--white);
  background: var(--clay);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(217, 111, 72, 0.3);
}

.compact-header .nav-appointment {
  color: var(--white);
}

.nav-appointment::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
}

.compact-header .nav-toggle {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.64);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.lang-toggle button {
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-family: inherit;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  cursor: pointer;
}

.lang-toggle button.is-active {
  background: var(--clay);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 54px));
  padding: clamp(126px, 18svh, 190px) clamp(22px, 7vw, 120px) clamp(74px, 10svh, 96px);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(8, 28, 31, 0.9) 0%, rgba(8, 28, 31, 0.62) 42%, rgba(8, 28, 31, 0.46) 100%),
    url("./assets/clinic-hero-real.jpg") center / cover no-repeat;
  content: "";
  transform: scale(1.04);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 140px;
  background: linear-gradient(180deg, transparent, rgba(247, 244, 234, 0.96));
  content: "";
}

.hero-copy {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--leaf);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.82);
}

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

h1,
h2 {
  font-family: var(--font-display);
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 22px;
  font-size: clamp(52px, 9vw, 112px);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 70px);
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.15;
}

.hero-copy p {
  width: min(650px, 100%);
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2.2vw, 24px);
}

.hero-actions,
.contact-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(700px, 100%);
  margin-top: 24px;
}

.hero-badges span {
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--clay);
  box-shadow: 0 18px 40px rgba(217, 111, 72, 0.28);
}

.button.secondary {
  color: var(--deep);
  background: var(--white);
  border-color: var(--line);
}

.button.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
}

.button.light {
  color: var(--deep);
  background: var(--white);
}

.button.light-outline {
  color: var(--white);
}

.text-link {
  color: var(--deep);
  font-weight: 900;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1180px, calc(100% - 32px));
  margin: -36px auto 0;
  position: relative;
  z-index: 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.quick-strip article {
  padding: clamp(18px, 3vw, 28px);
  background: var(--paper-2);
}

.quick-strip span,
.contact-details span,
.portal-modules span,
.visit-steps span {
  display: block;
  color: var(--clay);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-strip strong,
.contact-details strong {
  display: block;
  margin: 2px 0;
  color: var(--deep);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

.quick-strip small {
  color: var(--muted);
}

.review-ribbon {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 0.68fr);
  gap: 1px;
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: 0 16px 44px rgba(16, 43, 48, 0.08);
}

.review-score,
.review-copy {
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 250, 240, 0.9);
}

.review-score strong {
  display: block;
  color: var(--deep);
  font-family: var(--font-display);
  font-size: clamp(58px, 7vw, 92px);
  line-height: 0.9;
}

.review-score span {
  display: block;
  margin: 10px 0 8px;
  color: var(--gold);
  font-size: 20px;
  letter-spacing: 0;
}

.review-score a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.review-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
}

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

.review-quotes blockquote {
  margin: 0;
  padding: 16px;
  border-left: 3px solid var(--clay);
  border-radius: var(--radius);
  background: var(--white);
}

.review-quotes p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.care-intro,
.services-preview,
.gallery-band,
.contact-band,
.review-ribbon,
.trust-panel,
.video-intro,
.service-story,
.facility-band,
.service-directory,
.service-cta,
.contact-layout,
.appointment-panel,
.portal-layout,
.team-section {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
}

.care-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: clamp(26px, 6vw, 80px);
  padding: clamp(74px, 10vw, 124px) 0 clamp(48px, 7vw, 88px);
  align-items: end;
}

.care-intro p:last-child {
  color: var(--muted);
  font-size: 20px;
}

.trust-panel {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: center;
  padding-bottom: clamp(70px, 9vw, 112px);
}

.video-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(360px, 1.3fr);
  gap: clamp(22px, 5vw, 58px);
  align-items: center;
  padding: clamp(30px, 5vw, 54px);
  margin-bottom: clamp(70px, 9vw, 112px);
  color: var(--white);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(15, 44, 49, 0.98), rgba(49, 95, 117, 0.84)),
    url("./assets/clinic-lobby-real.jpg") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.video-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
}

.vimeo-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: var(--deep-2);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
}

.vimeo-frame::before {
  display: block;
  padding-top: 56.25%;
  content: "";
}

.vimeo-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.trust-photo {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.trust-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.trust-copy p {
  color: var(--muted);
  font-size: 19px;
}

.trust-points {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.trust-points article {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.78);
}

.trust-points strong {
  color: var(--deep);
  font-weight: 900;
}

.trust-points span {
  color: var(--muted);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 26px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

.services-preview {
  padding-bottom: clamp(72px, 9vw, 112px);
}

.service-story {
  padding-bottom: clamp(64px, 8vw, 96px);
}

.service-story-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
}

.service-photo-card {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(230px, 22vw, 300px);
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  background: rgba(25, 59, 54, 0.1);
  box-shadow: 0 16px 44px rgba(16, 43, 48, 0.1);
  isolation: isolate;
}

.service-photo-card > img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-photo-card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(25, 59, 54, 0.04), rgba(25, 59, 54, 0.16));
  content: "";
  transition: background 220ms ease;
}

.service-photo-card span {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 0 12px 12px;
  padding: 13px 14px;
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.78);
  backdrop-filter: blur(8px);
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 900;
  line-height: 1.1;
}

.service-photo-card small {
  flex: 0 0 auto;
  font: inherit;
}

.service-photo-card:hover::before,
.service-photo-card:focus-visible::before {
  background: linear-gradient(180deg, rgba(25, 59, 54, 0.02), rgba(25, 59, 54, 0.32));
}

.service-grid,
.service-directory {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.82);
  box-shadow: 0 12px 36px rgba(16, 43, 48, 0.08);
}

.service-card img {
  width: 54px;
  height: 54px;
  margin-bottom: 28px;
}

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

.service-card.large {
  min-height: 330px;
}

.service-card.large h2 {
  font-family: var(--font-body);
  font-size: 25px;
  line-height: 1.12;
}

.service-card.accent {
  color: var(--white);
  background: var(--deep);
}

.service-card.accent p {
  color: rgba(255, 255, 255, 0.76);
}

.visit-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(24px, 4vw, 54px);
  padding: clamp(54px, 7vw, 84px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(15, 44, 49, 0.96), rgba(49, 95, 117, 0.86)),
    url("./assets/clinic-care-dog.jpg") center / cover no-repeat;
}

.visit-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.visit-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.visit-steps article {
  min-height: 250px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.visit-steps p {
  color: rgba(255, 255, 255, 0.76);
}

.gallery-band {
  padding: clamp(74px, 10vw, 112px) 0;
}

.clinic-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 16px;
  align-items: stretch;
}

.clinic-feature-photo {
  min-height: clamp(360px, 42vw, 560px);
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(16, 43, 48, 0.12);
}

.clinic-feature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.clinic-feature-list {
  display: grid;
  gap: 12px;
}

.clinic-feature-list article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.clinic-feature-list img {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
}

.facility-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-bottom: clamp(64px, 8vw, 98px);
}

.facility-band img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(16, 43, 48, 0.1);
}

.facility-band img:nth-child(2) {
  margin-top: 34px;
}

.facility-band img:nth-child(3) {
  margin-top: 68px;
}

.facility-band img:nth-child(4) {
  margin-top: 18px;
}

.contact-band,
.service-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 5vw, 48px);
  margin-bottom: clamp(64px, 8vw, 98px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.contact-band p {
  max-width: 620px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(34px, 6vw, 66px) clamp(18px, 5vw, 70px);
  color: var(--white);
  background: var(--deep-2);
}

.footer-brand {
  max-width: 430px;
}

.footer-brand img {
  display: block;
  width: min(300px, 72vw);
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}

.footer-brand p,
.footer-links a {
  color: rgba(255, 255, 255, 0.76);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-content: start;
  justify-content: flex-end;
}

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

.subpage {
  padding-bottom: 80px;
}

.page-hero {
  min-height: 420px;
  padding: clamp(86px, 15vw, 140px) clamp(20px, 7vw, 110px) clamp(50px, 8vw, 74px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(15, 44, 49, 0.9), rgba(15, 44, 49, 0.44)),
    url("./assets/clinic-hero-real.jpg") center / cover no-repeat;
}

.page-hero h1 {
  width: min(980px, 100%);
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.04;
}

/* Team page */
.team-hero {
  min-height: 480px;
  background:
    linear-gradient(90deg, rgba(15, 44, 49, 0.96), rgba(15, 44, 49, 0.62) 45%, rgba(15, 44, 49, 0.4)),
    url("./assets/team/group.png") center 30% / cover no-repeat;
}

.team-hero-intro {
  width: min(600px, 100%);
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 1.8vw, 21px);
}

.team-hero-accent {
  color: var(--clay);
}

.team-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.team-pills li {
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.team-section {
  padding: clamp(56px, 8vw, 96px) 0 clamp(36px, 6vw, 64px);
}

.team-lead {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-top: clamp(30px, 4vw, 44px);
}

.team-card {
  width: 328px;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper-2);
  box-shadow: 0 16px 34px rgba(30, 58, 50, 0.08);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(30, 58, 50, 0.14);
}

.team-photo {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-card-body {
  padding: 22px 24px 26px;
}

.team-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.1;
  color: var(--deep);
}

.team-role {
  margin: 6px 0 0;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.team-bio {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.button.dark {
  color: var(--white);
  background: var(--deep);
}

.service-hero {
  background:
    linear-gradient(90deg, rgba(15, 44, 49, 0.9), rgba(15, 44, 49, 0.42)),
    url("./assets/clinic-treatment-room.jpg") center / cover no-repeat;
}

.contact-hero {
  background:
    linear-gradient(90deg, rgba(15, 44, 49, 0.92), rgba(15, 44, 49, 0.38)),
    url("./assets/clinic-exterior-real.jpg") center / cover no-repeat;
}

.portal-hero {
  background:
    linear-gradient(90deg, rgba(15, 44, 49, 0.94), rgba(49, 95, 117, 0.54)),
    url("./assets/clinic-lobby-real.jpg") center / cover no-repeat;
}

.service-directory {
  grid-template-columns: repeat(3, 1fr);
  padding: clamp(48px, 8vw, 86px) 0;
}

.contact-layout,
.portal-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(22px, 4vw, 54px);
  padding: clamp(48px, 8vw, 86px) 0;
}

.contact-details {
  display: grid;
  gap: 12px;
}

.contact-details article,
.portal-modules article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.contact-details a {
  text-decoration: none;
}

.clinic-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.clinic-form.dark {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.clinic-form label {
  display: grid;
  gap: 7px;
  font-weight: 900;
}

.clinic-form span {
  font-size: 13px;
  text-transform: uppercase;
}

.clinic-form input,
.clinic-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: var(--paper-2);
}

.clinic-form.dark input,
.clinic-form.dark textarea {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.92);
}

.form-heading h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-weight: 800;
}

.form-status[data-tone="ok"] {
  color: #236c47;
}

.clinic-form.dark .form-status[data-tone="ok"] {
  color: #bfe7c9;
}

.form-status[data-tone="error"] {
  color: #a73528;
}

.clinic-form.dark .form-status[data-tone="error"] {
  color: #ffd0c8;
}

.appointment-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(320px, 1.25fr);
  gap: clamp(22px, 5vw, 64px);
  padding: clamp(32px, 6vw, 62px);
  color: var(--white);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(15, 44, 49, 0.98), rgba(71, 123, 101, 0.88)),
    url("./assets/clinic-care-dog.jpg") center / cover no-repeat;
}

.sticky-action-dock {
  position: fixed;
  right: clamp(12px, 2vw, 22px);
  bottom: clamp(12px, 2vw, 22px);
  z-index: 70;
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: var(--radius);
  background: rgba(15, 44, 49, 0.9);
  box-shadow: 0 18px 50px rgba(16, 43, 48, 0.28);
  backdrop-filter: blur(12px);
}

.sticky-action-dock a {
  min-height: 44px;
  padding: 12px 14px;
  border-radius: var(--radius);
  color: var(--white);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.sticky-action-dock a:first-child {
  background: var(--clay);
}

.sticky-action-dock a:last-child {
  border: 1px solid rgba(255, 255, 255, 0.28);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

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

.portal-copy p {
  color: var(--muted);
  font-size: 19px;
}

.portal-modules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.portal-modules h3 {
  margin-top: 18px;
}

.legal-nav {
  margin-left: auto;
}

.legal-page {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(56px, 10vw, 92px) 0;
}

.legal-page h1 {
  color: var(--deep);
  font-size: clamp(42px, 7vw, 72px);
}

.legal-page p {
  color: var(--muted);
  font-size: 18px;
}

@media (max-width: 980px) {
  .service-grid,
  .service-directory {
    grid-template-columns: repeat(2, 1fr);
  }

  .care-intro,
  .review-ribbon,
  .trust-panel,
  .video-intro,
  .visit-section,
  .contact-layout,
  .appointment-panel,
  .portal-layout {
    grid-template-columns: 1fr;
  }

  .visit-steps {
    grid-template-columns: 1fr;
  }

  .clinic-gallery {
    grid-template-columns: 1fr;
  }

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

}

@media (max-width: 760px) {
  body {
    padding-bottom: 96px;
  }

  .site-header {
    padding: 10px 14px;
    gap: 10px;
  }

  .brand-mark {
    width: min(188px, 50vw);
  }

  .lang-toggle button {
    padding: 5px 9px;
    font-size: 11px;
  }

  .nav-toggle {
    display: block;
    color: currentColor;
  }

  .nav-links {
    position: fixed;
    inset: 76px 12px auto;
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: rgba(255, 250, 240, 0.98);
    box-shadow: var(--shadow);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 160ms ease,
      transform 160ms ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 14px 12px;
  }

  .hero {
    min-height: 660px;
    padding-top: 112px;
    padding-bottom: 96px;
  }

  .hero h1 {
    font-size: 46px;
    line-height: 1;
  }

  .hero-copy p {
    font-size: 17px;
  }

  .hero-actions .button {
    min-height: 58px;
    padding: 14px 18px;
  }

  .page-hero {
    min-height: 320px;
    padding: 112px 28px 48px;
  }

  .page-hero h1 {
    font-size: 32px;
    line-height: 1.08;
  }

  .quick-strip {
    grid-template-columns: 1fr;
  }

  .review-quotes {
    grid-template-columns: 1fr;
  }

  .trust-points article {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .contact-band,
  .service-cta,
  .site-footer {
    display: grid;
    justify-items: start;
  }

  .service-grid,
  .service-directory,
  .service-story-grid,
  .facility-band,
  .portal-modules {
    grid-template-columns: 1fr;
  }

  .service-photo-card {
    min-height: 180px;
  }

  .service-photo-card > img {
    object-position: center 42%;
  }

  .service-photo-card::before {
    background: linear-gradient(180deg, rgba(25, 59, 54, 0.02), rgba(25, 59, 54, 0.28));
  }

  .service-photo-card span {
    margin: 0 10px 10px;
    background: rgba(255, 250, 240, 0.9);
  }

  .service-card {
    min-height: auto;
    padding: 22px;
  }

  .service-card img {
    margin-bottom: 20px;
  }

  .clinic-gallery {
    grid-template-columns: 1fr;
  }

  .facility-band img,
  .facility-band img:nth-child(2),
  .facility-band img:nth-child(3),
  .facility-band img:nth-child(4) {
    margin-top: 0;
    aspect-ratio: 4 / 3;
  }

  .sticky-action-dock {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .sticky-action-dock a {
    flex: 1;
  }

  .ninja-privacy[data-ninja-privacy-root] {
    bottom: 84px;
    left: 12px;
    max-height: min(340px, calc(100svh - 190px));
    max-width: calc(100vw - 24px);
    overflow: auto;
  }

  .ninja-privacy__card {
    padding: 14px;
  }

  .ninja-privacy__card h2 {
    font-size: 22px;
    line-height: 1.1;
    margin: 0 34px 6px 0;
  }

  .ninja-privacy__card p {
    font-size: 14px;
    line-height: 1.35;
    margin-bottom: 10px;
  }

  .ninja-privacy__close {
    right: 8px;
    top: 8px;
    width: 34px;
    height: 34px;
    font-size: 28px;
  }

  .ninja-privacy__actions {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr 1fr;
  }

  .ninja-privacy__actions button {
    min-height: 42px;
    padding: 9px 10px;
    font-size: 13px;
    letter-spacing: 0;
  }

  .ninja-privacy__actions .ninja-privacy__primary {
    grid-column: 1 / -1;
  }

  .ninja-privacy-trigger.ninja-privacy-trigger--bottom-left,
  .ninja-privacy-trigger.ninja-privacy-trigger--bottom-right {
    bottom: 84px;
  }

  .ninja-privacy-trigger {
    width: 42px;
  }

  .ninja-privacy-trigger .ninja-privacy-trigger__label {
    display: none;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@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;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
