/* Shared Linea visual identity based on the current business-card and vehicle design. */
body.brand-refresh {
  --ink: #0b1c30;
  --muted: #5d6875;
  --paper: #f2f4f6;
  --paper-strong: #ffffff;
  --wood: #0b1c30;
  --wood-dark: #061322;
  --sage: #0b1c30;
  --terracotta: #e21b2d;
  --gold: #e21b2d;
  --line: rgba(11, 28, 48, 0.14);
  --shadow: 0 22px 60px rgba(5, 19, 34, 0.14);
  background: #f2f4f6;
}

.brand-refresh .site-header {
  min-height: 92px;
  padding: 12px clamp(22px, 4vw, 64px);
  color: #0b1c30;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 3px solid #e21b2d;
  box-shadow: 0 10px 34px rgba(5, 19, 34, 0.08);
  backdrop-filter: blur(16px);
}

.brand-refresh .site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -3px;
  width: clamp(110px, 16vw, 260px);
  height: 3px;
  background: #0b1c30;
}

.brand-refresh .site-header.is-scrolled,
.brand-refresh .site-header.nav-active {
  color: #0b1c30;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 38px rgba(5, 19, 34, 0.12);
}

.brand-refresh .brand {
  min-width: 230px;
  gap: 0;
}

.brand-refresh .brand-logo {
  width: 190px;
  max-height: 66px;
  object-fit: contain;
}

.brand-refresh .brand > span {
  display: none;
}

.brand-refresh .site-nav {
  gap: clamp(14px, 1.65vw, 28px);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-refresh .site-nav a:not(.nav-cta)::after {
  height: 3px;
  background: #e21b2d;
}

.brand-refresh .nav-cta {
  min-height: 46px;
  padding: 0 20px;
  color: #fff;
  background: #e21b2d;
  border-radius: 2px;
  box-shadow: 0 10px 24px rgba(226, 27, 45, 0.2);
}

.brand-refresh .nav-toggle {
  color: #0b1c30;
  border: 2px solid #0b1c30;
  border-radius: 2px;
}

.brand-refresh .nav-toggle::before {
  content: "";
  width: 22px;
  height: 16px;
  background: linear-gradient(
    to bottom,
    #0b1c30 0 2px,
    transparent 2px 7px,
    #0b1c30 7px 9px,
    transparent 9px 14px,
    #0b1c30 14px 16px
  );
}

.brand-refresh .nav-toggle svg {
  display: none;
}

.brand-refresh .hero {
  min-height: min(820px, 94vh);
  margin-top: 92px;
  padding: 154px clamp(24px, 4vw, 64px) 94px;
  border-bottom: 8px solid #e21b2d;
}

.brand-refresh .hero-media {
  background: #0b1c30;
  transform: none;
}

.brand-refresh .hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 19, 34, 0.95) 0%, rgba(5, 19, 34, 0.82) 42%, rgba(5, 19, 34, 0.24) 74%, rgba(5, 19, 34, 0.12) 100%),
    linear-gradient(0deg, rgba(5, 19, 34, 0.82), rgba(5, 19, 34, 0) 58%);
}

.brand-refresh .hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  right: -90px;
  bottom: -82px;
  width: min(48vw, 690px);
  height: 190px;
  background: #0b1c30;
  border-top: 4px solid #e21b2d;
  transform: skewX(-34deg);
  opacity: 0.96;
  pointer-events: none;
}

.brand-refresh .hero-content {
  z-index: 2;
  max-width: 850px;
}

.brand-refresh .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #e21b2d;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.brand-refresh .eyebrow::before {
  content: "";
  width: 38px;
  height: 3px;
  flex: 0 0 auto;
  background: currentColor;
}

.brand-refresh .hero .eyebrow {
  color: #fff;
}

.brand-refresh .hero .eyebrow::before {
  background: #e21b2d;
}

.brand-refresh .hero h1 {
  max-width: 820px;
  font-size: clamp(54px, 6vw, 86px);
  font-weight: 800;
  line-height: 0.98;
  text-transform: uppercase;
}

.brand-refresh .hero-lead {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.65;
}

.brand-refresh .button {
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.brand-refresh .button.primary {
  color: #fff;
  background: #e21b2d;
  box-shadow: 0 16px 34px rgba(226, 27, 45, 0.26);
}

.brand-refresh .button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.62);
}

.brand-refresh .button.secondary-on-light {
  color: #fff;
  background: #0b1c30;
  border-color: #0b1c30;
}

