:root {
  --color-bg: #F8FAFC;
  --color-surface: #FFFFFF;
  --color-text: #111827;
  --color-muted: #4B5563;
  --color-primary: #F59E0B;
  --color-primary-dark: #D97706;
  --color-secondary: #1F2937;
  --color-border: #E5E7EB;
  --color-success: #16A34A;
  --color-danger-soft: #FEF2F2;
  --color-warning-soft: #FFFBEB;
  --font-base: Inter, Arial, system-ui, sans-serif;
  --container-max: 1160px;
  --container-gutter: 32px;
  --container-gutter-mobile: 24px;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-card: 0 2px 8px rgba(17, 24, 39, 0.05);
  --shadow-cta: 0 2px 8px rgba(245, 158, 11, 0.18);
  --shadow-panel: 0 8px 24px rgba(0, 0, 0, 0.16);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --button-height: 52px;
  --button-height-mobile: 52px;
  --button-padding-x: 18px;
  --button-padding-y: 14px;
  --transition-fast: 160ms ease;
  --focus-ring: 0 0 0 3px rgba(245, 158, 11, 0.38);
  --radius: var(--radius-md);
  --shadow: var(--shadow-card);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

.container {
  width: min(var(--container-max), calc(100% - var(--container-gutter)));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--color-secondary);
  color: var(--color-surface);
  padding: 10px 14px;
  border-radius: var(--radius-xs);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 38px;
  background: var(--color-secondary);
  color: var(--color-surface);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-xs);
  font-size: 14px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--color-muted);
  font-size: 15px;
}

.header-nav a:hover,
.header-phone:hover {
  color: var(--color-primary-dark);
}

.header-phone {
  font-weight: 800;
}

.hero {
  padding: var(--space-12) 0 var(--space-10);
  background: var(--color-secondary);
  color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 46px;
}

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

.eyebrow {
  margin: 0 0 10px;
  color: var(--color-success);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(36px, 5.3vw, 64px);
  line-height: 1.04;
  font-weight: 900;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.08;
  font-weight: 900;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 900;
}

.hero-subtitle {
  max-width: 790px;
  margin: var(--space-5) 0 0;
  color: var(--color-surface);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.42;
}

.hero-mobile-summary {
  display: none;
}

.hero-driver-note {
  max-width: 700px;
  margin: var(--space-4) 0 0;
  color: #E5E7EB;
  font-size: 18px;
  line-height: 1.5;
}

.hero-badges,
.hero-mobile-facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0 0 var(--space-4);
}

.hero-badges span,
.hero-mobile-facts span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  padding: 7px 10px;
  color: var(--color-surface);
  font-size: 16px;
  font-weight: 800;
}

.hero-badges span:first-child,
.hero-mobile-facts span:last-child {
  border-color: rgba(22, 163, 74, 0.42);
  background: rgba(22, 163, 74, 0.12);
}

.hero-badges span:nth-child(2) {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
}

.hero-phone {
  margin: 18px 0 0;
  color: var(--color-surface);
  font-size: 18px;
  font-weight: 800;
}

.hero-phone a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.btn {
  display: inline-flex;
  min-height: var(--button-height);
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: var(--button-padding-y) var(--button-padding-x);
  font-weight: 800;
  text-align: center;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

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

.btn:focus-visible {
  outline: 0;
  box-shadow: var(--focus-ring);
}

.btn:active {
  transform: translateY(0);
}

.btn-call {
  flex-direction: column;
  gap: 2px;
  line-height: 1.12;
}

.btn-call strong,
.mobile-actions small {
  font-size: 14px;
  font-weight: 900;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-text);
  border-color: var(--color-primary-dark);
  box-shadow: var(--shadow-cta);
}

.hero-actions .btn-primary {
  min-width: min(100%, 300px);
  min-height: 64px;
  font-size: 18px;
}

.hero-actions .btn-primary strong {
  font-size: 16px;
}

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

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-secondary);
  border-color: #CBD5E1;
}

