/*
Theme Name: Samosval 02
Theme URI: https://samosval02.ru/
Author: Codex
Description: WordPress shell for the Samosval 02 React prototype.
Version: 1.0.1
Text Domain: samosval-02
*/


:root {
  --ink: #172126;
  --navy: #142c35;
  --navy-2: #0f242c;
  --orange: #f47a24;
  --orange-hover: #d95f12;
  --sand: #f4f0e8;
  --cloud: #f7f9fa;
  --white: #ffffff;
  --border: #d8e0e3;
  --muted: #637178;
  --success: #21835a;
  --warning: #b76a00;
  --error: #c73b3b;
  --info: #276a96;
  --shadow: 0 10px 30px rgba(23, 33, 38, 0.08);
  --radius: 12px;
  --radius-lg: 20px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
}

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

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

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

img {
  max-width: 100%;
}

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

h1,
h2,
h3,
h4 {
  font-family: Manrope, Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.45rem, 4vw, 3.25rem);
  line-height: 1.12;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 3vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.38;
}

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

.utility {
  background: var(--navy-2);
  color: #c9d6da;
  font-size: 12px;
}

.utility-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.utility-links {
  margin-left: auto;
}

.header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-family: Manrope, Inter, sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--orange);
  border-radius: 9px;
  font-size: 15px;
  letter-spacing: -0.05em;
}

.brand-light {
  color: var(--white);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 12px;
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav a {
  transition: color 160ms ease;
}

.desktop-nav a:hover {
  color: var(--orange-hover);
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone {
  font-weight: 700;
  white-space: nowrap;
}

.button {
  min-height: 50px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  transition: background 160ms ease, color 160ms ease, border 160ms ease, transform 160ms ease;
}

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

.button:focus-visible,
.icon-button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.segmented button:focus-visible,
.faq button:focus-visible {
  outline: 3px solid rgba(39, 106, 150, 0.35);
  outline-offset: 2px;
}

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

.button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.button.primary {
  color: var(--white);
  background: var(--orange);
}

.button.primary:hover {
  background: var(--orange-hover);
}

.button.secondary {
  color: var(--white);
  background: var(--navy);
}

.button.tertiary {
  color: var(--navy);
  background: var(--white);
  border-color: var(--border);
}

.button.dark-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
  background: transparent;
}

.button.large {
  min-height: 58px;
  padding-inline: 28px;
}

.button.loading {
  gap: 10px;
}

.button.loading i {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,.45);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .9s linear infinite;
}

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

.icon-button {
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 11px;
  font-size: 20px;
}

.mobile-drawer {
  display: none;
}

.hero,
.inner-hero,
.not-found {
  background: var(--navy);
  color: var(--white);
}

.hero {
  padding: 80px 0 105px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: center;
  gap: 64px;
}

.hero-copy > p,
.inner-hero > .container > p,
.article-hero > .container > p,
.not-found p {
  max-width: 760px;
  color: #c7d5d9;
  font-size: 20px;
  line-height: 1.5;
}

.hero-copy > p {
  max-width: 650px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 15px;
  color: var(--orange-hover);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #ffab6d;
}

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

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 42px;
  color: #c7d5d9;
  font-size: 13px;
}

.hero-facts span {
  display: grid;
  gap: 2px;
}

.hero-facts b {
  color: var(--white);
  font-size: 15px;
}

.hero-media {
  position: relative;
}

.hero-media .media-placeholder {
  min-height: 430px;
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 26px 70px rgba(0,0,0,.22);
}

.hero-float {
  position: absolute;
  right: -26px;
  bottom: 26px;
  max-width: 305px;
  padding: 17px;
  display: flex;
  gap: 13px;
  background: var(--white);
  color: var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.hero-float p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.mini-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: none;
  color: var(--white);
  background: var(--orange);
  border-radius: 9px;
}

.media-placeholder {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  display: block;
  background: #dfe6e7;
  border: 1px solid var(--border);
  border-radius: 16px;
  aspect-ratio: 4 / 3;
}

