/* ==========================================================================
   ROADFIX by IMPEXALL — Main Stylesheet
   Industrial B2B Soil Stabilization Theme
   ========================================================================== */

/* 1. Layout & Grid
   -------------------------------------------------------------------------- */
.roadfix-container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.roadfix-container-sm {
  max-width: 860px;
}

.roadfix-container-fluid {
  max-width: 100%;
  padding-left: 32px;
  padding-right: 32px;
}

.roadfix-section {
  padding-top: 96px;
  padding-bottom: 96px;
  position: relative;
}

.roadfix-section-sm {
  padding-top: 56px;
  padding-bottom: 56px;
}

.roadfix-section-bg-light {
  background-color: var(--rf-color-bg-light);
}

.roadfix-section-bg-dark {
  background-color: var(--rf-color-primary);
  color: var(--rf-color-white);
}

.roadfix-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.roadfix-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rf-color-accent);
  margin-bottom: 12px;
  padding: 4px 12px;
  background: rgba(242, 140, 40, 0.10);
  border-radius: 4px;
  border-left: 3px solid var(--rf-color-accent);
}

.roadfix-section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  color: var(--rf-color-primary);
  margin-bottom: 16px;
}

.roadfix-section-bg-dark .roadfix-section-title {
  color: var(--rf-color-white);
}

.roadfix-section-desc {
  font-size: 1.125rem;
  color: var(--rf-color-text-muted);
  line-height: 1.65;
  margin: 0;
}

.roadfix-section-bg-dark .roadfix-section-desc {
  color: #94A3B8;
}

/* 2. Buttons
   -------------------------------------------------------------------------- */
.roadfix-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-family: var(--rf-font-main);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  border-radius: var(--rf-radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: var(--rf-transition);
  text-align: center;
  white-space: nowrap;
}

.roadfix-btn-primary {
  background-color: var(--rf-color-accent);
  color: var(--rf-color-white);
  border-color: var(--rf-color-accent);
  box-shadow: 0 4px 12px rgba(242, 140, 40, 0.25);
}

.roadfix-btn-primary:hover {
  background-color: var(--rf-color-accent-hover);
  border-color: var(--rf-color-accent-hover);
  color: var(--rf-color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(242, 140, 40, 0.35);
}

.roadfix-btn-secondary {
  background-color: var(--rf-color-primary);
  color: var(--rf-color-white);
  border-color: var(--rf-color-primary);
}

.roadfix-btn-secondary:hover {
  background-color: var(--rf-color-secondary);
  border-color: var(--rf-color-secondary);
  color: var(--rf-color-white);
  transform: translateY(-2px);
}

.roadfix-btn-outline {
  background-color: transparent;
  color: var(--rf-color-primary);
  border-color: var(--rf-color-primary);
}

.roadfix-btn-outline:hover {
  background-color: var(--rf-color-primary);
  color: var(--rf-color-white);
}

.roadfix-btn-outline-white {
  background-color: transparent;
  color: var(--rf-color-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.roadfix-btn-outline-white:hover {
  background-color: var(--rf-color-white);
  color: var(--rf-color-primary);
  border-color: var(--rf-color-white);
}

.roadfix-btn-ghost {
  background: transparent;
  color: var(--rf-color-text-muted);
  border: 1px solid var(--rf-color-border);
}

.roadfix-btn-ghost:hover {
  background: #F1F5F9;
  color: var(--rf-color-primary);
}

.roadfix-btn-lg {
  padding: 16px 34px;
  font-size: 1.0625rem;
}

.roadfix-btn-full {
  width: 100%;
}

/* 3. Header & Navigation
   -------------------------------------------------------------------------- */
.roadfix-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--rf-color-white);
  border-bottom: 1px solid var(--rf-color-border);
  transition: var(--rf-transition);
}

.roadfix-header.is-scrolled {
  box-shadow: var(--rf-shadow-md);
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}

.roadfix-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.roadfix-logo-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.roadfix-logo-wrap img {
  height: 48px;
  width: auto;
}

.roadfix-nav-wrap {
  display: flex;
  align-items: center;
  gap: 32px;
}

.roadfix-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 6px;
}

