.ubcab-page {
  background: #f7f7f7;
}

.ubcab-page .site-footer {
  padding-bottom: 39px;
}

.cab-hero {
  position: relative;
  min-height: 1011px;
  padding-top: 160px;
  overflow: hidden;
}

.cab-hero-pattern {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 632px;
  max-width: none;
  object-fit: cover;
  object-position: left top;
  pointer-events: none;
}

.cab-hero-grid {
  z-index: 1;
  display: grid;
  grid-template-columns: 590px 590px;
  gap: 20px;
}

.cab-hero-left {
  display: grid;
  grid-template-rows: 329px 249px 74px;
  gap: 20px;
}

.cab-intro-card,
.cab-benefits {
  background: #fff;
  border-radius: 24px;
}

.cab-intro-card {
  padding: 48px 40px 40px;
}

.cab-logo {
  width: 112px;
  height: auto;
}

.cab-intro-card h1 {
  margin: 38px 0 13px;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -1.7px;
}

.cab-intro-card h1 span {
  color: #f6c017;
  font-weight: 500;
}

.cab-intro-card p {
  max-width: 470px;
  margin: 0;
  color: #777;
  font-size: 16px;
  line-height: 1.5;
}

.cab-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 48px;
  gap: 12px 12px;
  padding: 40px;
}

.cab-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cab-benefit > span {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 13px;
  background: #fafafa;
}

.cab-benefit img {
  width: 24px;
  height: 24px;
}

.cab-benefit strong {
  font-size: 14px;
  line-height: 1.35;
}

.cab-actions {
  display: flex;
  align-items: center;
}

.cab-actions .button-primary {
  flex: 0 0 191px;
}

.cab-actions .button-secondary {
  flex: 1;
}

.cab-hero-art {
  width: 590px;
  height: 672px;
}

.cab-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cab-gift {
  margin-top: 0;
}

.cab-products {
  padding-top: 159px;
}

.cab-products > h2 {
  max-width: 680px;
  margin: 0 0 40px;
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -1.5px;
}

.cab-products > h2 i {
  color: #d2d2d2;
  font-style: normal;
}

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

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

.cab-product {
  position: relative;
  min-height: 355px;
  padding: 20px;
  overflow: hidden;
  background: #fff;
  border-radius: 24px;
  transition: min-height 300ms ease;
}

.cab-product-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cab-product-head > img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.cab-product-title {
  margin-top: 12px;
  text-align: center;
}

.cab-product-head h3 {
  margin: 0;
  font-size: 24px;
  line-height: 32px;
}

.cab-product-head p {
  margin: 0;
  color: #777;
  font-size: 12px;
  line-height: 16px;
}

.cab-product-subtitle-spacer {
  height: 16px;
}

.cab-product-head .justcab {
  color: #174b99;
}

.cab-product-head .comfort {
  color: #5a80f1;
}

.cab-product-head .xlvan {
  color: #69778d;
}

.cab-product-head .logistic {
  color: #68717d;
}

.cab-product-head .call-driver {
  color: #1762e0;
}

.cab-product-head .sos {
  color: #e22b22;
}

.cab-product-head .delivery {
  color: #f57a12;
}

.cab-price {
  width: 180px;
  min-width: 180px;
  min-height: 64.8px;
  margin: 20px auto 0;
  padding: 20px;
  border-radius: 32px;
  background: #fafafa;
  font-size: 16px;
  transition: width 280ms ease, min-width 280ms ease;
}

.cab-price-line {
  display: flex;
  min-width: 140px;
  min-height: 24.8px;
  padding: 0 16px;
  align-items: center;
  justify-content: center;
  line-height: 24.8px;
  white-space: nowrap;
}

.cab-price small {
  margin-left: 2px;
  color: #777;
  font-size: 12px;
  font-weight: 700;
}

.cab-price-wide {
  width: 100%;
  max-width: 100%;
  font-size: 16px;
}

.cab-product.expanded .cab-price {
  width: 100%;
  min-width: 100%;
}

.cab-details {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  text-align: left;
  transition: grid-template-rows 300ms ease, opacity 220ms ease;
}

.cab-details-inner {
  min-height: 0;
  overflow: hidden;
}