.media-placeholder.square {
  aspect-ratio: 1;
  min-height: 0;
}

.media-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.quick-panel {
  position: relative;
  z-index: 2;
  margin-top: -44px;
}

.quick-panel-inner {
  padding: 28px 30px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: end;
  gap: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.quick-panel h2 {
  margin-bottom: 2px;
  font-size: 22px;
}

.quick-form {
  display: grid;
  grid-template-columns: 1.1fr .7fr 1.2fr auto;
  gap: 12px;
  align-items: end;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.field textarea {
  min-height: 110px;
  padding-top: 13px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #88959b;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--info);
}

.field.error input {
  border-color: var(--error);
}

.field-error {
  color: var(--error);
  font-size: 12px;
  font-weight: 700;
}

.section {
  padding: 96px 0;
}

.cloud-section {
  background: var(--cloud);
}

.sand-section {
  background: var(--sand);
}

.navy-section {
  background: var(--navy);
  color: var(--white);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 38px;
}

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

.section-heading p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.text-link {
  color: var(--orange-hover);
  font-weight: 800;
  white-space: nowrap;
}

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

.scenario-card {
  position: relative;
  min-height: 245px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform 180ms ease, box-shadow 180ms ease, border 180ms ease;
}

.scenario-card:hover {
  transform: translateY(-4px);
  border-color: #f2aa78;
  box-shadow: var(--shadow);
}

.scenario-card > span {
  color: var(--orange);
  font-weight: 800;
}

.scenario-card h3 {
  margin: 48px 0 10px;
  font-size: 22px;
}

.scenario-card p {
  max-width: 290px;
  color: var(--muted);
}

.scenario-card i {
  position: absolute;
  right: 26px;
  bottom: 26px;
  font-style: normal;
  font-size: 24px;
}

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

.truck-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.truck-card .media-placeholder {
  border: 0;
  border-radius: 0;
}

.truck-content {
  padding: 22px;
}

.card-topline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 10px;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--success);
  font-size: 11px;
  font-weight: 800;
}

.status-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 50%;
}

.truck-content h3 {
  margin-bottom: 17px;
  font-size: 22px;
}

.truck-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.truck-stats div {
  padding: 10px;
  background: var(--cloud);
  border-radius: 9px;
}

.truck-stats strong {
  display: block;
  font-variant-numeric: tabular-nums;
}

.truck-stats span {
  display: block;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
}

.truck-content > p {
  min-height: 52px;
  margin: 17px 0;
  color: var(--muted);
  font-size: 14px;
}

.card-price {
  padding-top: 15px;
  border-top: 1px solid var(--border);
}

.card-price > div,
.material-price,
.delivery-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.card-price span,
.material-price span,
.delivery-row span {
  color: var(--muted);
  font-size: 12px;
}

.card-price strong {
  color: var(--orange-hover);
  font-size: 19px;
  font-variant-numeric: tabular-nums;
}

.card-price .price-note {
  display: block;
  margin-top: 3px;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 18px;
}

.card-actions .button {
  min-height: 46px;
  padding-inline: 12px;
  font-size: 13px;
}

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

.material-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.material-card .media-placeholder {
  border: 0;
  border-radius: 0;
}

.material-card > div:last-child {
  padding: 18px;
}

.material-card h3 {
  margin: 7px 0 4px;
}

.material-card p {
  color: var(--muted);
  font-size: 12px;
}

.material-tag,
.case-label,
.article-tag,
.info-badge {
  display: inline-flex;
  padding: 4px 8px;
  color: #694219;
  background: #fff0df;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
}