.roadfix-nav-list > li {
  position: relative;
}

.roadfix-nav-list > li > a {
  display: block;
  padding: 10px 14px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--rf-color-text);
  border-radius: var(--rf-radius-sm);
  transition: var(--rf-transition);
}

.roadfix-nav-list > li > a:hover,
.roadfix-nav-list > li.current-menu-item > a,
.roadfix-nav-list > li.current-menu-ancestor > a {
  color: var(--rf-color-secondary);
  background-color: var(--rf-color-bg-light);
}

/* Dropdown Menu */
.roadfix-nav-list .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background-color: var(--rf-color-white);
  border: 1px solid var(--rf-color-border);
  border-radius: var(--rf-radius-md);
  box-shadow: var(--rf-shadow-lg);
  padding: 8px 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--rf-transition);
  z-index: 100;
}

.roadfix-nav-list > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.roadfix-nav-list .sub-menu li a {
  display: block;
  padding: 9px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--rf-color-text);
  transition: var(--rf-transition);
}

.roadfix-nav-list .sub-menu li a:hover {
  background-color: var(--rf-color-bg-light);
  color: var(--rf-color-accent);
  padding-left: 24px;
}

.roadfix-header-cta {
  display: flex;
  align-items: center;
}

/* Mobile Toggle */
.roadfix-mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.roadfix-hamburger {
  display: block;
  width: 26px;
  height: 2px;
  background-color: var(--rf-color-primary);
  position: relative;
  transition: var(--rf-transition);
}

.roadfix-hamburger::before,
.roadfix-hamburger::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--rf-color-primary);
  transition: var(--rf-transition);
}

.roadfix-hamburger::before { top: -8px; }
.roadfix-hamburger::after { bottom: -8px; }

/* 4. Hero Section
   -------------------------------------------------------------------------- */
.roadfix-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-color: var(--rf-color-dark);
  color: var(--rf-color-white);
  padding: 120px 0 100px;
  overflow: hidden;
}

.roadfix-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center bottom;
  opacity: 0.35;
  mix-blend-mode: luminosity;
  pointer-events: none;
}

.roadfix-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 30%, rgba(30, 90, 137, 0.45) 0%, rgba(8, 30, 51, 0.95) 75%);
  pointer-events: none;
}

.roadfix-hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.roadfix-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(242, 140, 40, 0.18);
  border: 1px solid rgba(242, 140, 40, 0.4);
  padding: 6px 14px;
  border-radius: 30px;
  color: #FFA84A;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.roadfix-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--rf-color-white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}

.roadfix-hero-title span {
  color: var(--rf-color-accent);
}

.roadfix-hero-desc {
  font-size: clamp(1.125rem, 1.8vw, 1.35rem);
  color: #CBD5E1;
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 680px;
}

.roadfix-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.roadfix-hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.roadfix-hero-feature-item {
  display: flex;
  flex-direction: column;
}

.roadfix-hero-feature-val {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--rf-color-accent);
  font-family: var(--rf-font-heading);
}

.roadfix-hero-feature-lbl {
  font-size: 0.875rem;
  color: #94A3B8;
  margin-top: 4px;
}

/* 5. Section Problèmes (Défis)
   -------------------------------------------------------------------------- */
.roadfix-problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.roadfix-problem-card {
  background: var(--rf-color-white);
  border: 1px solid var(--rf-color-border);
  border-radius: var(--rf-radius-md);
  padding: 32px 24px;
  transition: var(--rf-transition);
  position: relative;
  overflow: hidden;
}

.roadfix-problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--rf-shadow-md);
  border-color: #CBD5E1;
}

.roadfix-problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #EF4444;
  opacity: 0.8;
}

.roadfix-problem-icon {
  width: 48px;
  height: 48px;
  background: #FEF2F2;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #EF4444;
}

.roadfix-problem-title {
  font-size: 1.25rem;
  color: var(--rf-color-primary);
  margin-bottom: 10px;
}

