@media (max-width: 1220px) {
  .container { width: min(1180px, calc(100% - 40px)); }
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .header-contact { margin-left: auto; }
  .hero-copy { width: 56vw; }
  .hero h1 { font-size: 67px; }
  .trust-panel { grid-template-columns: repeat(3, 1fr); }
  .trust-panel article:nth-child(3)::after { display: none; }
  .trust-panel article:nth-child(-n+3) { border-bottom: 1px solid rgba(255,255,255,.08); }
}

@media (max-width: 900px) {
  .header-contact { display: none; }
  .hero { min-height: 790px; }
  .hero-bg { background-position: 63% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(1,7,10,.98) 0%, rgba(1,7,10,.91) 47%, rgba(1,7,10,.36) 74%, rgba(1,7,10,.26) 100%), linear-gradient(180deg, rgba(1,5,7,.25), transparent 44%, rgba(1,7,9,.78)); }
  .hero-inner { min-height: 790px; padding-top: 122px; }
  .hero-copy { width: min(650px, 78vw); }
  .hero h1 { font-size: clamp(54px, 8vw, 70px); }
  .hero h2 { font-size: clamp(29px, 4.5vw, 40px); }
  .dispatcher-card { right: 10px; }
}

@media (max-width: 700px) {
  body { padding-bottom: 62px; }
  .container { width: min(100% - 28px, 620px); }
  .site-header { position: absolute; }
  .header-inner { min-height: 74px; }
  .brand { min-width: auto; }
  .brand-mark { width: 27px; }
  .brand-text strong, .brand-text span { font-size: 15px; }
  .hero { min-height: 850px; }
  .hero-bg { background-position: 65% center; }
  .hero-bg::after { content: ""; position: absolute; inset: 0; }
  .hero-overlay { background: linear-gradient(180deg, rgba(1,7,10,.93) 0%, rgba(1,7,10,.80) 48%, rgba(1,7,10,.55) 72%, rgba(1,7,10,.94) 100%), linear-gradient(90deg, rgba(1,7,10,.95), rgba(1,7,10,.35)); }
  .hero-inner { min-height: 850px; padding-top: 102px; padding-bottom: 28px; }
  .hero-copy { width: 100%; }
  .eyebrow { font-size: 11px; }
  .hero h1 { font-size: clamp(46px, 13vw, 62px); }
  .hero h2 { font-size: clamp(27px, 8.2vw, 36px); margin-top: 14px; }
  .factory-line { font-size: 17px; margin-bottom: 20px; }
  .hero-benefits { grid-template-columns: 1fr; gap: 4px; max-width: 360px; }
  .hero-benefit { min-height: 52px; }
  .hero-benefit small { font-size: 11px; }
  .hero-actions { flex-direction: column; gap: 10px; margin-top: 22px; }
  .hero-actions .btn { width: 100%; min-width: 0; }
  .dispatcher-card { position: absolute; left: 14px; right: 14px; bottom: 20px; min-width: 0; }
  .trust-strip { padding-bottom: 20px; }
  .trust-panel { grid-template-columns: 1fr; }
  .trust-panel article { min-height: 74px; padding: 15px 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .trust-panel article::after { display: none; }
  .trust-panel article:last-child { border-bottom: 0; }
  .mobile-actions { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; min-height: 62px; border-top: 1px solid var(--border); background: rgba(3,12,16,.96); backdrop-filter: blur(12px); }
  .mobile-actions a { display: grid; place-items: center; font-weight: 700; }
  .mobile-actions a:first-child { border-right: 1px solid var(--border); }
  .mobile-actions a:last-child { color: var(--green); }
  .stage-placeholder { min-height: 190px; text-align: center; padding: 20px; }
}


/* Typography refinement responsive */
@media (max-width: 1220px) {
  .hero h1 { font-size: clamp(64px, 7vw, 82px); }
  .hero h2 { font-size: clamp(36px, 4.2vw, 48px); }
}

@media (max-width: 900px) {
  .hero h1 { font-size: clamp(60px, 9vw, 76px); line-height: .88; }
  .hero h2 { font-size: clamp(34px, 5.5vw, 44px); line-height: .95; }
}

@media (max-width: 640px) {
  .eyebrow { font-size: 10px; letter-spacing: .17em; }
  .hero h1 { font-size: clamp(50px, 14.5vw, 66px); line-height: .87; letter-spacing: .008em; }
  .hero h2 { font-size: clamp(31px, 9vw, 40px); line-height: .94; margin: 17px 0 22px; }
  .factory-line { font-size: 17px; }
  .hero-benefit strong { font-size: 15px; }
}

/* Refined hero typography responsive */
@media (max-width: 1220px) {
  .hero h1 { font-size: clamp(55px, 6vw, 68px); line-height: .93; }
  .hero h2 { font-size: clamp(30px, 3.7vw, 38px); line-height: 1.04; }
}
@media (max-width: 900px) {
  .hero h1 { font-size: clamp(50px, 7.8vw, 62px); line-height: .94; }
  .hero h2 { font-size: clamp(28px, 4.8vw, 35px); line-height: 1.05; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(42px, 11.5vw, 52px); line-height: .95; letter-spacing: -.015em; }
  .hero h2 { font-size: clamp(25px, 7.2vw, 31px); line-height: 1.06; margin: 15px 0 21px; }
}

/* Hero headings: smaller and airier */
@media (max-width: 1220px) {
  .hero h1 { font-size: clamp(44px, 4.8vw, 54px); line-height: 1.02; }
  .hero h2 { font-size: clamp(24px, 3vw, 30px); line-height: 1.14; }
}
@media (max-width: 900px) {
  .hero h1 { font-size: clamp(40px, 6.25vw, 50px); line-height: 1.03; }
  .hero h2 { font-size: clamp(23px, 3.85vw, 28px); line-height: 1.15; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(34px, 9.2vw, 42px); line-height: 1.04; letter-spacing: -.01em; }
  .hero h2 { font-size: clamp(21px, 5.8vw, 25px); line-height: 1.16; margin: 17px 0 23px; }
}


/* Hero title spacing refinement */
@media (max-width: 1220px) {
  .hero h1 { font-size: clamp(41px, 4.45vw, 51px); line-height: 1.12; }
}
@media (max-width: 900px) {
  .hero h1 { font-size: clamp(38px, 5.8vw, 47px); line-height: 1.13; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(32px, 8.6vw, 39px); line-height: 1.14; }
}

/* Stage 2 responsive */
@media (max-width: 1100px) {
  .calculator-layout { grid-template-columns: 1fr; }
  .route-card { grid-template-columns: 1.15fr .85fr; grid-template-rows: none; }
  .route-info { border-top: 0; border-left: 1px solid rgba(255,255,255,.09); }
}
@media (max-width: 760px) {
  .calculator-section { padding: 70px 0 82px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2 { font-size: 38px; }
  .section-heading > p:last-child { font-size: 16px; }
  .fuel-calculator { padding: 21px; border-radius: 15px; }
  .calculator-topline { align-items: center; }
  .calculator-topline strong { font-size: 22px; }
  .field-grid { grid-template-columns: 1fr; gap: 17px; }
  .price-summary { grid-template-columns: 1fr; }
  .price-summary > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .price-summary .price-total { grid-column: auto; border-top: 0; border-bottom: 0; }
  .price-total strong { font-size: 27px; }
  .route-card { grid-template-columns: 1fr; }
  .route-map { min-height: 300px; }
  .route-info { border-left: 0; border-top: 1px solid rgba(255,255,255,.09); }
}
@media (max-width: 480px) {
  .calculator-section { padding-top: 58px; }
  .section-heading h2 { font-size: 33px; }
  .calculator-topline { display: grid; }
  .live-badge { width: max-content; }
  .price-summary > div { padding: 15px; }
  .route-info { padding: 22px 20px 24px; }
  .route-metrics { grid-template-columns: 1fr; }
}


/* Stage 2 final sizing and mobile repair */
.calculator-section > .container {
  width: min(1180px, calc(100% - 48px));
}
.calculator-section {
  padding: 72px 0 84px;
}
.calculator-section .section-heading {
  max-width: 650px;
  margin-bottom: 30px;
}
.calculator-section .section-heading h2 {
  font-size: clamp(34px, 3.15vw, 48px);
}
.calculator-section .section-heading > p:last-child {
  font-size: 16px;
  margin-top: 13px;
}
.calculator-layout {
  grid-template-columns: minmax(0, 1.03fr) minmax(350px, .97fr);
  gap: 20px;
}
.fuel-calculator { padding: 24px; }
.calculator-topline { padding-bottom: 18px; }
.calculator-topline strong { font-size: 22px; }
.field-grid { gap: 15px; margin-top: 20px; }
.input-shell, .tax-switch { height: 48px; }
.input-shell input { font-size: 15px; }
.price-summary { margin-top: 20px; }
.price-summary > div { padding: 14px; }
.price-summary strong { font-size: 17px; }
.price-total strong { font-size: 26px; }
.calculator-submit { min-height: 52px; font-size: 14px; }
.route-card { grid-template-rows: minmax(270px, 1fr) auto; }
.route-map { min-height: 285px; }
.route-info { padding: 21px 23px 23px; }
.route-info > div:first-child strong { font-size: 20px; }
.route-metrics { margin-top: 15px; }
.route-info ul { margin-top: 17px; gap: 8px; }

@media (max-width: 1100px) {
  .calculator-section > .container { width: min(820px, calc(100% - 40px)); }
  .calculator-layout { grid-template-columns: 1fr; }
  .route-card { grid-template-columns: 1fr; grid-template-rows: auto auto; }
  .route-info { border-left: 0; border-top: 1px solid rgba(255,255,255,.09); }
}

@media (max-width: 760px) {
  .calculator-section > .container { width: calc(100% - 28px); }
  .calculator-section { padding: 52px 0 90px; }
  .calculator-section .section-heading { margin-bottom: 23px; }
  .calculator-section .section-heading h2 { font-size: clamp(29px, 9vw, 38px); line-height: 1.08; }
  .calculator-section .section-heading > p:last-child { font-size: 15px; line-height: 1.48; }
  .fuel-calculator, .route-card { width: 100%; min-width: 0; border-radius: 14px; }
  .fuel-calculator { padding: 18px 16px; }
  .calculator-topline { display: grid; gap: 12px; padding-bottom: 16px; }
  .calculator-topline strong { font-size: 20px; }
  .live-badge { width: max-content; max-width: 100%; padding: 7px 10px; }
  .field-grid { grid-template-columns: 1fr; gap: 15px; margin-top: 18px; }
  .form-field { min-width: 0; }
  .form-field > span { font-size: 13px; }
  .input-shell, .tax-switch { width: 100%; height: 48px; }
  .input-shell input { min-width: 0; font-size: 16px; }
  .input-shell-location svg { width: 19px !important; height: 19px !important; flex-basis: 19px; margin-left: 13px; }
  .tax-switch button { font-size: 14px; }
  .price-summary { grid-template-columns: 1fr; margin-top: 18px; }
  .price-summary > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); padding: 13px 14px; }
  .price-summary .price-total { grid-column: auto; border-top: 0; border-bottom: 0; }
  .price-total strong { font-size: 24px; }
  .calculator-note { align-items: flex-start; font-size: 11px; }
  .calculator-note svg { width: 17px !important; height: 17px !important; flex-basis: 17px; }
  .calculator-submit { min-height: 52px; padding: 12px 14px; font-size: 13px; line-height: 1.25; white-space: normal; }
  .calculator-submit svg { width: 18px !important; height: 18px !important; flex: 0 0 18px; }
  .route-card { display: block; }
  .route-map { min-height: 230px; }
  .route-info { padding: 19px 17px 22px; }
  .route-info > div:first-child strong { font-size: 18px; overflow-wrap: anywhere; }
  .route-metrics { grid-template-columns: 1fr 1fr; gap: 9px; }
  .route-metrics div { padding: 11px 12px; }
  .route-metrics strong { font-size: 15px; }
  .route-info ul { font-size: 12px; line-height: 1.35; }
  .map-marker { font-size: 10px; }
  .map-marker i { width: 13px; height: 13px; border-width: 3px; }
  .map-label { font-size: 9px; }
}

