:root {
  --ink: #182127;
  --graphite: #282828;
  --slate: #4f5d68;
  --blue: #0e5173;
  --blue-dark: #08384f;
  --red: #c73242;
  --red-dark: #982534;
  --amber: #f9a81b;
  --ivory: #fffff0;
  --paper: #f4f2eb;
  --white: #ffffff;
  --line: #d9d4c7;
  --soft-line: rgba(14, 81, 115, 0.16);
  --shadow: 0 24px 70px rgba(24, 33, 39, 0.13);
  --shadow-soft: 0 14px 36px rgba(24, 33, 39, 0.08);
  --radius: 8px;
  --control-height: 48px;
  --header: 78px;
  --container: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(14, 81, 115, 0.035) 1px, transparent 1px) 0 0 / 72px 72px,
    var(--paper);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: var(--base-font-size, 16px);
  line-height: 1.58;
  text-rendering: optimizeLegibility;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: var(--header);
  padding: 12px clamp(18px, 4vw, 48px);
  background: rgba(255, 255, 240, 0.94);
  border-bottom: 1px solid rgba(14, 81, 115, 0.14);
  box-shadow: 0 10px 34px rgba(24, 33, 39, 0.06);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: max-content;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  color: var(--ivory);
  background: var(--blue);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.14);
  font-size: 18px;
  font-weight: 900;
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: 8px;
  width: 10px;
  height: 22px;
  background: var(--red);
  border-radius: 2px;
}

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

.brand strong {
  font-size: 17px;
}

.brand small {
  color: var(--slate);
  font-size: 12px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.main-nav a {
  padding: 10px 13px;
  border-radius: var(--radius);
  color: #44545f;
  font-size: 15px;
  font-weight: 650;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--blue-dark);
  background: rgba(14, 81, 115, 0.08);
}

.header-phone {
  position: relative;
  min-width: 196px;
  min-height: 54px;
  display: grid;
  align-items: center;
  gap: 1px;
  padding: 8px 16px 8px 18px;
  border: 1px solid rgba(199, 50, 66, 0.28);
  border-radius: var(--radius);
  color: var(--ivory);
  background: linear-gradient(135deg, var(--blue), var(--red-dark));
  box-shadow: 0 16px 34px rgba(14, 81, 115, 0.14);
  overflow: hidden;
}

.header-phone::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--amber);
}

.header-phone span,
.header-phone small,
.header-phone strong {
  position: relative;
  display: block;
  line-height: 1.15;
}

.header-phone span {
  color: rgba(255, 255, 240, 0.72);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.header-phone strong {
  font-size: 16px;
  font-weight: 900;
}

.header-phone small {
  color: rgba(255, 255, 240, 0.72);
  font-size: 12px;
  font-weight: 650;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(14, 81, 115, 0.2);
  border-radius: var(--radius);
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: var(--blue-dark);
}

.hero {
  position: relative;
  min-height: clamp(560px, 68svh, 660px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--graphite);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.92) 0 34%, rgba(16, 24, 32, 0.72) 58%, rgba(16, 24, 32, 0.46) 100%),
    linear-gradient(0deg, rgba(16, 24, 32, 0.78), rgba(16, 24, 32, 0.12) 54%),
    linear-gradient(90deg, rgba(199, 50, 66, 0.86) 0 5px, transparent 5px);
  pointer-events: none;
  z-index: 1;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  min-height: 100%;
}

.hero-media::after {
  content: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: 42% 52%;
  filter: saturate(0.95) contrast(1.03);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: clamp(42px, 6vw, 68px) clamp(18px, 4vw, 56px);
  color: var(--ivory);
}

.hero-content > h1,
.hero-content > .hero-lead,
.hero-content > .hero-actions {
  max-width: 900px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  margin: 0 0 14px;
  padding: 5px 10px;
  border: 1px solid rgba(14, 81, 115, 0.14);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(14, 81, 115, 0.07);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.request-section .eyebrow,
.site-footer .eyebrow {
  border-color: rgba(249, 168, 27, 0.28);
  color: var(--amber);
  background: rgba(249, 168, 27, 0.1);
}

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

h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(40px, 4.6vw, var(--h1-max, 64px));
  line-height: 1.02;
  font-weight: 900;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 3.8vw, var(--h2-max, 52px));
  line-height: 1.07;
  font-weight: 900;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.22;
  font-weight: 850;
}

.hero-lead,
.page-hero p,
.section-heading p {
  max-width: 720px;
  color: rgba(255, 255, 240, 0.84);
  font-size: 20px;
}