.material-price {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.material-price b {
  color: var(--orange-hover);
}

.delivery-row {
  margin: 7px 0 15px;
}

.material-card .button {
  width: 100%;
  min-height: 44px;
}

.calc-shell {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  align-items: center;
}

.calc-inputs > p {
  max-width: 600px;
  color: #c7d5d9;
}

.calc-inputs .field {
  margin-top: 18px;
}

.calc-inputs input,
.calc-inputs select {
  color: var(--ink);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  cursor: pointer;
  font-size: 14px;
}

.checkbox-row input {
  width: 20px;
  height: 20px;
  flex: none;
  accent-color: var(--orange);
}

.calc-result {
  padding: 34px;
  color: var(--ink);
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 22px 60px rgba(0,0,0,.2);
}

.calc-result > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.calc-result > strong {
  display: block;
  color: var(--orange);
  font-family: Manrope, sans-serif;
  font-size: 86px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.calc-result h3 {
  margin: 0 0 22px;
}

.calc-breakdown {
  padding: 13px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.calc-breakdown p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0;
  font-size: 14px;
}

.calc-breakdown span {
  color: var(--muted);
}

.fineprint {
  margin: 14px 0;
  color: var(--muted);
  font-size: 11px;
}

.calc-result .button {
  width: 100%;
}

.calculator-page {
  min-height: calc(100vh - 122px);
  padding: 42px 0 64px;
  color: var(--white);
  background:
    linear-gradient(rgba(16, 46, 55, .92), rgba(16, 46, 55, .94)),
    url("/wp-content/themes/samosval-02/assets/photos/truck-unloading.jpg") center / cover;
}

.calculator-page .breadcrumbs {
  margin-bottom: 22px;
  color: rgba(255,255,255,.72);
}

.calculator-page .breadcrumbs a,
.calculator-page .breadcrumbs b {
  color: var(--white);
}

.calculator-header {
  display: grid;
  grid-template-columns: minmax(0, 760px) auto;
  align-items: end;
  gap: 32px;
  margin-bottom: 28px;
}

.calculator-header h1 {
  margin: 10px 0 12px;
  max-width: 820px;
  color: var(--white);
  font-size: clamp(42px, 5vw, 72px);
  line-height: .98;
}

.calculator-header p {
  max-width: 720px;
  margin: 0;
  color: #c7d5d9;
  font-size: 20px;
  line-height: 1.55;
}

.calculator-page .calc-shell {
  gap: 28px;
  align-items: stretch;
  padding: 26px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  box-shadow: 0 24px 80px rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
}

.calculator-page .calc-inputs,
.calculator-page .calc-result {
  padding: 28px;
  border-radius: 18px;
}

.calculator-page .calc-inputs {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
}

.calculator-page .calc-inputs h2 {
  margin: 8px 0 10px;
  color: var(--white);
  font-size: 34px;
}

.calculator-page .calc-inputs > p {
  max-width: none;
  margin-bottom: 18px;
}

.calculator-page .calc-result {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: none;
}

.calculator-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.calculator-notes > div {
  display: grid;
  gap: 6px;
  padding: 18px;
  color: var(--white);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
}

.calculator-notes span {
  color: #c7d5d9;
  font-size: 14px;
  line-height: 1.45;
}

.price-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: 70px;
}

.price-layout > div:first-child > p {
  color: var(--muted);
  font-size: 18px;
}

.price-parts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.price-parts > div {
  padding: 22px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(23,33,38,.08);
  border-radius: 14px;
}

.price-parts span,
.step > span {
  color: var(--orange-hover);
  font-weight: 800;
}

.price-parts h3 {
  margin: 30px 0 5px;
}

.price-parts p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
}

.step {
  position: relative;
  padding: 30px 26px 0 0;
}

.step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: -18px;
  right: 25px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
}

.step h3 {
  margin: 28px 0 7px;
}

.step p {
  color: var(--muted);
  font-size: 14px;
}

.map-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: 80px;
}

.map-layout > div:first-child > p {
  color: var(--muted);
  font-size: 18px;
}

.check-list {
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--success);
  font-weight: 900;
}

.map-placeholder {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #e9eff1;
  border: 1px solid var(--border);
  border-radius: 20px;
}