.cab-product.expanded .cab-details {
  grid-template-rows: 1fr;
  opacity: 1;
}

.cab-details-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.cab-details-content hr {
  width: 100%;
  height: 1px;
  margin: 0;
  border: 0;
  border-top: 1px solid #e5e5e5;
}

.cab-detail-group {
  display: grid;
  gap: 8px;
}

.cab-detail-pair {
  display: grid;
}

.cab-detail-row,
.cab-detail-subrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cab-detail-row {
  color: #525252;
  font-size: 12px;
  line-height: 16px;
}

.cab-detail-subrow {
  color: #737373;
  font-size: 10px;
  line-height: 15.5px;
}

.cab-detail-row p,
.cab-detail-subrow p,
.cab-detail-feature p,
.cab-detail-meta p,
.cab-detail-note {
  min-height: 0;
  margin: 0;
}

.cab-detail-row p:last-child,
.cab-detail-subrow p:last-child {
  font-weight: 600;
  text-align: right;
}

.cab-detail-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #737373;
  font-size: 12px;
  line-height: 16px;
}

.cab-detail-feature img,
.cab-detail-meta img {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.cab-detail-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.cab-detail-meta > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cab-detail-meta p {
  color: #737373;
  font-size: 12px;
  line-height: 16px;
}

.cab-detail-note {
  color: #525252;
  font-size: 12px;
  line-height: 16px;
  text-align: center;
  white-space: normal;
}

.cab-vehicle-wrap {
  position: relative;
  width: 100%;
  height: 140px;
}

.cab-vehicle {
  width: auto;
  max-width: 100%;
  height: 140px;
  margin: auto;
  object-fit: contain;
}

.cab-expand {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f7f7f7;
  cursor: pointer;
  outline: none;
}

.cab-expand img {
  width: 16px;
  height: 16px;
}

.cab-steps {
  padding-top: 160px;
}

.cab-steps > h2 {
  margin: 0 0 40px;
  color: rgba(130, 130, 130, 0.4);
  font-size: 30px;
  line-height: 1.2;
}

.cab-steps > h2 span {
  color: #000;
}

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

.cab-step {
  position: relative;
  min-height: 378px;
  padding: 34px 40px 36px;
  overflow: hidden;
  background: #fff;
  border-radius: 28px;
  text-align: center;
}

.cab-step > img {
  width: 83px;
  height: 144px;
  margin: 10px auto 16px;
}

.cab-step h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.cab-step p {
  max-width: 280px;
  margin: 0 auto;
  color: #777;
  font-size: 14px;
  line-height: 1.55;
}

.cab-cta {
  margin-top: 160px;
  padding-bottom: 80px;
}

.cab-cta-inner {
  display: grid;
  min-height: 500px;
  grid-template-columns: 600px 600px;
  gap: 0;
  overflow: hidden;
  background: #fff;
  border-radius: 24px;
}

.cab-cta-copy {
  display: flex;
  height: 500px;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px;
}

.cab-cta-copy p {
  margin: 0;
  color: #858585;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.cab-cta-copy .cab-actions {
  margin-top: 40px;
}

.cab-cta-image {
  height: 500px;
}

.cab-cta-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
}