.btn-secondary:hover {
  background: var(--color-bg);
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.btn-outline,
.btn-route {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--color-surface);
}

.btn-outline:hover,
.btn-route:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--color-surface);
}

.hero-trust,
.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--space-4);
  padding: 0;
  list-style: none;
}

.hero-trust li,
.hero-notes span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  padding: 8px 12px;
  color: var(--color-surface);
  font-weight: 700;
  font-size: 16px;
}

.hero-trust li::before {
  content: none;
}

.hero-panel {
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
}

.yard-visual {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  background: #E5E7EB;
}

.yard-sky {
  position: absolute;
  inset: 0 0 42%;
  background: linear-gradient(180deg, #CBD5E1, #E5E7EB);
}

.yard-building {
  position: absolute;
  left: 7%;
  right: 9%;
  bottom: 28%;
  height: 42%;
  background: linear-gradient(90deg, #374151, #6B7280);
  border: 8px solid var(--color-secondary);
}

.yard-building::before {
  content: "";
  position: absolute;
  left: 8%;
  top: 18%;
  width: 28%;
  height: 56%;
  background: var(--color-text);
}

.yard-ramp {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 33%;
  background:
    linear-gradient(18deg, transparent 0 33%, rgba(22, 26, 29, 0.22) 34% 36%, transparent 37%),
    #CBD5E1;
}

.yard-loader {
  position: absolute;
  right: 12%;
  bottom: 18%;
  width: 120px;
  height: 56px;
  background: var(--color-primary);
  border: 5px solid var(--color-primary-dark);
}

.yard-loader::before,
.yard-loader::after {
  content: "";
  position: absolute;
  bottom: -18px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-text);
  border: 5px solid #6B7280;
}

.yard-loader::before {
  left: 12px;
}

.yard-loader::after {
  right: 12px;
}

.yard-pallet {
  position: absolute;
  width: 70px;
  height: 54px;
  background: repeating-linear-gradient(0deg, #9b7144 0 9px, #7c572f 9px 13px);
  border: 3px solid #583b20;
}

.pallet-one {
  left: 11%;
  bottom: 16%;
}

.pallet-two {
  left: 27%;
  bottom: 21%;
}

.pallet-three {
  left: 44%;
  bottom: 13%;
}

.capacity-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 1px solid var(--color-border);
}

.capacity-list div {
  padding: 18px;
  border-right: 1px solid var(--color-border);
}

.capacity-list div:last-child {
  border-right: 0;
}

.capacity-list dt {
  font-size: 22px;
  font-weight: 900;
  color: var(--color-text);
}

.capacity-list dd {
  margin: 2px 0 0;
  color: var(--color-muted);
  font-size: 16px;
}

.section {
  padding: 76px 0;
  content-visibility: auto;
  contain-intrinsic-size: 1px 640px;
}

.hero {
  content-visibility: visible;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--color-muted);
  font-size: 18px;
}

.problem-grid,
.advantage-grid,
.gallery-grid,
.review-grid {
  display: grid;
  gap: 16px;
}

.problem-grid {
  grid-template-columns: repeat(5, 1fr);
}

.card,
.info-card,
.price-card,
.service-row,
.contact-panel,
.review-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.card,
.info-card,
.review-card {
  min-height: 150px;
  padding: var(--space-5);
}

.card-number {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--color-primary-dark);
  font-weight: 900;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 54px;
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 102px;
}

.service-list {
  display: grid;
  gap: var(--space-3);
}

.service-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 18px;
  min-height: 82px;
  padding: 18px 22px;
}

.service-row span {
  color: var(--color-primary-dark);
  font-weight: 900;
  font-size: 22px;
}

.price-section {
  background: var(--color-bg);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
}

.price-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-top: 0;
  padding: var(--space-5);
}

.price-card-header {
  display: grid;
  gap: var(--space-3);
}

