:root {
  color-scheme: light;
  --ink: #172028;
  --muted: #66727f;
  --line: #d9e1e6;
  --panel: #ffffff;
  --wash: #f4f7f6;
  --green: #10a66a;
  --green-dark: #087a4d;
  --pink: #e0007a;
  --amber: #f0a202;
  --danger: #c83d3d;
  --shadow: 0 24px 70px rgba(10, 24, 38, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--wash);
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(217, 225, 230, 0.8);
  backdrop-filter: blur(16px);
}

.brand img {
  display: block;
  width: min(280px, 46vw);
  height: auto;
}

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

.nav a,
.button {
  color: inherit;
  text-decoration: none;
}

.nav a {
  font-size: 14px;
  font-weight: 700;
}

.lang-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border: 1px solid var(--line);
  background: #fff;
}

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

.admin-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.lang-switch button {
  min-width: 42px;
  min-height: 34px;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.lang-switch button.active {
  color: #fff;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: end;
  padding: clamp(34px, 6vw, 72px);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 16, 24, 0.88), rgba(10, 16, 24, 0.58) 42%, rgba(10, 16, 24, 0.12) 74%);
}

.hero-slide {
  position: absolute;
  inset: -4%;
  opacity: 0;
  background-position: center;
  background-size: cover;
  animation: heroBanner 18s infinite;
}

.slide-one {
  background-image: url("assets/parking-plan.png");
  background-position: center;
}

.slide-two {
  background-image: url("https://images.pexels.com/photos/27099094/pexels-photo-27099094.jpeg?auto=compress&dpr=1&w=2200");
  animation-delay: 6s;
}

.slide-three {
  background-image: url("https://images.pexels.com/photos/8696219/pexels-photo-8696219.jpeg?auto=compress&dpr=1&w=2200");
  animation-delay: 12s;
}

@keyframes heroBanner {
  0% {
    opacity: 0;
    transform: scale(1.04) translateX(0);
  }
  8% {
    opacity: 1;
  }
  30% {
    opacity: 1;
  }
  42% {
    opacity: 0;
    transform: scale(1.12) translateX(-2.5%);
  }
  100% {
    opacity: 0;
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 22vh;
  background: linear-gradient(0deg, var(--wash), rgba(244, 247, 246, 0));
}

.hero-content {
  width: min(780px, 100%);
  color: #fff;
  padding-bottom: 9vh;
}

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

.hero h1,
.section-head h2,
.commercial h2,
.journey h2,
.security h2,
.fleet h2 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(48px, 8vw, 108px);
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.5;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-weight: 850;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--pink);
  box-shadow: 0 12px 34px rgba(224, 0, 122, 0.28);
}

.button.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.button.full {
  width: 100%;
}

