/* Loading-scene hero: retain detail on the truck and shade the copy separately. */
.hero-photo img { object-position:100% 50%; filter:none; }
.hero::before {
  background:linear-gradient(0deg,rgba(9,15,21,.55),transparent 28%),
    linear-gradient(90deg,rgba(9,15,21,.88) 0%,rgba(9,15,21,.74) 40%,rgba(9,15,21,.26) 70%,rgba(9,15,21,.12) 100%);
}
@media(max-width:760px) {
  .hero-photo img { object-position:100% 50%; }
  .hero::before { background:linear-gradient(90deg,rgba(9,15,21,.87),rgba(9,15,21,.65)); }
}

/* Shared presentation rules for the existing sections and their actions. */
:root {
  --heading-font:Manrope,"Segoe UI",Arial,sans-serif;
  --action-red:#d92e29;
  --action-red-hover:#bb2420;
  --control-radius:10px;
  --card-radius:16px;
}

.tariff-area h3,#production .capacity h3,.material-card h3,.object-list p {
  font-family:var(--heading-font);
  font-weight:600;
  line-height:1.25;
}

/* Red requests an estimate; blue remains for other controls. */
.button,.hero .button,#business .business-offer .button,
#prices .material-actions .button,#request #quote-form .submit,
.tariff-area .button.light,.cookie-buttons .button {
  min-height:48px;
  border-radius:var(--control-radius);
  font-size:14px;
  line-height:1.4;
}
.hero-cta .button,#business .business-offer .button,
#prices .material-actions .button,#request #quote-form .submit,
.tariff-area .button.light {
  background:var(--action-red);
  border-color:var(--action-red);
  color:#fff;
}
.hero-cta .button:hover,#business .business-offer .button:hover,
#prices .material-actions .button:hover,#request #quote-form .submit:hover,
.tariff-area .button.light:hover {
  background:var(--action-red-hover);
  border-color:var(--action-red-hover);
}
.hero-scenarios-links a[data-entry="known"] {
  font-size:16px;
  font-weight:700;
  text-decoration-thickness:2px;
}

/* Use the content's natural height instead of stretching a tall desktop window. */
@media(min-width:1001px) {
  .hero { min-height:0; justify-content:flex-start; }
}

#prices .material-card,#prices .material-card.is-empty,
.equipment-card,#business .business-terms>div,#contacts .contact-card {
  border-radius:var(--card-radius);
}

/* Commercial terms must remain as readable as the surrounding body copy. */
#prices .price-notes,#prices .price-notes .fine,
#prices .catalog-terms,#prices .material-card .material-total small,
.equipment-description,.equipment-body details p,.equipment-body details .fine,
.equipment-body summary,.equipment-body .text-link,
.tariff-values dt,.tariff-area p,.tariff-area p.fine,
#production .capacity>.fine,#production .quality summary,#production .quality p,
#business .business-terms p {
  font-size:14px;
  line-height:1.55;
}
/* The older capacity rule has an important font-size declaration. */
#production .capacity>.fine { font-size:14px !important; }
.tariff-values dd small { font-size:13px; }
.equipment-body summary,#production .quality summary { min-height:44px; }
.equipment-body details p.fine { color:var(--muted); }
#request #quote-form .extra-fields { margin:18px 0; }
#request #quote-form .extra-fields summary { min-height:44px; font-size:14px; }
#request #quote-form label small { font-size:12px; }
#request #quote-form .consent,#request #quote-form .request-review>small {
  font-size:13px;
  line-height:1.5;
}

@media(max-width:760px) {
  /* Four legible columns, including a full-sized selection target. */
  #prices .product-table { width:100%; min-width:0; table-layout:fixed; }
  #prices [role=tabpanel] { overflow:visible; }
  #prices .product-table th,#prices .product-table td,
  #prices .product-table thead th { padding:8px 4px; }
  #prices .product-table th:nth-child(1) { width:22%; }
  #prices .product-table th:nth-child(2) { width:22%; }
  #prices .product-table th:nth-child(3) { width:24%; }
  #prices .product-table th:nth-child(4) { width:32%; }
  #prices .product-table thead th { font-size:13px; }
  #prices .product-table tbody th { font-size:15px; }
  #prices .product-table td { font-size:14px; }
  #prices .product-table .price { font-size:16px; white-space:nowrap; }
  #prices .product-table .pick {
    width:100%; min-height:44px; padding:8px 2px;
    font-size:13px; white-space:normal; line-height:1.35;
  }
  #prices .product-table td:last-child { text-align:center; }
  #prices .product-table thead th:first-child { border-top-left-radius:12px; }
  #prices .product-table thead th:last-child { border-top-right-radius:12px; }
  .equipment-photo { height:160px; aspect-ratio:auto; object-fit:cover; }
  .equipment-photo--truck { object-position:50% 75%; }
  .equipment-body { padding:20px; }
  .equipment-description { min-height:0; margin-top:10px; }
  .equipment-body details { margin-top:16px; }
  #production .capacity { min-height:0; padding:22px; }
  #production .capacity h3 { margin:8px 0 14px; font-size:24px; }
  #production .capacity-value { font-size:40px; line-height:1.2; }
  #production .capacity>p:not(.capacity-value) { font-size:14px; line-height:1.55; }
  #production .process img { height:130px; }
  /* Keep the three hero links on one line at the usual phone widths. */
  .hero-scenarios-links { gap:0 12px; }
  .hero-scenarios-links a[data-entry="known"] { font-size:14px; }
}

