/* ponytail: isolated fidelity pass; remove superseded public rules after visual approval. */

.site-header {
  background: #062923;
}

.header-inner {
  min-height: 72px;
  justify-content: flex-start;
}

.site-header .logo {
  font-size: 1.6rem;
  letter-spacing: 0.015em;
}

.header-inner .desktop-nav {
  margin-left: 28px;
  gap: 0;
  font-size: 0.875rem;
  font-weight: 700;
}

.header-nav-group {
  display: flex;
  padding: 4px;
  align-items: center;
  gap: 4px;
  background: rgb(255 255 255 / 4%);
  border-radius: 12px;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.header-nav-group + .header-nav-group {
  margin-left: 12px;
}

.header-nav-group:hover {
  background: rgb(255 255 255 / 8%);
  transform: translateY(-1px);
}

.header-nav-group a {
  min-height: 34px;
  padding-inline: 8px;
  border-radius: 8px;
}

.header-inner .header-actions {
  margin-left: auto;
}

.header-admin-link {
  display: inline-flex;
  min-height: 40px;
  padding: 0 14px;
  align-items: center;
  color: var(--ink);
  background: var(--brand);
  border-radius: var(--radius-control);
  font-size: 0.8125rem;
  font-weight: 800;
  white-space: nowrap;
}

.header-admin-link:hover {
  background: var(--brand-hover);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 800;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--brand);
}

.header-phone svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--brand);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.header-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #d8e5e0;
  opacity: 0.7;
}

a.header-icon {
  opacity: 1;
}

.header-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.header-menu {
  position: relative;
  display: flex;
}

.header-menu summary {
  position: relative;
  display: flex;
  align-items: center;
  color: #d8e5e0;
  cursor: pointer;
  list-style: none;
}

.header-menu summary::-webkit-details-marker {
  display: none;
}

.header-menu summary:hover {
  color: #fff;
}

.header-menu summary.active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--brand);
  content: "";
}

.header-menu > div {
  position: absolute;
  z-index: 30;
  top: 64px;
  left: -18px;
  display: grid;
  width: 300px;
  padding: 8px;
  gap: 4px;
  background: linear-gradient(155deg, #163832, #051f20);
  border: 1px solid rgb(218 241 222 / 18%);
  border-radius: var(--radius-card);
  box-shadow: 0 24px 60px rgb(5 31 32 / 32%);
}

.header-menu[open] > div {
  animation: header-menu-in 160ms ease-out;
}

@keyframes header-menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.header-menu > div a {
  display: grid;
  min-height: 58px;
  padding: 9px 12px;
  align-content: center;
  border-radius: 7px;
}

.header-menu > div a:hover {
  background: rgb(218 241 222 / 9%);
}

.header-menu > div strong {
  color: #fff;
  font-size: 0.8125rem;
}

.header-menu > div span {
  color: #9fb8ae;
  font-size: 0.6875rem;
}

.mobile-nav nav {
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

.concept-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, #041d1c 0%, #062923 48%, #0a322b 100%);
}

.concept-hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 74% 12%, rgb(142 182 155 / 22%), transparent 28%),
    radial-gradient(ellipse at 54% 112%, rgb(35 83 71 / 46%), transparent 50%),
    linear-gradient(90deg, #041d1c 0%, #041d1c 36%, rgb(4 29 28 / 82%) 54%, rgb(4 29 28 / 18%) 100%),
    linear-gradient(0deg, #041f1c 0%, transparent 36%);
  content: "";
}

.concept-hero-image {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: 70%;
  height: 100%;
  object-fit: cover;
  object-position: 74% center;
  filter: saturate(0.78) contrast(1.08);
  transition: opacity 220ms ease, transform 420ms ease;
}

.concept-hero-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgb(218 241 222 / 18%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(218 241 222 / 18%) 1px, transparent 1px);
  background-size: 80px 80px;
  box-shadow: inset 0 1px rgb(218 241 222 / 16%);
}

.concept-hero-inner {
  position: relative;
  z-index: 2;
  min-height: 560px;
}

.concept-hero-copy {
  display: flex;
  max-width: 700px;
  min-height: 438px;
  padding-top: 24px;
  justify-content: center;
  flex-direction: column;
}

.concept-hero-copy h1 {
  max-width: 700px;
  margin-bottom: 16px;
  font-size: clamp(2.8rem, 4.2vw, 3.75rem);
  line-height: 1.04;
}

.concept-hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 18px;
  color: #c8d9d3;
  font-size: 1.0625rem;
  line-height: 1.55;
}

.concept-benefits {
  display: flex;
  padding: 0;
  margin: 0 0 18px;
  flex-wrap: wrap;
  gap: 12px 24px;
  list-style: none;
}

.concept-benefits li {
  position: relative;
  padding-left: 22px;
  color: #e4eeea;
  font-size: 0.8125rem;
}

.concept-benefits li::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 13px;
  height: 13px;
  border: 1px solid var(--sage);
  border-radius: 50%;
  content: "";
}

.concept-hero-copy .button-row {
  position: relative;
  z-index: 3;
  margin-bottom: 20px;
}

.concept-hero-copy .button {
  min-height: 54px;
  padding-inline: 28px;
  font-size: 0.9375rem;
}

.concept-hero-copy .button:first-child {
  box-shadow:
    inset 0 1px rgb(255 255 255 / 28%),
    0 16px 36px rgb(234 97 19 / 24%);
}

.hero-service-slider {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
}

.hero-service-rail {
  overflow: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.hero-service-rail::-webkit-scrollbar {
  display: none;
}

.hero-service-track {
  display: flex;
  padding-right: 52px;
  gap: 8px;
}

.hero-service-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex: 0 0 calc((100% - 76px) / 4);
  height: 112px;
  padding: 16px;
  align-items: flex-end;
  overflow: hidden;
  background: rgb(5 31 32 / 78%);
  border: 1px solid rgb(218 241 222 / 24%);
  border-radius: 8px;
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  font: inherit;
  text-align: left;
  scroll-snap-align: start;
}

.hero-service-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(2 20 18 / 94%), rgb(2 20 18 / 10%) 78%);
  content: "";
}

.hero-service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7);
  transition: transform 200ms ease;
}

.hero-service-card:hover img {
  transform: scale(1.04);
}

.hero-service-card.is-active {
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand);
}

.concept-hero.is-changing .concept-hero-image {
  opacity: 0.42;
  transform: scale(1.012);
}

.hero-service-card span {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
}

.slider-controls {
  position: absolute;
  top: 50%;
  right: 4px;
  bottom: auto;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  gap: 6px;
}

.slider-controls button {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  color: #fff;
  background: rgb(5 31 32 / 86%);
  border: 1px solid rgb(218 241 222 / 35%);
  border-radius: 50%;
  cursor: pointer;
}

.slider-controls [data-slider-prev] {
  display: none;
}

.slider-controls button:hover {
  color: var(--ink);
  background: var(--mint);
}

.concept-trust {
  min-height: 104px;
}

.concept-trust div {
  justify-content: center;
}

.concept-trust strong {
  min-width: max-content;
  color: var(--ink);
  font-size: 1.75rem;
}

.concept-trust i {
  color: var(--brand);
  font-size: 0.75rem;
  font-style: normal;
  letter-spacing: 0.08em;
}

.concept-trust span {
  max-width: 150px;
  color: var(--muted);
}

.compact-heading {
  grid-template-columns: 1fr auto;
}

.offers {
  padding: 28px;
  margin-block: 48px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 10%, rgb(142 182 155 / 22%), transparent 28%),
    linear-gradient(145deg, #0b2b26, #051f20);
  border: 1px solid rgb(218 241 222 / 14%);
  border-radius: var(--radius-section);
  box-shadow: 0 24px 58px rgb(5 31 32 / 14%);
}

.offers .section-heading {
  margin-bottom: 12px;
  align-items: center;
}

.offers h2 {
  color: #fff;
  font-size: 1.25rem;
}

.offers .text-link {
  color: var(--brand);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 0.875rem;
  font-weight: 700;
}

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

.offer-card {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius-card);
}

.offer-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(3 24 22 / 96%), rgb(3 24 22 / 28%));
  content: "";
}

