:root {
  --cabsi-red: #8f0507;
  --cabsi-red-dark: #570203;
  --cabsi-gold: #f2bd42;
  --cabsi-gold-soft: #fff2c7;
  --ink: #17121d;
  --muted: #5d5662;
  --line: #e9e1d4;
  --paper: #fffdfa;
  --surface: #ffffff;
  --shadow: 0 20px 60px rgba(53, 31, 20, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(242, 189, 66, 0.16), transparent 30%),
    linear-gradient(180deg, #f9f7f2 0%, #ffffff 48%, #f7f3ec 100%);
}

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

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 24px auto;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(87, 2, 3, 0.12);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 92px;
  padding: 16px 54px;
  background: rgba(255, 253, 250, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1 1 auto;
}

.brand img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 4px;
}

.brand span {
  display: grid;
  line-height: 1.05;
  min-width: 0;
}

.brand strong {
  color: var(--cabsi-red-dark);
  max-width: 520px;
  font-size: clamp(1.05rem, 2.05vw, 1.7rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
}

.site-nav {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 44px;
  color: #1f1a22;
  font-size: 0.96rem;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 3px;
  content: "";
  background: var(--cabsi-gold);
  border-radius: 999px;
  opacity: 0;
  transform: scaleX(0.6);
  transition: 160ms ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--cabsi-red-dark);
  border-radius: 999px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 360px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 58px 58px 56px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cabsi-red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 560px;
  margin: 0;
  color: #130f19;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1::after {
  display: block;
  width: 44px;
  height: 4px;
  margin-top: 20px;
  content: "";
  background: var(--cabsi-gold);
  border-radius: 999px;
}

.hero p:not(.eyebrow) {
  max-width: 510px;
  margin: 22px 0 0;
  color: #302936;
  font-size: 1.04rem;
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 7px;
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--cabsi-red);
  border: 1px solid var(--cabsi-red);
}

.button.secondary {
  color: var(--cabsi-red-dark);
  background: #fff;
  border: 1px solid rgba(143, 5, 7, 0.22);
}

.trade-visual {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52) 0 36%, rgba(226, 218, 205, 0.64) 36% 37%, transparent 37%),
    linear-gradient(145deg, #f7f2ea 0%, #e5dac8 58%, #cfc0aa 100%);
}

.trade-visual::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, transparent 0 56%, rgba(86, 70, 54, 0.13) 57% 58%, rgba(255, 255, 255, 0.1) 58% 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0 18%, transparent 18% 82%, rgba(87, 2, 3, 0.08) 82% 100%),
    radial-gradient(circle at 74% 20%, rgba(255, 255, 255, 0.68), transparent 18%);
}

.trade-visual::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 44%;
  content: "";
  background:
    linear-gradient(176deg, transparent 0 26%, rgba(255, 255, 255, 0.3) 27% 28%, transparent 29%),
    linear-gradient(180deg, rgba(174, 158, 139, 0.2), rgba(120, 104, 88, 0.18));
}

.warehouse {
  position: absolute;
  right: 30px;
  bottom: 92px;
  z-index: 1;
  width: 235px;
  height: 142px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.25) 0 2px, transparent 2px 38px) 0 0 / 40px 100%,
    linear-gradient(180deg, #f7f2e9 0 22%, #d8c9b6 22% 100%);
  border: 1px solid rgba(86, 70, 54, 0.22);
  border-bottom: 10px solid #685442;
  box-shadow: 0 18px 32px rgba(53, 31, 20, 0.18);
  clip-path: none;
}

.warehouse span {
  position: absolute;
  bottom: 0;
  width: 44px;
  height: 72px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0 2px, transparent 2px 100%),
    linear-gradient(180deg, #74695e, #43392f);
  border: 1px solid rgba(53, 31, 20, 0.28);
}

.warehouse span:nth-child(1) {
  left: 42px;
}