.brand-refresh .hero-panel {
  z-index: 3;
  right: clamp(24px, 4vw, 64px);
  bottom: 34px;
  color: #0b1c30;
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  border-top: 4px solid #e21b2d;
  border-radius: 2px;
  box-shadow: 0 24px 60px rgba(5, 19, 34, 0.28);
}

.brand-refresh .hero-panel a {
  color: #fff;
  background: #0b1c30;
  border-radius: 2px;
}

.brand-refresh .intro {
  position: relative;
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(0, 1.05fr) minmax(480px, 0.95fr);
  gap: 60px;
  padding: 72px max(24px, calc((100% - 1180px) / 2)) 64px;
  background: #fff;
}

.brand-refresh .intro::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 9px;
  height: 100%;
  background: #e21b2d;
}

.brand-refresh .section-copy h2,
.brand-refresh .section-heading h2,
.brand-refresh .split-content h2,
.brand-refresh .quote-copy h2 {
  color: #0b1c30;
  font-weight: 800;
  line-height: 1.05;
}

.brand-refresh .intro-stats {
  gap: 0;
  border: 1px solid rgba(11, 28, 48, 0.15);
}

.brand-refresh .intro-stats div {
  padding: 26px 24px;
  background: #f7f8fa;
  border: 0;
  border-right: 1px solid rgba(11, 28, 48, 0.15);
  border-radius: 0;
}

.brand-refresh .intro-stats div:last-child {
  border-right: 0;
}

.brand-refresh .intro-stats strong {
  color: #e21b2d;
}

.brand-refresh .section {
  padding-top: 82px;
  padding-bottom: 88px;
}

.brand-refresh .product-grid {
  gap: 20px;
}

.brand-refresh .product-card {
  position: relative;
  background: #fff;
  border: 0;
  border-radius: 2px;
  box-shadow: 0 12px 34px rgba(5, 19, 34, 0.09);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.brand-refresh .product-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: #e21b2d;
}

.brand-refresh .product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 46px rgba(5, 19, 34, 0.14);
}

.brand-refresh .product-card h3 {
  color: #0b1c30;
}

.brand-refresh .text-link {
  color: #0b1c30;
  border-bottom: 2px solid #e21b2d;
}

.brand-refresh .service-band {
  width: 100%;
  max-width: none;
  padding: 82px max(24px, calc((100% - 1180px) / 2));
  color: #fff;
  background: #0b1c30;
  border-top: 5px solid #e21b2d;
}

.brand-refresh .service-band .section-heading h2,
.brand-refresh .service-band .service-list h3 {
  color: #fff;
}

.brand-refresh .service-band .eyebrow {
  color: #ff4051;
}

.brand-refresh .service-list article {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 2px;
}

.brand-refresh .service-list article > svg {
  color: #ff4051;
}

.brand-refresh .service-list p {
  color: rgba(255, 255, 255, 0.72);
}

.brand-refresh .split-section {
  margin-top: 88px;
  margin-bottom: 88px;
  overflow: hidden;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 18px 52px rgba(5, 19, 34, 0.1);
}

.brand-refresh .split-content {
  position: relative;
  padding-bottom: 58px;
}

.brand-refresh .split-content::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -42px;
  width: 210px;
  height: 62px;
  background: #0b1c30;
  border-top: 4px solid #e21b2d;
  transform: skewX(-35deg);
  pointer-events: none;
}

.brand-refresh .content-section,
.brand-refresh .gallery-section,
.brand-refresh .quote-section {
  padding-top: 78px;
  padding-bottom: 78px;
}

.brand-refresh .local-area-grid article,
.brand-refresh .faq-list details,
.brand-refresh .gallery-carousel,
.brand-refresh .quote-form {
  border-radius: 2px;
}

.brand-refresh .local-area-grid article {
  background: #fff;
  border-top: 4px solid #e21b2d;
}

.brand-refresh .gallery-section {
  width: 100%;
  max-width: none;
  padding-left: max(24px, calc((100% - 1180px) / 2));
  padding-right: max(24px, calc((100% - 1180px) / 2));
  background: #fff;
}

.brand-refresh .quote-section {
  width: 100%;
  max-width: none;
  padding-left: max(24px, calc((100% - 1180px) / 2));
  padding-right: max(24px, calc((100% - 1180px) / 2));
  color: #fff;
  background: #0b1c30;
  border-top: 5px solid #e21b2d;
}

.brand-refresh .quote-section .quote-copy h2,
.brand-refresh .quote-section .quote-copy p {
  color: #fff;
}