/* Keep both contact numbers legible without making the header or cards feel heavier. */
.header-contacts { flex-direction:row; align-items:center; gap:10px; }
.header-phone-list { display:flex; flex-direction:column; align-items:flex-end; gap:1px; }
.header-phone-list .header-phone { display:block; min-height:0; line-height:1.15; text-align:right; }
.header-phone-list .header-phone--secondary { font-size:18px; font-weight:700; }
.header-phone-list .header-hours { color:#f3a3a0; font-size:11px; line-height:1.2; text-align:right; }

.phone-stack { display:flex; flex-direction:column; align-items:flex-start; gap:4px; }
.phone-stack .phone-link { margin-top:0; }
.phone-stack .phone-link--secondary { font-size:25px; font-weight:600; letter-spacing:-.04em; }
#request .request-intro .phone-stack { margin-top:auto; padding-top:28px; }
#request .request-intro .phone-stack .phone-link { margin-top:0; padding-top:0; }
#contacts .contact-primary .phone-stack { margin-top:auto; }
#contacts .contact-primary .phone-stack .phone-link { margin-top:0; }
#contacts .contact-primary .phone-stack .phone-link--secondary { font-size:28px; font-weight:650; letter-spacing:-.04em; }

/* The fleet is easier to scan when each vehicle group has its own row. */
.equipment-card .fleet-list { display:grid; gap:6px; margin:16px 0 18px; padding:0; list-style:none; color:var(--navy); font-size:16px; font-weight:650; line-height:1.4; }
.equipment-card .fleet-list li { display:flex; align-items:center; min-height:23px; }
.equipment-card .fleet-list li::before { content:""; width:6px; height:6px; flex:0 0 6px; margin-right:9px; border-radius:50%; background:var(--action-red); }

/* The discount note is visible at the point where a visitor begins choosing a material. */
#prices .catalog-discount { display:inline-block; margin-left:12px; color:var(--navy); font-weight:650; white-space:nowrap; }

@media(max-width:760px) {
  .header-contacts { flex-direction:column; gap:0; }
  .header-phone-list { align-items:center; }
  .header-phone-list .header-phone,.header-phone-list .header-hours { text-align:center; }
  .header-phone-list .header-phone--secondary { font-size:15px; }
  .header-phone-list .header-hours { font-size:9px; }
  #request .request-intro .phone-stack { margin-top:24px; padding-top:0; }
  #request .request-intro .phone-stack .phone-link { font-size:24px; }
  #request .request-intro .phone-stack .phone-link--secondary { font-size:24px; }
  #contacts .contact-primary .phone-stack { margin-top:28px; }
  #contacts .contact-primary .phone-stack .phone-link--secondary { font-size:25px; }
  .equipment-card .fleet-list { gap:5px; margin:14px 0 16px; font-size:15px; }
  #prices .catalog-discount { margin:4px 0 0; }
}

@media(max-width:560px) {
  .header-phone-list .header-phone--secondary { font-size:13px; }
}

/* On desktop the commercial-request fields share a compact row, keeping the action visible in all three modes. */
@media(min-width:901px) {
  #request.request { padding:30px 0; }
  #request #business-fields {
    display:grid;
    grid-template-columns:minmax(190px,.46fr) minmax(0,1fr);
    column-gap:14px;
    align-items:start;
  }
  #request #business-fields>label[for="company"] { grid-column:1; grid-row:1; }
  #request #business-fields>#company { grid-column:1; grid-row:2; margin-bottom:0; }
  #request #business-fields>#request-comment-field { grid-column:2; grid-row:1 / span 2; margin-top:0; }
  #request #business-fields textarea { min-height:76px; }
  #request #quote-form .extra-fields { margin:7px 0; }
  #request #quote-form .consent { margin:8px 0; }
}

/* Footer: contacts are kept close to the legal navigation, without adding a heavy new block. */
.site-footer { padding:0; }
.site-footer .footer-top { display:flex; align-items:center; justify-content:space-between; gap:32px; padding:28px 0; border-bottom:1px solid rgba(197,215,229,.3); color:#fff; }
.site-footer .footer-summary { display:flex; flex-direction:column; gap:3px; }
.site-footer .footer-summary b { font-size:16px; }
.site-footer .footer-summary span { color:#c7d4de; font-size:13px; }
.site-footer .footer-contacts { display:flex; align-items:center; gap:24px; }
.site-footer .footer-contacts>div { display:flex; flex-direction:column; align-items:flex-end; }
.site-footer .footer-phone { color:#fff; font-size:16px; font-weight:650; text-decoration:none; }
.site-footer .footer-max { display:inline-flex; align-items:center; gap:8px; min-height:44px; color:#fff; font-size:13px; font-weight:650; text-decoration:none; }
.site-footer .footer-max img { width:26px; height:26px; border-radius:7px; object-fit:cover; }
.site-footer .footer-bottom { min-height:64px; }
@media(max-width:760px) {
  .site-footer .footer-top { align-items:flex-start; flex-direction:column; gap:18px; padding:24px 0; }
  .site-footer .footer-contacts { width:100%; align-items:flex-start; justify-content:space-between; gap:14px; }
  .site-footer .footer-contacts>div { align-items:flex-start; }
  .site-footer .footer-bottom { display:block; padding:18px 0 28px; }
  .site-footer .footer-bottom>span { display:block; margin-bottom:10px; color:#c7d4de; font-size:12px; }
}