.hero-panel {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 34px;
  display: grid;
  gap: 5px;
  width: min(280px, calc(100% - 36px));
  padding: 18px;
  color: #fff;
  background: rgba(12, 21, 28, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
}

.hero-panel span,
.hero-panel small {
  color: rgba(255, 255, 255, 0.72);
}

.hero-panel strong {
  font-size: 42px;
  line-height: 1;
}

.planner,
.commercial,
.journey,
.security,
.trust-band,
.fleet {
  padding: clamp(42px, 7vw, 86px) clamp(18px, 4vw, 54px);
}

.section-head {
  max-width: 880px;
  margin-bottom: 28px;
}

.section-head h2,
.commercial h2,
.journey h2,
.security h2,
.fleet h2 {
  font-size: clamp(34px, 5vw, 68px);
}

.section-head p:not(.eyebrow),
.commercial-grid p,
.offer-grid p,
.journey-steps p,
.feature-grid p,
.fleet-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.market-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.market-strip div {
  display: grid;
  gap: 7px;
  min-height: 116px;
  padding: 22px clamp(16px, 3vw, 28px);
  background: #fff;
}

.market-strip strong {
  color: var(--pink);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.market-strip span {
  color: var(--muted);
  font-weight: 780;
}

.commercial {
  background: #fff;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 28px;
  background: var(--line);
  border: 1px solid var(--line);
}

.offer-grid article {
  display: grid;
  align-content: space-between;
  min-height: 300px;
  padding: clamp(22px, 3vw, 32px);
  background: #fff;
}

.offer-grid article:nth-child(2) {
  color: #fff;
  background: var(--ink);
}

.offer-grid article:nth-child(2) p {
  color: rgba(255, 255, 255, 0.72);
}

.offer-grid span {
  width: max-content;
  padding: 6px 10px;
  color: var(--pink);
  border: 1px solid currentColor;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.offer-grid h3 {
  max-width: 360px;
  margin: 72px 0 12px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 0.98;
}

.offer-grid p {
  margin: 0;
}

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

.commercial-grid article {
  display: grid;
  align-content: start;
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fbfcfc;
}

.commercial-grid article span {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 34px;
  color: #fff;
  background: var(--ink);
  font-weight: 900;
}

.commercial-grid h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.08;
}

.commercial-grid p {
  margin: 0;
}

.visual-proof {
  display: grid;
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.visual-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
  min-height: 520px;
  background: #fff;
}

.visual-feature img,
.visual-grid img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.visual-feature > div {
  display: grid;
  align-content: center;
  padding: clamp(26px, 5vw, 64px);
}

.visual-feature h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 0.98;
}

.visual-feature p:not(.eyebrow) {
  max-width: 540px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

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

.visual-grid figure {
  position: relative;
  min-height: 300px;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.visual-grid figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 12px 14px;
  color: #fff;
  background: rgba(16, 24, 31, 0.78);
  font-weight: 850;
  backdrop-filter: blur(10px);
}

.image-note {
  margin: 0;
  padding: 14px clamp(18px, 4vw, 54px);
  color: var(--muted);
  background: #fff;
  font-size: 13px;
}

.journey {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  background: var(--ink);
  color: #fff;
}

.journey .eyebrow {
  color: #fff;
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.16);
}

.journey-steps li {
  min-height: 220px;
  padding: 22px;
  background: #202d36;
}

.journey-steps li::before {
  content: counter(list-item, decimal-leading-zero);
  display: block;
  margin-bottom: 54px;
  color: var(--pink);
  font-size: 13px;
  font-weight: 900;
}

.journey-steps span {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 900;
}

.journey-steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.booking-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.synthetic-yard {
  display: grid;
  gap: 14px;
  padding: 16px;
  overflow-x: auto;
  background: #fbfcfc;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.plan-croquis-yard {
  overflow: hidden;
  padding: 18px;
}

.plan-croquis-scroll {
  overflow: auto;
  background: #eef3f1;
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.8);
  -webkit-overflow-scrolling: touch;
}

.plan-croquis-canvas {
  position: relative;
  width: 100%;
  min-width: 2050px;
  aspect-ratio: 4100 / 2105;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(23, 32, 40, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(23, 32, 40, 0.035) 1px, transparent 1px),
    #f3f7f5;
  background-size: 42px 42px;
}

.plan-croquis-canvas img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  filter: grayscale(1) contrast(1.08);
}

.plan-croquis-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.18);
  pointer-events: none;
  z-index: 2;
}

.croquis-perimeter {
  position: absolute;
  left: 5.6%;
  right: 11.6%;
  top: 21%;
  bottom: 15%;
  border: 4px solid rgba(224, 0, 122, 0.82);
  border-radius: 10px 10px 34px 34px;
  box-shadow: inset 0 0 0 10px rgba(224, 0, 122, 0.05);
  pointer-events: none;
  z-index: 1;
}