@media (max-width: 1080px) {
  .cab-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .cab-hero-left {
    grid-template-rows: auto auto auto;
  }

  .cab-hero-art {
    width: 100%;
    height: auto;
  }

  .cab-intro-card {
    min-height: 329px;
  }

  .cab-benefits {
    min-height: 249px;
  }

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

  .cab-cta-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .cab-hero {
    min-height: 0;
    padding: 148px 0 100px;
  }

  .cab-hero-pattern {
    height: 680px;
  }

  .cab-hero-grid {
    display: block;
  }

  .cab-hero-left {
    display: grid;
  }

  .cab-hero-art {
    display: none;
  }

  .cab-products > h2 {
    font-size: 40px;
  }

  .cab-step-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .cab-hero {
    padding-top: 160px;
    padding-bottom: 80px;
  }

  .cab-hero-grid {
    width: calc(100vw - 40px);
    margin-left: 20px;
  }

  .cab-hero-left {
    grid-template-rows: auto auto auto;
    gap: 20px;
  }

  .cab-intro-card,
  .cab-benefits {
    border-radius: 24px;
  }

  .cab-intro-card {
    min-height: 0;
    height: auto;
    padding: 20px;
  }

  .cab-logo {
    width: 112px;
  }

  .cab-intro-card h1 {
    margin: 16px 0 0;
    font-size: 30px;
    line-height: 36px;
    letter-spacing: 0;
  }

  .cab-intro-card h1 span {
    color: #f9c623;
    font-weight: 700;
  }

  .cab-intro-card p {
    margin-top: 12px;
    color: #737373;
    font-size: 14px;
    line-height: 20px;
  }

  .cab-benefits {
    display: flex;
    min-height: 320px;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
  }

  .cab-benefit {
    min-height: 48px;
  }

  .cab-benefit strong {
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
  }

  .cab-actions {
    display: grid;
    gap: 12px;
  }

  .cab-actions .button {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    padding-inline: 20px;
    border-radius: 999px;
  }

  .cab-actions .button-secondary {
    min-height: 58px;
  }

  .cab-hero-art {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 40px;
  }

  .cab-gift {
    margin-top: 0;
  }

  .cab-gift .gift-banner {
    border-radius: 16px;
  }

  .cab-products {
    padding-top: 80px;
  }

  .cab-products > h2 {
    margin-bottom: 40px;
    font-size: 34px;
    line-height: 1.06;
  }

  .cab-title-desktop {
    display: none;
  }

  .cab-title-mobile {
    display: inline;
  }

  .ubcab-page .footer-grid > div {
    min-height: 0;
  }

  .cab-product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cab-product {
    min-height: 364.8px;
  }

  .cab-vehicle-wrap {
    height: 150px;
  }

  .cab-vehicle {
    width: auto;
    max-width: 100%;
    height: 150px;
  }

  .cab-steps {
    padding-top: 80px;
  }

  .cab-steps > h2 {
    font-size: 30px;
    line-height: 36px;
  }

  .cab-step {
    display: flex;
    min-height: 354px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 32px;
  }

  .cab-step:nth-child(2),
  .cab-step:nth-child(3) {
    min-height: 378px;
  }

  .cab-step > img {
    width: 82px;
    height: 144px;
    margin: 0;
  }

  .cab-step h3 {
    margin: 40px 0 0;
    font-size: 20px;
    line-height: 28px;
  }

  .cab-step p {
    max-width: none;
    margin-top: 12px;
    color: #828282;
    font-size: 16px;
    line-height: 24.8px;
  }

  .cab-cta {
    margin-top: 80px;
  }

  .cab-cta-inner {
    display: grid;
    width: calc(100vw - 40px);
    min-height: 641px;
    grid-template-columns: 1fr;
    grid-template-rows: 366px 275px;
    gap: 0;
    margin-left: 20px;
  }

  .cab-cta-copy {
    width: 100%;
    height: 366px;
    padding: 20px;
  }

  .cab-cta-copy p {
    font-size: 24px;
    line-height: 1.333;
  }

  .cab-cta-copy .cab-actions {
    margin-top: 20px;
  }

  .cab-cta-image {
    height: 275px;
  }

  .ubcab-page .footer-grid {
    width: 100vw;
    gap: 20px;
    margin-left: 0;
    padding-inline: 20px;
  }

  .ubcab-page .footer-grid > div:not(.footer-links) {
    gap: 8px;
  }

  .ubcab-page .footer-grid h3 {
    margin-bottom: 12px;
    line-height: 24.8px;
  }

  .ubcab-page .footer-grid > div:not(.footer-links) > a,
  .ubcab-page .footer-grid > div:not(.footer-links) > p {
    margin-bottom: 0;
  }

  .ubcab-page .footer-bottom {
    width: calc(100vw - 40px);
    align-items: center;
    flex-direction: row;
    gap: 0;
    margin-top: 100px;
    margin-left: 20px;
    padding: 20px 0 40px;
  }

  .ubcab-page .footer-links a {
    min-height: 74px;
  }

  .ubcab-page .site-footer {
    padding-top: 81px;
    padding-bottom: 0;
  }
}