.warehouse span:nth-child(2) {
  left: 88px;
}

.warehouse span:nth-child(3) {
  right: 42px;
}

.container-stack {
  position: absolute;
  right: 226px;
  bottom: 84px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 74px);
  gap: 5px;
  filter: drop-shadow(0 12px 14px rgba(53, 31, 20, 0.16));
}

.container-stack span {
  height: 43px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0 2px, transparent 2px 20px) 0 0 / 22px 100%,
    linear-gradient(180deg, #b70b0e, #780305);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 8px rgba(255, 255, 255, 0.09), inset 0 -8px rgba(53, 31, 20, 0.14);
}

.container-stack span:nth-child(even) {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0 2px, transparent 2px 20px) 0 0 / 22px 100%,
    linear-gradient(180deg, #f5c961, #b77916);
}

.truck {
  position: absolute;
  bottom: 48px;
  left: 45px;
  z-index: 3;
  width: 328px;
  height: 126px;
  filter: drop-shadow(0 18px 18px rgba(53, 31, 20, 0.24));
}

.trailer {
  position: absolute;
  left: 0;
  bottom: 28px;
  width: 215px;
  height: 82px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(224, 226, 224, 0.95)),
    #f6f4ee;
  border: 1px solid rgba(53, 31, 20, 0.22);
  border-bottom: 5px solid #58514c;
  border-radius: 5px 3px 3px 5px;
  box-shadow: inset 0 10px rgba(255, 255, 255, 0.5);
}

