:root {
  --brand-red: #e73828;
  --primary: #b52d22;
  --primary-dark: #9c251b;
  --primary-light: #e73828;
  --primary-color: var(--primary);
  --primary-gradient: #b52d22;
  --primary-gradient-subtle: #fcf0ee;
  --text-primary: #202124;
  --text-secondary: #484b50;
  --text-muted: #62656b;
  --bg-light: #f6f6f5;
  --border-light: #e4e4e2;
  --radius-lg: 8px;
  --shadow-card: none;
  --shadow-card-hover: 0 9px 24px rgba(28, 27, 24, .09);
}

:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.header { background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .09); }
.header .nav-menu > li > a { font-weight: 600; }
.header .nav-menu .sub-menu { border-top: 2px solid var(--brand-red); }
.header .search-box input { background: #f7f7f6; }
.header .search-box button { background: var(--primary); }
.header .search-box button svg { display: block; width: 17px; height: 17px; margin: auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.section-title { letter-spacing: 0; }
.section-title::after { width: 34px; height: 3px; }
.btn-more { border-radius: 5px; box-shadow: none; background: var(--primary); }
.btn-more:hover { background: var(--primary-dark); box-shadow: none; }
.footer { background: #202124; }
.footer::before { background: var(--brand-red); }
.footer-bottom { background: #191a1c; }

.campaign { --stage-height: 580px; background: #131417; touch-action: pan-y pinch-zoom; }
.campaign.home-hero .carousel-slides { height: var(--stage-height); }
.campaign .campaign-panel {
  isolation: isolate;
  min-width: 0;
  position: relative;
  z-index: 1;
  color: #fff;
  background: #131417;
  opacity: 1;
  transition: opacity .56s ease-out, visibility 0s;
}
.campaign .campaign-panel[inert] {
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .56s ease-out, visibility 0s .56s;
}
.campaign .campaign-light { color: #202124; background: #efeeeb; }
.campaign .campaign-ly1106 { background: #201517; }
.campaign .campaign-campus { background: #141618; }
.campaign-picture { position: absolute; inset: 0; z-index: -1; }
.campaign-picture img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.campaign-inner { height: 100%; display: flex; align-items: center; padding: 18px 58px 90px; }
.campaign-copy { width: min(50%, 545px); }
.campaign[data-ready] .campaign-panel:not([inert]) .campaign-copy { animation: campaign-enter .55s cubic-bezier(.18,.7,.35,1) both; }
@keyframes campaign-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.campaign-category { display: flex; align-items: center; gap: 11px; font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.campaign-category::before { content: ''; width: 24px; height: 3px; background: var(--brand-red); }
.campaign-copy h1, .campaign-copy h2 {
  font-size: 58px;
  font-weight: 800;
  line-height: 1.12;
  overflow-wrap: anywhere;
  margin: 0 0 15px;
}
.campaign-model-suffix { display: block; font-size: .56em; line-height: 1.2; }
.campaign-lead { max-width: 33ch; font-size: 18px; line-height: 1.6; color: #f0e9e9; }
.campaign-specs { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 18px 0 24px; color: #ebe2e2; font-size: 13px; }
.campaign-specs span { white-space: nowrap; }
.campaign-specs span + span { padding-left: 16px; border-left: 1px solid rgba(239, 224, 224, .45); }
.campaign-light .campaign-lead, .campaign-light .campaign-specs { color: #45464b; }
.campaign-light .campaign-specs span + span { border-color: #aba7a6; }
.campaign-link, .section-link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; font-weight: 700; }
.campaign-link { min-height: 48px; padding: 0 17px; border-radius: 5px; background: var(--primary); color: #fff; }
.campaign-link:hover { color: #fff; background: var(--primary-dark); }
.campaign-link:focus-visible { outline-color: #fff; box-shadow: 0 0 0 5px #262126; }
.campaign-link svg, .section-link svg, .campaign-actions svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.campaign .campaign-controls {
  display: flex;
  z-index: 2;
  width: min(calc(100% - 116px), 1284px);
  justify-content: space-between;
  padding: 0;
  bottom: 16px;
  gap: 20px;
  background: none;
  color: white;
}
.campaign .campaign-controls[hidden] { display: none; }
.campaign-stops, .campaign-actions { display: flex; align-items: stretch; gap: 4px; padding: 3px; border-radius: 6px; background: #202124ed; }
.campaign .campaign-stops button[data-carousel-dot] {
  display: block;
  position: relative;
  width: auto;
  min-width: 92px;
  min-height: 40px;
  padding: 4px 12px 6px;
  font-size: 13px;
  color: #e1dedc;
  white-space: nowrap;
}
.campaign .campaign-stops button[data-carousel-dot]::before { display: none; }
.campaign .campaign-stops button[aria-current] { background: #ffffff16; color: #fff; }
.campaign .campaign-stops button[aria-current]::after { content: ''; position: absolute; inset: auto 8px 3px; height: 2px; background: #ff6a5d; }
.campaign-actions button { min-width: 40px; min-height: 40px; }
.campaign-actions button[data-carousel-playback] svg { fill: currentColor; stroke: none; width: 16px; height: 16px; }
.campaign-actions button[data-carousel-playback] [data-play-icon], .campaign[data-paused] [data-pause-icon] { display: none; }
.campaign[data-paused] .campaign-actions button[data-carousel-playback] [data-play-icon] { display: block; }

.home-layout .home-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 0 0 14px; border-bottom: 1px solid var(--border-light); }
.home-layout .home-heading .section-title { text-align: left; margin: 0; border-left: 4px solid var(--brand-red); padding-left: 14px; line-height: 1.2; }
.home-layout .home-heading .section-title::after { display: none; }
.section-link { color: var(--primary); min-height: 40px; }
.section-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-layout .products-section, .home-layout .solutions-section, .home-layout .news-section, .home-layout .about-section, .home-layout .partners-section { padding: 58px 0; }
.home-layout .products-section { padding-top: 36px; }
.home-layout .products-grid > a { display: flex; min-width: 0; }
.home-layout .product-card { flex: 1; width: 100%; padding: 14px 16px 19px; }
.home-layout .product-card h4 { text-align: left; overflow-wrap: anywhere; }
.home-layout .product-card p { text-align: left; }
.home-layout .product-card .product-img { margin-bottom: 14px; background: #f6f6f6; }
.home-layout .news-section { background: #f6f6f5; }
.home-layout .news-grid { margin-top: 26px; }
.home-layout .animate-on-scroll { opacity: 1; transform: none; }
.home-layout .product-tabs, .home-layout .solutions-tabs { margin-top: 22px; box-shadow: none; }
.home-layout .solution-content { padding: 30px 0 0; }
.home-layout .solution-image { max-width: 430px; flex-basis: 430px; }
.home-layout .about-section { background: #fff; }
.home-layout .about-section::before, .home-layout .partners-section::before { display: none; }
.home-layout .about-content { align-items: center; }
.home-layout .about-image { aspect-ratio: 4 / 3; height: auto; flex: 0 1 480px; max-width: 480px; }
.home-layout .about-image img { width: 100%; height: auto; }
.home-layout .partners-section { background: #f6f6f5; }

@media (min-width: 1700px) {
  .campaign .campaign-picture { width: min(100%, calc(var(--stage-height) * 2.55)); margin-inline: auto; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 94%, transparent); }
}
@media (max-height: 800px) and (min-width: 768px) { .campaign { --stage-height: 510px; } }
@media (max-height: 680px) and (min-width: 768px) { .campaign { --stage-height: 450px; } }
@media (max-width: 1050px) and (min-width: 768px) {
  .campaign-picture img { object-position: 56% center; }
  .campaign-inner { padding-inline: 36px; }
  .campaign-copy { width: min(53%, 465px); }
  .campaign-copy h1, .campaign-copy h2 { font-size: 44px; }
  .campaign .campaign-controls { width: calc(100% - 72px); }
}
@media (max-width: 767px) {
  .campaign { --stage-height: 515px; }
  .campaign-picture img { object-position: 50% 38%; }
  .campaign-inner { align-items: flex-end; padding: 0 20px 66px; }
  .campaign-copy { width: 100%; max-width: none; }
  .campaign-category { font-size: 12px; margin-bottom: 6px; }
  .campaign-copy h1, .campaign-copy h2 { font-size: 34px; line-height: 1.13; margin-bottom: 7px; }
  .campaign-copy h1 br { display: none; }
  .campaign-model-suffix { display: inline; }
  .campaign-lead { font-size: 14px; line-height: 1.5; }
  .campaign-specs { font-size: 11px; margin: 10px 0 13px; gap: 4px 8px; }
  .campaign-specs span + span { padding-left: 8px; }
  .campaign-link { min-height: 42px; padding-inline: 12px; font-size: 14px; }
  .campaign .campaign-controls { width: calc(100% - 40px); gap: 5px; bottom: 10px; }
  .campaign-stops { flex: 1; justify-content: center; }
  .campaign .campaign-stops button[data-carousel-dot] { flex: 1; min-width: 22px; padding: 0; }
  .campaign .campaign-stops button[data-carousel-dot]::before { display: inline-block; }
  .campaign .campaign-stops button[data-carousel-dot]::after, .campaign-stops span { display: none; }
  .campaign-actions { gap: 1px; }
  .campaign-actions button { min-width: 32px; width: 32px; }
  .home-layout .products-section, .home-layout .solutions-section, .home-layout .news-section, .home-layout .about-section, .home-layout .partners-section { padding: 34px 0; }
  .home-layout .products-section { padding-top: 25px; }
  .home-layout .solution-image, .home-layout .about-image { flex: none; max-width: 100%; }
  .home-layout .product-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-layout .solutions-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-layout :is(.product-tabs, .solutions-tabs) .tab { min-height: 44px; padding: 8px 4px; }
  .home-layout .product-tabs .tab:nth-child(-n+3), .home-layout .solutions-tabs .tab:nth-child(-n+2) { border-bottom: 1px solid var(--border-light); }
}
@media (min-width: 510px) and (max-width: 767px) {
  .campaign .campaign-picture { width: min(100%, 444px); margin-inline: auto; mask-image: linear-gradient(90deg, transparent, #000 17%, #000 83%, transparent); }
  .campaign-picture img { object-position: center 26%; }
}
@media (max-width: 370px) {
  .campaign-copy h1, .campaign-copy h2 { font-size: 29px; }
  .campaign-copy h1 br { display: initial; }
}
@media (max-width: 767px) and (max-height: 650px) {
  .campaign { --stage-height: 451px; }
  .campaign-picture img { object-position: center 44%; }
  .campaign-copy h1, .campaign-copy h2 { font-size: 29px; }
}
@media (prefers-reduced-motion: reduce) {
  .campaign .campaign-panel, .campaign .campaign-panel[inert] { transition: none; }
  .campaign[data-ready] .campaign-panel:not([inert]) .campaign-copy { animation: none; }
  html { scroll-behavior: auto; }
}

/* Match the homepage card podium treatment for the transparent module and real box photo. */
.home-layout .products-grid .product-img--podium { position: relative; isolation: isolate; overflow: hidden; }
.home-layout .products-grid .product-img--podium::after { content: ""; position: absolute; z-index: 0; left: 23%; right: 23%; bottom: 21px; height: 23px; background: linear-gradient(180deg,#dededc,#f0f0ef); clip-path: polygon(0 0,100% 0,78% 100%,22% 100%); filter: drop-shadow(0 3px 3px #0002); }
.home-layout .products-grid .product-img--podium img { position: relative; z-index: 1; }
.home-layout .products-grid .product-img--core-module img { max-width: 62%; max-height: 128px; object-fit: contain; filter: drop-shadow(0 5px 4px #0002); }
.home-layout .products-grid .product-img--evs img { width: 80%; max-width: 195px; max-height: 128px; object-fit: contain; }