.croquis-road {
  position: absolute;
  display: grid;
  place-items: center;
  color: rgba(23, 32, 40, 0.52);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.74)),
    repeating-linear-gradient(90deg, rgba(23, 32, 40, 0.12) 0 18px, transparent 18px 56px);
  border: 1px dashed rgba(23, 32, 40, 0.22);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  z-index: 2;
}

.croquis-road span {
  position: relative;
  z-index: 2;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.86);
}

.croquis-road i {
  position: absolute;
  width: 58px;
  height: 16px;
}

.croquis-road i::before,
.croquis-road i::after {
  content: "";
  position: absolute;
}

.croquis-road i::before {
  left: 0;
  right: 8px;
  top: 7px;
  height: 3px;
  background: rgba(23, 32, 40, 0.34);
}

.croquis-road i::after {
  right: 0;
  top: 2px;
  width: 12px;
  height: 12px;
  border-top: 3px solid rgba(23, 32, 40, 0.34);
  border-right: 3px solid rgba(23, 32, 40, 0.34);
  transform: rotate(45deg);
}

.road-upper {
  left: 14%;
  right: 17%;
  top: 35%;
  height: 8%;
  border-radius: 0 28px 28px 0;
}

.road-upper i:nth-of-type(1) {
  left: 20%;
}

.road-upper i:nth-of-type(2) {
  left: 45%;
}

.road-upper i:nth-of-type(3) {
  left: 70%;
}

.road-lower {
  left: 13%;
  right: 22%;
  top: 58%;
  height: 8%;
  border-radius: 26px 0 0 26px;
}

.road-lower i {
  transform: rotate(180deg);
}

.road-lower i:nth-of-type(1) {
  left: 30%;
}

.road-lower i:nth-of-type(2) {
  left: 58%;
}

.road-left {
  left: 7.2%;
  top: 40%;
  width: 6.2%;
  height: 25%;
  border-radius: 28px;
}

.road-left i {
  bottom: 18%;
  left: 50%;
  transform: translateX(-50%) rotate(90deg);
}

.croquis-control {
  position: absolute;
  left: 52.6%;
  top: 43.2%;
  width: 7.5%;
  min-width: 110px;
  height: 18%;
  display: grid;
  place-content: center;
  gap: 6px;
  color: #fff;
  background: var(--ink);
  border: 4px solid #fff;
  box-shadow: 0 18px 40px rgba(23, 32, 40, 0.22);
  text-align: center;
  z-index: 3;
}

.croquis-control strong {
  font-size: 18px;
}

.croquis-control span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 800;
}

.croquis-gate {
  position: absolute;
  bottom: 12.6%;
  display: grid;
  gap: 8px;
  justify-items: center;
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  z-index: 4;
}

.croquis-gate span {
  padding: 6px 10px;
  color: #fff;
  background: var(--pink);
  box-shadow: 0 10px 24px rgba(224, 0, 122, 0.24);
}

.croquis-gate b {
  width: 112px;
  height: 12px;
  display: block;
  background: repeating-linear-gradient(135deg, #111 0 12px, #ffd447 12px 24px);
  border: 2px solid #fff;
  box-shadow: 0 8px 18px rgba(23, 32, 40, 0.18);
}

.gate-entry {
  left: 43.8%;
}

.gate-exit {
  left: 56.4%;
}

.yard-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
}

.yard-toolbar h3 {
  margin: 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1;
}

.yard-map {
  position: relative;
  min-width: 860px;
  min-height: 610px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 54%, rgba(224, 0, 122, 0.08), transparent 24%),
    linear-gradient(90deg, rgba(23, 32, 40, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(23, 32, 40, 0.035) 1px, transparent 1px),
    #eef4f2;
  background-size: auto, 34px 34px, 34px 34px;
  border: 1px solid var(--line);
}

.yard-map::before {
  content: "";
  position: absolute;
  inset: 18px;
  background: url("assets/parking-plan.png") center / contain no-repeat;
  opacity: 0.13;
  filter: grayscale(1) contrast(1.08);
  pointer-events: none;
  z-index: 0;
}