.cab {
  position: absolute;
  right: 34px;
  bottom: 28px;
  width: 102px;
  height: 72px;
  background:
    linear-gradient(135deg, #ffffff 0 42%, #e6e4df 43% 100%);
  border: 1px solid rgba(53, 31, 20, 0.22);
  border-bottom: 5px solid #57504a;
  border-radius: 8px 22px 7px 6px;
}

.cab::before {
  position: absolute;
  top: 12px;
  right: 10px;
  width: 44px;
  height: 26px;
  content: "";
  background: linear-gradient(135deg, #9fc7da, #edf9ff);
  border: 1px solid rgba(53, 31, 20, 0.14);
  border-radius: 4px 13px 4px 4px;
}

.wheel {
  position: absolute;
  bottom: 10px;
  width: 34px;
  height: 34px;
  background: #221719;
  border: 7px solid #57514c;
  border-radius: 999px;
  box-shadow: inset 0 0 0 4px #c8c3bc;
}

.wheel.one {
  left: 42px;
}

.wheel.two {
  right: 58px;
}

.about,
.products {
  padding: 28px 54px;
}

.about h2,
.section-heading h2 {
  margin: 0;
  color: #17121d;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  margin-top: 24px;
}

.about-grid article {
  display: block;
}

.about-grid article + article {
  padding-left: 44px;
  border-left: 1px solid var(--line);
}

.about-grid h3,
.product-card h3 {
  margin: 0;
  color: #17121d;
  font-size: 1rem;
}

.about-grid p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

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

.catalog-hero {
  padding: 54px 54px 36px;
  background:
    linear-gradient(135deg, rgba(255, 242, 199, 0.52), rgba(255, 253, 250, 0.96) 45%),
    #fffdfa;
  border-bottom: 1px solid var(--line);
}

.catalog-hero h1 {
  max-width: 720px;
  margin: 0;
  color: #130f19;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.catalog-hero p:not(.eyebrow) {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.catalog-products {
  border-top: 0;
}

.catalog-grid .product-card img {
  height: 220px;
}

.section-heading {
  text-align: center;
}

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

.product-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(87, 2, 3, 0.05);
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.product-card:hover,
.product-card:focus-visible {
  border-color: rgba(143, 5, 7, 0.32);
  box-shadow: 0 16px 34px rgba(87, 2, 3, 0.12);
  outline: none;
  transform: translateY(-2px);
}

.product-card img {
  display: block;
  width: 100%;
  height: 172px;
  object-fit: cover;
  background: #f8f2e8;
  border-bottom: 1px solid var(--line);
}

.product-card h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 12px;
  text-align: center;
}

.product-image {
  height: 112px;
  border-bottom: 1px solid var(--line);
  background-color: #f4eee4;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.product-image.raw {
  background:
    radial-gradient(circle at 22% 62%, #f4ead1 0 12px, transparent 13px),
    radial-gradient(circle at 42% 50%, #fff8e1 0 15px, transparent 16px),
    radial-gradient(circle at 62% 58%, #e1c58a 0 13px, transparent 14px),
    radial-gradient(circle at 78% 48%, #fff3bf 0 11px, transparent 12px),
    linear-gradient(145deg, #fff8ed, #ead9b6);
}

.product-image.packaging {
  background:
    linear-gradient(90deg, transparent 0 30%, rgba(87, 2, 3, 0.08) 30% 34%, transparent 34%),
    linear-gradient(135deg, #cf9543 0 30%, transparent 31%),
    linear-gradient(45deg, #e6b562 0 38%, transparent 39%),
    linear-gradient(160deg, #f0cf8d, #b97928);
}

.product-image.industrial {
  background:
    radial-gradient(circle at 28% 54%, #3e3b3a 0 16px, #bfc2c4 17px 22px, transparent 23px),
    radial-gradient(circle at 52% 45%, #4c4845 0 14px, #d3d5d6 15px 20px, transparent 21px),
    linear-gradient(24deg, transparent 44%, #5d5c5b 45% 51%, transparent 52%),
    linear-gradient(145deg, #f5f5f4, #b9bbbd);
}

.product-image.food {
  background:
    radial-gradient(circle at 20% 55%, #f5d37a 0 16px, transparent 17px),
    radial-gradient(circle at 43% 48%, #b45e24 0 15px, transparent 16px),
    radial-gradient(circle at 64% 58%, #f1cf56 0 16px, transparent 17px),
    radial-gradient(circle at 82% 45%, #914222 0 13px, transparent 14px),
    linear-gradient(145deg, #fff7dd, #dfb873);
}

.product-image.merchandise {
  background:
    linear-gradient(90deg, transparent 0 20%, #8f0507 21% 24%, transparent 25%),
    radial-gradient(circle at 30% 42%, #f2bd42 0 18px, transparent 19px),
    radial-gradient(circle at 54% 44%, #ffffff 0 15px, transparent 16px),
    radial-gradient(circle at 70% 48%, #8f0507 0 14px, transparent 15px),
    linear-gradient(160deg, #fff9e8, #e8d5a9);
}

.product-image.shipping {
  background:
    linear-gradient(180deg, #fae7af 0 42%, #caa15a 43% 100%),
    linear-gradient(90deg, #8f0507 0 24%, #f2bd42 25% 48%, #8f0507 49% 72%, #f2bd42 73% 100%);
  position: relative;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr 1.2fr;
  gap: 24px;
  align-items: center;
  padding: 24px 54px;
  color: #2f2833;
  font-size: 0.92rem;
  background: #fff;
  border-top: 1px solid var(--line);
}

.site-footer a,
.site-footer span:not(.footer-icon) {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: var(--cabsi-red);
  font-weight: 800;
}

.site-footer small {
  color: var(--muted);
}

.modal-open {
  overflow: hidden;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.product-modal.open {
  display: flex;
}

.product-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 9, 8, 0.46);
  backdrop-filter: blur(5px);
}

.product-modal__panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(280px, 1fr);
  width: min(860px, 100%);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(242, 189, 66, 0.34);
  border-radius: 12px;
  box-shadow: 0 28px 90px rgba(35, 18, 14, 0.28);
}

.product-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--cabsi-red-dark);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.product-modal__image {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: contain;
  background: #f8f2e8;
}

.product-modal__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 46px 42px;
}

.product-modal__content h2 {
  margin: 0;
  color: #130f19;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.product-modal__description {
  margin: 18px 0 28px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .page-shell {
    width: min(420px, calc(100% - 24px));
    margin: 14px auto;
    border-radius: 22px;
  }

  .site-header {
    min-height: 78px;
    padding: 14px 18px;
  }

  .brand img {
    width: 56px;
    height: 56px;
  }

  .brand strong {
    max-width: 210px;
    font-size: 0.86rem;
    line-height: 1.15;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    right: 12px;
    left: 12px;
    display: none;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 18px 44px rgba(87, 2, 3, 0.16);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: unset;
  }

  .hero-copy {
    padding: 28px 20px 22px;
  }

  .hero h1 {
    font-size: 1.54rem;
    line-height: 1.12;
  }

  .hero h1::after {
    width: 34px;
    height: 3px;
    margin-top: 14px;
  }

  .hero p:not(.eyebrow) {
    margin-top: 16px;
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .button {
    min-height: 40px;
    padding: 0 16px;
    font-size: 0.85rem;
  }

  .trade-visual {
    min-height: 170px;
    margin: 0 20px 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .warehouse {
    right: 14px;
    bottom: 48px;
    width: 116px;
    height: 72px;
  }

  .warehouse span {
    bottom: 0;
    width: 20px;
    height: 35px;
  }

  .warehouse span:nth-child(1) {
    left: 21px;
  }

  .warehouse span:nth-child(2) {
    left: 46px;
  }

  .warehouse span:nth-child(3) {
    right: 21px;
  }

  .container-stack {
    right: 124px;
    bottom: 45px;
    grid-template-columns: repeat(3, 38px);
    gap: 3px;
  }

  .container-stack span {
    height: 24px;
  }

  .truck {
    bottom: 20px;
    left: 14px;
    width: 174px;
    height: 76px;
  }

  .trailer {
    bottom: 20px;
    width: 110px;
    height: 46px;
    border-width: 1px;
    border-bottom-width: 4px;
  }

  .cab {
    right: 20px;
    bottom: 20px;
    width: 54px;
    height: 42px;
  }

  .cab::before {
    top: 7px;
    right: 5px;
    width: 22px;
    height: 13px;
  }

  .wheel {
    bottom: 8px;
    width: 18px;
    height: 18px;
    border-width: 4px;
    box-shadow: inset 0 0 0 2px #c8c3bc;
  }

  .wheel.one {
    left: 22px;
  }

  .wheel.two {
    right: 32px;
  }

  .about,
  .products,
  .catalog-hero {
    padding: 22px 20px;
  }

  .catalog-hero h1 {
    font-size: 1.65rem;
  }

  .catalog-hero p:not(.eyebrow) {
    font-size: 0.86rem;
    line-height: 1.5;
  }

  .about h2,
  .section-heading h2 {
    font-size: 1.15rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 16px;
  }

  .about-grid article + article {
    padding: 18px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .about-grid h3,
  .product-card h3 {
    font-size: 0.85rem;
  }

  .about-grid p {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
  }

  .product-image {
    height: 74px;
  }

  .product-card img {
    height: 98px;
  }

  .catalog-grid .product-card img {
    height: 116px;
  }

  .product-card h3 {
    min-height: 42px;
    padding: 8px;
    font-size: 0.74rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px;
    font-size: 0.8rem;
  }

  .product-modal {
    align-items: flex-end;
    padding: 12px;
  }

  .product-modal__panel {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    border-radius: 14px;
  }

  .product-modal__image {
    min-height: 220px;
    height: 260px;
  }

  .product-modal__content {
    padding: 24px 20px 22px;
  }

  .product-modal__description {
    font-size: 0.88rem;
    line-height: 1.5;
  }
}

@media (max-width: 360px) {
  .product-card h3 {
    font-size: 0.68rem;
  }
}