.map-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .7;
  background-image:
    linear-gradient(28deg, transparent 46%, #d1dde1 47%, #d1dde1 50%, transparent 51%),
    linear-gradient(-35deg, transparent 47%, #d1dde1 48%, #d1dde1 51%, transparent 52%);
  background-size: 180px 140px;
}

.map-placeholder > span {
  z-index: 3;
  padding: 10px 16px;
  color: var(--white);
  background: var(--orange);
  border: 5px solid rgba(255,255,255,.85);
  border-radius: 50px;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.ring {
  position: absolute;
  border: 1px solid rgba(20,44,53,.25);
  border-radius: 50%;
}

.ring.r1 { width: 130px; height: 130px; }
.ring.r2 { width: 250px; height: 250px; }
.ring.r3 { width: 380px; height: 380px; }

.route-line {
  position: absolute;
  width: 300px;
  height: 140px;
  border-right: 4px dashed var(--orange);
  border-bottom: 4px dashed var(--orange);
  border-radius: 0 0 90% 0;
  transform: rotate(-18deg);
}

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

.case-card,
.article-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 17px;
}

.case-card .media-placeholder,
.article-card .media-placeholder {
  border: 0;
  border-radius: 0;
}

.case-card > div:last-child,
.article-card > div:last-child {
  padding: 21px;
}

.case-card h3,
.article-card h3 {
  margin: 12px 0;
}

.case-stats {
  display: flex;
  gap: 18px;
  margin-bottom: 17px;
}

.case-stats b {
  font-variant-numeric: tabular-nums;
}

.case-card a,
.article-card a {
  color: var(--orange-hover);
  font-size: 13px;
  font-weight: 800;
}

.article-card p {
  color: var(--muted);
  font-size: 12px;
}

.trust-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
}

.trust-grid > div:first-child p {
  color: var(--muted);
  font-size: 18px;
}

.trust-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.trust-cards > div {
  min-height: 105px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--white);
  border-radius: 14px;
}

.trust-cards span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--success);
  border-radius: 50%;
  font-weight: 900;
}

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

.faq-layout {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 75px;
}

.faq-layout > div:first-child > p {
  color: var(--muted);
}

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

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item button {
  width: 100%;
  min-height: 68px;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-weight: 800;
}

.faq-item button i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: none;
  color: var(--orange-hover);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-style: normal;
  font-size: 20px;
}

.faq-item p {
  max-width: 760px;
  margin: -4px 50px 20px 0;
  color: var(--muted);
}

.faq.compact .faq-item button {
  min-height: 60px;
}

.final-section {
  background: var(--navy);
  color: var(--white);
}

.final-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.final-grid h2 {
  max-width: 750px;
}

.final-grid p {
  color: #c7d5d9;
}

.quote-section {
  background: var(--cloud);
}

.quote-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 38px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.quiz-progress {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 27px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.quiz-progress > div {
  height: 5px;
  flex: 1;
  overflow: hidden;
  background: #e9edef;
  border-radius: 5px;
}

.quiz-progress i {
  height: 100%;
  display: block;
  background: var(--orange);
  transition: width 200ms ease;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

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

.segmented.small {
  grid-template-columns: 1fr 1fr;
}

.segmented button {
  min-height: 52px;
  padding: 8px 12px;
  color: var(--ink);
  background: var(--cloud);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.segmented button.selected {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.wide-button {
  width: 100%;
  margin-top: 22px;
}

.quiz-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

.quote-success {
  max-width: 700px;
  margin: 0 auto;
  padding: 50px;
  color: var(--ink);
  background: var(--white);
  border-radius: 20px;
  text-align: center;
}

.success-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: none;
  color: var(--white);
  background: var(--success);
  border-radius: 50%;
  font-size: 24px;
  font-weight: 900;
}

.quote-success .success-icon {
  margin: 0 auto 18px;
}

.success-panel,
.error-panel {
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #edf8f3;
  border: 1px solid #b8dfcd;
  border-radius: 12px;
}

.success-panel p,
.error-panel p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.error-panel {
  color: var(--error);
  background: #fff4f4;
  border-color: #f0c1c1;
}

.error-panel > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: none;
  color: var(--white);
  background: var(--error);
  border-radius: 50%;
  font-weight: 900;
}

.inner-hero {
  padding: 65px 0 74px;
}

.inner-hero h1 {
  max-width: 850px;
}

.breadcrumbs {
  margin-bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: #9fb1b7;
  font-size: 12px;
}

.breadcrumbs b {
  color: var(--white);
}

.service-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 16px;
}

.service-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 11px;
}