.yard-perimeter {
  position: absolute;
  inset: 26px 34px 30px;
  border: 3px solid rgba(224, 0, 122, 0.82);
  border-radius: 14px 14px 30px 30px;
  clip-path: polygon(0 0, 100% 0, 98% 86%, 62% 91%, 58% 100%, 43% 100%, 39% 91%, 2% 86%);
  pointer-events: none;
  z-index: 1;
}

.yard-zone {
  position: absolute;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(23, 32, 40, 0.16);
  font-size: 14px;
  font-weight: 950;
  z-index: 4;
}

.zone-north-left {
  left: 7%;
  top: 12%;
}

.zone-north-right {
  right: 7%;
  top: 12%;
}

.zone-center-left {
  left: 7%;
  top: 41%;
}

.zone-center-right {
  right: 7%;
  top: 41%;
}

.zone-south-left {
  left: 7%;
  bottom: 17%;
}

.zone-south-right {
  right: 7%;
  bottom: 17%;
}

.yard-road {
  position: absolute;
  left: 6%;
  right: 6%;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(23, 32, 40, 0.22);
  background:
    linear-gradient(90deg, transparent, rgba(255,255,255,0.92) 8%, rgba(255,255,255,0.92) 92%, transparent),
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(23, 32, 40, 0.16) 42px 52px);
  color: rgba(23, 32, 40, 0.38);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.road-top {
  top: 36.5%;
}

.road-bottom {
  bottom: 16%;
}

.service-core {
  position: absolute;
  left: 46%;
  top: 43%;
  width: 13.5%;
  min-width: 96px;
  min-height: 132px;
  display: grid;
  place-content: center;
  gap: 4px;
  text-align: center;
  color: #fff;
  background: var(--ink);
  border: 3px solid #fff;
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(23, 32, 40, 0.2);
  z-index: 2;
}

.service-core strong {
  font-size: 18px;
}

.service-core span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 750;
}

.gate {
  position: absolute;
  bottom: 28px;
  min-width: 84px;
  padding: 8px 10px;
  color: #fff;
  background: var(--pink);
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  z-index: 3;
}

.gate-in {
  left: 43%;
}

.gate-out {
  left: 55%;
}