.page-hero p,
.section-heading p {
  color: var(--slate);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--control-height);
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  color: var(--ivory);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 14px 28px rgba(199, 50, 66, 0.22);
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-ghost {
  color: var(--blue-dark);
  background: var(--white);
  border-color: rgba(14, 81, 115, 0.22);
  box-shadow: 0 10px 22px rgba(14, 81, 115, 0.06);
}

.btn-ghost:hover {
  border-color: rgba(14, 81, 115, 0.34);
  box-shadow: 0 14px 30px rgba(14, 81, 115, 0.1);
}

.btn-danger {
  color: var(--red-dark);
  background: #fff5f4;
  border-color: rgba(199, 50, 66, 0.28);
}

.btn-danger:hover {
  color: var(--ivory);
  background: var(--red-dark);
}

.hero .btn-ghost {
  color: var(--ivory);
  background: rgba(255, 255, 240, 0.11);
  border-color: rgba(255, 255, 240, 0.24);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
  margin-top: clamp(22px, 3.5vw, 34px);
}

.hero-facts span {
  border: 1px solid rgba(255, 255, 240, 0.2);
  border-radius: var(--radius);
  padding: 9px 12px;
  color: rgba(255, 255, 240, 0.9);
  background: rgba(255, 255, 240, 0.08);
  font-weight: 750;
}

.hero-facts span {
  display: grid;
  gap: 4px;
  min-height: 66px;
  padding: 12px 14px;
  background: rgba(255, 255, 240, 0.11);
  backdrop-filter: blur(12px);
}

.hero-facts strong,
.hero-facts small {
  display: block;
}

.hero-facts small {
  color: rgba(255, 255, 240, 0.68);
  font-size: 13px;
  font-weight: 650;
}

.page-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(58px, 7vw, 86px) clamp(18px, 4vw, 56px);
  color: var(--ivory);
  background:
    linear-gradient(90deg, var(--graphite) 0 62%, var(--blue-dark) 62% 100%);
  border-bottom: 5px solid var(--amber);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, transparent 0 72%, rgba(199, 50, 66, 0.86) 72% 72.5%, transparent 72.5%),
    linear-gradient(135deg, rgba(255, 255, 240, 0.08), transparent 42%);
}

.page-hero .section-inner {
  max-width: var(--container);
}

.page-hero .narrow {
  max-width: var(--container);
}

.page-hero .eyebrow {
  color: var(--amber);
}

.page-hero h1 {
  max-width: 920px;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.02;
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 240, 0.82);
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 4vw, 56px);
}

.section.compact {
  padding-block: 44px;
}

.muted {
  background:
    linear-gradient(90deg, rgba(14, 81, 115, 0.045) 1px, transparent 1px) 0 0 / 66px 66px,
    #ebe6dc;
}

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.narrow {
  max-width: 900px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.72fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.5fr);
  gap: 28px;
  align-items: end;
  max-width: none;
  margin-bottom: 30px;
}

.section-heading p {
  margin-bottom: 4px;
}

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

.service-card,
.info-panel,
.step,
.contact-card,
.map-card,
.request-form {
  border: 1px solid rgba(14, 81, 115, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 26px;
  overflow: hidden;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  color: var(--ivory);
  background: linear-gradient(135deg, var(--blue), var(--red-dark));
  box-shadow: 0 12px 26px rgba(14, 81, 115, 0.16);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--red), var(--amber));
}

.service-card:nth-child(even)::before {
  background: linear-gradient(90deg, var(--red), var(--blue));
}

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

.service-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(14, 81, 115, 0.16);
  border-radius: var(--radius);
  margin-top: auto;
  color: var(--blue-dark);
  background: var(--ivory);
  font-size: 14px;
  font-weight: 850;
}

.service-card a::after {
  content: ">";
  color: var(--red);
}

.service-card a:hover {
  border-color: rgba(199, 50, 66, 0.28);
  box-shadow: 0 10px 22px rgba(14, 81, 115, 0.08);
}

.info-panel {
  padding: 26px;
  background: var(--ivory);
}

.info-panel strong {
  color: var(--blue-dark);
}

.info-panel ul {
  margin: 14px 0 0;
  padding-left: 22px;
  color: var(--slate);
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  position: relative;
  padding: 22px 22px 22px 70px;
  background: var(--ivory);
}

.step span {
  position: absolute;
  left: 20px;
  top: 22px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  color: var(--ivory);
  background: var(--blue);
  font-weight: 900;
}

.step strong {
  display: block;
  color: var(--ink);
}

.step p {
  margin-bottom: 0;
  color: var(--slate);
}