.brand-refresh .quote-section .eyebrow {
  color: #ff4051;
}

.brand-refresh .quote-form {
  color: #0b1c30;
  background: #fff;
  border: 0;
}

.brand-refresh .footer {
  color: #fff;
  background: #061322;
  border-top: 5px solid #e21b2d;
}

.brand-refresh .footer-brand {
  display: inline-flex;
  padding: 9px 12px;
  background: #fff;
}

.brand-refresh .footer-brand .brand-logo {
  width: 210px;
}

.brand-refresh .footer strong {
  color: #ff4051;
}

@media (max-width: 1180px) {
  .brand-refresh .site-nav {
    gap: 14px;
    font-size: 13px;
  }

  .brand-refresh .brand-logo {
    width: 184px;
  }
}

@media (max-width: 1020px) {
  .brand-refresh .site-header {
    min-height: 82px;
    padding: 9px 24px;
  }

  .brand-refresh .brand-logo {
    width: 176px;
  }

  .brand-refresh .site-nav {
    inset: 88px 16px auto 16px;
    color: #0b1c30;
    background: #fff;
    border: 0;
    border-top: 4px solid #e21b2d;
    border-radius: 2px;
  }

  .brand-refresh .hero {
    min-height: 820px;
    margin-top: 82px;
    padding: 120px 24px 180px;
  }

  .brand-refresh .hero-panel {
    left: 24px;
    right: 24px;
  }

  .brand-refresh .intro {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .brand-refresh .site-header {
    min-height: 72px;
    padding: 8px 18px;
  }

  .brand-refresh .brand-logo {
    width: 146px;
    max-height: 52px;
  }

  .brand-refresh .nav-toggle {
    width: 46px;
    height: 46px;
  }

  .brand-refresh .site-nav {
    inset: 78px 16px auto 16px;
  }

  .brand-refresh .hero {
    min-height: 790px;
    margin-top: 72px;
    padding: 92px 20px 244px;
  }

  .brand-refresh .hero h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .brand-refresh .hero-lead {
    font-size: 16px;
  }

  .brand-refresh .hero-panel {
    left: 16px;
    right: 16px;
    bottom: 24px;
  }

  .brand-refresh .hero::before {
    right: -120px;
    width: 100%;
  }

  .brand-refresh .intro {
    padding: 58px 24px 52px;
  }

  .brand-refresh .intro-stats {
    grid-template-columns: 1fr;
  }

  .brand-refresh .intro-stats div {
    border-right: 0;
    border-bottom: 1px solid rgba(11, 28, 48, 0.15);
  }

  .brand-refresh .intro-stats div:last-child {
    border-bottom: 0;
  }

  .brand-refresh .service-band,
  .brand-refresh .gallery-section,
  .brand-refresh .quote-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-refresh .split-section {
    margin-top: 54px;
    margin-bottom: 54px;
  }
}

/* Shared subpage treatment */
.brand-refresh main,
.brand-refresh section,
.brand-refresh article,
.brand-refresh form,
.brand-refresh nav,
.brand-refresh footer,
.brand-refresh header {
  min-width: 0;
}

.brand-refresh .page-hero {
  min-height: 470px;
  display: grid;
  align-items: end;
  margin-top: 92px;
  padding: 112px clamp(24px, 4vw, 64px) 82px;
  color: #fff;
  border-bottom: 7px solid #e21b2d;
}

.brand-refresh .page-hero::before {
  transform: scale(1.015);
}

.brand-refresh .page-hero::after {
  background:
    linear-gradient(90deg, rgba(5, 19, 34, 0.94) 0%, rgba(5, 19, 34, 0.76) 48%, rgba(5, 19, 34, 0.22) 100%),
    linear-gradient(0deg, rgba(5, 19, 34, 0.72), rgba(5, 19, 34, 0) 62%);
}

.brand-refresh .page-hero-inner {
  position: relative;
}

.brand-refresh .page-hero-inner::after {
  content: "";
  position: absolute;
  right: -11vw;
  bottom: -82px;
  width: min(42vw, 520px);
  height: 70px;
  background: #0b1c30;
  border-top: 4px solid #e21b2d;
  transform: skewX(-34deg);
  pointer-events: none;
}

.brand-refresh .breadcrumbs {
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
}

.brand-refresh .breadcrumbs a {
  color: #fff;
}

.brand-refresh .page-hero h1 {
  max-width: 880px;
  font-size: clamp(46px, 5.2vw, 72px);
  font-weight: 800;
  line-height: 0.99;
  text-transform: uppercase;
}

.brand-refresh .page-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.84);
}