.offer-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-card > div {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 150px;
  padding: 16px;
  align-items: flex-start;
  flex-direction: column;
}

.offer-card h3 {
  max-width: 220px;
  margin: 0 0 6px;
  font-size: 1rem;
}

.offer-card strong {
  margin-bottom: auto;
  font-size: 1.125rem;
}

.offer-card .button {
  margin-top: 12px;
}

.service-section {
  padding-block: 48px;
  background: #eef3ef;
}

.directions {
  padding: 32px;
  margin-block: 48px;
  background:
    linear-gradient(135deg, rgb(244 225 195 / 58%), rgb(218 241 222 / 54%));
  border: 1px solid #d8e2d8;
  border-radius: var(--radius-section);
}

.directions .section-heading {
  margin-bottom: 14px;
  align-items: center;
}

.directions h2 {
  font-size: 1.5rem;
}

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

.direction-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius-card);
  box-shadow:
    inset 0 1px rgb(255 255 255 / 14%),
    0 18px 42px rgb(5 31 32 / 14%);
}

.direction-card::before {
  position: absolute;
  z-index: 1;
  top: -90px;
  right: -70px;
  width: 210px;
  height: 210px;
  background: radial-gradient(circle, rgb(142 182 155 / 34%), transparent 68%);
  content: "";
}

.direction-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(3 24 22 / 96%), rgb(3 24 22 / 10%) 82%);
  content: "";
}

.direction-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.direction-card:hover img {
  transform: scale(1.035);
}

.direction-card div {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 230px;
  padding: 22px;
  justify-content: flex-end;
  flex-direction: column;
}

.direction-card h3,
.direction-card p {
  margin-bottom: 6px;
}

.direction-card h3 {
  font-size: 1.5rem;
}

.direction-card p {
  color: #c9d9d3;
  font-size: 0.9375rem;
}

.direction-card span {
  color: var(--brand);
  font-size: 0.8125rem;
  font-weight: 750;
}

.aggregate-direction {
  grid-column: auto;
}

.service-section .section-heading {
  margin-bottom: 20px;
}

.service-steps .section-heading {
  display: block;
  margin-bottom: 20px;
}

.concept-service-grid {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 16px;
}

.photo-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
}

.photo-card > img {
  display: block;
  width: 100%;
  height: 178px;
  flex: 0 0 178px;
  overflow: hidden;
  background: var(--ink);
  object-fit: cover;
  transition: transform 200ms ease;
}

.photo-card:hover > img {
  transform: scale(1.025);
}

.photo-card .service-body {
  display: flex;
  padding: 18px;
  flex: 1;
  flex-direction: column;
}

.photo-card .service-body h3 {
  min-height: 44px;
  margin-bottom: 8px;
  font-size: 1.125rem;
}

.photo-card .service-meta {
  padding-block: 10px;
}

.photo-card .card-link {
  margin-top: auto;
}

.service-steps {
  padding-block: 48px;
}

.service-steps ol {
  display: grid;
  padding: 0;
  margin: 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  counter-reset: step;
}

.service-steps li {
  position: relative;
  min-height: 150px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.service-steps li > span {
  display: block;
  margin-bottom: 18px;
  color: var(--brand-hover);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.service-steps li strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.125rem;
}

.service-steps li p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

/* Public catalog and presentation pages. */

.page-hero,
.showcase-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #163832, #051f20);
}

.compact-page-hero {
  padding-block: 44px;
}

.page-hero nav {
  display: flex;
  margin-bottom: 20px;
  gap: 8px;
  color: #a8beb5;
  font-size: 0.75rem;
}

.page-hero h1 {
  margin-bottom: 10px;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
}

.showcase-copy h1,
.service-detail-heading h1 {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
}

.page-hero p {
  max-width: 680px;
  margin: 0;
  color: #c9d9d3;
}

.service-browser {
  display: grid;
  padding-block: 32px 56px;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
}

.service-browser-nav {
  position: sticky;
  top: 20px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 10% 0%, rgb(142 182 155 / 28%), transparent 30%),
    linear-gradient(155deg, #163832, #051f20);
  border: 1px solid rgb(218 241 222 / 16%);
  border-radius: var(--radius-card);
  box-shadow:
    inset 0 1px rgb(255 255 255 / 12%),
    0 22px 52px rgb(5 31 32 / 16%);
}

.service-browser-nav > header {
  padding: 20px;
  border-bottom: 1px solid rgb(218 241 222 / 14%);
}

.service-browser-nav h2 {
  margin-bottom: 4px;
  font-size: 1.25rem;
}

.service-browser-nav header p,
.service-browser-help p {
  margin: 0;
  color: #a9c0b7;
  font-size: 0.75rem;
}

.service-browser-nav nav {
  display: grid;
  max-height: 600px;
  padding: 8px;
  scrollbar-width: none;
  overflow-y: auto;
  gap: 3px;
}

.service-browser-nav nav::-webkit-scrollbar {
  display: none;
}

.service-browser-nav nav a {
  display: grid;
  min-width: 0;
  min-height: 58px;
  padding: 8px;
  grid-template-columns: 42px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 7px;
}

.service-browser-nav nav a:hover,
.service-browser-nav nav a.active {
  background: linear-gradient(90deg, rgb(142 182 155 / 20%), rgb(142 182 155 / 7%));
  border-color: rgb(218 241 222 / 14%);
}

.service-browser-nav nav a.active {
  box-shadow: inset 3px 0 var(--brand);
}

.service-browser-nav nav img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 1px solid rgb(218 241 222 / 18%);
  border-radius: 7px;
}

.service-browser-nav nav span {
  display: grid;
  min-width: 0;
}

.service-browser-nav nav strong {
  overflow: hidden;
  color: #fff;
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-browser-nav nav small {
  color: #96afa5;
  font-size: 0.6875rem;
}

.service-browser-nav nav b {
  color: var(--sage);
}

.service-browser-help {
  padding: 16px;
  margin: 8px;
  background: rgb(218 241 222 / 6%);
  border: 1px solid rgb(218 241 222 / 12%);
  border-radius: 7px;
}

.service-browser-help strong {
  font-size: 0.8125rem;
}

.service-browser-help p {
  margin-top: 5px;
}

.service-browser-help a {
  display: inline-flex;
  min-height: 36px;
  padding: 0 12px;
  margin-top: 12px;
  align-items: center;
  color: var(--ink);
  background: var(--brand);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 750;
}

.service-browser-content {
  display: grid;
  min-width: 0;
  gap: 18px;
}

.service-category-head {
  display: grid;
  min-height: 260px;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) 38%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: 0 18px 42px rgb(5 31 32 / 9%);
}

.service-category-head > div {
  padding: 28px;
}

.service-category-head > div > span {
  display: inline-flex;
  padding: 5px 9px;
  color: var(--green);
  background: var(--mint);
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 750;
}

.service-category-head h2 {
  margin: 14px 0 8px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.service-category-head p {
  max-width: 620px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.875rem;
}

.service-category-head form {
  display: flex;
  max-width: 560px;
  gap: 8px;
}

.service-category-head label {
  flex: 1;
}

.service-category-head input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--border);
}

.service-category-head button {
  min-height: 44px;
  padding: 0 18px;
  color: var(--ink);
  background: var(--brand);
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 750;
}

.service-category-head > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.service-browser-card {
  display: flex;
  min-width: 0;
  min-height: 340px;
  overflow: hidden;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: 0 14px 34px rgb(5 31 32 / 8%);
  transition: transform 180ms ease, border-color 180ms ease;
}

.service-browser-card:hover {
  border-color: var(--sage);
  transform: translateY(-3px);
}

.service-browser-image {
  display: block;
  height: 155px;
  overflow: hidden;
}

.service-browser-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
}

.service-browser-card:hover .service-browser-image img {
  transform: scale(1.025);
}

.service-browser-card > div {
  display: flex;
  padding: 18px;
  flex: 1;
  flex-direction: column;
}

.service-browser-card > div > p:first-child {
  display: flex;
  margin-bottom: 12px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.75rem;
}

.service-browser-card > div > p:first-child strong {
  color: var(--green);
  font-size: 0.875rem;
}

.service-browser-grid h3 {
  margin-bottom: 8px;
  font-size: 1.0625rem;
}