.brand-marquee {
  position: relative;
  overflow: hidden;
  padding-block: 4px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.brand-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: brand-scroll 34s linear infinite;
}

.brand-marquee:hover .brand-track {
  animation-play-state: paused;
}

.brand-logo {
  display: grid;
  place-items: center;
  width: clamp(150px, 15vw, 210px);
  min-height: 82px;
  padding: 12px;
  border: 1px solid rgba(14, 81, 115, 0.16);
  border-radius: var(--radius);
  background: var(--ivory);
  box-shadow: 0 10px 22px rgba(14, 81, 115, 0.08);
  flex: 0 0 auto;
}

.brand-logo img {
  width: 100%;
  height: 56px;
  object-fit: contain;
}

.brand-svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 22px rgba(14, 81, 115, 0.08));
}

.brand-svg rect {
  fill: var(--ivory);
  stroke: rgba(14, 81, 115, 0.16);
  stroke-width: 2;
}

.brand-svg path {
  stroke: var(--amber);
  stroke-width: 4;
  stroke-linecap: round;
}

.brand-svg text {
  fill: var(--blue-dark);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 900;
}

.brand-svg--man text,
.brand-svg--daf text,
.brand-svg--scania text {
  fill: var(--blue);
}

.brand-svg--mercedes-benz text,
.brand-svg--renault text {
  fill: var(--graphite);
  font-size: 20px;
}

.brand-svg--volvo text,
.brand-svg--iveco text {
  fill: var(--red-dark);
}

.brand-svg--schmitz text,
.brand-svg--kogel text,
.brand-svg--krone text {
  fill: #34424b;
  font-size: 22px;
}

.custom-blocks {
  padding-top: clamp(34px, 5vw, 58px);
  padding-bottom: clamp(34px, 5vw, 58px);
}

.custom-block-grid {
  display: grid;
  gap: 16px;
}

.custom-block {
  max-width: 980px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(14, 81, 115, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.custom-block--feature {
  border-left: 5px solid var(--blue);
}

.custom-block--cta {
  max-width: none;
  color: var(--ivory);
  background:
    linear-gradient(90deg, rgba(249, 168, 27, 0.95) 0 5px, transparent 5px),
    linear-gradient(135deg, var(--graphite), var(--blue-dark));
}

.custom-block--cta .eyebrow {
  color: var(--amber);
  border-color: rgba(249, 168, 27, 0.28);
  background: rgba(249, 168, 27, 0.1);
}

.custom-block p {
  max-width: 760px;
  color: var(--slate);
}

.custom-block--cta p {
  color: rgba(255, 255, 240, 0.78);
}

@keyframes brand-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 7px));
  }
}

.request-section {
  position: relative;
  color: var(--ivory);
  background:
    linear-gradient(90deg, rgba(199, 50, 66, 0.9) 0 5px, transparent 5px),
    linear-gradient(135deg, var(--graphite), #101820 72%);
  overflow: hidden;
}

.request-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0 67%, rgba(14, 81, 115, 0.42) 67% 100%);
  pointer-events: none;
}

.request-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 0.9fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}

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

.request-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  color: var(--ink);
  background: var(--ivory);
}

.request-form label {
  display: grid;
  gap: 8px;
}

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

.request-progress span {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 9px 11px;
  border: 1px solid rgba(14, 81, 115, 0.14);
  border-radius: var(--radius);
  color: var(--slate);
  background: rgba(14, 81, 115, 0.04);
  font-size: 11px;
  line-height: 1.25;
  text-transform: none;
}

.request-progress span.is-active {
  border-color: rgba(199, 50, 66, 0.35);
  color: var(--blue-dark);
  background: rgba(249, 168, 27, 0.14);
}

.request-progress b {
  display: inline-grid;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-size: 12px;
}

.request-progress span.is-active b {
  background: var(--red);
}

.request-step-status {
  margin: -4px 0 0;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 800;
}

.request-step {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.request-step[hidden] {
  display: none;
}

.request-step-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.request-step-actions .btn {
  width: auto;
  min-width: 150px;
  margin: 0;
}

.request-consent-intro {
  padding: 16px;
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
  background: rgba(249, 168, 27, 0.1);
}

.request-consent-intro strong {
  color: var(--blue-dark);
}

.request-consent-intro p {
  margin: 6px 0 0;
  color: #33434d;
  line-height: 1.5;
}

.personal-data-notice {
  padding: 14px;
  border: 1px solid rgba(14, 81, 115, 0.14);
  border-radius: var(--radius);
  background: rgba(14, 81, 115, 0.05);
  color: #33434d;
}

.personal-data-notice strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 850;
}