.brand-refresh .content-section {
  padding-top: 78px;
  padding-bottom: 78px;
}

.brand-refresh .seo-card,
.brand-refresh .process-card,
.brand-refresh .contact-card,
.brand-refresh .related-card,
.brand-refresh .catalog-card,
.brand-refresh .privacy-panel {
  position: relative;
  min-width: 0;
  background: #fff;
  border: 0;
  border-top: 4px solid #e21b2d;
  border-radius: 2px;
  box-shadow: 0 14px 38px rgba(5, 19, 34, 0.1);
}

.brand-refresh .seo-card img,
.brand-refresh .related-card img,
.brand-refresh .catalog-image-link,
.brand-refresh .catalog-image-link img {
  border-radius: 2px;
}

.brand-refresh .seo-card h2,
.brand-refresh .seo-card h3,
.brand-refresh .process-card h3,
.brand-refresh .contact-card h2,
.brand-refresh .contact-card h3,
.brand-refresh .related-card h3,
.brand-refresh .catalog-body h2,
.brand-refresh .privacy-panel h3 {
  color: #0b1c30;
}

.brand-refresh .process-card strong {
  color: #fff;
  background: #0b1c30;
  border-radius: 2px;
  box-shadow: inset 0 -3px 0 #e21b2d;
}

.brand-refresh .catalog-card:hover {
  border-color: transparent;
  box-shadow: 0 24px 58px rgba(5, 19, 34, 0.16);
}

.brand-refresh .catalog-icon-link {
  color: #fff;
  background: #0b1c30;
  border: 2px solid #fff;
  border-radius: 2px;
}

.brand-refresh .catalog-icon-link:hover {
  background: #e21b2d;
}

.brand-refresh .catalog-meta span,
.brand-refresh .gallery-count {
  color: #0b1c30;
  background: rgba(226, 27, 45, 0.1);
  border-radius: 2px;
}

.brand-refresh .gallery-carousel {
  background: #fff;
  border: 0;
  border-top: 4px solid #e21b2d;
  border-radius: 2px;
  box-shadow: 0 16px 44px rgba(5, 19, 34, 0.1);
}

.brand-refresh .gallery-item,
.brand-refresh .gallery-empty {
  border-radius: 2px;
}

.brand-refresh .gallery-arrow {
  color: #fff;
  background: #0b1c30;
  border-radius: 2px;
}

.brand-refresh .gallery-arrow:hover {
  background: #e21b2d;
}

.brand-refresh .quote-form,
.brand-refresh .contact-grid .quote-form {
  min-width: 0;
  background: #fff;
  border: 0;
  border-top: 4px solid #e21b2d;
  border-radius: 2px;
  box-shadow: 0 16px 44px rgba(5, 19, 34, 0.11);
}

.brand-refresh .quote-form label,
.brand-refresh .quote-form input,
.brand-refresh .quote-form select,
.brand-refresh .quote-form textarea {
  min-width: 0;
  max-width: 100%;
}

.brand-refresh .quote-form input,
.brand-refresh .quote-form select,
.brand-refresh .quote-form textarea {
  border-radius: 2px;
}

.brand-refresh input[type="file"] {
  width: 100%;
  overflow: hidden;
}

.brand-refresh .contact-card p,
.brand-refresh .contact-list,
.brand-refresh .contact-list a,
.brand-refresh .footer a,
.brand-refresh .footer span,
.brand-refresh .footer small,
.brand-refresh .catalog-body,
.brand-refresh .catalog-body h2,
.brand-refresh .catalog-meta span {
  overflow-wrap: anywhere;
  word-break: normal;
}

.brand-refresh .privacy-panel {
  padding: 26px;
}

.brand-refresh .privacy-actions {
  align-items: stretch;
}

.brand-refresh .cookie-notice {
  color: #0b1c30;
  background: #fff;
  border: 0;
  border-top: 4px solid #e21b2d;
  border-radius: 2px;
  box-shadow: 0 18px 54px rgba(5, 19, 34, 0.2);
}

.brand-refresh .cookie-link {
  color: #0b1c30;
}

.brand-refresh :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #e21b2d;
  outline-offset: 3px;
}

.brand-refresh [id] {
  scroll-margin-top: 112px;
}

/* The hidden AI test keeps its tool layout but shares the new brand shell. */
.brand-refresh.lp-ai-test-page .lp-ai-test-header {
  min-height: 92px;
}