.price-card h3 {
  color: var(--color-text);
  font-size: 20px;
  line-height: 1.18;
}

.price-card strong,
.price-value {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 42px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-secondary);
  padding: 0;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
}

.price-card p {
  margin: var(--space-4) 0 0;
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.5;
}

.price-note {
  margin-top: var(--space-5);
  border: 1px solid #FCD34D;
  border-radius: var(--radius-md);
  background: var(--color-warning-soft);
  padding: var(--space-5);
  color: var(--color-secondary);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
}

.price-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-5);
  margin-top: var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  padding: var(--space-5);
  box-shadow: none;
}

.price-cta h3 {
  font-size: 24px;
}

.price-cta p {
  margin: 8px 0 0;
  color: var(--color-secondary);
  font-size: 18px;
}

.accent-section {
  background: var(--color-secondary);
  color: var(--color-surface);
}

.accent-section .eyebrow {
  color: var(--color-primary);
}

.accent-section .section-heading {
  max-width: 820px;
}

.advantage-grid {
  grid-template-columns: repeat(4, 1fr);
}

.advantage-item {
  min-height: 88px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.07);
  font-weight: 800;
}

.steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 180px;
  padding: 18px;
  border-top: 5px solid var(--color-primary);
  background: var(--color-surface);
  border-radius: var(--radius);
}

.steps span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 22px;
  background: var(--color-secondary);
  color: var(--color-surface);
  border-radius: 50%;
  font-weight: 900;
}

.steps p {
  margin: 0;
  font-weight: 800;
}

.gallery-section {
  background: var(--color-bg);
}

.gallery-grid {
  grid-template-columns: repeat(5, 1fr);
}

.photo-placeholder {
  margin: 0;
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.photo-shape {
  min-height: 170px;
  background:
    linear-gradient(145deg, rgba(245, 158, 11, 0.16), rgba(31, 41, 55, 0.12)),
    repeating-linear-gradient(0deg, rgba(31, 41, 55, 0.12) 0 2px, transparent 2px 18px),
    var(--color-border);
}

.photo-placeholder figcaption {
  padding: 14px;
  color: var(--color-muted);
  font-weight: 800;
}

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

.review-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-card p {
  margin: 0 0 22px;
  color: var(--color-secondary);
  font-size: 18px;
}

.review-card h3 {
  color: var(--color-primary-dark);
  font-size: 16px;
}

.contacts-section {
  padding-bottom: 108px;
  background: var(--color-secondary);
  color: var(--color-surface);
  content-visibility: visible;
}

.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 48px;
  align-items: start;
}

.contacts-section .eyebrow {
  color: var(--color-primary);
}

.contacts-section .section-heading p:not(.eyebrow) {
  color: #E5E7EB;
}

.contact-panel {
  background: var(--color-surface);
  color: var(--color-text);
  border-radius: var(--radius);
  padding: 24px;
}

.contact-panel dl {
  margin: 0;
}

.contact-panel dl div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-panel dt {
  color: var(--color-muted);
  font-weight: 700;
}

.contact-panel dd {
  margin: 0;
  font-weight: 800;
}

.contact-panel a:hover {
  color: var(--color-primary-dark);
}

.contact-panel .btn-route {
  background: var(--color-surface);
  border-color: #CBD5E1;
  color: var(--color-secondary);
}

.contact-panel .btn-route:hover {
  background: var(--color-bg);
  border-color: var(--color-secondary);
}

.mobile-actions {
  display: none;
}