.synthetic-spots {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.synthetic-spot {
  position: absolute;
  width: var(--spot-w);
  height: var(--spot-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 2px solid rgba(8, 122, 77, 0.7);
  border-radius: 9px 3px 3px 9px;
  background:
    linear-gradient(90deg, rgba(16, 166, 106, 0.26), rgba(255, 255, 255, 0.88));
  color: var(--ink);
  transform: translate(-50%, -50%) rotate(var(--angle));
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.82), 0 7px 16px rgba(23, 32, 40, 0.1);
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.synthetic-spot::before {
  content: "";
  position: absolute;
  left: 18%;
  width: 48%;
  height: 46%;
  border: 1px solid currentColor;
  border-radius: 3px;
  opacity: 0.28;
}

.synthetic-spot::after {
  content: "";
  position: absolute;
  right: 12%;
  width: 19%;
  height: 34%;
  border: 1px solid currentColor;
  border-radius: 2px;
  opacity: 0.28;
}

.synthetic-spot span {
  position: relative;
  z-index: 1;
  transform: rotate(calc(var(--angle) * -1));
  padding: 2px 4px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(23, 32, 40, 0.08);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.synthetic-spot em {
  position: relative;
  z-index: 1;
  transform: rotate(calc(var(--angle) * -1));
  padding: 2px 4px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  font-size: 9px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
}

.synthetic-spot:hover:not(.occupied):not(.reserved) {
  transform: translate(-50%, -50%) rotate(var(--angle)) scale(1.08);
  border-color: var(--pink);
  z-index: 5;
}

.synthetic-spot.tractor {
  --spot-w: 3.6%;
  --spot-h: 4.6%;
}

.synthetic-spot.truck {
  --spot-w: 6.6%;
  --spot-h: 4.8%;
}

.synthetic-spot.roadtrain {
  --spot-w: 7.8%;
  --spot-h: 4.8%;
}

.synthetic-spot.reserved {
  border-color: rgba(240, 162, 2, 0.76);
  background:
    repeating-linear-gradient(135deg, rgba(240, 162, 2, 0.2) 0 7px, rgba(255, 255, 255, 0.72) 7px 14px);
  color: rgba(23, 32, 40, 0.66);
  cursor: not-allowed;
}

.synthetic-spot.reserved em,
.synthetic-spot.occupied em {
  display: none;
}

.synthetic-spot.occupied {
  border-color: rgba(200, 61, 61, 0.65);
  background:
    repeating-linear-gradient(135deg, rgba(200, 61, 61, 0.18) 0 6px, rgba(255, 255, 255, 0.52) 6px 12px);
  color: rgba(23, 32, 40, 0.52);
  cursor: not-allowed;
}

.synthetic-spot.selected {
  border-color: var(--pink);
  background:
    linear-gradient(90deg, rgba(224, 0, 122, 0.42), rgba(255, 255, 255, 0.92));
  box-shadow: 0 0 0 6px rgba(224, 0, 122, 0.18), 0 16px 32px rgba(224, 0, 122, 0.22);
  z-index: 6;
}

.synthetic-spot.selected em {
  color: #fff;
  background: var(--pink);
}

.map-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.map-card,
.booking-panel,
.feature-grid article,
.metrics div {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.map-card {
  min-width: 0;
  overflow: hidden;
}

.map-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}

.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.status-list span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 50%;
}

.dot.available {
  background: var(--green);
}

.dot.selected {
  background: var(--pink);
}

.dot.reserved {
  background: var(--amber);
}

.dot.occupied {
  background: var(--danger);
}

.icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}

.spot-layer {
  position: absolute;
  inset: 0;
  min-width: 980px;
}

.spot {
  position: absolute;
  width: 3.4%;
  height: 3.1%;
  transform: translate(-50%, -50%) rotate(var(--angle));
  border: 2px solid rgba(16, 166, 106, 0.82);
  background: rgba(16, 166, 106, 0.18);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.spot::after {
  content: attr(data-id);
  position: absolute;
  left: 50%;
  top: -22px;
  transform: translateX(-50%) rotate(calc(var(--angle) * -1));
  padding: 3px 6px;
  color: #fff;
  background: rgba(23, 32, 40, 0.92);
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.spot.occupied {
  border-color: rgba(200, 61, 61, 0.75);
  background: rgba(200, 61, 61, 0.16);
  cursor: not-allowed;
}

.spot.selected {
  border-color: var(--pink);
  background: rgba(224, 0, 122, 0.25);
  box-shadow: 0 0 0 5px rgba(224, 0, 122, 0.18);
}

.booking-panel {
  position: static;
  width: min(100%, 920px);
  justify-self: center;
  padding: 18px;
}

.booking-panel form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.booking-panel .selected-card,
.booking-panel fieldset,
.booking-panel .price-box,
.booking-panel .button,
.booking-panel .confirmation {
  grid-column: 1 / -1;
}

.selected-card,
.price-box {
  display: grid;
  gap: 6px;
  padding: 16px;
  background: #f5f7f8;
  border: 1px solid var(--line);
}

.selected-card span,
.price-box span,
.price-box small,
.selected-card small {
  color: var(--muted);
}

.selected-card strong,
.price-box strong {
  font-size: 30px;
}

form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

label,
fieldset {
  display: grid;
  gap: 7px;
  margin: 0;
}

label span,
legend {
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
}

input:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(224, 0, 122, 0.28);
  outline-offset: 2px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

fieldset {
  padding: 12px;
  border: 1px solid var(--line);
}

.check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.check input {
  width: 18px;
  min-height: 18px;
}

.confirmation {
  min-height: 24px;
  margin: 0;
  color: var(--green-dark);
  font-weight: 800;
}

.security {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: 28px;
  background: #fff;
}

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

.feature-grid article {
  padding: 22px;
  box-shadow: none;
}

.feature-grid h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.feature-grid p {
  margin: 0;
}

.trust-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  background: #eef3f1;
}

.trust-band h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.trust-list div {
  display: grid;
  gap: 12px;
  min-height: 160px;
  padding: 22px;
  background: #fff;
}

.trust-list strong {
  font-size: 20px;
}

.trust-list span {
  color: var(--muted);
  line-height: 1.55;
}

.fleet {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: 30px;
  align-items: center;
}

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

.metrics div {
  display: grid;
  gap: 8px;
  min-height: 134px;
  padding: 22px;
}

.metrics strong {
  color: var(--pink);
  font-size: 48px;
  line-height: 1;
}

.metrics span {
  color: var(--muted);
  font-weight: 750;
}

@media (max-width: 1000px) {
  .topbar {
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    padding: 2px 0 6px;
    scrollbar-width: none;
  }

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

  .booking-shell,
  .visual-feature,
  .journey,
  .security,
  .trust-band,
  .fleet {
    grid-template-columns: 1fr;
  }

  .market-strip,
  .offer-grid,
  .visual-grid,
  .commercial-grid,
  .journey-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-panel {
    position: static;
  }

  .plan-croquis-canvas {
    min-width: 1850px;
  }

  .synthetic-yard {
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 640px) {
  .topbar {
    position: relative;
    min-height: auto;
    padding: 12px 16px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 760px;
    padding: 26px 18px;
  }

  .hero-content {
    padding-bottom: 190px;
  }

  .hero-panel {
    left: 18px;
    right: 18px;
    bottom: 22px;
  }

  .brand img {
    width: 210px;
    max-width: 58vw;
  }

  .hero h1,
  .section-head h2,
  .commercial h2,
  .journey h2,
  .security h2,
  .fleet h2,
  .trust-band h2 {
    font-size: 40px;
    line-height: 1.02;
  }

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

  .hero-actions,
  .yard-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

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

  section,
  .site-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .market-strip article,
  .commercial-card,
  .offer-grid article,
  .feature-grid article,
  .metrics div,
  .trust-list div {
    min-height: auto;
  }

  .visual-feature img {
    min-height: 260px;
  }

  .visual-grid figure {
    min-height: 230px;
  }

  .booking-shell {
    gap: 16px;
  }

  .plan-croquis-canvas {
    min-width: 1700px;
  }

  .synthetic-yard {
    margin-left: -18px;
    margin-right: -18px;
    padding: 12px 18px 18px;
    border-left: 0;
    border-right: 0;
  }

  .yard-map {
    min-width: 760px;
    min-height: 540px;
  }

  .yard-toolbar h3 {
    font-size: 28px;
  }

  .status-list {
    gap: 8px;
    font-size: 12px;
  }

  .synthetic-spot {
    min-height: 34px;
  }

  .synthetic-spot span {
    font-size: 9px;
  }

  .booking-panel {
    padding: 18px;
  }

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

  .field-grid,
  .market-strip,
  .offer-grid,
  .visual-grid,
  .commercial-grid,
  .journey-steps,
  .trust-list,
  .feature-grid,
  .metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .lang-switch button {
    min-width: 36px;
  }

  .hero {
    min-height: 720px;
  }

  .hero h1,
  .section-head h2,
  .commercial h2,
  .journey h2,
  .security h2,
  .fleet h2,
  .trust-band h2 {
    font-size: 34px;
  }

  .hero-panel {
    padding: 14px;
  }

  .yard-map {
    min-width: 720px;
  }

  .plan-croquis-canvas {
    min-width: 1450px;
  }

  .button,
  input,
  select {
    min-height: 46px;
  }
}