.personal-data-notice ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
}

.personal-data-notice li,
.personal-data-notice p {
  margin: 0;
  color: #33434d;
  font-size: 13px;
  line-height: 1.45;
}

.personal-data-notice p + p {
  margin-top: 8px;
}

.personal-data-notice a {
  color: var(--blue-dark);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.request-form .consent-field {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(14, 81, 115, 0.14);
  border-radius: var(--radius);
  background: rgba(14, 81, 115, 0.05);
}

.request-form .consent-field input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--red);
  box-shadow: none;
}

.request-form .consent-field span {
  color: #33434d;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
  text-transform: none;
}

.request-form .consent-field a {
  color: var(--blue-dark);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.request-form span {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.request-form input,
.request-form select,
.request-form textarea,
.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  min-height: var(--control-height);
  border: 1px solid rgba(14, 81, 115, 0.18);
  border-radius: var(--radius);
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.request-form input[type="checkbox"] {
  padding: 0;
}

.request-form textarea,
.admin-form textarea {
  min-height: 118px;
  padding-top: 13px;
  resize: vertical;
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus,
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  outline: 3px solid rgba(249, 168, 27, 0.28);
  border-color: var(--blue);
  background: var(--white);
}

.request-form .btn {
  width: 100%;
  min-height: 52px;
  margin-top: 2px;
}

.booking-alert {
  margin: 0;
  padding: 13px 15px;
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  color: var(--red-dark);
  background: rgba(199, 50, 66, 0.09);
  font-weight: 800;
  line-height: 1.45;
}

.public-booking-calendar {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(14, 81, 115, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.public-booking-calendar:focus {
  outline: 3px solid rgba(249, 168, 27, 0.28);
}

.public-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.public-calendar-head > div:first-child {
  display: grid;
  gap: 4px;
}

.public-calendar-head strong {
  color: var(--ink);
  font-size: 17px;
}

.public-calendar-nav {
  display: flex;
  gap: 8px;
}

.request-form .public-calendar-nav .btn {
  width: 44px;
  min-width: 44px;
  min-height: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
}

.public-calendar-weekdays,
.public-calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(30px, 1fr));
  gap: 6px;
}

.public-calendar-weekdays span {
  color: var(--slate);
  font-size: 11px;
  text-align: center;
}

.public-calendar-day,
.public-calendar-spacer {
  min-width: 0;
  min-height: 42px;
  border-radius: 8px;
}

.public-calendar-day {
  border: 1px solid transparent;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.public-calendar-day.is-available {
  border-color: rgba(14, 81, 115, 0.22);
  color: var(--blue-dark);
  background: rgba(14, 81, 115, 0.1);
}

.public-calendar-day.is-available:hover,
.public-calendar-day.is-available:focus-visible {
  border-color: var(--amber);
  box-shadow: 0 7px 18px rgba(14, 81, 115, 0.13);
  transform: translateY(-1px);
}

.public-calendar-day.is-selected {
  border-color: var(--blue-dark);
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(249, 168, 27, 0.28);
}

.public-calendar-day.is-busy {
  color: #7b474d;
  background: rgba(199, 50, 66, 0.11);
  cursor: not-allowed;
}

.public-calendar-status,
.public-calendar-call {
  margin: 0;
  color: #33434d;
  font-size: 13px;
  line-height: 1.45;
}

.public-calendar-status {
  min-height: 19px;
  font-weight: 800;
}

.public-calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.request-form .public-calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--slate);
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
}

.public-calendar-legend i {
  width: 11px;
  height: 11px;
  border-radius: 3px;
}

.public-calendar-legend i.is-available {
  background: rgba(14, 81, 115, 0.3);
}

.public-calendar-legend i.is-busy {
  background: rgba(199, 50, 66, 0.3);
}

.public-calendar-call {
  padding-top: 9px;
  border-top: 1px solid rgba(14, 81, 115, 0.1);
}

.public-calendar-call a {
  color: var(--blue-dark);
  font-weight: 900;
}

.privacy-request-form {
  color: var(--ink);
  background: var(--white);
}

.form-success {
  padding: 14px 16px;
  border: 1px solid rgba(14, 81, 115, 0.18);
  border-radius: var(--radius);
  background: rgba(14, 81, 115, 0.08);
  color: var(--blue-dark);
  font-weight: 800;
}

.wide {
  grid-column: 1 / -1;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 20px;
}

.contact-card {
  position: relative;
  padding: 30px;
  background: var(--ivory);
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--red), var(--amber));
}

.contact-card h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.2vw, 48px);
  line-height: 1.02;
}

