/* =========================================================
   Rubber Corner — Responsive overrides
   ========================================================= */

/* ---------- Small phones ---------- */
@media (max-width:420px){
  .hero-content{padding-block:104px 56px}
  .hero-ctas{flex-direction:column;align-items:stretch}
  .hero-ctas .btn{width:100%}
  .cta-banner-actions{flex-direction:column;align-items:stretch}
  .cta-banner-actions .btn{width:100%}
  /* Keep the header from crowding on very small phones; social icons remain reachable via the menu drawer */
  .nav-actions .icon-btn-social{display:none}
}

/* ---------- Tablet and up ---------- */
@media (min-width:640px){
  .pillars{grid-template-columns:repeat(4,1fr)}
  .cat-grid{grid-template-columns:repeat(3,1fr)}
  .sector-grid{grid-template-columns:repeat(2,1fr)}
  .footer-cols{grid-template-columns:repeat(3,1fr)}
}

/* ---------- Protection & vibration strip ---------- */
@media (min-width:860px){
  .protection-grid{grid-template-columns:repeat(3,1fr)}
}

/* ---------- Desktop nav kicks in ----------
   (1200px: below that the 8 links + action buttons overflow the header) */
@media (min-width:1200px){
  .menu-toggle{display:none}
  .mobile-nav{display:none}
  .nav-links{display:block}
  .nav-cta{display:inline-flex}
}

/* ---------- Desktop layouts ---------- */
@media (min-width:980px){
  .about-grid{grid-template-columns:1.1fr .9fr;align-items:center}
  .two-col{grid-template-columns:1fr 1fr;align-items:center}
  .contact-grid{grid-template-columns:.85fr 1.15fr}
  .footer-top{grid-template-columns:1.2fr 2fr}
  .sector-grid{grid-template-columns:repeat(4,1fr)}
  .cat-grid{grid-template-columns:repeat(5,1fr)}
  .process-list{grid-template-columns:repeat(4,1fr);gap:0}
  .process-step{grid-template-columns:1fr;border-block-start:0;border-inline-start:1px solid var(--gray-200);padding-inline-start:24px;padding-block:0}
  .process-step:last-child{border-block-end:0}
  .process-num{margin-block-end:18px}
}

/* Narrow desktops: tighten the nav so every link stays on one line.
   LinkedIn / X stay available in the footer and the menu drawer. */
@media (min-width:1200px){
  .nav{gap:14px}
  .nav-links a{padding-inline:9px}
  .lang-en .nav-links a{padding-inline:6px}   /* English labels are longer */
  .nav-actions{gap:8px}
}
@media (min-width:1200px) and (max-width:1439px){
  .nav-actions .icon-btn-social{display:none}
}

@media (min-width:1180px){
  .hero h1{max-width:16ch}
}

/* ---------- Mobile-only nav drawer sizing ---------- */
@media (max-width:1199px){
  .nav{height:72px}
  .mobile-nav{inset-block-start:72px}
}

/* ---------- Print ---------- */
@media print{
  .site-header,.wa-float,.mobile-nav,.hero-media video{display:none}
}