@media (max-width: 1040px) {
  .problem-grid,
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .hero-grid,
  .contacts-grid,
  .split-layout {
    grid-template-columns: 1fr;
  }

  .sticky-heading {
    position: static;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  .container {
    width: min(100% - var(--container-gutter-mobile), var(--container-max));
  }

  .site-header {
    position: static;
  }

  .header-inner {
    min-height: 64px;
  }

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

  .brand {
    max-width: 100%;
    font-size: 14px;
  }

  .hero {
    padding: 22px 0 20px;
  }

  .hero-grid {
    gap: 20px;
  }

  h1 {
    font-size: 31px;
    line-height: 1.08;
  }

  .hero-subtitle {
    display: none;
  }

  .hero-mobile-summary {
    display: block;
    margin: var(--space-3) 0 0;
    color: var(--color-surface);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.38;
  }

  .hero-driver-note {
    margin-top: var(--space-4);
    font-size: 15px;
    line-height: 1.45;
  }

  .hero-phone {
    display: none;
  }

  .hero-actions .btn-primary {
    flex: 1 1 100%;
  }

  .hero-actions .btn-primary {
    min-height: 64px;
  }

  .hero-actions .btn-secondary,
  .hero-actions .btn-route {
    flex: 1 1 calc(50% - var(--space-2));
    min-height: var(--button-height-mobile);
    padding-right: var(--space-3);
    padding-left: var(--space-3);
    font-size: 15px;
  }

  .hero-actions {
    margin-top: var(--space-4);
  }

  .hero-trust,
  .hero-notes span {
    width: 100%;
    border-radius: var(--radius-sm);
    font-size: 16px;
  }

  .hero-trust {
    display: grid;
    gap: var(--space-2);
    margin-top: var(--space-3);
  }

  .hero-trust li {
    width: 100%;
    border-radius: var(--radius-sm);
  }

  .hero-panel {
    box-shadow: none;
  }

  .yard-visual {
    display: none;
  }

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

  .capacity-list div {
    min-width: 0;
    padding: 12px 8px;
    border-right: 1px solid var(--color-border);
    border-bottom: 0;
    text-align: center;
  }

  .capacity-list div:last-child {
    border-right: 0;
  }

  .capacity-list dt {
    font-size: 18px;
  }

  .capacity-list dd {
    font-size: 14px;
  }

  .section {
    padding: 44px 0;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .problem-grid,
  .gallery-grid,
  .review-grid,
  .advantage-grid,
  .steps,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .info-card,
  .review-card,
  .steps li {
    min-height: auto;
  }

  .card-number {
    margin-bottom: 18px;
  }

  .service-row {
    grid-template-columns: 52px 1fr;
    gap: 12px;
    padding: 16px;
  }

  .price-card {
    min-height: auto;
    padding: var(--space-4);
  }

  .price-card-header {
    grid-template-columns: 1fr;
  }

  .price-card h3 {
    font-size: 19px;
  }

  .price-value,
  .price-card strong {
    width: 100%;
    justify-content: center;
    min-height: 52px;
    font-size: 22px;
    text-align: center;
  }

  .price-note {
    padding: var(--space-4);
    font-size: 17px;
  }

  .price-cta {
    grid-template-columns: 1fr;
    padding: var(--space-4);
  }

  .price-cta .btn {
    width: 100%;
  }

  .contact-panel {
    padding: 18px;
  }

  .contact-panel dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact-actions {
    display: none;
  }

  .mobile-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 15;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(31, 41, 55, 0.94);
    box-shadow: 0 -2px 10px rgba(17, 24, 39, 0.14);
  }

  .mobile-actions a {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-height: var(--button-height-mobile);
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--color-surface);
    color: var(--color-text);
    font-weight: 900;
    font-size: 14px;
    line-height: 1.08;
    text-align: center;
  }

  .mobile-actions small {
    font-size: 11px;
  }

  .mobile-actions a[data-analytics-event="click_phone"] {
    background: var(--color-primary);
    color: var(--color-text);
    box-shadow: none;
  }

  .mobile-actions a[data-analytics-event="click_max"] {
    background: #374151;
    color: var(--color-surface);
  }

  .mobile-actions a[data-analytics-event="click_route"] {
    background: var(--color-surface);
    color: var(--color-secondary);
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 29px;
  }

  h2 {
    font-size: 26px;
  }

  .yard-loader {
    right: 7%;
    width: 92px;
  }
}