.contact-card > p:not(.eyebrow) {
  margin-bottom: 10px;
  color: #26343d;
  font-size: 16px;
}

.contact-card .btn {
  width: 100%;
  margin-top: 4px;
}

.phone-list {
  display: grid;
  gap: 8px;
  margin: 22px 0;
}

.phone-list a {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 56px;
  padding: 0 15px 0 18px;
  border: 1px solid rgba(14, 81, 115, 0.14);
  border-radius: var(--radius);
  color: var(--blue-dark);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(14, 81, 115, 0.05);
  font-size: 16px;
  font-weight: 850;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.phone-list a::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: rgba(14, 81, 115, 0.28);
}

.phone-list a:hover {
  border-color: rgba(199, 50, 66, 0.34);
  box-shadow: 0 14px 30px rgba(14, 81, 115, 0.1);
  transform: translateY(-1px);
}

.phone-list a.is-active {
  border-color: rgba(199, 50, 66, 0.42);
  color: var(--ivory);
  background: linear-gradient(135deg, var(--blue), var(--red-dark));
  box-shadow: 0 16px 34px rgba(14, 81, 115, 0.17);
}

.phone-list a.is-active::before {
  background: var(--amber);
}

.phone-list span {
  color: var(--slate);
  font-size: 14px;
  font-weight: 500;
  text-align: right;
}

.phone-list a.is-active span {
  color: rgba(255, 255, 240, 0.78);
}

.map-card {
  display: grid;
  align-content: center;
  gap: 16px;
  min-height: 420px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--ivory);
}

.map-card--embedded {
  display: grid;
  grid-template-rows: minmax(330px, 1fr) auto;
  align-content: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.map-frame {
  width: 100%;
  height: 100%;
  min-height: 330px;
  border: 0;
  background: #e8e7df;
}

.map-card-footer {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-top: 1px solid rgba(14, 81, 115, 0.12);
  background: var(--ivory);
}

.map-card-footer .eyebrow {
  margin-bottom: 4px;
}

.map-card-footer strong {
  color: var(--blue-dark);
}

.map-card-footer .btn {
  flex: 0 0 auto;
}

.route-card h3 {
  margin: 0;
  color: var(--blue-dark);
}

.route-card p {
  max-width: 520px;
  margin: 0;
  color: var(--slate);
}

.route-card .btn {
  justify-self: start;
}

.legal-content {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(14, 81, 115, 0.14);
  border-radius: var(--radius);
  background: var(--ivory);
  box-shadow: var(--shadow-soft);
}

.legal-content h2 {
  margin: 8px 0 0;
  font-size: clamp(22px, 2vw, 30px);
}

.legal-content p {
  margin-bottom: 0;
  color: #33434d;
}

.legal-note {
  padding: 14px 16px;
  border-left: 4px solid var(--amber);
  background: rgba(249, 168, 27, 0.12);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 36px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 240, 0.74);
  background: #101820;
  border-top: 5px solid var(--red);
}

.footer-brand {
  color: var(--ivory);
}

.footer-brand small {
  color: rgba(255, 255, 240, 0.62);
}

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

.footer-links a {
  color: var(--ivory);
  font-weight: 750;
}

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

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

.admin-body {
  background: #eef0ea;
}

.login-screen {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 22px;
}

.login-card {
  width: min(460px, 100%);
  padding: 28px;
}

.login-card h1 {
  margin: 16px 0 4px;
  font-size: 38px;
}

.admin-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100svh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100svh;
  padding: 22px;
  color: var(--ivory);
  background: var(--graphite);
}

.admin-sidebar nav {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.admin-sidebar a {
  padding: 11px 12px;
  border-radius: var(--radius);
  color: rgba(255, 255, 240, 0.76);
}

.admin-sidebar a:hover,
.admin-sidebar a.is-active {
  color: var(--ivory);
  background: rgba(255, 255, 240, 0.1);
}

.admin-main {
  padding: clamp(18px, 4vw, 42px);
}

.admin-main h1 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
}

.admin-main h2 {
  font-size: 26px;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
}

.admin-card {
  border: 1px solid rgba(14, 81, 115, 0.14);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--white);
  box-shadow: 0 12px 38px rgba(24, 33, 39, 0.08);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.admin-stat strong {
  display: block;
  font-size: 30px;
}

.admin-form {
  display: grid;
  gap: 14px;
}

.admin-form label {
  display: grid;
  gap: 8px;
  color: var(--slate);
  font-size: 14px;
  font-weight: 500;
}