.service-card h3 {
  margin: 35px 0 10px;
  font-size: 23px;
}

.service-card > p,
.service-card small {
  color: var(--muted);
}

.service-card > div {
  margin: 24px 0 4px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.service-card > div span {
  color: var(--muted);
  font-size: 12px;
}

.service-card .button {
  width: 100%;
  margin-top: 22px;
}

.check-panel,
.info-card {
  padding: 30px;
  background: var(--white);
  border-radius: 16px;
}

.filter-bar,
.category-row {
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.filter-bar > div,
.category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-bar button,
.category-row a {
  min-height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 40px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.filter-bar button.active,
.category-row a.active {
  color: var(--white);
  background: var(--orange);
  border-color: var(--orange);
}

.filter-bar > span {
  color: var(--muted);
  font-size: 13px;
}

.empty-state {
  min-height: 210px;
  padding: 28px;
  display: grid;
  place-items: center;
  align-content: center;
  color: var(--muted);
  background: var(--cloud);
  border: 1px dashed #b8c5ca;
  border-radius: 15px;
  text-align: center;
}

.empty-state > span {
  font-size: 36px;
}

.empty-state h3 {
  margin: 6px 0 2px;
  color: var(--ink);
}

.empty-state p {
  margin: 0;
}

.detail-hero {
  padding: 50px 0 70px;
  background: var(--cloud);
}

.detail-hero .breadcrumbs {
  color: var(--muted);
}

.detail-hero .breadcrumbs b {
  color: var(--ink);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 58px;
}

.detail-grid h1 {
  margin-top: 18px;
}

.detail-grid > div:last-child > p {
  color: var(--muted);
  font-size: 18px;
}

.big-specs,
.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 28px 0;
}

.big-specs div,
.case-metrics div {
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 11px;
}

.big-specs b,
.case-metrics b {
  display: block;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}

.big-specs span,
.case-metrics span {
  color: var(--muted);
  font-size: 10px;
}

.detail-price {
  display: grid;
  margin: 22px 0;
}

.detail-price span,
.detail-price small {
  color: var(--muted);
  font-size: 12px;
}

.detail-price strong {
  color: var(--orange-hover);
  font-size: 28px;
  font-variant-numeric: tabular-nums;
}

.content-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.comparison-table {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.table-row {
  min-height: 64px;
  padding: 12px 18px;
  display: grid;
  grid-template-columns: 1fr .7fr 1.6fr .8fr;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.table-row:last-child {
  border-bottom: 0;
}

.table-row.head {
  min-height: 48px;
  color: var(--white);
  background: var(--navy);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.material-detail .split-price {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}

.split-price > div {
  padding: 16px;
  display: grid;
  background: var(--cloud);
  border-radius: 11px;
}

.split-price span,
.split-price small {
  color: var(--muted);
  font-size: 11px;
}

.split-price b {
  color: var(--orange-hover);
  font-size: 20px;
}

.mini-material {
  padding: 20px;
  display: grid;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 13px;
}

.mini-material h3 {
  margin: 0;
}

.mini-material span {
  color: var(--muted);
  font-size: 12px;
}

.price-alert {
  margin-bottom: 22px;
  padding: 16px 18px;
  display: flex;
  gap: 18px;
  color: #7b4a00;
  background: #fff5e6;
  border: 1px solid #ecd2aa;
  border-radius: 11px;
  font-size: 13px;
}

.content-narrow {
  max-width: 780px;
}

.timeline-row {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.timeline-row span {
  color: var(--orange-hover);
  font-weight: 900;
}

.timeline-row p {
  margin: 0;
}

.second-row {
  margin-top: 22px;
}

.second-row > .article-grid {
  display: contents;
}

.pagination {
  margin-top: 35px;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.pagination button {
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 9px;
}

.pagination button.active {
  color: var(--white);
  background: var(--navy);
}

.article-hero {
  padding: 60px 0 68px;
  background: var(--sand);
}

.article-hero h1 {
  max-width: 900px;
}

.article-hero > .container > p {
  color: var(--muted);
}

.article-hero .breadcrumbs {
  color: var(--muted);
}

.article-hero .breadcrumbs b {
  color: var(--ink);
}

.author-row {
  margin-top: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
}

.author-row div {
  display: grid;
}

.author-row span:last-child {
  color: var(--muted);
  font-size: 11px;
}

.article-body {
  padding: 65px 0 100px;
}

.article-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  justify-content: center;
  align-items: start;
  gap: 70px;
}

.toc {
  position: sticky;
  top: 120px;
  padding: 18px;
  display: grid;
  gap: 8px;
  background: var(--cloud);
  border-radius: 12px;
  font-size: 13px;
}

.toc b {
  margin-bottom: 7px;
}

.toc a {
  color: var(--muted);
}

.prose {
  max-width: 760px;
}

.prose .media-placeholder {
  margin-bottom: 34px;
}

.prose > p,
.prose li {
  color: #3f4e54;
  font-size: 18px;
  line-height: 1.75;
}

.prose .lead {
  color: var(--ink);
  font-size: 21px;
  font-weight: 600;
}

.prose h2 {
  margin-top: 48px;
}

.formula {
  margin: 28px 0;
  padding: 24px;
  color: var(--white);
  background: var(--navy);
  border-radius: 13px;
  font-size: 21px;
  font-weight: 800;
  text-align: center;
}

.callout {
  margin: 26px 0;
  padding: 22px;
  background: var(--sand);
  border-left: 4px solid var(--orange);
  border-radius: 0 12px 12px 0;
}

.callout p {
  margin: 4px 0 0;
  color: var(--muted);
}

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

.contact-card {
  min-height: 170px;
  padding: 26px;
  display: grid;
  align-content: center;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: 15px;
}

.contact-card > span,
.contact-card small {
  color: var(--muted);
  font-size: 12px;
}

.contact-card > a,
.contact-card > b {
  font-size: 22px;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.sitemap-group {
  padding: 26px;
  display: grid;
  border: 1px solid var(--border);
  border-radius: 15px;
}

.sitemap-group h2 {
  font-size: 24px;
}

.sitemap-group a {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  font-weight: 700;
}

.sitemap-group a span {
  color: var(--orange-hover);
}

.ui-stack {
  display: grid;
  gap: 75px;
}

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

.swatch {
  display: grid;
  gap: 3px;
  font-size: 11px;
}

.swatch i {
  height: 110px;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.component-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ui-form {
  max-width: 820px;
}

.state-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.skeleton-card {
  min-height: 210px;
  padding: 26px;
  display: grid;
  align-content: center;
  gap: 13px;
  background: var(--cloud);
  border-radius: 15px;
}

.skeleton-card i {
  height: 18px;
  display: block;
  background: linear-gradient(90deg, #e2e7e9, #eef1f2, #e2e7e9);
  border-radius: 8px;
  animation: pulse 1.8s ease-in-out infinite;
}

.skeleton-card i:first-child {
  width: 75%;
  height: 28px;
}

.skeleton-card i:last-child {
  width: 55%;
}

@keyframes pulse { 50% { opacity: .55; } }

.not-found {
  min-height: 640px;
  display: grid;
  align-items: center;
  text-align: center;
}

.not-found .container {
  display: grid;
  justify-items: center;
}

.error-code {
  color: rgba(255,255,255,.08);
  font-family: Manrope, sans-serif;
  font-size: clamp(120px, 24vw, 300px);
  font-weight: 900;
  line-height: .72;
}

.not-found h1 {
  max-width: 680px;
}

.footer {
  padding: 68px 0 90px;
  color: #c5d2d6;
  background: #0e222a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .7fr .7fr 1fr;
  gap: 55px;
}

.footer p {
  max-width: 360px;
  margin-top: 20px;
}

.footer h3 {
  color: var(--white);
  font-size: 14px;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer a,
.footer span {
  font-size: 13px;
}

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

.demo-note {
  color: #7e969d;
  font-size: 10px !important;
}

.mobile-bar {
  display: none;
}

.prototype-ribbon {
  position: fixed;
  z-index: 80;
  right: 14px;
  bottom: 14px;
  padding: 7px 10px;
  color: #58330e;
  background: #fff0df;
  border: 1px solid #f1cba9;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
  box-shadow: var(--shadow);
}

@media (max-width: 1180px) {
  .desktop-nav {
    gap: 13px;
    font-size: 12px;
  }
  .phone {
    display: none;
  }
  .nav-cta {
    padding-inline: 14px;
    font-size: 13px;
  }
  .quick-panel-inner {
    grid-template-columns: 1fr;
  }
  .hero-float {
    right: 16px;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(calc(100% - 48px), var(--container));
  }
  .utility-inner span:nth-child(2),
  .utility-inner span:nth-child(3) {
    display: none;
  }
  .desktop-nav,
  .nav-cta {
    display: none;
  }
  .call-mobile,
  .menu-button {
    display: grid;
  }
  .mobile-drawer {
    padding: 12px 24px 24px;
    display: grid;
    gap: 4px;
    background: var(--white);
    border-top: 1px solid var(--border);
  }
  .mobile-drawer > a:not(.button) {
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    font-weight: 700;
  }
  .hero-grid,
  .detail-grid,
  .calc-shell,
  .price-layout,
  .map-layout,
  .trust-grid,
  .faq-layout,
  .content-two {
    grid-template-columns: 1fr;
  }
  .calculator-header,
  .calculator-notes {
    grid-template-columns: 1fr;
  }
  .calculator-header {
    align-items: start;
  }
  .hero {
    padding-top: 60px;
  }
  .hero-grid {
    gap: 45px;
  }
  .hero-media .media-placeholder {
    min-height: 370px;
  }
  .quick-form {
    grid-template-columns: 1fr 1fr;
  }
  .scenario-grid,
  .service-grid,
  .truck-grid,
  .case-grid,
  .article-grid {
    grid-template-columns: 1fr 1fr;
  }
  .material-grid {
    grid-template-columns: 1fr 1fr;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    border: 0;
  }
  .step {
    border-top: 1px solid var(--border);
  }
  .step::after {
    display: none !important;
  }
  .map-layout,
  .faq-layout {
    gap: 40px;
  }
  .article-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .toc {
    position: static;
    grid-template-columns: repeat(4, auto);
    overflow-x: auto;
  }
  .toc b {
    grid-column: 1 / -1;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .swatches {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: 70px;
  }
  .container {
    width: calc(100% - 32px);
  }
  h1 {
    font-size: 34px;
    line-height: 1.18;
  }
  h2 {
    font-size: 28px;
    line-height: 1.22;
  }
  h3 {
    font-size: 21px;
  }
  .utility {
    display: none;
  }
  .nav {
    min-height: 66px;
  }
  .brand {
    font-size: 18px;
  }
  .brand-mark {
    width: 32px;
    height: 32px;
  }
  .icon-button {
    width: 44px;
    height: 44px;
  }
  .nav-actions {
    gap: 6px;
  }
  .hero,
  .inner-hero {
    padding: 48px 0 58px;
  }
  .hero-copy > p,
  .inner-hero > .container > p,
  .article-hero > .container > p {
    font-size: 18px;
  }
  .hero-actions {
    display: grid;
  }
  .hero-actions .button {
    width: 100%;
  }
  .hero-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .hero-grid {
    gap: 34px;
  }
  .hero-media .media-placeholder {
    min-height: 275px;
  }
  .calculator-page {
    min-height: auto;
    padding: 28px 0 44px;
  }
  .calculator-page .breadcrumbs {
    margin-bottom: 16px;
  }
  .calculator-header {
    gap: 18px;
    margin-bottom: 20px;
  }
  .calculator-header h1 {
    font-size: 36px;
    line-height: 1.06;
  }
  .calculator-header p {
    font-size: 16px;
  }
  .calculator-page .calc-shell {
    padding: 14px;
    gap: 14px;
    border-radius: 18px;
  }
  .calculator-page .calc-inputs,
  .calculator-page .calc-result {
    padding: 20px;
    border-radius: 14px;
  }
  .calculator-page .calc-inputs h2 {
    font-size: 25px;
  }
  .calculator-page .calc-result > strong {
    font-size: 70px;
  }
  .calculator-notes {
    gap: 10px;
  }
  .hero-float {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    margin-top: -20px;
    border-radius: 0 0 14px 14px;
  }
  .quick-panel {
    margin-top: -24px;
  }
  .quick-panel-inner {
    padding: 22px 18px;
  }
  .quick-form {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 64px 0;
  }
  .section-heading {
    display: grid;
    margin-bottom: 28px;
  }
  .section-heading p {
    font-size: 16px;
  }
  .scenario-grid,
  .service-grid,
  .truck-grid,
  .material-grid,
  .case-grid,
  .article-grid,
  .form-grid,
  .contact-grid,
  .sitemap-grid,
  .state-grid {
    grid-template-columns: 1fr;
  }
  .scenario-card {
    min-height: 220px;
  }
  .truck-card {
    border-radius: 15px;
  }
  .card-topline {
    display: grid;
  }
  .material-card {
    display: grid;
    grid-template-columns: 120px 1fr;
  }
  .material-card .media-placeholder {
    height: 100%;
  }
  .material-card > div:last-child {
    padding: 15px;
  }
  .material-card .material-price,
  .material-card .delivery-row {
    display: grid;
  }
  .calc-shell {
    gap: 35px;
  }
  .calc-result {
    padding: 25px;
  }
  .calc-result > strong {
    font-size: 70px;
  }
  .price-parts,
  .steps,
  .trust-cards {
    grid-template-columns: 1fr;
  }
  .map-placeholder {
    min-height: 330px;
  }
  .final-grid {
    display: grid;
  }
  .final-grid .button {
    width: 100%;
  }
  .quote-card {
    padding: 22px 16px;
    border-radius: 15px;
  }
  .segmented {
    grid-template-columns: 1fr;
  }
  .quiz-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .quiz-actions .button {
    padding-inline: 10px;
  }
  .detail-hero {
    padding: 35px 0 55px;
  }
  .big-specs {
    grid-template-columns: 1fr 1fr;
  }
  .comparison-table {
    overflow-x: auto;
  }
  .table-row {
    min-width: 720px;
  }
  .price-alert {
    display: grid;
  }
  .article-hero {
    padding: 40px 0 50px;
  }
  .article-body {
    padding: 45px 0 70px;
  }
  .toc {
    grid-template-columns: repeat(4, max-content);
  }
  .prose > p,
  .prose li {
    font-size: 16px;
    line-height: 1.65;
  }
  .prose .lead {
    font-size: 18px;
  }
  .swatches {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer {
    padding-bottom: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .mobile-bar {
    position: fixed;
    z-index: 70;
    left: 0;
    right: 0;
    bottom: 0;
    height: 66px;
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -10px 30px rgba(23,33,38,.1);
  }
  .mobile-bar a {
    display: grid;
    place-items: center;
    align-content: center;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
  }
  .mobile-bar a span {
    font-size: 18px;
    line-height: 1.1;
  }
  .mobile-bar a.active {
    color: var(--white);
    background: var(--orange);
  }
  .prototype-ribbon {
    display: none;
  }
}

@media (max-width: 340px) {
  .container {
    width: calc(100% - 24px);
  }
  h1 {
    font-size: 31px;
  }
  .hero-facts {
    grid-template-columns: 1fr;
  }
  .nav-actions .call-mobile {
    display: none;
  }
  .truck-stats {
    grid-template-columns: 1fr 1fr;
  }
  .material-card {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