.roadfix-problem-desc {
  font-size: 0.9375rem;
  color: var(--rf-color-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* 6. Section Solution & Diagramme Scientifique
   -------------------------------------------------------------------------- */
.roadfix-scientific-wrap {
  background: var(--rf-color-white);
  border: 1px solid var(--rf-color-border);
  border-radius: var(--rf-radius-lg);
  padding: 32px;
  box-shadow: var(--rf-shadow-sm);
  margin-top: 40px;
}

.roadfix-scientific-img {
  width: 100%;
  height: auto;
  display: block;
}

/* 7. Calculateur ROADFIX
   -------------------------------------------------------------------------- */
.roadfix-calculator-wrapper {
  background: var(--rf-color-white);
  border: 1px solid var(--rf-color-border);
  border-radius: var(--rf-radius-lg);
  padding: 40px;
  box-shadow: var(--rf-shadow-md);
}

.roadfix-calc-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}

.roadfix-calc-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rf-color-secondary);
  background: #E0F2FE;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.roadfix-calc-title {
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  color: var(--rf-color-primary);
  margin-bottom: 8px;
}

.roadfix-calc-subtitle {
  color: var(--rf-color-text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.roadfix-calc-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
}

.roadfix-calc-form-card {
  background: #FAFAFA;
  border: 1px solid var(--rf-color-border);
  border-radius: var(--rf-radius-md);
  padding: 28px;
}

.roadfix-calc-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  color: var(--rf-color-primary);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rf-color-border);
}

.roadfix-calc-group-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--rf-color-secondary);
  margin-bottom: 14px;
}

.roadfix-calc-fields-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
}

.roadfix-field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--rf-color-text);
  margin-bottom: 6px;
}

.roadfix-input-unit {
  position: relative;
  display: flex;
  align-items: center;
}

.roadfix-input-unit input,
.roadfix-field select {
  width: 100%;
  padding: 10px 12px;
  font-family: var(--rf-font-main);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--rf-color-primary);
  background: var(--rf-color-white);
  border: 1px solid #CBD5E1;
  border-radius: var(--rf-radius-sm);
  transition: var(--rf-transition);
}

.roadfix-input-unit input:focus,
.roadfix-field select:focus {
  border-color: var(--rf-color-secondary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 90, 137, 0.15);
}

.roadfix-input-unit .unit {
  position: absolute;
  right: 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--rf-color-text-muted);
  pointer-events: none;
}

.roadfix-field-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--rf-color-text-muted);
  margin-top: 4px;
}

.roadfix-calc-actions {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}

/* Results Card */
.roadfix-calc-results-card {
  background: #0E3558;
  color: var(--rf-color-white);
  border-radius: var(--rf-radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--rf-shadow-lg);
}

.roadfix-calc-results-badge {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFA84A;
  margin-bottom: 20px;
}

.roadfix-results-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.roadfix-res-stat {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--rf-radius-sm);
  padding: 16px;
}

.roadfix-res-stat.highlight-product {
  grid-column: span 2;
  background: rgba(242, 140, 40, 0.16);
  border-color: rgba(242, 140, 40, 0.45);
}

.roadfix-res-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #93C5FD;
  margin-bottom: 6px;
}

.roadfix-res-stat.highlight-product .roadfix-res-label {
  color: #FFA84A;
}

.roadfix-res-value {
  font-size: 1.85rem;
  font-weight: 900;
  font-family: var(--rf-font-heading);
  line-height: 1.1;
  color: var(--rf-color-white);
}

.roadfix-res-stat.highlight-product .roadfix-res-value {
  color: #FFFFFF;
  font-size: 2.25rem;
}

.roadfix-res-unit {
  display: block;
  font-size: 0.8125rem;
  color: #CBD5E1;
  margin-top: 4px;
}

.roadfix-res-packaging {
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--rf-radius-sm);
  padding: 14px 18px;
  margin-bottom: 20px;
}

.roadfix-pkg-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #CBD5E1;
  margin-bottom: 10px;
}

.roadfix-pkg-list {
  display: flex;
  gap: 16px;
}

.roadfix-pkg-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
}