@media (max-width: 420px) {
  .calculator-section > .container { width: calc(100% - 22px); }
  .calculator-section .section-heading h2 { font-size: 30px; }
  .fuel-calculator { padding: 16px 13px; }
  .calculator-label { font-size: 11px; }
  .calculator-topline strong { font-size: 19px; }
  .route-metrics { grid-template-columns: 1fr; }
  .route-map { min-height: 205px; }
}

/* Stage 3 responsive */
@media (max-width: 1040px) {
  .advantages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-panel { grid-template-columns: repeat(2, 1fr); }
  .stats-panel article:nth-child(2) { border-right: 0; }
  .stats-panel article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.08); }
}
@media (max-width: 700px) {
  .advantages-section { padding: 65px 0 82px; }
  .advantages-section > .container { width: calc(100% - 28px); }
  .advantages-heading { margin-bottom: 27px; }
  .advantages-heading h2 { font-size: clamp(32px, 9vw, 42px); line-height: 1.06; }
  .advantages-heading > p:last-child { font-size: 15px; line-height: 1.48; }
  .advantages-grid { grid-template-columns: 1fr; gap: 13px; }
  .advantage-card { min-height: 0; padding: 21px 18px; gap: 15px; border-radius: 14px; }
  .advantage-icon { width: 48px; height: 48px; flex-basis: 48px; border-radius: 12px; }
  .advantage-icon svg { width: 25px; height: 25px; }
  .advantage-card h3 { font-size: 19px; margin-bottom: 7px; }
  .advantage-card p { font-size: 13px; line-height: 1.5; }
  .stats-panel { margin-top: 17px; border-radius: 14px; }
  .stats-panel article { padding: 22px 14px; }
  .stats-panel strong { font-size: 37px; }
  .stats-panel small { font-size: 11px; }
}
@media (max-width: 420px) {
  .advantages-section > .container { width: calc(100% - 22px); }
  .advantage-card { align-items: flex-start; padding: 19px 15px; gap: 13px; }
  .advantage-icon { width: 43px; height: 43px; flex-basis: 43px; }
  .advantage-icon svg { width: 23px; height: 23px; }
  .stats-panel { grid-template-columns: 1fr 1fr; }
  .stats-panel article { padding: 19px 8px; }
  .stats-panel strong { font-size: 33px; }
}


