:root {
  --wine: #791938;
  --wine-dark: #5d1029;
  --wine-soft: #f2e7eb;
  --ink: #231d1f;
  --muted: #676060;
  --cream: #f5f3ef;
  --paper: #fff;
  --line: #ded8d4;
  --success: #2f6a4a;
  --error: #9b2e32;
  --slot-free: #2f70b7;
  --slot-free-soft: #eef6ff;
  --slot-requested: #d8d6d4;
  --slot-unavailable: #ece9e7;
  --shadow: 0 20px 55px rgba(58, 35, 42, 0.09);
  --radius: 4px;
  --container: 1180px;
}

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

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

body {
  margin: 0;
  color: var(--muted);
  background: var(--cream);
  font-family: "Jost", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: var(--wine);
  text-underline-offset: 0.2em;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #c84970;
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 12px 18px;
  color: var(--paper);
  background: var(--wine);
  transform: translateY(-160%);
}

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

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 110px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--wine);
  font-weight: 500;
  line-height: 1.16;
}

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 5.2vw, 4.9rem);
  letter-spacing: 0.01em;
}

h2 {
  margin-bottom: 28px;
  font-size: clamp(2.15rem, 4vw, 3.2rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

p {
  margin-top: 0;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border: 2px solid var(--wine);
  border-radius: 100px;
  color: var(--paper);
  background: var(--wine);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  border-color: var(--wine-dark);
  background: var(--wine-dark);
  transform: translateY(-1px);
}

.button-secondary {
  color: var(--wine);
  background: rgba(255, 255, 255, 0.76);
}

.button-secondary:hover {
  color: var(--paper);
}

.button-small {
  min-height: 45px;
  padding: 11px 25px;
  font-size: 15px;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
}

.header-inner {
  display: flex;
  width: min(calc(100% - 64px), 1780px);
  min-height: 178px;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
}

.brand {
  position: relative;
  z-index: 22;
  flex: 0 0 auto;
}

.brand img {
  width: 166px;
  height: auto;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: clamp(24px, 2.4vw, 44px);
}

.primary-navigation > a:not(.button) {
  color: var(--wine);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-navigation > a:not(.button):hover {
  color: var(--wine-dark);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 780px;
  align-items: center;
  overflow: hidden;
  padding: 205px 0 125px;
  background-image: url("https://movensvitae-physio.de/wp-content/uploads/2024/02/Physiotherapie-scaled.jpg");
  background-position: center 43%;
  background-size: cover;
}

.hero::after {
  position: absolute;
  right: -5%;
  bottom: -76px;
  left: -5%;
  height: 145px;
  border-radius: 50% 50% 0 0 / 42% 42% 0 0;
  background: var(--cream);
  content: "";
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(245, 243, 239, 0.91) 0%, rgba(245, 243, 239, 0.77) 48%, rgba(245, 243, 239, 0.42) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero .eyebrow {
  font-size: 17px;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 30px;
  color: #4f494b;
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.trust-note {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}

.trust-note span {
  margin: 0 7px;
  color: var(--wine);
}

.intro-section {
  padding-top: 130px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: clamp(55px, 8vw, 120px);
  align-items: center;
}

.section-copy p:not(.eyebrow) {
  max-width: 710px;
  margin-bottom: 20px;
}

.service-note {
  padding: 44px 42px;
  border-top: 4px solid var(--wine);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.service-note-icon,
.card-icon,
.location-mark {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 50%;
  color: var(--wine);
  background: var(--wine-soft);
}

.service-note-icon svg,
.card-icon svg,
.location-mark svg {
  width: 29px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.service-note h3 {
  font-size: 2rem;
}

.service-note p:not(.eyebrow) {
  margin-bottom: 22px;
}

.text-link {
  font-weight: 600;
  text-decoration: none;
}

.section-tinted {
  background: var(--paper);
}

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

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

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.benefit-card {
  min-height: 100%;
  padding: 34px 28px;
  border: 1px solid #ece7e3;
  background: var(--cream);
}

.benefit-card p {
  margin-bottom: 0;
}

.treatment-note {
  max-width: 900px;
  margin: 34px 0 0;
  padding-left: 18px;
  border-left: 3px solid var(--wine);
  font-size: 15px;
}

.process-section {
  padding-bottom: 120px;
}

.process-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.process-list li {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 8px 36px;
}

.process-list li + li {
  border-left: 1px solid var(--line);
}

.step-number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--wine);
  font-size: 20px;
  font-weight: 600;
}

.process-list h3 {
  margin-top: 8px;
}

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

.form-section {
  scroll-margin-top: 20px;
  background: linear-gradient(180deg, #e9e5e0 0%, #f5f3ef 100%);
}

.form-layout {
  display: block;
  max-width: 1120px;
}

.form-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: end;
  padding: clamp(38px, 6vw, 62px) clamp(30px, 6vw, 66px) 76px;
  color: var(--paper);
  background: var(--wine);
}

.form-intro-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.form-intro .eyebrow,
.form-intro h2 {
  color: var(--paper);
}

.form-intro h2 {
  max-width: 720px;
  margin-bottom: 20px;
}

.contact-compact {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.contact-compact p {
  margin-bottom: 6px;
  color: var(--paper);
}

.contact-compact a {
  width: fit-content;
  color: var(--paper);
  font-weight: 500;
}

.form-card {
  position: relative;
  margin: -34px 24px 0;
  padding: clamp(34px, 5vw, 58px);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.required-note {
  margin-bottom: 28px;
  color: #80787a;
  font-size: 14px;
  text-align: right;
}

.form-step {
  scroll-margin-top: 28px;
}

.form-step + .form-step {
  margin-top: 46px;
  padding-top: 46px;
  border-top: 1px solid var(--line);
}

.form-step:focus {
  outline: none;
}

.form-step-heading {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 28px;
}

.form-step-number {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--wine);
  font-size: 18px;
  font-weight: 600;
}

.form-step-heading h3 {
  margin: 0 0 4px;
  font-size: clamp(1.55rem, 3vw, 2rem);
}

.form-step-heading p {
  margin: 0;
  font-size: 15px;
}

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

.field {
  min-width: 0;
}

.full-width {
  grid-column: 1 / -1;
}

.field label,
fieldset legend {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid #cfc8c3;
  border-radius: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
}

input,
select {
  padding: 11px 14px;
}

textarea {
  min-height: 140px;
  padding: 13px 14px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #827a7c;
  opacity: 1;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #9c9194;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--wine);
  outline: 2px solid rgba(121, 25, 56, 0.16);
  outline-offset: 1px;
}

.was-validated :invalid:not(fieldset) {
  border-color: var(--error);
}

fieldset {
  min-width: 0;
  margin: 26px 0;
  padding: 0;
  border: 0;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice-row label {
  cursor: pointer;
}

.choice-row input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice-row span {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 9px 20px;
  border: 1px solid #cfc8c3;
  border-radius: 100px;
  color: var(--ink);
  background: var(--paper);
}

.choice-row input:checked + span {
  border-color: var(--wine);
  color: var(--paper);
  background: var(--wine);
}

.choice-row input:focus-visible + span {
  outline: 3px solid #c84970;
  outline-offset: 3px;
}

.availability-fieldset {
  margin: 0;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  background: #faf9f7;
}

.availability-fieldset > legend {
  padding: 0 10px;
  color: var(--wine);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
}

.availability-intro {
  max-width: 790px;
  margin-bottom: 20px;
  font-size: 16px;
}

.availability-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 24px;
  color: var(--ink);
  font-size: 13px;
}

.availability-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend-swatch {
  display: inline-block;
  width: 13px;
  height: 13px;
  border: 1px solid transparent;
  border-radius: 3px;
}

.legend-swatch.is-free {
  border-color: var(--slot-free);
  background: var(--slot-free);
}

.legend-swatch.is-selected {
  border-color: var(--wine);
  background: var(--wine);
}

.legend-swatch.is-requested {
  border-color: #aaa5a2;
  background: var(--slot-requested);
}

.legend-swatch.is-unavailable {
  border-color: #c9c4c1;
  background: repeating-linear-gradient(135deg, #f5f3f1 0 4px, #dedad7 4px 8px);
}

.availability-grid {
  display: block;
}

.availability-week-heading {
  margin: 0 0 12px;
  color: var(--wine);
  font-size: 18px;
  font-weight: 600;
}

.availability-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.availability-tab {
  display: grid;
  min-width: 0;
  min-height: 72px;
  place-items: center;
  gap: 2px;
  padding: 9px 7px;
  border: 1px solid #cfc8c3;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
  line-height: 1.15;
}

.availability-tab:hover {
  border-color: var(--wine);
}

.availability-tab[aria-selected="true"] {
  border-color: var(--wine);
  color: var(--paper);
  background: var(--wine);
  box-shadow: 0 8px 22px rgba(121, 25, 56, 0.18);
}

.availability-tab-day {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
}

.availability-tab-date {
  font-size: 13px;
}

.availability-tab-badge {
  padding: 2px 6px;
  border-radius: 100px;
  color: #69502f;
  background: #eee1cc;
  font-size: 9px;
  font-weight: 600;
}

.availability-tab[aria-selected="true"] .availability-tab-badge {
  color: var(--wine-dark);
  background: #fff1d9;
}

.availability-panels {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  background: var(--paper);
}

.availability-day {
  min-width: 0;
  padding: 0;
}

.availability-day[hidden] {
  display: none;
}

.availability-day-title {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.availability-day-title time {
  display: block;
}

.self-pay-badge {
  display: inline-flex;
  margin: 0;
  padding: 3px 8px;
  border-radius: 100px;
  color: #69502f;
  background: #eee1cc;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}

.slot-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.slot-option {
  position: relative;
  display: block;
}

.slot-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.slot-content {
  display: grid;
  min-height: 58px;
  grid-template-columns: 1fr;
  gap: 2px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid;
  border-radius: var(--radius);
  line-height: 1.25;
}

.slot-time {
  font-size: 17px;
  font-weight: 600;
}

.slot-status {
  font-size: 12px;
  text-align: left;
}

.slot-option[data-status="free"] {
  cursor: pointer;
}

.slot-option[data-status="free"] .slot-content {
  border-color: var(--slot-free);
  color: #245b94;
  background: var(--slot-free-soft);
}

.slot-option[data-status="free"]:hover .slot-content {
  background: #deedfd;
}

.slot-option[data-status="free"] input:checked + .slot-content {
  border-color: var(--wine);
  color: var(--paper);
  background: var(--wine);
}

.slot-option input:focus-visible + .slot-content {
  outline: 3px solid #c84970;
  outline-offset: 3px;
}

.slot-option[data-status="requested"] .slot-content {
  border-color: #b8b3b0;
  color: #696361;
  background: var(--slot-requested);
}

.slot-option[data-status="confirmed"] .slot-content,
.slot-option[data-status="blocked"] .slot-content {
  border-color: #d1ccca;
  color: #8b8582;
  background: repeating-linear-gradient(135deg, #f5f3f1 0 6px, var(--slot-unavailable) 6px 12px);
}

.slot-option[data-status]:not([data-status="free"]) {
  cursor: not-allowed;
}

.availability-selection {
  min-height: 54px;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 4px solid #aaa5a2;
  color: var(--ink);
  background: var(--paper);
  font-size: 14px;
  font-weight: 500;
}

.availability-selection.has-selection {
  border-left-color: var(--wine);
  background: var(--wine-soft);
}

.availability-selection.is-requested {
  border-left-color: #8c8784;
  background: #efedeb;
}

.availability-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: stretch;
  margin-top: 18px;
}

.availability-next {
  min-width: 250px;
  cursor: pointer;
}

.availability-next:disabled {
  border-color: #c7c2bf;
  color: #827c79;
  background: #e5e2df;
  cursor: not-allowed;
  transform: none;
}

.availability-loading,
.availability-empty {
  margin: 0;
  padding: 18px;
  border-left: 3px solid var(--wine);
  background: var(--cream);
  font-size: 14px;
}

.privacy-check {
  display: grid;
  margin: 28px 0;
  grid-template-columns: 23px 1fr;
  gap: 11px;
  align-items: start;
  color: var(--ink);
  cursor: pointer;
  font-size: 15px;
}

.privacy-check input {
  width: 21px;
  min-height: 21px;
  margin: 2px 0 0;
  accent-color: var(--wine);
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.submit-button {
  position: relative;
  width: 100%;
  min-height: 56px;
  cursor: pointer;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: var(--paper);
  border-radius: 50%;
  animation: spin 750ms linear infinite;
}

.submit-button.is-loading .spinner {
  display: block;
}

.form-status {
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 4px solid;
}

.form-status strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.form-status p {
  margin-bottom: 0;
}

.form-status-success {
  border-color: var(--success);
  background: #eef6f1;
}

.form-status-error {
  border-color: var(--error);
  background: #fbefef;
}

.test-mode-note {
  margin: 0 0 24px;
  padding: 12px 15px;
  border-left: 3px solid #8a6b22;
  color: #5f4918;
  background: #fff8e6;
  font-size: 14px;
}

.location-section {
  background: var(--cream);
}

.location-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 28px;
  align-items: stretch;
}

.location-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  align-items: start;
  padding: 44px 48px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.location-mark {
  margin: 0;
}

.location-note h2 {
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.location-note p:last-child {
  margin-bottom: 0;
}

.area-list {
  display: grid;
  margin: 0;
  padding: 30px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
  color: var(--paper);
  background: var(--wine);
  list-style: none;
}

.area-list li {
  display: flex;
  min-height: 49px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 500;
}

.area-list li::before {
  color: #f1cad6;
  content: "✓";
}

.guidance-section {
  background: var(--paper);
}

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

.guidance-grid article {
  min-height: 100%;
  padding: 34px 30px;
  border: 1px solid var(--line);
  background: var(--cream);
}

.guidance-grid article > span {
  display: block;
  margin-bottom: 20px;
  color: var(--wine);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.guidance-grid article p {
  margin-bottom: 0;
}

.trust-section {
  padding-top: 0;
  background: var(--paper);
}

.trust-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(38px, 7vw, 90px);
  align-items: center;
  padding: clamp(42px, 7vw, 78px);
  color: rgba(255, 255, 255, 0.88);
  background: var(--wine);
}

.trust-panel .eyebrow,
.trust-panel h2 {
  color: var(--paper);
}

.trust-panel h2 {
  margin-bottom: 20px;
}

.trust-panel p:last-child {
  margin-bottom: 0;
}

.trust-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 14px;
  list-style: none;
}

.trust-list li {
  position: relative;
  padding: 14px 16px 14px 48px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 500;
}

.trust-list li::before {
  position: absolute;
  top: 14px;
  left: 18px;
  color: #f1cad6;
  content: "✓";
}

.faq-section {
  background: var(--cream);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(46px, 8vw, 110px);
  align-items: start;
}

.faq-layout .section-heading {
  position: sticky;
  top: 32px;
  margin-bottom: 0;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.faq-list summary {
  position: relative;
  padding: 24px 58px 24px 24px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 24px;
  color: var(--wine);
  content: "+";
  font-size: 27px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: -5px 58px 0 24px;
  padding-bottom: 24px;
}

.quick-contact {
  padding: 55px 0;
  background: var(--paper);
}

.quick-contact-inner {
  display: flex;
  justify-content: center;
  gap: clamp(28px, 6vw, 78px);
}

.quick-contact a {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 15px;
  text-decoration: none;
  text-transform: uppercase;
}

.quick-contact a span:first-child {
  color: var(--wine);
  font-size: 27px;
  line-height: 1;
}

.site-footer {
  padding: 78px 0 28px;
  color: var(--ink);
  background: var(--cream);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.1fr 0.9fr 1.25fr;
  gap: 55px;
}

.footer-brand img {
  width: 140px;
  height: auto;
}

.site-footer h2 {
  margin-bottom: 24px;
  font-size: 1.35rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 5px;
}

.site-footer a {
  color: var(--ink);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--wine);
}

.site-footer address {
  font-style: normal;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  margin-top: 70px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--wine);
  font-size: 14px;
}

.footer-bottom p {
  margin-bottom: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1080px) {
  .header-inner {
    min-height: 150px;
  }

  .brand img {
    width: 138px;
  }

  .primary-navigation {
    gap: 20px;
  }

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

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

  .process-list li {
    padding-inline: 24px;
  }

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

@media (max-width: 860px) {
  .section {
    padding: 85px 0;
  }

  .header-inner {
    width: min(calc(100% - 40px), var(--container));
    min-height: 125px;
  }

  .menu-toggle {
    position: relative;
    z-index: 22;
    display: grid;
    width: 50px;
    height: 50px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: var(--paper);
    background: var(--wine);
    cursor: pointer;
  }

  .menu-toggle-lines,
  .menu-toggle-lines::before,
  .menu-toggle-lines::after {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    content: "";
    transition: transform 180ms ease;
  }

  .menu-toggle-lines::before {
    transform: translateY(-7px);
  }

  .menu-toggle-lines::after {
    transform: translateY(5px);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-lines {
    background: transparent;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
    transform: translateY(0) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
    transform: translateY(-2px) rotate(-45deg);
  }

  .primary-navigation {
    position: fixed;
    z-index: 21;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 6px;
    padding: 120px 28px 40px;
    background: rgba(245, 243, 239, 0.98);
  }

  .primary-navigation.is-open {
    display: flex;
  }

  .primary-navigation > a:not(.button) {
    padding: 12px 8px;
    border-bottom: 1px solid var(--line);
    font-size: 19px;
  }

  .nav-cta {
    margin-top: 18px;
  }

  .hero {
    min-height: 720px;
    padding-top: 175px;
    background-position: 62% center;
  }

  .hero-overlay {
    background: rgba(245, 243, 239, 0.78);
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .location-layout,
  .trust-panel,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-layout .section-heading {
    position: static;
  }

  .form-intro {
    grid-template-columns: 1fr;
    padding-bottom: 64px;
  }

  .contact-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
  }

  .contact-compact p {
    grid-column: 1 / -1;
  }

  .availability-tabs {
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .availability-tab {
    flex: 0 0 112px;
    scroll-snap-align: start;
  }

  .slot-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .availability-actions {
    grid-template-columns: 1fr;
  }

  .availability-next {
    width: 100%;
  }

  .process-list {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .process-list li {
    padding: 0;
  }

  .process-list li + li {
    padding-top: 28px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 34px), var(--container));
  }

  .section {
    padding: 70px 0;
  }

  .header-inner {
    width: calc(100% - 32px);
    min-height: 104px;
  }

  .brand img {
    width: 108px;
  }

  .hero {
    min-height: 690px;
    padding: 140px 0 105px;
  }

  .hero::after {
    bottom: -55px;
    height: 100px;
  }

  h1 {
    font-size: clamp(2.3rem, 11vw, 3.25rem);
  }

  h2 {
    font-size: clamp(2rem, 9vw, 2.55rem);
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .hero-actions {
    display: grid;
  }

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

  .trust-note {
    display: grid;
    gap: 2px;
  }

  .trust-note span {
    display: none;
  }

  .intro-section {
    padding-top: 90px;
  }

  .service-note {
    padding: 30px 24px;
  }

  .form-intro {
    padding: 32px 24px 58px;
  }

  .form-intro-copy > p:not(.eyebrow) {
    font-size: 16px;
  }

  .contact-compact {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .contact-compact p {
    grid-column: auto;
  }

  .form-card {
    margin: -28px 10px 0;
    padding: 26px 18px 32px;
  }

  .required-note {
    margin-bottom: 24px;
    text-align: left;
  }

  .form-step + .form-step {
    margin-top: 36px;
    padding-top: 36px;
  }

  .form-step-heading {
    grid-template-columns: 40px 1fr;
    gap: 12px;
  }

  .form-step-number {
    width: 40px;
    height: 40px;
  }

  .benefit-grid,
  .guidance-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .full-width {
    grid-column: auto;
  }

  .benefit-card {
    padding: 28px 24px;
  }

  .process-list li {
    grid-template-columns: 42px 1fr;
    gap: 15px;
  }

  .step-number {
    width: 42px;
    height: 42px;
  }

  .choice-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .availability-fieldset {
    padding: 22px 16px;
  }

  .availability-fieldset > legend {
    padding: 0 6px;
    font-size: 1.45rem;
  }

  .availability-legend {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
  }

  .availability-tabs {
    margin-right: -16px;
    padding-right: 16px;
  }

  .availability-tab {
    min-height: 68px;
    flex-basis: 98px;
  }

  .availability-panels {
    padding: 18px 14px;
  }

  .slot-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .slot-content {
    min-height: 62px;
    padding: 11px 12px;
  }

  .slot-time {
    font-size: 16px;
  }

  .choice-row span {
    justify-content: center;
    padding-inline: 12px;
  }

  .location-note {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }

  .area-list {
    padding: 22px 24px;
  }

  .guidance-grid article {
    padding: 28px 24px;
  }

  .trust-panel {
    padding: 34px 24px;
  }

  .faq-list summary {
    padding: 21px 52px 21px 18px;
  }

  .faq-list summary::after {
    right: 18px;
  }

  .faq-list details p {
    margin-right: 24px;
    margin-left: 18px;
  }

  .quick-contact-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .quick-contact a {
    justify-content: center;
    padding: 12px;
    border: 1px solid var(--line);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-bottom {
    display: grid;
    margin-top: 48px;
  }

  .submit-button {
    min-height: 58px;
  }
}

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

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