.roadfix-pkg-item .pkg-qty {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--rf-color-accent);
}

.roadfix-disclaimer-box {
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--rf-radius-sm);
  padding: 12px;
  margin-bottom: 24px;
}

.roadfix-disclaimer-icon {
  font-size: 1.1rem;
}

.roadfix-disclaimer-text {
  font-size: 0.75rem;
  line-height: 1.5;
  color: #94A3B8;
  margin: 0;
}

.roadfix-disclaimer-text strong {
  color: #E2E8F0;
}

/* 8. Before / After Slider
   -------------------------------------------------------------------------- */
.roadfix-ba-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--rf-radius-md);
  overflow: hidden;
  box-shadow: var(--rf-shadow-lg);
  user-select: none;
  cursor: ew-resize;
}

.roadfix-ba-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.roadfix-ba-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.roadfix-ba-badge {
  position: absolute;
  bottom: 24px;
  padding: 10px 16px;
  border-radius: var(--rf-radius-sm);
  color: var(--rf-color-white);
  pointer-events: none;
}

.roadfix-ba-badge .badge-title {
  display: block;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.roadfix-ba-badge .badge-desc {
  display: block;
  font-size: 0.75rem;
  opacity: 0.9;
}

.roadfix-ba-badge-before {
  left: 24px;
  background: rgba(220, 38, 38, 0.85);
  backdrop-filter: blur(4px);
}

.roadfix-ba-badge-after {
  right: 24px;
  background: rgba(22, 163, 74, 0.85);
  backdrop-filter: blur(4px);
}

.roadfix-ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.roadfix-ba-handle-line {
  flex: 1;
  width: 3px;
  background: #FFFFFF;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.roadfix-ba-handle-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rf-color-accent);
  border: 3px solid #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

/* 9. Timeline (Méthodologie)
   -------------------------------------------------------------------------- */
.roadfix-timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.roadfix-timeline-step {
  background: var(--rf-color-white);
  border: 1px solid var(--rf-color-border);
  border-radius: var(--rf-radius-md);
  padding: 24px;
  transition: var(--rf-transition);
}

.roadfix-timeline-step:hover {
  transform: translateY(-4px);
  border-color: var(--rf-color-secondary);
  box-shadow: var(--rf-shadow-md);
}

.roadfix-step-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.roadfix-step-number {
  font-family: var(--rf-font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--rf-color-accent);
  background: rgba(242, 140, 40, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
}

.roadfix-step-line {
  flex: 1;
  height: 2px;
  background: #E2E8F0;
}

.roadfix-step-title {
  font-size: 1.1rem;
  color: var(--rf-color-primary);
  margin-bottom: 8px;
}

.roadfix-step-desc {
  font-size: 0.875rem;
  color: var(--rf-color-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* 10. Application Cards
   -------------------------------------------------------------------------- */
.roadfix-app-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.roadfix-app-card {
  background: var(--rf-color-white);
  border: 1px solid var(--rf-color-border);
  border-radius: var(--rf-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--rf-transition);
}

.roadfix-app-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--rf-shadow-lg);
  border-color: #CBD5E1;
}

.roadfix-app-card-media {
  position: relative;
  background: #F1F5F9;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
}

.roadfix-app-card-media img {
  max-height: 120px;
  width: auto;
  object-fit: contain;
}

.roadfix-app-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  background: var(--rf-color-primary);
  color: var(--rf-color-white);
  border-radius: 4px;
}

.roadfix-app-card-body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.roadfix-app-card-title {
  font-size: 1.25rem;
  color: var(--rf-color-primary);
  margin-bottom: 10px;
}

.roadfix-app-card-desc {
  font-size: 0.9375rem;
  color: var(--rf-color-text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
}

.roadfix-app-card-bullets {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.roadfix-app-card-bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--rf-color-text);
}

.roadfix-app-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--rf-color-border);
}

.roadfix-app-card-problem {
  background: #FEF2F2;
  border-left: 3px solid #EF4444;
  padding: 8px 12px;
  margin-bottom: 12px;
  border-radius: 0 var(--rf-radius-sm) var(--rf-radius-sm) 0;
  font-size: 0.78rem;
  color: #991B1B;
  line-height: 1.45;
}