@media (max-width:768px){
.advantages-heading p:last-child{max-width:100%;font-size:14px;margin-top:8px}
.advantages-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.advantage-card{padding:14px;min-height:auto}
.advantage-card p{display:none}
.advantage-card h3{font-size:15px;line-height:1.25;margin:8px 0 0}
.advantage-icon{width:42px;height:42px}
.advantages-section{padding-top:48px;padding-bottom:36px}
.stats-panel{margin-top:20px;padding:16px}
}


/* Compact advantages block mobile */
@media (max-width:768px){
.features-grid{
display:grid!important;
grid-template-columns:1fr 1fr!important;
gap:12px!important;
}
.feature-card{
min-height:0!important;
padding:16px!important;
}
.feature-card p{
display:none!important;
}
.feature-card h3{
font-size:18px!important;
line-height:1.2!important;
margin:0!important;
}
.feature-icon{
width:52px!important;
height:52px!important;
margin-bottom:10px!important;
}
.stats-grid{
grid-template-columns:repeat(4,1fr)!important;
gap:0!important;
}
.stat-card{
padding:14px 8px!important;
}
.stat-card strong{
font-size:28px!important;
}
}
\n\n/* Stage 3.4 compact advantages responsive */
@media (max-width:1100px){
  .advantages-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .advantage-card{min-height:112px;}
}
@media (max-width:768px){
  .advantages-section{padding:44px 0 48px!important;}
  .advantages-heading{margin-bottom:20px!important;}
  .advantages-heading .eyebrow{margin-bottom:7px!important;}
  .advantages-heading h2{font-size:34px!important;margin-bottom:10px!important;}
  .advantages-heading > p:last-child{font-size:13px!important;line-height:1.4!important;}
  .advantages-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
  .advantage-card{display:block!important;min-height:118px!important;padding:14px 12px!important;border-radius:12px!important;}
  .advantage-icon{width:40px!important;height:40px!important;flex-basis:40px!important;margin-bottom:9px!important;}
  .advantage-icon svg{width:21px!important;height:21px!important;}
  .advantage-card h3{margin:0!important;font-size:15px!important;line-height:1.18!important;}
  .advantage-card p{display:none!important;}
  .stats-panel{grid-template-columns:repeat(2,1fr)!important;margin-top:12px!important;padding:0!important;}
  .stats-panel article{padding:14px 8px!important;}
  .stats-panel strong{font-size:30px!important;}
  .stats-panel small{font-size:10px!important;margin-top:4px!important;}
}
@media (max-width:420px){
  .advantages-section{padding:38px 0 44px!important;}
  .advantages-heading h2{font-size:30px!important;}
  .advantages-grid{gap:9px!important;}
  .advantage-card{min-height:112px!important;padding:12px 10px!important;}
  .advantage-card h3{font-size:14px!important;}
  .stats-panel article{padding:12px 6px!important;}
  .stats-panel strong{font-size:27px!important;}
}