.admin-form label > span {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

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

.admin-form-row--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.brand-admin-grid,
.block-admin-grid,
.theme-grid {
  display: grid;
  gap: 14px;
}

.brand-admin-item,
.block-admin-item,
.theme-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(14, 81, 115, 0.12);
  border-radius: var(--radius);
  background: rgba(14, 81, 115, 0.04);
}

.brand-admin-item {
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: center;
}

.brand-admin-preview {
  display: grid;
  place-items: center;
  width: 96px;
  min-height: 70px;
  padding: 10px;
  border: 1px solid rgba(14, 81, 115, 0.14);
  border-radius: var(--radius);
  background: var(--ivory);
}

.brand-admin-preview img {
  width: 100%;
  height: 48px;
  object-fit: contain;
}

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

.theme-swatch {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.theme-swatch input[type="color"] {
  width: 48px;
  min-height: 48px;
  padding: 4px;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(16, 24, 32, 0.54);
}

.admin-modal.is-open {
  display: flex;
}

.admin-modal__panel {
  width: min(620px, 100%);
  max-height: calc(100svh - 36px);
  overflow: auto;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 28px 80px rgba(16, 24, 32, 0.28);
}

.admin-modal__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(14, 81, 115, 0.12);
}

.admin-modal__head h2 {
  margin: 0;
}

.admin-modal__body {
  padding: 20px;
}

.admin-form textarea {
  min-height: 110px;
}

.form-section-title {
  display: grid;
  gap: 4px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(14, 81, 115, 0.12);
}

.form-section-title span {
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 850;
}

.form-section-title p {
  margin: 0;
  color: var(--slate);
  font-size: 13px;
}

.admin-editor-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(420px, 1fr);
  gap: 18px;
  align-items: start;
}

.admin-page-preview {
  position: sticky;
  top: 22px;
  overflow: hidden;
  border: 1px solid rgba(14, 81, 115, 0.14);
  border-radius: var(--radius);
  background: var(--ivory);
  box-shadow: var(--shadow-soft);
}

.preview-browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(14, 81, 115, 0.12);
  background: #f8f6ea;
}

.preview-browser-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
}

.preview-browser-bar span:nth-child(2) {
  background: var(--amber);
}

.preview-browser-bar span:nth-child(3) {
  background: var(--blue);
}

.preview-browser-bar strong {
  min-width: 0;
  margin-left: 8px;
  overflow: hidden;
  color: var(--slate);
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-hero {
  padding: 28px;
  color: var(--ivory);
  background:
    linear-gradient(90deg, rgba(199, 50, 66, 0.86) 0 5px, transparent 5px),
    linear-gradient(135deg, var(--graphite), var(--blue-dark));
}

.preview-hero h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 48px);
}

.preview-hero p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 240, 0.78);
}

.preview-body,
.preview-meta {
  padding: 24px 28px;
}

.preview-body p,
.preview-meta p {
  color: #33434d;
}

.preview-card-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.preview-card-row span {
  padding: 8px 11px;
  border: 1px solid rgba(14, 81, 115, 0.14);
  border-radius: var(--radius);
  color: var(--blue-dark);
  background: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.preview-meta {
  border-top: 1px solid rgba(14, 81, 115, 0.12);
  background: rgba(14, 81, 115, 0.05);
}

.preview-meta strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-dark);
  font-size: 13px;
}

.visual-editor-shell {
  display: grid;
  gap: 14px;
}

.visual-editor-canvas {
  overflow: hidden;
  border: 1px solid rgba(14, 81, 115, 0.14);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.visual-editor-canvas .hero,
.visual-editor-canvas .page-hero {
  min-height: auto;
}

.visual-editor-canvas .hero-content {
  padding-block: 44px;
}

.visual-editor-canvas .section {
  padding: 34px;
}

.visual-editor-canvas .reveal {
  opacity: 1;
  transform: none;
}

.editable-policy-text {
  display: block;
  white-space: pre-line;
  color: #33434d;
}

[contenteditable][data-edit-key],
[contenteditable][data-copy-key],
[contenteditable][data-service-title],
[contenteditable][data-service-text] {
  outline: 2px dashed rgba(14, 81, 115, 0.28);
  outline-offset: 4px;
  border-radius: 4px;
  cursor: text;
}

[contenteditable][data-edit-key]:focus,
[contenteditable][data-copy-key]:focus,
[contenteditable][data-service-title]:focus,
[contenteditable][data-service-text]:focus {
  outline-color: var(--amber);
  background: rgba(249, 168, 27, 0.12);
}

.editable-hint {
  margin: 0;
  color: var(--slate);
  font-size: 13px;
}

.employee-phone-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(14, 81, 115, 0.12);
  border-radius: var(--radius);
  background: rgba(14, 81, 115, 0.04);
}