.roadfix-app-card-dosage {
  background: #F0F7FD;
  border: 1px solid #D0E4F5;
  padding: 8px 12px;
  border-radius: var(--rf-radius-sm);
  font-size: 0.8125rem;
  color: var(--rf-color-primary);
  font-weight: 700;
  margin-bottom: 14px;
}

.roadfix-app-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--rf-color-secondary);
}

.roadfix-app-link:hover {
  color: var(--rf-color-accent);
  gap: 10px;
}

/* 11. Counters Grid
   -------------------------------------------------------------------------- */
.roadfix-counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.roadfix-counter-item {
  background: var(--rf-color-white);
  border: 1px solid var(--rf-color-border);
  border-radius: var(--rf-radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: var(--rf-transition);
}

.roadfix-counter-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--rf-shadow-md);
  border-color: var(--rf-color-accent);
}

.roadfix-counter-number-wrap {
  font-family: var(--rf-font-heading);
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--rf-color-primary);
  line-height: 1;
  margin-bottom: 12px;
}

.roadfix-counter-title {
  font-size: 1rem;
  color: var(--rf-color-primary);
  margin-bottom: 6px;
}

.roadfix-counter-desc {
  font-size: 0.8125rem;
  color: var(--rf-color-text-muted);
  margin: 0;
}

/* 12. Case Studies Card
   -------------------------------------------------------------------------- */
.roadfix-case-study-card {
  background: var(--rf-color-white);
  border: 1px solid var(--rf-color-border);
  border-radius: var(--rf-radius-md);
  padding: 32px;
  margin-bottom: 30px;
  box-shadow: var(--rf-shadow-sm);
}

.roadfix-demo-flag {
  display: inline-block;
  background: #FEF3C7;
  border: 1px solid #F59E0B;
  color: #92400E;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  margin-bottom: 16px;
}

.roadfix-cs-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rf-color-border);
}

.roadfix-cs-title {
  font-size: 1.45rem;
  color: var(--rf-color-primary);
  margin-bottom: 10px;
}

.roadfix-cs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cs-tag {
  font-size: 0.8125rem;
  font-weight: 600;
  background: #F1F5F9;
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--rf-color-text);
}

.roadfix-cs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.roadfix-cs-col p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--rf-color-text);
}