.service-browser-grid h3 + p {
  color: var(--muted);
  font-size: 0.8125rem;
}

.service-browser-card .card-link {
  display: flex;
  min-height: 40px;
  padding: 0 12px;
  margin-top: auto;
  align-items: center;
  justify-content: space-between;
  color: var(--green);
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 0.8125rem;
  font-weight: 750;
}

.service-browser-empty {
  padding: 28px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.showcase-page {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 38%, rgb(142 182 155 / 18%), transparent 24rem),
    radial-gradient(circle at 96% 82%, rgb(35 83 71 / 16%), transparent 28rem),
    #f3f6f2;
}

.showcase-hero {
  min-height: 500px;
}

.showcase-hero > img,
.showcase-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.showcase-hero > img {
  object-fit: cover;
}

.showcase-shade {
  background:
    radial-gradient(circle at 75% 18%, rgb(142 182 155 / 30%), transparent 28%),
    radial-gradient(ellipse at 48% 112%, rgb(35 83 71 / 62%), transparent 52%),
    linear-gradient(90deg, rgb(4 29 28 / 98%) 0%, rgb(4 29 28 / 84%) 48%, rgb(4 29 28 / 22%) 100%);
}

.showcase-hero::before {
  position: absolute;
  z-index: 1;
  top: -280px;
  right: -140px;
  width: 620px;
  height: 620px;
  border: 1px solid rgb(218 241 222 / 14%);
  border-radius: 50%;
  box-shadow:
    inset 80px 80px 140px rgb(142 182 155 / 9%),
    0 0 100px rgb(142 182 155 / 9%);
  content: "";
}

.showcase-copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 500px;
  justify-content: center;
  flex-direction: column;
}

.showcase-copy h1 {
  max-width: 760px;
  margin-bottom: 18px;
}

.showcase-copy > p {
  max-width: 680px;
  margin-bottom: 24px;
  color: #d0dfd9;
}

.showcase-facts {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 18px 48px rgb(5 31 32 / 7%);
}

.showcase-facts .shell {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.showcase-facts div div {
  display: grid;
  min-height: 102px;
  padding: 20px;
  align-content: center;
  border-right: 1px solid var(--border);
}

.showcase-facts div div:last-child {
  border-right: 0;
}

.showcase-facts strong {
  color: var(--ink);
  font-size: 1.25rem;
}

.showcase-facts span {
  color: var(--muted);
  font-size: 0.8125rem;
}

.showcase-features {
  display: grid;
  padding-block: 48px;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.showcase-features article {
  position: relative;
  overflow: hidden;
  padding: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgb(142 182 155 / 26%), transparent 44%),
    linear-gradient(145deg, #163832, #051f20);
  border: 1px solid rgb(218 241 222 / 16%);
  border-radius: var(--radius-card);
  box-shadow:
    inset 0 1px rgb(255 255 255 / 12%),
    0 22px 50px rgb(5 31 32 / 15%);
}

.showcase-features article > span {
  color: var(--brand-hover);
  font-size: 0.75rem;
  font-weight: 800;
}

.showcase-features h2 {
  margin: 20px 0 8px;
  font-size: 1.25rem;
  color: #fff;
}

.showcase-features p {
  margin: 0;
  color: #b9cec5;
  font-size: 0.875rem;
}

.showcase-selector {
  position: relative;
  padding: 24px;
  margin-top: 28px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 6% 0%, rgb(142 182 155 / 30%), transparent 30%),
    linear-gradient(120deg, #163832, #051f20);
  border: 1px solid rgb(218 241 222 / 16%);
  border-radius: var(--radius-card);
  box-shadow:
    inset 0 1px rgb(255 255 255 / 12%),
    0 24px 54px rgb(5 31 32 / 15%);
}

.showcase-selector h2 {
  margin-bottom: 16px;
}

.showcase-selector form {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  align-items: end;
  gap: 12px;
}

.showcase-selector label {
  display: grid;
  gap: 6px;
  color: #b9cec5;
  font-size: 0.75rem;
}

.showcase-selector input {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  color: #fff;
  background: rgb(5 31 32 / 54%);
  border: 1px solid rgb(218 241 222 / 22%);
}

.showcase-selector input::placeholder {
  color: #89a69b;
}

.aggregate-page {
  padding: 28px 0 64px;
  background:
    radial-gradient(circle at 7% 34%, rgb(142 182 155 / 24%), transparent 26rem),
    linear-gradient(180deg, #eef4ee, #f8f7f2 55%, #eef4ee);
}

.aggregate-hero {
  position: relative;
  display: grid;
  min-height: 570px;
  padding: 48px;
  overflow: hidden;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 74% 15%, rgb(218 241 222 / 20%), transparent 28%),
    linear-gradient(135deg, #041d1c, #163832);
  border: 1px solid rgb(218 241 222 / 18%);
  border-radius: 24px;
  box-shadow: 0 28px 70px rgb(5 31 32 / 22%);
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  gap: 44px;
}

.aggregate-hero::after {
  position: absolute;
  width: 440px;
  height: 440px;
  right: -180px;
  bottom: -240px;
  background: rgb(142 182 155 / 16%);
  border-radius: 50%;
  filter: blur(1px);
  content: "";
}

.aggregate-hero-copy,
.aggregate-hero-image {
  position: relative;
  z-index: 1;
}

.aggregate-hero h1 {
  max-width: 720px;
  margin: 0 0 20px;
  font-size: clamp(2.65rem, 5vw, 4.5rem);
}

.aggregate-hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  color: #c6d8d1;
  font-size: 1.05rem;
}

.aggregate-hero-image {
  min-height: 450px;
  overflow: hidden;
  background: #092926;
  border: 1px solid rgb(218 241 222 / 20%);
  border-radius: 18px;
  box-shadow: 0 22px 55px rgb(0 0 0 / 28%);
}

.aggregate-hero-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgb(4 29 28 / 88%));
  content: "";
}

.aggregate-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 450px;
  object-fit: cover;
}

.aggregate-mini-facts {
  display: grid;
  margin-top: 34px;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.aggregate-mini-facts div {
  display: grid;
  padding-top: 14px;
  border-top: 1px solid rgb(218 241 222 / 24%);
}

.aggregate-mini-facts strong {
  color: var(--mint);
  font-size: 1.08rem;
}

.aggregate-mini-facts span {
  color: #9db7ad;
  font-size: 0.7rem;
}

.aggregate-intro {
  display: grid;
  padding-block: 64px 28px;
  grid-template-columns: 1fr 0.8fr;
  align-items: end;
  gap: 48px;
}

.aggregate-intro h2 {
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3rem);
}

.aggregate-intro > p {
  margin: 0;
  color: #53645e;
}

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

.aggregate-directions article {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgb(218 241 222 / 16%);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgb(5 31 32 / 16%);
}

.aggregate-directions article > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aggregate-directions article > div {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 430px;
  padding: 34px;
  justify-content: end;
  flex-direction: column;
  background: linear-gradient(180deg, rgb(5 31 32 / 5%) 25%, rgb(5 31 32 / 94%) 82%);
}

.aggregate-directions h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.8rem;
}

.aggregate-directions p {
  max-width: 520px;
  margin: 0;
  color: #b9cec5;
}

.aggregate-directions a,
.aggregate-choice a {
  margin-top: 16px;
  color: var(--brand);
  font-size: 0.8125rem;
  font-weight: 800;
}

.aggregate-choice {
  padding-block: 58px 28px;
}

.aggregate-choice-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.aggregate-choice-head h2 {
  margin: 0;
  color: var(--ink);
}

.aggregate-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.aggregate-choice article {
  display: flex;
  min-height: 230px;
  padding: 30px;
  flex-direction: column;
  background: #fff;
  border: 1px solid #d6e2db;
  border-radius: var(--radius-section);
  box-shadow: var(--shadow-card);
}

.aggregate-choice h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.5rem;
}

.aggregate-choice p {
  color: #5b6c66;
}

.aggregate-choice a {
  margin-top: auto;
}

.aggregate-process {
  display: grid;
  padding: 22px;
  margin-bottom: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 95% 0%, rgb(142 182 155 / 24%), transparent 25%),
    #0b2b26;
  border: 1px solid rgb(218 241 222 / 18%);
  border-radius: var(--radius-section);
  grid-template-columns: repeat(4, 1fr);
}