.employee-phone-card h3 {
  margin: 0;
  font-size: 16px;
}

.settings-preview {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid rgba(199, 50, 66, 0.24);
  border-left: 5px solid var(--amber);
  border-radius: var(--radius);
  color: var(--ivory);
  background: linear-gradient(135deg, var(--blue), var(--red-dark));
  box-shadow: 0 16px 34px rgba(14, 81, 115, 0.12);
}

.settings-preview span {
  color: rgba(255, 255, 240, 0.72);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.settings-preview strong {
  font-size: 22px;
  line-height: 1.18;
}

.settings-preview small {
  color: rgba(255, 255, 240, 0.75);
  font-weight: 650;
}

.check-line {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 10px !important;
}

.check-line input {
  width: 18px !important;
  min-height: 18px !important;
  accent-color: var(--red);
}

.staff-user-list {
  display: grid;
  gap: 14px;
}

.staff-user-card {
  padding: 16px;
  border: 1px solid rgba(14, 81, 115, 0.12);
  border-radius: var(--radius);
  background: rgba(14, 81, 115, 0.04);
}

.table-wrap {
  overflow-x: auto;
  scrollbar-gutter: stable;
  overscroll-behavior-inline: contain;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

.admin-table th,
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--slate);
  font-size: 13px;
}

.lead-row--new {
  background: rgba(249, 168, 27, 0.1);
  box-shadow: inset 4px 0 0 var(--amber);
}

.badge--new {
  color: var(--red-dark);
  background: rgba(199, 50, 66, 0.1);
}

.privacy-requests-table p {
  max-width: 520px;
  margin: 8px 0 0;
  color: var(--slate);
}

.compact-form {
  min-width: 260px;
}

.compact-form textarea {
  min-height: 84px;
}

.admin-table td.table-actions {
  min-width: 218px;
  white-space: nowrap;
  vertical-align: middle;
}

.table-actions {
  text-align: right;
}

.table-action-bar {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  width: max-content;
  min-width: 100%;
}

.table-action-bar form {
  display: flex;
  margin: 0;
}

.table-actions .btn,
.table-action-bar .btn {
  position: relative;
  z-index: 2;
  min-height: 38px;
  vertical-align: middle;
  pointer-events: auto;
}

.badge {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: var(--radius);
  background: rgba(14, 81, 115, 0.1);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 850;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.filters input,
.filters select {
  min-height: 44px;
  border: 1px solid rgba(14, 81, 115, 0.18);
  border-radius: var(--radius);
  padding: 10px 12px;
}

.admin-live-alert {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(199, 50, 66, 0.22);
  border-radius: var(--radius);
  color: var(--blue-dark);
  background: #fff5dc;
  box-shadow: var(--shadow-soft);
}

.admin-live-alert[hidden] {
  display: none;
}

.admin-live-alert span {
  color: var(--slate);
}

.admin-danger-zone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  border-color: rgba(199, 50, 66, 0.2);
  background: #fff8f7;
}

.admin-danger-zone h2 {
  margin-bottom: 4px;
  color: var(--red-dark);
  font-size: 24px;
}

.admin-danger-zone p {
  margin: 0;
  color: var(--slate);
}

.compliance-alert {
  border-left: 5px solid var(--blue);
}

.compliance-alert--danger {
  border-left-color: var(--red);
  background: #fff8f7;
}

.compliance-alert h2 {
  margin-top: 0;
}

.calendar-scroll {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 10px;
}

.staff-shift-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
  border-left: 5px solid var(--amber);
}

.staff-shift-card h2 {
  margin: 4px 0 8px;
}

.staff-shift-card p {
  margin: 6px 0;
}

.shift-warning {
  color: var(--red-dark);
  font-weight: 800;
}

.staff-dashboard-actions {
  margin: 0 0 18px;
}

.consent-confirmation {
  align-items: start;
}