.roadfix-cs-subtitle {
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.roadfix-cs-subtitle.error-color { color: #DC2626; }
.roadfix-cs-subtitle.tech-color { color: var(--rf-color-secondary); }
.roadfix-cs-subtitle.success-color { color: #16A34A; }

/* 13. Download Center
   -------------------------------------------------------------------------- */
.roadfix-doc-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.roadfix-filter-btn {
  background: var(--rf-color-white);
  border: 1px solid var(--rf-color-border);
  padding: 8px 18px;
  font-family: var(--rf-font-main);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rf-color-text);
  border-radius: 30px;
  cursor: pointer;
  transition: var(--rf-transition);
}

.roadfix-filter-btn:hover,
.roadfix-filter-btn.active {
  background: var(--rf-color-primary);
  color: var(--rf-color-white);
  border-color: var(--rf-color-primary);
}

.roadfix-doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.roadfix-doc-card {
  background: var(--rf-color-white);
  border: 1px solid var(--rf-color-border);
  border-radius: var(--rf-radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: var(--rf-transition);
}

.roadfix-doc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--rf-shadow-md);
  border-color: #CBD5E1;
}

.roadfix-doc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.roadfix-doc-badge {
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.badge-tds { background: #E0F2FE; color: #0369A1; }
.badge-sds { background: #FEF3C7; color: #B45309; }
.badge-brochure { background: #DCFCE7; color: #15803D; }
.badge-guide { background: #F3E8FF; color: #7E22CE; }
.badge-case { background: #FEE2E2; color: #B91C1C; }

.roadfix-doc-size {
  font-size: 0.75rem;
  color: var(--rf-color-text-muted);
}

.roadfix-doc-title {
  font-size: 1.05rem;
  color: var(--rf-color-primary);
  margin-bottom: 8px;
}

.roadfix-doc-desc {
  font-size: 0.875rem;
  color: var(--rf-color-text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.roadfix-doc-footer {
  margin-top: auto;
}

.roadfix-doc-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--rf-color-primary);
  padding: 6px 12px;
  background: var(--rf-color-bg-light);
  border-radius: var(--rf-radius-sm);
  transition: var(--rf-transition);
}

.roadfix-doc-download-btn:hover {
  background: var(--rf-color-primary);
  color: var(--rf-color-white);
}

/* 14. FAQ Accordion
   -------------------------------------------------------------------------- */
.roadfix-faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.roadfix-faq-item {
  background: var(--rf-color-white);
  border: 1px solid var(--rf-color-border);
  border-radius: var(--rf-radius-md);
  overflow: hidden;
  transition: var(--rf-transition);
}

.roadfix-faq-item.is-open {
  border-color: var(--rf-color-secondary);
  box-shadow: var(--rf-shadow-sm);
}

.roadfix-faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: var(--rf-font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--rf-color-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.roadfix-faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--rf-color-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--rf-transition);
  font-weight: 700;
  color: var(--rf-color-secondary);
}

.roadfix-faq-item.is-open .roadfix-faq-icon {
  transform: rotate(45deg);
  background: var(--rf-color-accent);
  color: var(--rf-color-white);
}

.roadfix-faq-answer {
  padding: 0 24px 20px;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--rf-color-text);
  display: none;
}

.roadfix-faq-item.is-open .roadfix-faq-answer {
  display: block;
}

/* 15. Footer
   -------------------------------------------------------------------------- */
.roadfix-footer {
  background: var(--rf-color-dark);
  color: #CBD5E1;
  padding-top: 80px;
  border-top: 4px solid var(--rf-color-accent);
}

.roadfix-footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.roadfix-footer-col h4 {
  font-size: 1.05rem;
  color: var(--rf-color-white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.roadfix-footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--rf-color-accent);
}

.roadfix-footer-about p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: 16px;
  color: #94A3B8;
}

.roadfix-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.roadfix-footer-links a {
  font-size: 0.875rem;
  color: #94A3B8;
  transition: var(--rf-transition);
}

.roadfix-footer-links a:hover {
  color: var(--rf-color-accent);
  padding-left: 6px;
}

.roadfix-footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.875rem;
  color: #94A3B8;
}

.roadfix-footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: #64748B;
}

.roadfix-back-to-top {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--rf-color-white);
  width: 40px;
  height: 40px;
  border-radius: var(--rf-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--rf-transition);
}

.roadfix-back-to-top:hover {
  background: var(--rf-color-accent);
  border-color: var(--rf-color-accent);
}

/* 16. Utility Icons
   -------------------------------------------------------------------------- */
.roadfix-icon-xs { width: 16px; height: 16px; }
.roadfix-icon-sm { width: 20px; height: 20px; }
.roadfix-icon-bullet { width: 14px; height: 14px; flex-shrink: 0; }

/* 17. Keyboard Accessibility for Dropdowns
   -------------------------------------------------------------------------- */
.roadfix-nav-list > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 18. Breadcrumbs
   -------------------------------------------------------------------------- */
.roadfix-breadcrumbs {
  padding: 12px 0 16px;
  font-size: 0.8125rem;
  color: var(--rf-color-text-muted);
}

.roadfix-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
}

.roadfix-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  font-size: 0.8125rem;
  margin: 0;
  padding: 0;
}

.roadfix-breadcrumbs li + li::before {
  content: '›';
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
}

.roadfix-breadcrumbs a {
  color: #CBD5E1;
  text-decoration: none;
  transition: var(--rf-transition);
}

.roadfix-breadcrumbs a:hover {
  color: var(--rf-color-accent);
}

.roadfix-breadcrumbs li[aria-current="page"] span,
.roadfix-breadcrumbs .current {
  color: #FFA84A;
  font-weight: 700;
}