/* Mobile hero — approved concept 1A. Desktop styles remain unchanged. */
@media (max-width: 700px) {
  .site-header {
    position: absolute;
    z-index: 20;
    background: linear-gradient(180deg, rgba(1,7,10,.94), rgba(1,7,10,.30));
    border-bottom-color: rgba(255,255,255,.06);
  }

  .header-inner {
    min-height: 78px;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    background: rgba(4,14,18,.76);
    backdrop-filter: blur(10px);
  }

  .hero {
    min-height: 1180px;
    background: #02090c;
  }

  .hero-bg {
    background-size: auto 760px;
    background-repeat: no-repeat;
    background-position: 56% 215px;
    filter: saturate(1.03) contrast(1.07) brightness(.86);
    transform: none;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg,
        rgba(1,7,10,.94) 0,
        rgba(1,7,10,.58) 16%,
        rgba(1,7,10,.20) 40%,
        rgba(1,7,10,.28) 57%,
        rgba(1,7,10,.96) 72%,
        #02090c 100%),
      linear-gradient(90deg, rgba(1,7,10,.76), rgba(1,7,10,.08) 58%, rgba(1,7,10,.22));
  }

  .hero-inner {
    min-height: 1180px;
    padding-top: 105px;
    padding-bottom: 34px;
  }

  .hero-copy {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .hero .eyebrow {
    margin-bottom: 16px;
    font-size: 10px;
    line-height: 1.25;
    letter-spacing: .20em;
    color: #d2dde0;
  }

  .hero h1 {
    max-width: 335px;
    font-size: clamp(43px, 12.2vw, 53px);
    line-height: .98;
    letter-spacing: -.018em;
    text-wrap: balance;
    text-shadow: 0 4px 22px rgba(0,0,0,.42);
  }

  .hero h2 {
    max-width: 335px;
    margin: 18px 0 0;
    font-size: clamp(27px, 7.8vw, 34px);
    line-height: 1.04;
    letter-spacing: -.01em;
    text-shadow: 0 3px 18px rgba(0,0,0,.52);
  }

  .factory-line {
    order: 4;
    margin: 515px 0 15px;
    min-height: 56px;
    padding: 13px 15px;
    border: 1px solid rgba(113,206,18,.27);
    border-radius: 14px;
    background: rgba(4,15,18,.80);
    backdrop-filter: blur(10px);
    font-size: 16px;
    box-shadow: 0 14px 32px rgba(0,0,0,.22);
  }

  .check-circle {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
  }

  .hero-benefits {
    order: 5;
    grid-template-columns: 1fr;
    gap: 4px;
    max-width: none;
  }

  .hero-benefit {
    min-height: 63px;
    gap: 13px;
    padding: 7px 2px;
  }

  .hero-benefit .icon-wrap {
    width: 42px;
    flex-basis: 42px;
  }

  .hero-benefit .icon-wrap svg {
    height: 40px;
  }

  .hero-benefit strong {
    font-size: 16px;
  }

  .hero-benefit small {
    margin-top: 4px;
    font-size: 12px;
  }

  .hero-actions {
    order: 6;
    margin-top: 18px;
    gap: 10px;
  }

  .hero-actions .btn {
    min-height: 66px;
    padding: 12px 17px;
    border-radius: 10px;
  }

  .hero-actions .btn strong {
    font-size: 16px;
  }

  .hero-actions .btn small {
    font-size: 11px;
  }

  .trust-strip {
    padding-top: 0;
  }
}

@media (max-width: 420px) {
  .hero {
    min-height: 1155px;
  }

  .hero-inner {
    min-height: 1155px;
    padding-top: 101px;
  }

  .hero-bg {
    background-size: auto 725px;
    background-position: 57% 220px;
  }

  .hero h1 {
    max-width: 315px;
    font-size: clamp(40px, 11.7vw, 48px);
  }

  .hero h2 {
    max-width: 320px;
    font-size: clamp(25px, 7.25vw, 31px);
  }

  .factory-line {
    margin-top: 485px;
  }
}

/* Mobile hero 1A — compact viewport composition for iPhone 15 (393×852).
   Desktop and tablet layouts are intentionally untouched. */
@media (max-width: 700px) {
  .hero {
    min-height: calc(100vh - 62px) !important;
    min-height: calc(100svh - 62px) !important;
    overflow: hidden;
  }

  .hero-inner {
    min-height: calc(100vh - 62px) !important;
    min-height: calc(100svh - 62px) !important;
    padding-top: 88px !important;
    padding-bottom: 14px !important;
  }

  .hero-bg {
    background-size: auto 520px !important;
    background-position: 57% 220px !important;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg,
        rgba(1,7,10,.96) 0,
        rgba(1,7,10,.80) 23%,
        rgba(1,7,10,.18) 43%,
        rgba(1,7,10,.32) 62%,
        rgba(1,7,10,.90) 80%,
        #02090c 100%),
      linear-gradient(90deg, rgba(1,7,10,.70), rgba(1,7,10,.06) 63%, rgba(1,7,10,.20)) !important;
  }

  .hero .eyebrow {
    margin-bottom: 10px !important;
    font-size: 9px !important;
  }

  .hero h1 {
    max-width: 305px !important;
    font-size: clamp(35px, 10.2vw, 40px) !important;
    line-height: .98 !important;
  }

  .hero h2 {
    max-width: 325px !important;
    margin-top: 12px !important;
    font-size: clamp(21px, 6.2vw, 25px) !important;
    line-height: 1.04 !important;
  }

  .factory-line {
    margin: 190px 0 7px !important;
    min-height: 42px !important;
    padding: 8px 11px !important;
    border-radius: 11px !important;
    font-size: 14px !important;
  }

  .check-circle {
    width: 23px !important;
    height: 23px !important;
    flex-basis: 23px !important;
  }

  .hero-benefits {
    gap: 0 !important;
  }

  .hero-benefit {
    min-height: 43px !important;
    gap: 9px !important;
    padding: 3px 1px !important;
  }

  .hero-benefit .icon-wrap {
    width: 34px !important;
    flex-basis: 34px !important;
  }

  .hero-benefit .icon-wrap svg {
    width: 31px !important;
    height: 31px !important;
  }

  .hero-benefit strong {
    font-size: 14px !important;
    line-height: 1.1 !important;
  }

  .hero-benefit small {
    margin-top: 2px !important;
    font-size: 10px !important;
    line-height: 1.15 !important;
  }

  .hero-actions {
    margin-top: 8px !important;
    gap: 7px !important;
  }

  .hero-actions .btn {
    min-height: 52px !important;
    padding: 8px 13px !important;
    border-radius: 9px !important;
  }

  .hero-actions .btn svg {
    width: 19px !important;
    height: 19px !important;
  }

  .hero-actions .btn strong {
    font-size: 14px !important;
    line-height: 1.1 !important;
  }

  .hero-actions .btn small {
    margin-top: 2px !important;
    font-size: 9px !important;
    line-height: 1.1 !important;
  }
}

@media (max-width: 420px) {
  .hero,
  .hero-inner {
    min-height: calc(100vh - 62px) !important;
    min-height: calc(100svh - 62px) !important;
  }

  .hero-inner {
    padding-top: 86px !important;
  }

  .hero-bg {
    background-size: auto 505px !important;
    background-position: 57% 215px !important;
  }

  .factory-line {
    margin-top: 178px !important;
  }
}

/* Slightly shorter mobile screens: preserve both CTA buttons above the fixed contact bar. */
@media (max-width: 700px) and (max-height: 780px) {
  .hero-inner { padding-top: 80px !important; }
  .hero .eyebrow { margin-bottom: 7px !important; }
  .hero h1 { font-size: 33px !important; }
  .hero h2 { margin-top: 8px !important; font-size: 20px !important; }
  .hero-bg { background-size: auto 455px !important; background-position: 57% 195px !important; }
  .factory-line { margin-top: 150px !important; }
  .hero-benefit { min-height: 39px !important; }
  .hero-actions .btn { min-height: 48px !important; }
}

/* Mobile hero final polish: only the tanker crop and contact controls change.
   Typography, spacing and desktop composition remain untouched. */
@media (max-width: 700px) {
  .hero-bg {
    background-position: 57% 128px !important;
  }

  .mobile-menu .js-open-lead {
    color: #fff !important;
    background: linear-gradient(180deg, #68c818, #3f9608) !important;
    border-color: transparent !important;
    box-shadow: 0 12px 28px rgba(77,166,9,.28) !important;
  }
}

@media (max-width: 420px) {
  .hero-bg {
    background-position: 57% 124px !important;
  }
}

@media (max-width: 700px) and (max-height: 780px) {
  .hero-bg {
    background-position: 57% 112px !important;
  }
}

/* Mobile tanker position adjustment — 2026-08-02.
   Only the background image is moved upward; all text, typography,
   spacing, controls and desktop styles remain unchanged. */
@media (max-width: 700px) {
  .hero-bg {
    background-position: 57% 62px !important;
  }
}

@media (max-width: 420px) {
  .hero-bg {
    background-position: 57% 58px !important;
  }
}

@media (max-width: 700px) and (max-height: 780px) {
  .hero-bg {
    background-position: 57% 48px !important;
  }
}


/* Stage 5 — tighter spacing between approved sections + MAX in mobile menu.
   Internal layouts of hero, calculator and advantages remain unchanged. */

/* Desktop and tablet section rhythm */
.trust-strip {
  padding-bottom: 14px !important;
}
.calculator-section {
  padding-top: 34px !important;
  padding-bottom: 36px !important;
}
.advantages-section {
  padding-top: 32px !important;
}

.mobile-menu-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  margin-top: 2px;
}
.mobile-menu-actions .btn {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 14px;
  white-space: nowrap;
}
.mobile-menu .btn-max {
  color: #fff;
  border-color: rgba(111, 144, 255, .38);
  background: linear-gradient(135deg, #1769ff 0%, #5258df 52%, #8a4de8 100%);
  box-shadow: 0 12px 28px rgba(57, 91, 232, .30);
}
.mobile-menu .btn-max:hover {
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 16px 34px rgba(67, 87, 230, .42);
}
.max-mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 7px;
  color: #fff;
  background: rgba(255,255,255,.18);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

@media (max-width: 700px) {
  .trust-strip {
    padding-bottom: 8px !important;
  }
  .calculator-section {
    padding-top: 26px !important;
    padding-bottom: 30px !important;
  }
  .advantages-section {
    padding-top: 26px !important;
  }
}

@media (max-width: 390px) {
  .mobile-menu-actions {
    grid-template-columns: 1fr;
  }
}

/* Stage 4 — How we work responsive */
@media (max-width: 980px) {
  .workflow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow-grid::before { display: none; }
  .workflow-card { min-height: 205px; }
}

@media (max-width: 700px) {
  .workflow-section { padding: 43px 0 30px; }
  .workflow-section > .container { width: calc(100% - 28px); }
  .workflow-heading { margin-bottom: 21px; }
  .workflow-heading .eyebrow { margin-bottom: 7px; }
  .workflow-heading h2 { margin-bottom: 10px; font-size: 34px; }
  .workflow-heading > p:last-child { font-size: 13px; line-height: 1.42; }
  .workflow-grid { grid-template-columns: 1fr; gap: 11px; }
  .workflow-card {
    min-height: 0;
    padding: 17px 17px 18px;
    border-radius: 14px;
  }
  .workflow-topline { margin-bottom: 15px; }
  .workflow-number { width: 55px; height: 55px; font-size: 24px; }
  .workflow-icon { width: 39px; height: 39px; border-radius: 11px; }
  .workflow-icon svg { width: 22px; height: 22px; }
  .workflow-card h3 { margin-bottom: 6px; font-size: 18px; }
  .workflow-card p { font-size: 12.5px; line-height: 1.42; }
}

@media (max-width: 390px) {
  .workflow-section > .container { width: calc(100% - 22px); }
  .workflow-heading h2 { font-size: 30px; }
}


/* Stage 5 — Documents responsive */
@media (max-width: 980px) {
  .documents-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .documents-copy { max-width: 720px; }
}

@media (max-width: 700px) {
  .documents-section { padding: 28px 0 50px; }
  .documents-section > .container { width: calc(100% - 28px); }
  .documents-layout { gap: 27px; }
  .documents-copy h2 { margin-bottom: 12px; font-size: 34px; }
  .documents-lead { font-size: 13px; line-height: 1.48; }
  .documents-assurances { gap: 9px; margin: 21px 0 23px; }
  .documents-assurances span { font-size: 12px; }
  .documents-assurances b { width: 22px; height: 22px; flex-basis: 22px; }
  .documents-request { width: 100%; min-width: 0; }
  .documents-panel { padding: 15px; border-radius: 16px; }
  .documents-panel-head { margin-bottom: 13px; }
  .documents-panel-head strong { font-size: 16px; }
  .documents-live { padding: 6px 8px; font-size: 9px; }
  .document-card {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
    padding: 13px;
    border-radius: 13px;
  }
  .document-icon { width: 42px; height: 49px; font-size: 10px; }
  .document-info h3 { font-size: 15px; }
  .document-info p { font-size: 10.5px; }
  .document-state { display: none; }
  .documents-note { font-size: 9.5px; }
}

@media (max-width: 390px) {
  .documents-section > .container { width: calc(100% - 22px); }
  .documents-copy h2 { font-size: 30px; }
}


/* Stage 6 — FAQ responsive */
@media (max-width: 980px) {
  .faq-layout { grid-template-columns: 1fr; gap: 30px; }
  .faq-heading { position: static; max-width: 720px; }
}

@media (max-width: 700px) {
  .faq-section { padding: 38px 0 56px; }
  .faq-section > .container { width: calc(100% - 28px); }
  .faq-layout { gap: 24px; }
  .faq-heading h2 { margin-bottom: 12px; font-size: 34px; line-height: 1.02; }
  .faq-heading > p:last-of-type { font-size: 13px; line-height: 1.5; }
  .faq-contact { width: 100%; margin-top: 21px; }
  .faq-list { gap: 8px; }
  .faq-item { border-radius: 13px; }
  .faq-item summary { min-height: 62px; padding: 14px; gap: 14px; font-size: 15px; }
  .faq-item summary span { width: 30px; height: 30px; flex-basis: 30px; }
  .faq-answer p { padding: 0 58px 0 14px; font-size: 12px; line-height: 1.55; }
  .faq-item[open] .faq-answer p { padding-bottom: 16px; }
}

@media (max-width: 390px) {
  .faq-section > .container { width: calc(100% - 22px); }
  .faq-heading h2 { font-size: 30px; }
}


/* Stage 7 — Final CTA, contacts and footer responsive */
@media (max-width: 980px) {
  .final-cta-card { grid-template-columns: 1fr; min-height: 0; }
  .final-cta-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .final-cta-main { grid-column: 1 / -1; }
  .contacts-grid { grid-template-columns: 1fr; gap: 31px; }
  .contacts-heading { max-width: 720px; }
  .footer-top { grid-template-columns: 210px 1fr; }
  .footer-nav { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 700px) {
  .final-cta { padding: 32px 0 27px; }
  .final-cta > .container,
  .contacts-section > .container,
  .site-footer > .container { width: calc(100% - 28px); }
  .final-cta-card { gap: 26px; padding: 28px 18px 20px; border-radius: 19px; }
  .final-cta-glow { right: -220px; width: 390px; height: 390px; }
  .final-cta-copy h2 { margin-bottom: 13px; font-size: 39px; line-height: .98; }
  .final-cta-copy > p:last-of-type { font-size: 12.5px; line-height: 1.5; }
  .final-cta-points { display: grid; gap: 8px; margin-top: 20px; }
  .final-cta-points span { font-size: 11px; }
  .final-cta-actions { grid-template-columns: 1fr; gap: 8px; }
  .final-cta-main { grid-column: auto; min-height: 62px; }
  .final-cta-link { min-height: 59px; grid-template-columns: 40px minmax(0,1fr); padding: 9px 12px; }
  .final-cta-link-icon { width: 40px; height: 40px; border-radius: 10px; }

  .contacts-section { padding: 48px 0 54px; }
  .contacts-grid { gap: 24px; }
  .contacts-heading h2 { margin-bottom: 12px; font-size: 34px; line-height: 1.02; }
  .contacts-heading > p:last-child { font-size: 12.5px; line-height: 1.5; }
  .contacts-cards { grid-template-columns: 1fr; gap: 8px; }
  .contact-card { min-height: 90px; padding: 14px; border-radius: 14px; grid-template-columns: 44px minmax(0,1fr); gap: 12px; }
  .contact-card-icon { width: 44px; height: 44px; border-radius: 12px; }
  .contact-card strong { font-size: 16px; }

  .footer-top { grid-template-columns: 1fr; gap: 20px; padding: 29px 0 24px; }
  .footer-top > p { font-size: 10.5px; }
  .footer-nav { grid-column: auto; justify-content: flex-start; gap: 10px 18px; }
  .footer-nav a { font-size: 10.5px; }
  .footer-bottom { display: grid; gap: 8px; padding: 16px 0 88px; font-size: 9px; }
}

@media (max-width: 390px) {
  .final-cta > .container,
  .contacts-section > .container,
  .site-footer > .container { width: calc(100% - 22px); }
  .final-cta-copy h2 { font-size: 35px; }
  .contacts-heading h2 { font-size: 30px; }
}


/* Final polish responsive rules */
@media (max-width: 1380px) {
  .header-inner { gap: 22px; }
  .header-contact { gap: 12px; margin-left: 10px; }
  .header-max-button { padding-right: 11px; }
}
@media (max-width: 1220px) {
  .header-max-button { display: none; }
}
@media (max-width: 700px) {
  main > section:not(.hero)::after {
    width: calc(100% - 34px);
    opacity: .72;
    box-shadow: 0 0 10px rgba(114,206,18,.075), 0 0 20px rgba(21,244,151,.025);
  }
}


/* Compact fixed mobile contact bar — consistent on 320px+ screens */
@media (max-width: 700px) {
  body { padding-bottom: 76px; }

  .mobile-actions {
    position: fixed !important;
    z-index: 80;
    left: 50% !important;
    right: auto !important;
    bottom: max(10px, env(safe-area-inset-bottom)) !important;
    transform: translateX(-50%);
    display: flex !important;
    align-items: center;
    justify-content: center;
    grid-template-columns: none !important;
    width: auto !important;
    min-height: 0 !important;
    padding: 6px !important;
    gap: 8px;
    border: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 15px;
    background: rgba(3,12,16,.93) !important;
    box-shadow: 0 14px 34px rgba(0,0,0,.38);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .mobile-actions a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
    box-sizing: border-box;
  }

  .mobile-actions a:first-child {
    width: 132px;
    color: #fff;
    background: linear-gradient(180deg, #319a46, #267b38);
    box-shadow: 0 7px 18px rgba(31,125,55,.18);
  }

  .mobile-actions a:last-child {
    width: 108px;
    color: #fff !important;
    border: 1px solid rgba(126,87,255,.64) !important;
    background: linear-gradient(180deg, rgba(22,24,35,.98), rgba(8,10,16,.98));
    box-shadow: 0 7px 18px rgba(75,64,190,.13);
  }

  .mobile-actions svg {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
  }

  .mobile-max-action .max-logo {
    width: 27px !important;
    height: 27px !important;
    flex: 0 0 27px !important;
    filter: drop-shadow(0 3px 7px rgba(70,93,245,.20));
  }
}

@media (max-width: 340px) {
  .mobile-actions { gap: 6px; padding: 5px !important; }
  .mobile-actions a:first-child { width: 124px; }
  .mobile-actions a:last-child { width: 102px; }
  .mobile-actions a { padding: 0 11px !important; font-size: 13px; }
}


/* Responsive fuel-price LED board. */
@media (min-width: 701px) and (max-width: 1180px) {
  .hero-live-price {
    top: 205px;
    left: auto;
    right: 4vw;
    width: 310px;
  }
  .fuel-price-board { min-height: 96px; padding: 15px 18px; gap: 15px; }
  .fuel-price-label { font-size: 43px; }
  .fuel-price-digits { font-size: 49px; }
}

@media (max-width: 700px) {
  .hero-live-price {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    order: 3;
    width: min(100%, 330px);
    margin: 275px auto 0;
  }
  .fuel-price-board {
    min-height: 82px;
    padding: 12px 16px;
    gap: 14px;
    border-width: 4px;
    border-radius: 15px;
  }
  .fuel-price-board::before { border-radius: 9px; }
  .fuel-price-label { font-size: 37px; }
  .fuel-price-digits { font-size: clamp(39px, 12.2vw, 48px); letter-spacing: .02em; }
  .hero-live-price small {
    margin-top: 5px;
    padding-right: 7px;
    font-size: 8px;
  }
  .factory-line {
    margin-top: 13px !important;
  }
  .hero,
  .hero-inner {
    min-height: 1060px !important;
  }
}

@media (max-width: 420px) {
  .hero-live-price {
    width: min(100%, 315px);
    margin-top: 270px;
  }
  .fuel-price-board { min-height: 78px; padding: 11px 14px; gap: 12px; }
  .fuel-price-label { font-size: 34px; }
  .fuel-price-digits { font-size: clamp(37px, 12vw, 45px); }
}

@media (max-width: 700px) and (max-height: 780px) {
  .hero-live-price { margin-top: 245px; }
  .hero,
  .hero-inner { min-height: 1000px !important; }
}


/* 2026-08-04 — responsive messenger placement */
@media (max-width: 1180px) {
  .header-messenger-button { display: none; }
}
@media (max-width: 700px) {
  .mobile-actions { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mobile-actions > a { min-width: 0; padding-left: 5px; padding-right: 5px; }
  .mobile-actions span:last-child { font-size: 10px; }
}
@media (max-width: 390px) {
  .mobile-actions span:last-child { font-size: 9px; }
  .mobile-messenger-action { gap: 4px; }
}

@media (max-width: 700px) {
  .mobile-actions {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    width: calc(100% - 20px) !important;
    max-width: 430px !important;
  }
  .mobile-actions a,
  .mobile-actions a:first-child,
  .mobile-actions a:last-child {
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 4px !important;
    font-size: 10px !important;
  }
}

/* 2026-08-04 — WhatsApp and Telegram as full buttons in the burger menu */
@media (max-width: 700px) {
  .mobile-menu-actions .btn-whatsapp,
  .mobile-menu-actions .btn-telegram {
    min-height: 48px;
    padding: 10px 12px;
    border-radius: 9px;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
    box-shadow: 0 12px 28px rgba(0,0,0,.24);
  }

  .mobile-menu-actions .btn-whatsapp {
    background: linear-gradient(135deg, #34df72 0%, #19bd59 55%, #0e9c47 100%) !important;
    box-shadow: 0 12px 28px rgba(25,189,89,.28) !important;
  }

  .mobile-menu-actions .btn-telegram {
    background: linear-gradient(135deg, #39bdf1 0%, #229ed9 55%, #167eb5 100%) !important;
    box-shadow: 0 12px 28px rgba(34,158,217,.28) !important;
  }

  .mobile-menu-actions .btn-whatsapp:hover,
  .mobile-menu-actions .btn-telegram:hover {
    transform: translateY(-1px);
    border-color: rgba(255,255,255,.32) !important;
  }

  .mobile-menu-actions .btn-whatsapp .messenger-logo,
  .mobile-menu-actions .btn-telegram .messenger-logo {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
  }
}