.aggregate-process div {
  display: grid;
  min-height: 112px;
  padding: 14px 20px;
  align-content: center;
  border-right: 1px solid rgb(218 241 222 / 16%);
}

.aggregate-process div:last-child {
  border-right: 0;
}

.aggregate-process span {
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 800;
}

.aggregate-process strong {
  margin: 7px 0 2px;
}

.aggregate-process small {
  color: #9db7ad;
}

.aggregate-selector {
  margin-top: 0;
}

.aggregate-selector > div {
  margin-bottom: 18px;
}

.aggregate-selector > div h2 {
  margin: 0;
}

.aggregate-selector > div p {
  max-width: 650px;
  margin: 8px 0 0;
  color: #a9c0b7;
}

.seo-copy {
  padding: 32px;
  margin-block: 36px;
  background: #fff;
  border: 1px solid #d9e3dd;
  border-radius: var(--radius-section);
}

.seo-copy h2 {
  max-width: 760px;
  color: var(--ink);
}

.seo-copy p {
  max-width: 900px;
  color: var(--muted);
}

.seo-copy p:last-child {
  margin-bottom: 0;
}


/* Booking matches the approved 4/5/3 concept grid. */

.booking-page {
  min-height: calc(100vh - 72px);
  padding: 16px 0 64px;
  background:
    linear-gradient(rgb(11 43 38 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(11 43 38 / 3%) 1px, transparent 1px),
    #f7f5ef;
  background-size: 64px 64px;
}

.light-breadcrumbs {
  margin: 0 0 20px;
  color: var(--muted);
}

.light-breadcrumbs a:hover {
  color: var(--green);
}

.concept-booking-grid {
  display: grid;
  grid-template-columns: 4fr 5fr 3fr;
  align-items: start;
  gap: 24px;
}

.concept-booking-grid > * {
  min-width: 0;
}

.booking-service-info,
.concept-booking-form,
.concept-order {
  padding: 24px;
  background: rgb(255 255 255 / 90%);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.booking-service-info {
  background: transparent;
  border: 0;
}

.booking-service-info h1 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 3vw, 2.5rem);
}

.booking-service-info h2 {
  margin-top: 28px;
  font-size: 1rem;
}

.booking-service-info > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.875rem;
}

.service-facts {
  display: flex;
  margin-bottom: 20px;
  gap: 24px;
}

.service-facts div {
  display: grid;
  gap: 2px;
}

.service-facts span {
  color: var(--muted);
  font-size: 0.75rem;
}

.service-facts strong {
  font-size: 0.875rem;
}

.booking-service-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-card);
}