/* On light background */
.roadfix-section-bg-light .roadfix-breadcrumbs a,
.roadfix-container > .roadfix-breadcrumbs a {
  color: var(--rf-color-text-muted);
}

.roadfix-section-bg-light .roadfix-breadcrumbs li + li::before,
.roadfix-container > .roadfix-breadcrumbs li + li::before {
  color: #94A3B8;
}

.roadfix-section-bg-light .roadfix-breadcrumbs li[aria-current="page"] span,
.roadfix-container > .roadfix-breadcrumbs li[aria-current="page"] span {
  color: var(--rf-color-primary);
}

/* Two-column and sidebar responsive layout classes */
.roadfix-main-with-sidebar {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 40px;
}

.roadfix-two-col-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

/* 19. Page Hero (Interior Pages)
   -------------------------------------------------------------------------- */
.roadfix-page-hero {
  background: linear-gradient(135deg, var(--rf-color-dark) 0%, var(--rf-color-primary) 100%);
  color: var(--rf-color-white);
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}

.roadfix-page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--rf-color-accent);
}

.roadfix-page-hero .roadfix-breadcrumbs {
  margin-bottom: 20px;
}

.roadfix-page-hero .roadfix-breadcrumbs,
.roadfix-page-hero .roadfix-breadcrumbs a,
.roadfix-page-hero .roadfix-breadcrumbs .separator {
  color: rgba(255, 255, 255, 0.6);
}

.roadfix-page-hero .roadfix-breadcrumbs a:hover {
  color: var(--rf-color-accent);
}

.roadfix-page-hero .roadfix-breadcrumbs .current {
  color: var(--rf-color-white);
}

.roadfix-page-hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--rf-color-white);
  margin-bottom: 16px;
}

.roadfix-page-hero-desc {
  font-size: 1.125rem;
  color: #CBD5E1;
  max-width: 700px;
  line-height: 1.6;
}

/* 20. Product Grid
   -------------------------------------------------------------------------- */
.roadfix-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.roadfix-product-card {
  background: var(--rf-color-white);
  border: 1px solid var(--rf-color-border);
  border-radius: var(--rf-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--rf-transition);
}

.roadfix-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--rf-shadow-lg);
  border-color: var(--rf-color-secondary);
}

.roadfix-product-card-media {
  position: relative;
  height: 220px;
  background: var(--rf-color-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.roadfix-product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.roadfix-product-card-body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.roadfix-product-card-title {
  font-size: 1.25rem;
  color: var(--rf-color-primary);
  margin-bottom: 10px;
}

.roadfix-product-card-excerpt {
  font-size: 0.9375rem;
  color: var(--rf-color-text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
}

.roadfix-product-card-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--rf-color-border);
}

.roadfix-product-card-specs li {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--rf-color-text);
}

.roadfix-product-card-specs li span:last-child {
  font-weight: 700;
  color: var(--rf-color-primary);
}

.roadfix-product-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--rf-color-border);
}

/* 21. Cookie Notice
   -------------------------------------------------------------------------- */
.roadfix-cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--rf-color-dark);
  color: #CBD5E1;
  padding: 20px 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.roadfix-cookie-notice.is-visible {
  transform: translateY(0);
}

.roadfix-cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.roadfix-cookie-text {
  font-size: 0.875rem;
  line-height: 1.5;
  flex: 1;
  min-width: 300px;
}

.roadfix-cookie-text a {
  color: var(--rf-color-accent);
  text-decoration: underline;
}

.roadfix-cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* 22. Taxonomy Filter Bar
   -------------------------------------------------------------------------- */
.roadfix-taxonomy-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.roadfix-taxonomy-filter {
  display: inline-block;
  padding: 8px 18px;
  font-family: var(--rf-font-main);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rf-color-text);
  background: var(--rf-color-white);
  border: 1px solid var(--rf-color-border);
  border-radius: 30px;
  text-decoration: none;
  transition: var(--rf-transition);
}

.roadfix-taxonomy-filter:hover,
.roadfix-taxonomy-filter.active {
  background: var(--rf-color-primary);
  color: var(--rf-color-white);
  border-color: var(--rf-color-primary);
}