.privacy-helper {
  color: var(--slate);
  font-size: 13px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.calendar-month-search {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px 16px;
  margin-bottom: 14px;
}

.calendar-month-search label {
  display: grid;
  flex: 1 1 360px;
  gap: 7px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.calendar-month-search .calendar-search {
  margin-bottom: 0;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(176px, 1fr));
  gap: 10px;
  min-width: 1240px;
}

.calendar-day {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  min-height: 130px;
  max-height: 150px;
  padding: 14px 12px 12px;
  border: 1px solid rgba(14, 81, 115, 0.14);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(14, 81, 115, 0.04);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.calendar-day:hover {
  border-color: rgba(199, 50, 66, 0.28);
  box-shadow: 0 16px 34px rgba(14, 81, 115, 0.1);
  transform: translateY(-1px);
}

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

.calendar-day > strong {
  padding-right: 34px;
  font-size: 16px;
}

.calendar-count,
.calendar-title-count,
.nav-badge {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  color: var(--ivory);
  background: var(--red);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.calendar-count {
  position: absolute;
  top: 10px;
  right: 10px;
}

.calendar-title-count {
  vertical-align: middle;
}

.calendar-day-list {
  display: grid;
  gap: 7px;
  min-height: 0;
  overflow: auto;
  padding-right: 2px;
}

.calendar-item,
.calendar-more {
  display: block;
  padding: 8px;
  border-radius: var(--radius);
  background: rgba(14, 81, 115, 0.1);
  font-size: 13px;
  line-height: 1.35;
}

.calendar-more {
  color: var(--red-dark);
  background: rgba(199, 50, 66, 0.1);
  font-weight: 850;
}

.calendar-modal__panel {
  width: min(980px, 100%);
}

.calendar-search {
  width: 100%;
  min-height: 46px;
  margin-bottom: 14px;
  border: 1px solid rgba(14, 81, 115, 0.18);
  border-radius: var(--radius);
  padding: 0 14px;
}

.calendar-search-result {
  min-height: 20px;
  margin: 0 0 10px;
  color: var(--slate);
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
}

.calendar-month-search > .calendar-search-result {
  min-width: 145px;
  margin: 0 0 13px;
}

.calendar-modal-list {
  display: grid;
  gap: 14px;
}

.calendar-lead-card {
  padding: 16px;
  border: 1px solid rgba(14, 81, 115, 0.12);
  border-radius: var(--radius);
  background: rgba(14, 81, 115, 0.04);
}

.calendar-lead-card[hidden] {
  display: none;
}

.calendar-lead-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.calendar-lead-head strong,
.calendar-lead-head small {
  display: block;
}

.calendar-lead-head small,
.calendar-empty {
  color: var(--slate);
}

.nav-with-badge {
  display: flex !important;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.nav-badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  font-size: 11px;
}

[aria-invalid="true"] {
  border-color: #b42318 !important;
}

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

@media (max-width: 1080px) {
  .staff-shift-card {
    align-items: stretch;
    flex-direction: column;
  }

  .site-header {
    grid-template-columns: auto auto;
  }

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

  .main-nav,
  .header-phone {
    display: none;
  }

  .main-nav.is-open {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 4px;
  }

  .main-nav.is-open + .header-phone {
    display: grid;
    grid-column: 1 / -1;
    justify-content: center;
  }

  .hero,
  .split,
  .request-layout,
  .contact-grid,
  .admin-shell,
  .admin-editor-layout,
  .admin-form-row,
  .admin-form-row--three,
  .theme-grid,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 100%;
  }

  .hero-media img {
    min-height: 100%;
    object-position: 45% 50%;
  }

  .page-hero {
    background: var(--graphite);
  }

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

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-page-preview {
    position: static;
  }

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

@media (max-width: 640px) {
  .site-header {
    min-height: 70px;
    padding-inline: 14px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .hero-content {
    padding: 36px 18px 38px;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background:
      linear-gradient(0deg, rgba(16, 24, 32, 0.94) 0 48%, rgba(16, 24, 32, 0.56) 100%),
      linear-gradient(90deg, rgba(199, 50, 66, 0.86) 0 4px, transparent 4px);
  }

  h1,
  .page-hero h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 30px;
  }

  .service-grid,
  .hero-facts,
  .request-form,
  .request-step,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .request-progress span {
    justify-content: center;
    padding-inline: 6px;
    font-size: 0;
  }

  .request-progress b {
    font-size: 12px;
  }

  .request-step-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .request-step-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .request-step-actions .btn:only-child {
    grid-column: 1 / -1;
  }

  .map-card-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .map-card-footer .btn {
    width: 100%;
  }

  .hero-facts {
    gap: 8px;
    margin-top: 20px;
  }

  .hero-facts span {
    min-height: 52px;
    padding: 10px 12px;
  }

  .hero-facts small {
    font-size: 12px;
  }

  .section,
  .page-hero {
    padding-inline: 18px;
  }

  .site-footer,
  .admin-topbar,
  .admin-danger-zone {
    flex-direction: column;
    align-items: stretch;
  }

  .phone-list a {
    display: grid;
  }

  .brand-admin-item {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

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

  .brand-track {
    animation: none;
    flex-wrap: wrap;
  }
}