.brand-refresh.lp-ai-test-page .lp-ai-test-header .nav {
  color: #0b1c30;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 1120px) {
  .brand-refresh .nav-toggle {
    display: grid;
    place-items: center;
  }

  .brand-refresh .site-nav {
    position: fixed;
    z-index: 50;
    inset: 98px 16px auto 16px;
    display: none;
    max-height: calc(100dvh - 116px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    color: #0b1c30;
    background: #fff;
    border: 0;
    border-top: 4px solid #e21b2d;
    border-radius: 2px;
    box-shadow: 0 22px 58px rgba(5, 19, 34, 0.2);
  }

  .brand-refresh .site-nav.is-open {
    display: flex;
  }

  .brand-refresh .site-nav a {
    min-height: 48px;
    padding: 0 12px;
  }

  .brand-refresh .nav-cta {
    justify-content: center;
    margin-top: 6px;
  }
}

@media (max-width: 1020px) {
  .brand-refresh .page-hero {
    margin-top: 82px;
  }

  .brand-refresh .page-hero-inner::after {
    right: -20vw;
  }

  .brand-refresh .lead-grid,
  .brand-refresh .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .brand-refresh .catalog-grid,
  .brand-refresh .seo-grid,
  .brand-refresh .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-refresh .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-refresh.lp-ai-test-page .lp-ai-test-header .nav {
    display: flex;
  }
}

@media (max-width: 700px) {
  .brand-refresh .site-nav {
    inset: 72px 10px auto 10px;
    max-height: calc(100dvh - 82px);
  }

  .brand-refresh .page-hero {
    min-height: 410px;
    margin-top: 72px;
    padding: 78px 20px 58px;
  }

  .brand-refresh .page-hero h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .brand-refresh .page-hero p:not(.eyebrow) {
    font-size: 16px;
  }

  .brand-refresh .page-hero-inner::after {
    right: -42vw;
    bottom: -58px;
    width: 88vw;
    height: 46px;
  }

  .brand-refresh .content-section {
    width: min(100% - 32px, 1180px);
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .brand-refresh .catalog-grid,
  .brand-refresh .seo-grid,
  .brand-refresh .related-grid,
  .brand-refresh .process-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .brand-refresh .catalog-image-link {
    margin: 16px 16px 0;
  }

  .brand-refresh .catalog-icon-link {
    top: 26px;
    right: 26px;
  }

  .brand-refresh .catalog-body {
    padding: 18px 18px 22px;
  }

  .brand-refresh .gallery-info {
    gap: 14px;
  }

  .brand-refresh .gallery-count {
    width: fit-content;
    white-space: normal;
  }

  .brand-refresh .footer-main > *,
  .brand-refresh .footer-bottom > *,
  .brand-refresh .contact-card,
  .brand-refresh .privacy-panel {
    min-width: 0;
  }

  .brand-refresh .privacy-actions .button {
    width: 100%;
    white-space: normal;
  }

  .brand-refresh.lp-ai-test-page .lp-ai-test-header {
    min-height: 72px;
  }

  .brand-refresh.lp-ai-test-page .lp-ai-test-header .nav {
    flex: 0 0 auto;
    width: auto;
    gap: 8px;
    font-size: 12px;
  }

  .brand-refresh.lp-ai-test-page .lp-ai-test-header .nav a:nth-child(-n + 2) {
    display: none;
  }

  .brand-refresh.lp-ai-test-page .lp-ai-test-header .nav a {
    padding: 10px 0;
  }
}

@media (max-width: 390px) {
  .brand-refresh .site-header {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand-refresh .brand-logo {
    width: 132px;
  }

  .brand-refresh .page-hero h1 {
    font-size: 36px;
  }

  .brand-refresh .breadcrumbs {
    font-size: 11px;
  }

  .brand-refresh .seo-card,
  .brand-refresh .process-card,
  .brand-refresh .contact-card,
  .brand-refresh .related-card,
  .brand-refresh .privacy-panel {
    padding: 20px;
  }

  .brand-refresh .quote-form {
    padding: 16px;
  }

  .brand-refresh .cookie-notice {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .brand-refresh.lp-ai-test-page .lp-ai-test-header {
    min-height: 72px !important;
    padding: 8px 10px !important;
    gap: 8px;
  }

  .brand-refresh.lp-ai-test-page .lp-ai-test-header .brand img {
    width: 116px !important;
    max-height: 50px !important;
  }

  .brand-refresh.lp-ai-test-page .lp-ai-test-header .nav {
    font-size: 10px;
  }
}