/* 23. Alert Box
   -------------------------------------------------------------------------- */
.roadfix-alert {
  padding: 16px 20px;
  border-radius: var(--rf-radius-md);
  font-size: 0.9375rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.roadfix-alert-info {
  background: #E0F2FE;
  border: 1px solid #7DD3FC;
  color: #0C4A6E;
}

.roadfix-alert-success {
  background: #DCFCE7;
  border: 1px solid #86EFAC;
  color: #14532D;
}

.roadfix-alert-warning {
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  color: #78350F;
}

.roadfix-alert-error {
  background: #FEE2E2;
  border: 1px solid #FECACA;
  color: #7F1D1D;
}

/* 24. Print Styles
   -------------------------------------------------------------------------- */
@media print {
  .roadfix-header,
  .roadfix-footer,
  .roadfix-cookie-notice,
  .roadfix-mobile-drawer,
  .roadfix-drawer-overlay,
  .roadfix-back-to-top,
  .roadfix-hero-ctas,
  .roadfix-btn,
  nav,
  .no-print {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .roadfix-container {
    max-width: 100%;
    padding: 0;
  }

  .roadfix-section {
    padding: 20px 0;
    page-break-inside: avoid;
  }

  .roadfix-calc-results-card {
    background: #f5f5f5 !important;
    color: #000 !important;
    box-shadow: none !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .roadfix-res-label {
    color: #333 !important;
  }

  .roadfix-res-value {
    color: #000 !important;
  }
}

/* 25. Calculator Mode Switch Tabs
   -------------------------------------------------------------------------- */
.roadfix-calc-mode-switch {
  display: flex;
  background: var(--rf-color-bg-light);
  border: 1px solid var(--rf-color-border);
  border-radius: var(--rf-radius-md);
  padding: 4px;
  margin-bottom: 28px;
  gap: 4px;
}

.rf-mode-tab {
  flex: 1;
  padding: 10px 18px;
  font-family: var(--rf-font-main);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--rf-color-text-muted);
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--rf-transition);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.rf-mode-tab:hover {
  color: var(--rf-color-primary);
  background: rgba(255, 255, 255, 0.6);
}

.rf-mode-tab.active {
  background: var(--rf-color-white);
  color: var(--rf-color-primary);
  box-shadow: var(--rf-shadow-sm);
}

/* Calculator Error Banner */
.roadfix-calc-error-banner {
  display: none;
  background: #FEF3C7;
  border: 1px solid #F59E0B;
  border-left: 4px solid #F59E0B;
  border-radius: var(--rf-radius-sm);
  padding: 14px 18px;
  margin-top: 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #92400E;
  line-height: 1.5;
}

.roadfix-calc-error-banner.is-visible {
  display: block;
}

/* 26. Performance: Disable Animations Option (Req 10 & 14)
   -------------------------------------------------------------------------- */
body.roadfix-no-animations *,
body.roadfix-no-animations *::before,
body.roadfix-no-animations *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
}

/* 27. Quote Export Modal
   -------------------------------------------------------------------------- */
.roadfix-quote-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 30, 51, 0.8);
  backdrop-filter: blur(4px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.roadfix-quote-modal.is-active {
  display: flex !important;
}

.roadfix-problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(14, 53, 88, 0.1) !important;
}

.roadfix-solution-card:hover {
  transform: translateY(-4px);
  border-color: #3C8CC8 !important;
  box-shadow: 0 10px 24px rgba(14, 53, 88, 0.12) !important;
}

.roadfix-perf-card:hover {
  border-color: #3C8CC8 !important;
}

.roadfix-app-card-problem {
  background: #FEF2F2;
  border-left: 3px solid #EF4444;
  padding: 8px 10px;
  margin-bottom: 12px;
  border-radius: 0 4px 4px 0;
  font-size: 12px;
  color: #991B1B;
  line-height: 1.45;
}

.roadfix-app-card-dosage {
  background: #F0F7FD;
  border: 1px solid #D0E4F5;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 12px;
  color: #0E3558;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.4;
}