.assurance-row {
  display: grid;
  margin-top: 14px;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.assurance-row span {
  display: grid;
  min-height: 58px;
  padding: 8px;
  place-items: center;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.625rem;
  text-align: center;
}

.booking-progress {
  display: grid;
  margin-bottom: 26px;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mobile-booking-title {
  display: none;
}

.booking-progress span {
  position: relative;
  display: grid;
  min-height: 38px;
  padding-left: 28px;
  align-content: center;
  color: #96a39e;
  font-size: 0.6875rem;
  font-weight: 800;
}

.booking-progress span::before {
  position: absolute;
  top: 10px;
  left: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: #fff;
  background: #abb7b2;
  border-radius: 50%;
  content: attr(data-step);
}

.booking-progress span.active {
  color: var(--green);
}

.booking-progress span.active::after {
  position: absolute;
  top: 17px;
  right: -4px;
  left: 28px;
  z-index: -1;
  height: 1px;
  background: var(--border);
  content: "";
}

.booking-progress small {
  font-weight: 650;
}

.concept-booking-form h2,
.concept-order h2 {
  font-size: 1.25rem;
}

.vehicle-select-card {
  display: grid;
  padding: 12px;
  margin-bottom: 26px;
  grid-template-columns: 108px 1fr;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
}

.vehicle-select-card img {
  width: 108px;
  height: 68px;
  object-fit: cover;
  object-position: right center;
  background: #f1f3f1;
  border-radius: 6px;
}

.vehicle-field {
  margin: 0;
}

.vehicle-field label {
  color: var(--muted);
  font-size: 0.6875rem;
}

.choice-field {
  padding: 0;
  margin: 0 0 26px;
  border: 0;
}

.choice-field legend {
  margin-bottom: 10px;
  font-size: 0.875rem;
  font-weight: 700;
}

.choice-field > div {
  display: grid;
  gap: 8px;
}

.date-choices > div {
  grid-template-columns: repeat(7, 1fr);
}

.time-choices > div {
  grid-template-columns: repeat(4, 1fr);
}

.choice-field > div > div label {
  position: relative;
  display: grid;
  min-height: 44px;
  padding: 6px;
  place-items: center;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.75rem;
  text-align: center;
}

.choice-field input {
  position: absolute;
  opacity: 0;
}

.choice-field label:has(input:checked) {
  color: var(--ink);
  background: var(--brand);
  border-color: var(--brand);
  font-weight: 800;
}

.choice-field label:has(input:focus-visible) {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

.contact-fields {
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.contact-details {
  padding: 0 24px;
  grid-column: 2 / 3;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.contact-details summary {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  color: var(--green);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 750;
  list-style: none;
}

.contact-details summary::after {
  content: "→";
}

.contact-details[open] summary::after {
  transform: rotate(90deg);
}

.contact-details .contact-fields {
  padding-top: 18px;
}

.contact-details .contact-fields h2 {
  display: none;
}

.mobile-label {
  display: none;
}

.concept-order {
  position: sticky;
  top: 24px;
}

.concept-order dl {
  margin: 0 0 24px;
}

.concept-order dl > div {
  display: grid;
  padding: 14px 0;
  gap: 4px;
  border-top: 1px solid var(--border);
}

.concept-order dt {
  color: var(--muted);
  font-size: 0.75rem;
}

.concept-order dd {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
}

.concept-order .order-total {
  display: flex;
  margin-top: 12px;
  justify-content: space-between;
}

.concept-order .order-total dt,
.concept-order .order-total dd {
  color: var(--ink);
  font-size: 1rem;
}

/* Service detail */

.service-detail-page {
  background: #f4f7f3;
}

.service-detail-hero {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}

.service-detail-hero > img,
.service-detail-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.service-detail-hero > img {
  object-fit: cover;
}

.service-detail-overlay {
  background: linear-gradient(90deg, rgb(4 29 28 / 98%) 0%, rgb(4 29 28 / 78%) 48%, rgb(4 29 28 / 24%) 100%);
}

.service-detail-heading {
  position: relative;
  z-index: 1;
  padding-block: 46px 64px;
}

.service-detail-heading nav {
  display: flex;
  margin-bottom: 64px;
  flex-wrap: wrap;
  gap: 8px;
  color: #b8cbc3;
  font-size: 0.75rem;
}

.service-detail-heading h1 {
  max-width: 720px;
  margin-bottom: 18px;
}

.service-detail-heading > p:last-child {
  max-width: 640px;
  margin: 0;
  color: #d0dfd9;
}

.service-detail-layout {
  display: grid;
  padding-block: 56px;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
}

.service-detail-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.service-detail-copy > p:not(.eyebrow),
.service-detail-copy li {
  color: var(--muted);
}

.service-detail-copy ul {
  display: grid;
  padding: 0;
  margin: 28px 0 0;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  list-style: none;
}

.service-detail-copy li {
  position: relative;
  padding: 14px 14px 14px 42px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
}

.service-detail-copy li::before {
  position: absolute;
  top: 16px;
  left: 16px;
  color: var(--green);
  content: "✓";
  font-weight: 800;
}

.service-detail-card {
  align-self: start;
  padding: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 15% 0%, rgb(142 182 155 / 25%), transparent 38%),
    linear-gradient(145deg, #163832, #051f20);
  border: 1px solid rgb(218 241 222 / 18%);
  border-radius: var(--radius-card);
  box-shadow: 0 24px 60px rgb(5 31 32 / 18%);
}

.service-detail-card p {
  display: grid;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgb(218 241 222 / 16%);
}

.service-detail-card span,
.service-detail-card small {
  color: #a9c1b7;
}

.service-detail-card strong {
  margin-top: 4px;
  font-size: 1.125rem;
}

.service-detail-card .button {
  width: 100%;
  margin: 6px 0 14px;
}

.service-detail-card small {
  display: block;
  line-height: 1.45;
}

.related-services {
  padding-top: 0;
}

/* Catalog and account mirror the approved desktop concept. */

.catalog-page,
.account-page {
  min-height: 100vh;
  background:
    linear-gradient(rgb(11 43 38 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(11 43 38 / 3%) 1px, transparent 1px),
    #f7f5ef;
  background-size: 64px 64px;
}

.catalog-layout {
  display: grid;
  min-height: 720px;
  grid-template-columns: 240px 1fr;
  background: #fff;
  border-right: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.catalog-sidebar {
  position: relative;
  padding: 24px 20px;
  color: #dce9e4;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 0%, rgb(142 182 155 / 38%), transparent 28%),
    radial-gradient(circle at 100% 48%, rgb(35 83 71 / 80%), transparent 42%),
    linear-gradient(165deg, #163832 0%, #0b2b26 48%, #051f20 100%);
  box-shadow:
    inset -1px 0 rgb(218 241 222 / 12%),
    18px 0 44px rgb(5 31 32 / 10%);
}

.catalog-sidebar::before {
  position: absolute;
  top: -80px;
  right: -65px;
  width: 180px;
  height: 180px;
  background: rgb(218 241 222 / 8%);
  border: 1px solid rgb(218 241 222 / 10%);
  border-radius: 50%;
  content: "";
}

.catalog-sidebar > * {
  position: relative;
  z-index: 1;
}

.catalog-sidebar h1 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 1.25rem;
}

.catalog-sidebar h2 {
  margin: 24px 0 10px;
  color: #fff;
  font-size: 0.875rem;
}

.catalog-search input {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  color: #fff;
  background: rgb(5 31 32 / 45%);
  border: 1px solid rgb(218 241 222 / 30%);
  border-radius: 6px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 6%);
}

.catalog-search input::placeholder {
  color: #a8beb5;
}

.catalog-sidebar nav {
  display: grid;
  gap: 2px;
}

.catalog-sidebar nav a {
  min-height: 34px;
  padding: 8px 10px;
  color: #bed0c9;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 0.75rem;
}

.catalog-sidebar nav a:hover,
.catalog-sidebar nav a.active {
  color: #fff;
  background: linear-gradient(90deg, rgb(142 182 155 / 22%), rgb(142 182 155 / 8%));
  border-color: rgb(218 241 222 / 13%);
  box-shadow: inset 3px 0 var(--sage);
}

.catalog-content {
  min-width: 0;
  padding: 24px;
}

.catalog-toolbar {
  display: flex;
  min-height: 58px;
  padding: 10px 14px;
  margin-bottom: 16px;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.catalog-toolbar label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.75rem;
}

.catalog-toolbar select {
  min-height: 36px;
  padding: 0 34px 0 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.catalog-view {
  display: flex;
  gap: 4px;
}

.catalog-view span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.catalog-view .active {
  color: var(--green);
  background: var(--mint);
}

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

.product-card {
  display: flex;
  min-width: 0;
  min-height: 330px;
  padding: 14px;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.product-image {
  display: grid;
  height: 176px;
  margin-bottom: 12px;
  place-items: center;
  overflow: hidden;
  background: #fafafa;
  border-radius: 8px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-card > p {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.6875rem;
}

.product-card h2 {
  margin-bottom: 8px;
  font-size: 0.875rem;
  line-height: 1.35;
}

.stock {
  color: #338356;
  font-size: 0.6875rem;
}

.product-card > div:last-child {
  display: flex;
  margin-top: auto;
  align-items: center;
  justify-content: space-between;
}

.product-card strong {
  color: var(--ink);
  font-size: 1rem;
}

.product-card > div:last-child > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--ink);
  background: var(--brand);
  border: 0;
  border-radius: 6px;
  font-size: 1.125rem;
}

.account-layout {
  display: grid;
  min-height: 720px;
  grid-template-columns: 248px 1fr;
  background: #fff;
  border-right: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.account-sidebar {
  position: relative;
  display: flex;
  padding: 24px 16px;
  flex-direction: column;
  color: #dce9e4;
  background: #07322c;
}

.account-sidebar h1 {
  padding: 0 12px 18px;
  color: #fff;
  font-size: 1.125rem;
}

.account-logo {
  padding: 0 12px 24px;
}

.account-sidebar nav {
  display: grid;
  gap: 4px;
}

.account-sidebar nav a,
.account-sidebar nav span {
  min-height: 42px;
  padding: 11px 12px;
  color: #b7ccc4;
  border-radius: 6px;
  font-size: 0.8125rem;
}

.account-sidebar nav a.active {
  color: var(--ink);
  background: var(--brand);
  font-weight: 800;
}

.account-sidebar nav span {
  opacity: 0.7;
}

.account-user {
  display: flex;
  padding: 16px 12px 0;
  margin-top: auto;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgb(218 241 222 / 18%);
}

.account-user > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--ink);
  background: var(--sage);
  border-radius: 50%;
  font-weight: 800;
}

.account-user div {
  display: grid;
  min-width: 0;
}

.account-user strong,
.account-user small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-user small {
  color: #96afa6;
}

.account-content {
  min-width: 0;
  padding: 0 24px 32px;
}

.account-content > header {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.account-content > header p {
  margin: 0;
  font-weight: 700;
}

.account-content > header span {
  color: var(--muted);
  font-size: 0.75rem;
}

.account-grid {
  display: grid;
  padding-top: 16px;
  grid-template-columns: 3fr 2fr;
  gap: 12px;
}

.account-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.account-grid-single .profile-panel {
  max-width: 720px;
}

.account-panel {
  min-width: 0;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.account-panel h2 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.account-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.account-panel-head button,
.add-car {
  color: var(--green);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.account-panel-head button {
  min-height: 34px;
  padding: 0 10px;
  font-size: 0.6875rem;
}

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

.car-grid article,
.add-car {
  display: grid;
  min-height: 190px;
  padding: 12px;
  align-content: start;
  gap: 4px;
  text-align: left;
}

.car-grid article {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.car-grid img {
  width: calc(100% + 52px);
  max-width: none;
  height: 80px;
  margin-left: -52px;
  object-fit: cover;
  object-position: right center;
  background: #f3f5f3;
}

.car-grid strong {
  font-size: 0.75rem;
}

.car-grid small,
.car-grid span {
  color: var(--muted);
  font-size: 0.6875rem;
}

.add-car {
  place-items: center;
  align-content: center;
  color: var(--muted);
  border-style: dashed;
  text-align: center;
}

.add-car b {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--green);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 1.25rem;
}

.visit-panel p,
.visit-panel small {
  margin: 0;
}

.visit-panel small {
  color: var(--muted);
}

.visit-panel dl {
  display: flex;
  margin: 16px 0;
  gap: 28px;
}

.visit-panel dl div {
  display: grid;
}

.visit-panel dt {
  color: var(--muted);
  font-size: 0.6875rem;
}

.visit-panel dd {
  margin: 0;
  font-weight: 700;
}

.account-status {
  display: inline-flex;
  padding: 6px 10px;
  color: #237246;
  background: #dff2e5;
  border-radius: 14px;
  font-size: 0.6875rem;
  font-weight: 700;
}

.visit-panel > a {
  float: right;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
}

.history-panel,
.orders-panel {
  display: grid;
  align-content: start;
}

.history-panel > div,
.orders-panel > div {
  display: grid;
  min-height: 52px;
  padding: 10px 0;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
}

.history-panel time,
.orders-panel span {
  color: var(--muted);
}

.payments-panel {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.payments-panel h2 {
  grid-column: 1 / -1;
}

.payments-panel > div {
  display: grid;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.payments-panel span,
.payments-panel small {
  color: var(--muted);
  font-size: 0.6875rem;
}

@media (max-width: 1100px) {
  .concept-hero-image {
    width: 76%;
  }

  .hero-service-rail {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .concept-booking-grid {
    grid-template-columns: 4fr 6fr;
  }

  .concept-order {
    position: static;
    grid-column: 1 / -1;
  }

  .contact-details {
    grid-column: 1 / -1;
  }

  .concept-order dl {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .concept-order dl > div {
    border: 0;
  }

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

  .service-browser {
    grid-template-columns: 260px minmax(0, 1fr);
  }

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

  .service-category-head {
    grid-template-columns: minmax(0, 1fr) 34%;
  }

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

  .aggregate-hero {
    grid-template-columns: 1fr;
  }

  .aggregate-hero-image {
    min-height: 360px;
  }

  .aggregate-hero-image img {
    min-height: 360px;
  }

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

  .account-layout {
    grid-template-columns: 210px 1fr;
  }
}

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

  .header-actions {
    gap: 8px;
  }

  .site-header .logo {
    font-size: 1.35rem;
  }

  .header-admin-link {
    display: none;
  }

  .header-phone {
    font-size: 0.75rem;
  }

  .header-phone svg {
    width: 19px;
    height: 19px;
  }

  .header-actions > .header-icon:not(.phone-icon) {
    display: none;
  }

  .concept-hero {
    min-height: 790px;
  }

  .concept-hero::after {
    background:
      radial-gradient(circle at 78% 58%, rgb(142 182 155 / 18%), transparent 32%),
      linear-gradient(180deg, rgb(4 29 28 / 99%) 0%, rgb(4 29 28 / 82%) 46%, rgb(4 29 28 / 12%) 76%, #041f1c 100%);
  }

  .concept-hero-image {
    top: 330px;
    width: 100%;
    height: 350px;
    object-position: 72% center;
  }

  .concept-hero-inner {
    min-height: 790px;
    padding-top: 40px;
  }

  .concept-hero-copy {
    display: block;
    min-height: 0;
    padding-top: 0;
  }

  .concept-hero-copy h1 {
    font-size: 2.25rem;
  }

  .concept-benefits {
    display: grid;
    gap: 8px;
  }

  .concept-hero-copy .button-row {
    display: grid;
    max-width: 100%;
  }

  .concept-hero-copy .button {
    width: 100%;
  }

  .hero-service-rail {
    border-radius: var(--radius-control);
  }

  .hero-service-track {
    display: grid;
    padding-right: 0;
    grid-auto-columns: calc((100% - 8px) / 2);
    grid-auto-flow: column;
    grid-template-rows: repeat(2, 96px);
    gap: 8px;
  }

  .hero-service-card {
    width: auto;
    height: auto;
    flex-basis: auto;
  }

  .slider-controls {
    display: none;
  }

  .concept-trust {
    min-height: auto;
  }

  .concept-trust div {
    display: grid;
    padding: 16px;
    justify-items: start;
    gap: 2px;
  }

  .concept-trust strong {
    font-size: 1.25rem;
  }

  .compact-heading,
  .offer-grid,
  .concept-service-grid,
  .service-steps ol,
  .showcase-features {
    grid-template-columns: 1fr;
  }

  .offer-card,
  .offer-card > div {
    min-height: 160px;
  }

  .direction-grid {
    grid-template-columns: 1fr;
  }

  .aggregate-direction {
    grid-column: auto;
  }

  .direction-card,
  .direction-card div {
    min-height: 180px;
  }

  .showcase-hero,
  .showcase-copy {
    min-height: 560px;
  }

  .showcase-facts .shell {
    grid-template-columns: 1fr;
  }

  .showcase-facts div div {
    min-height: 76px;
    padding-inline: 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .service-browser {
    padding-block: 20px 40px;
    grid-template-columns: 1fr;
  }

  .service-browser-nav {
    position: static;
  }

  .service-browser-nav nav {
    max-height: 390px;
  }

  .service-category-head {
    grid-template-columns: 1fr;
  }

  .service-category-head > div {
    padding: 20px;
  }

  .service-category-head > img {
    height: 210px;
  }

  .service-browser-grid {
    grid-template-columns: 1fr;
  }

  .showcase-selector {
    padding: 20px;
  }

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

  .aggregate-hero {
    min-height: 0;
    padding: 24px;
    border-radius: 16px;
    grid-template-columns: 1fr;
  }

  .aggregate-hero-image {
    min-height: 260px;
  }

  .aggregate-hero-image img {
    min-height: 260px;
  }

  .aggregate-mini-facts,
  .aggregate-directions,
  .aggregate-choice-grid,
  .aggregate-process,
  .aggregate-intro {
    grid-template-columns: 1fr;
  }

  .aggregate-intro {
    padding-top: 44px;
    gap: 14px;
  }

  .aggregate-process div {
    min-height: 90px;
    border-right: 0;
    border-bottom: 1px solid rgb(218 241 222 / 16%);
  }

  .aggregate-process div:last-child {
    border-bottom: 0;
  }

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

  .service-detail-hero {
    min-height: 480px;
  }

  .service-detail-heading nav {
    margin-bottom: 42px;
  }

  .service-detail-layout,
  .service-detail-copy ul {
    grid-template-columns: 1fr;
  }

  .service-detail-layout {
    padding-block: 36px;
    gap: 28px;
  }

  .booking-page {
    padding-top: 18px;
  }

  .booking-service-info,
  .concept-booking-form,
  .concept-order {
    padding: 18px;
  }

  .booking-service-info {
    display: none;
  }

  .mobile-booking-title {
    display: block;
    margin-bottom: 18px;
    font-size: 1.5rem;
  }

  .booking-progress small {
    display: block;
    font-size: 0.5625rem;
  }

  .vehicle-select-card {
    grid-template-columns: 86px 1fr;
  }

  .vehicle-select-card img {
    width: 86px;
  }

  .date-choices > div {
    grid-template-columns: repeat(4, 1fr);
  }

  .time-choices > div {
    grid-template-columns: repeat(3, 1fr);
  }

  .concept-order {
    box-shadow: 0 12px 32px rgb(5 31 32 / 12%);
    order: 3;
  }

  .concept-booking-form {
    order: 1;
  }

  .contact-details {
    order: 2;
  }

  .contact-details summary {
    min-height: 48px;
    margin: 0 -24px;
    padding: 0 24px;
    justify-content: center;
    color: var(--ink);
    background: var(--brand);
    border-radius: var(--radius-control);
  }

  .contact-details summary::after {
    display: none;
  }

  .desktop-label {
    display: none;
  }

  .mobile-label {
    display: inline;
  }

  .concept-order dl {
    display: block;
  }

  .assurance-row span {
    min-height: 66px;
  }

  .catalog-layout,
  .account-layout {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar,
  .account-sidebar {
    position: static;
    min-height: auto;
  }

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

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

  .account-user {
    margin-top: 18px;
  }

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

  .account-grid {
    grid-template-columns: 1fr;
  }

  .payments-panel {
    grid-column: auto;
  }
}

/* Общая интерактивность карточек: один короткий паттерн для всего сайта. */
:where(
  .hero-service-card,
  .direction-card,
  .offer-card,
  .service-card,
  .service-browser-card,
  .product-card,
  .article-card,
  .car-brand-card,
  .car-model-card
) {
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

:where(
  .hero-service-card,
  .direction-card,
  .offer-card,
  .service-card,
  .service-browser-card,
  .product-card,
  .article-card,
  .car-brand-card,
  .car-model-card
):is(:hover, :focus-visible) {
  border-color: var(--brand);
  box-shadow: 0 18px 38px rgb(5 31 32 / 16%);
  outline: 0;
  transform: translateY(-3px) scale(1.01);
}

:where(
  .hero-service-card,
  .direction-card,
  .offer-card,
  .service-card,
  .service-browser-card,
  .product-card,
  .article-card,
  .car-brand-card,
  .car-model-card
):active {
  transform: translateY(-1px) scale(0.995);
}

.cookie-banner {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  display: grid;
  width: min(620px, calc(100% - 40px));
  padding: 18px;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  color: #fff;
  background: #062923;
  border: 1px solid rgb(218 241 222 / 28%);
  border-radius: var(--radius-card);
  box-shadow: 0 22px 60px rgb(0 0 0 / 30%);
}

.cookie-banner p {
  margin: 4px 0 0;
  color: #c8d8d2;
  font-size: 0.8rem;
}

.cookie-banner a {
  color: var(--brand);
}

.cookie-banner .button-dark-outline {
  color: #fff;
  background: transparent;
  border-color: rgb(255 255 255 / 35%);
}

.cookie-settings {
  padding: 0;
  color: #c8d8d2;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.cookie-settings:hover {
  color: var(--brand);
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.consent-label input {
  width: 18px !important;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
}

.consent-label a {
  color: var(--brand);
  text-decoration: underline;
}

.detail-page,
.article-detail,
.legal-page {
  padding-block: 48px 72px;
}

.product-detail {
  display: grid;
  margin-top: 24px;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.1fr);
  align-items: center;
  gap: 48px;
}

.product-detail-image {
  display: grid;
  min-height: 420px;
  place-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.product-detail-image img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
}

.filter-form {
  display: grid;
  padding: 18px;
  grid-template-columns: minmax(180px, 0.8fr) minmax(240px, 1.4fr) auto auto;
  align-items: end;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.filter-form label {
  display: grid;
  gap: 7px;
}

.filter-form label > span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.filter-form :is(input, select) {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: var(--ink);
  background: #f8faf8;
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  font: inherit;
}

.filter-reset {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  color: var(--green);
  font-weight: 700;
}

.filter-prompt {
  padding: 42px 20px;
  margin-top: 18px;
  color: var(--muted);
  background: #fff;
  border: 1px dashed var(--border);
  border-radius: var(--radius-card);
  text-align: center;
}

.article-editorial-hero {
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 10%, rgb(248 143 34 / 24%), transparent 30rem),
    linear-gradient(135deg, #041f1b, #0b4036);
}

.article-editorial-hero-inner {
  display: grid;
  min-height: 330px;
  padding-block: 68px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 64px;
}

.article-editorial-hero h1 {
  max-width: 820px;
  margin-top: 12px;
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 0.98;
}

.article-editorial-hero p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 22px;
  color: #c6d7d1;
  font-size: 1.05rem;
  line-height: 1.7;
}

.article-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(92px, 1fr));
  gap: 10px;
}

.article-stats div {
  min-width: 110px;
  padding: 18px;
  background: rgb(255 255 255 / 7%);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: var(--radius-control);
  backdrop-filter: blur(8px);
}

.article-stats dt {
  color: var(--brand);
  font-size: 1.75rem;
  font-weight: 900;
}

.article-stats dd {
  margin-top: 4px;
  color: #c6d7d1;
  font-size: 0.75rem;
}

.article-index {
  padding-top: 34px;
}

.article-tools {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: 18px;
}

.article-filter {
  grid-template-columns: minmax(170px, 0.7fr) minmax(240px, 1.3fr) auto auto;
}

.article-car-finder {
  display: grid;
  padding: 18px;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 10px;
  color: #fff;
  background: var(--green);
  border-radius: var(--radius-card);
}

.article-car-finder > div {
  grid-column: 1 / -1;
}

.article-car-finder h2 {
  margin-top: 3px;
  color: #fff;
  font-size: 1.25rem;
}

.article-car-finder select {
  min-width: 0;
  min-height: 48px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 0;
  border-radius: var(--radius-control);
  font: inherit;
}

.article-featured {
  display: grid;
  overflow: hidden;
  min-height: 460px;
  margin-top: 22px;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: 0 22px 48px rgb(5 31 32 / 10%);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.article-featured:is(:hover, :focus-visible) {
  border-color: var(--brand);
  box-shadow: 0 26px 54px rgb(5 31 32 / 16%);
  outline: 0;
  transform: translateY(-3px);
}

.article-featured-media {
  min-height: 460px;
  background: #dce6e1;
}

.article-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-featured-copy {
  display: flex;
  padding: clamp(28px, 4vw, 54px);
  justify-content: center;
  flex-direction: column;
}

.article-category {
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-featured-copy h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.05;
}

.article-featured-copy > span {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.article-featured-copy strong {
  margin-top: 26px;
  color: var(--green);
}

.article-section-title {
  display: flex;
  margin-top: 58px;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.article-section-title h2 {
  margin-top: 5px;
  font-size: 2rem;
}

.article-section-title > span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

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

.article-card {
  display: flex;
  overflow: hidden;
  min-height: 100%;
  flex-direction: column;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.article-card-media {
  position: relative;
  overflow: hidden;
  height: 210px;
  flex: 0 0 auto;
  background: #dce6e1;
}

.article-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.article-card:is(:hover, :focus-visible) .article-card-media img {
  transform: scale(1.035);
}

.article-card-media > span {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  color: #fff;
  background: rgb(4 31 27 / 82%);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  backdrop-filter: blur(6px);
}

.article-card-copy {
  display: flex;
  padding: 20px;
  flex: 1;
  flex-direction: column;
}

.article-card p {
  margin-bottom: 9px;
  font-size: 0.75rem;
}

.article-card-copy > span {
  margin-top: 10px;
  line-height: 1.55;
}

.article-card p,
.article-card-copy > span,
.article-meta {
  color: var(--muted);
}

.article-card h2 {
  font-size: 1.2rem;
}

.article-card strong {
  margin-top: auto;
  padding-top: 18px;
  color: var(--green);
}

.article-detail-page {
  padding-block: 34px 80px;
}

.article-breadcrumbs {
  display: flex;
  margin-bottom: 22px;
  gap: 9px;
  color: var(--muted);
  font-size: 0.82rem;
}

.article-breadcrumbs a {
  color: var(--green);
  font-weight: 800;
}

.article-detail-hero {
  display: grid;
  overflow: hidden;
  min-height: 480px;
  grid-template-columns: minmax(340px, 0.8fr) minmax(0, 1.2fr);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.article-detail-heading {
  display: flex;
  padding: clamp(30px, 5vw, 64px);
  justify-content: center;
  flex-direction: column;
}

.article-detail-heading h1 {
  margin-top: 16px;
  font-size: clamp(2.35rem, 4vw, 4.1rem);
  line-height: 1;
}

.article-lead {
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.article-hero {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.article-detail-layout {
  display: grid;
  max-width: 1180px;
  margin: 42px auto 0;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
  gap: 64px;
}

.article-body {
  min-width: 0;
}

.article-text {
  color: #263a35;
  font-size: 1.08rem;
  line-height: 1.85;
}

.article-text p {
  margin-bottom: 18px;
}

.article-service-note {
  padding: 28px;
  margin-top: 36px;
  background: #eef4f0;
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-control);
}

.article-service-note h2 {
  margin-top: 7px;
  font-size: 1.55rem;
}

.article-service-note > p:not(.eyebrow) {
  margin-top: 10px;
  color: var(--muted);
}

.article-service-note .button-row {
  margin-top: 20px;
}

.article-related {
  display: grid;
  position: sticky;
  top: 96px;
  gap: 12px;
}

.article-related-head {
  margin-bottom: 4px;
}

.article-related-head h2 {
  margin-top: 5px;
  font-size: 1.35rem;
}

.article-related > a:not(.article-all-link) {
  display: grid;
  padding: 12px;
  grid-template-columns: 76px 1fr;
  gap: 4px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease;
}

.article-related > a:not(.article-all-link):is(:hover, :focus-visible) {
  border-color: var(--brand);
  outline: 0;
  transform: translateY(-2px);
}

.article-related img {
  width: 76px;
  height: 76px;
  grid-row: 1 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.article-related a span {
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.article-related a strong {
  font-size: 0.88rem;
  line-height: 1.35;
}

.article-all-link {
  margin-top: 6px;
  color: var(--green);
  font-weight: 800;
}

.brand-grid,
.model-grid {
  display: grid;
  margin-top: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.car-brand-card,
.car-model-card {
  display: flex;
  min-height: 96px;
  padding: 18px;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
}

.car-brand-card span,
.car-model-card span {
  color: var(--muted);
  font-size: 0.78rem;
}

.car-models {
  margin-top: 28px;
}

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

.model-list .car-model-card {
  min-height: 82px;
}

.legal-page {
  max-width: 900px;
}

.legal-page h1 {
  margin-bottom: 28px;
}

.legal-page h2 {
  margin: 30px 0 10px;
  font-size: 1.25rem;
}

.legal-page p {
  line-height: 1.75;
}

.footer-grid {
  grid-template-columns: 1.4fr 1fr 0.8fr 1.4fr;
  gap: 28px;
}

.site-footer {
  padding-block: 36px;
}

.site-footer .logo {
  width: max-content;
  font-size: 1.6rem;
  letter-spacing: 0.015em;
}

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

.footer-column {
  padding-left: 18px;
  border-left: 1px solid rgb(207 224 218 / 14%);
}

@media (max-width: 900px) {
  .cookie-banner {
    grid-template-columns: 1fr 1fr;
  }

  .cookie-banner > div {
    grid-column: 1 / -1;
  }

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

  .article-editorial-hero-inner,
  .article-tools,
  .article-detail-hero,
  .article-detail-layout {
    grid-template-columns: 1fr;
  }

  .article-editorial-hero-inner {
    gap: 34px;
  }

  .article-featured {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .article-featured-media {
    min-height: 340px;
  }

  .article-detail-layout {
    gap: 40px;
  }

  .article-related {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .article-related-head,
  .article-all-link,
  .article-related > p {
    grid-column: 1 / -1;
  }

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

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

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 18px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-column {
    padding-left: 0;
    border-left: 0;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
  }

  .cookie-banner > div {
    grid-column: auto;
  }

  .product-detail,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .article-editorial-hero-inner {
    min-height: 0;
    padding-block: 46px;
  }

  .article-editorial-hero h1 {
    font-size: 2.55rem;
  }

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

  .article-stats div {
    min-width: 0;
    padding: 12px 9px;
  }

  .article-stats dt {
    font-size: 1.4rem;
  }

  .article-filter,
  .article-car-finder,
  .article-related {
    grid-template-columns: 1fr;
  }

  .article-car-finder > div {
    grid-column: auto;
  }

  .article-featured-media {
    min-height: 250px;
  }

  .article-featured-copy {
    padding: 26px 22px;
  }

  .article-section-title {
    margin-top: 42px;
    align-items: start;
    flex-direction: column;
    gap: 7px;
  }

  .article-detail-page {
    padding-block: 20px 56px;
  }

  .article-detail-hero {
    min-height: 0;
  }

  .article-detail-heading {
    padding: 28px 22px;
  }

  .article-detail-heading h1 {
    font-size: 2.35rem;
  }

  .article-hero {
    min-height: 260px;
    height: 260px;
  }

  .article-service-note {
    padding: 22px;
  }

  .article-service-note .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .product-detail-image {
    min-height: 280px;
  }

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

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

@media (prefers-reduced-motion: reduce) {
  :where(
    .hero-service-card,
    .direction-card,
    .offer-card,
    .service-card,
    .service-browser-card,
    .product-card,
    .article-featured,
    .article-card,
    .car-brand-card,
    .car-model-card
  ) {
    transition: none;
  }
}

@media (max-width: 420px) {
  .concept-hero-copy h1 {
    font-size: 2rem;
  }

  .concept-hero-image {
    top: 330px;
  }

  .date-choices > div,
  .time-choices > div {
    grid-template-columns: repeat(3, 1fr);
  }

  .catalog-content,
  .account-content {
    padding: 16px;
  }

  .catalog-toolbar label > span,
  .catalog-view {
    display: none;
  }

  .product-grid,
  .car-grid,
  .payments-panel {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 300px;
  }

  .account-content > header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }

  .history-panel > div,
  .orders-panel > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

/* Client authentication and the real account use the existing green/orange system. */

.auth-page {
  position: relative;
  display: grid;
  min-height: 100vh;
  padding: 80px 20px;
  overflow: hidden;
  place-items: center;
  color: #fff;
  background:
    repeating-radial-gradient(circle at 50% 48%, transparent 0 62px, rgb(142 182 155 / 5%) 63px 104px),
    radial-gradient(circle at 50% 45%, #17473e 0, #0b2b26 34%, #051f20 72%);
}

.auth-page::before {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgb(218 241 222 / 18%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(218 241 222 / 18%) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
}

.auth-logo {
  position: absolute;
  z-index: 1;
  top: 28px;
  left: 32px;
}

.auth-card {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  padding: 40px;
  background: rgb(7 39 34 / 82%);
  border: 1px solid rgb(218 241 222 / 18%);
  border-radius: 24px;
  box-shadow: 0 32px 90px rgb(0 0 0 / 38%), inset 0 1px rgb(255 255 255 / 5%);
  backdrop-filter: blur(18px);
}

.auth-card-wide {
  width: min(100%, 560px);
}

.auth-card h1 {
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(1.9rem, 5vw, 2.5rem);
}

.auth-card > p:not(.eyebrow) {
  color: #aec2ba;
}

.auth-card .field label {
  color: #dce9e4;
}

.auth-card .field input {
  color: #fff;
  background: rgb(5 31 32 / 72%);
  border-color: rgb(218 241 222 / 22%);
}

.auth-card .field input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgb(248 143 34 / 14%);
  outline: 0;
}

.auth-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
}

.auth-field-grid .field-personal_data_consent {
  grid-column: 1 / -1;
}

.social-auth {
  display: grid;
  margin: 22px 0 16px;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.social-auth button {
  display: grid;
  min-height: 52px;
  padding: 8px 10px;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 8px;
  color: #dbe8e3;
  background: rgb(218 241 222 / 7%);
  border: 1px solid rgb(218 241 222 / 17%);
  border-radius: 10px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 750;
  text-align: left;
}

.social-auth button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.social-auth button > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #fff;
  border-radius: 8px;
  font-size: 0.7rem;
}

.social-vk {
  background: #2787f5;
}

.social-yandex {
  background: #f33;
}

.social-auth button small {
  color: #8fa69d;
  font-size: 0.62rem;
  font-weight: 650;
}

.auth-divider {
  display: flex;
  margin-bottom: 16px;
  align-items: center;
  gap: 10px;
  color: #8fa69d;
  font-size: 0.7rem;
}

.auth-divider::before,
.auth-divider::after {
  height: 1px;
  flex: 1;
  background: rgb(218 241 222 / 15%);
  content: "";
}

.field-personal_data_consent {
  margin-top: 6px;
}

.field-personal_data_consent .consent-label {
  min-height: 44px;
  align-items: flex-start;
}

.field-help {
  display: block;
  margin-top: 6px;
  color: #91aaa0;
  font-size: 0.7rem;
}

.auth-footer {
  margin: 20px 0 0;
  text-align: center;
}

.auth-footer a,
.auth-back {
  color: var(--brand);
  font-weight: 750;
}

.auth-back {
  display: block;
  margin-top: 20px;
  font-size: 0.8rem;
  text-align: center;
}

.account-logout {
  min-height: 40px;
  padding: 0 14px;
  color: var(--green);
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
}

.account-message {
  padding: 12px 14px;
  margin-top: 16px;
  color: #237246;
  background: #e5f4e9;
  border: 1px solid #bfdfc8;
  border-radius: var(--radius-control);
}

.account-bookings {
  grid-row: span 2;
}

.account-panel-head a {
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 750;
}

.account-bookings article {
  display: grid;
  min-height: 72px;
  padding: 12px 0;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--border);
}

.account-bookings article div {
  display: grid;
}

.account-bookings article small,
.account-bookings article time,
.profile-email {
  color: var(--muted);
  font-size: 0.75rem;
}

.account-empty {
  display: grid;
  min-height: 270px;
  padding: 28px;
  place-items: center;
  align-content: center;
  color: var(--muted);
  background: #f8faf8;
  border: 1px dashed var(--border);
  border-radius: var(--radius-control);
  text-align: center;
}

.account-empty p {
  max-width: 360px;
}

.profile-panel form {
  margin-top: 18px;
}

@media (max-width: 760px) {
  .auth-page {
    padding: 76px 16px 24px;
    place-items: start center;
  }

  .auth-logo {
    top: 24px;
    left: 20px;
  }

  .auth-card {
    padding: 28px 20px;
    border-radius: 18px;
  }

  .auth-field-grid {
    grid-template-columns: 1fr;
  }

  .auth-field-grid .field-personal_data_consent {
    grid-column: auto;
  }

  .social-auth {
    grid-template-columns: 1fr;
  }

  .account-bookings article {
    grid-template-columns: 1fr auto;
  }

  .account-bookings article time {
    grid-column: 1;
  }

  .account-bookings article .account-status {
    grid-row: 1 / 3;
    grid-column: 2;
  }
}
