/* =================================================================
   Vitapac (Thailand) — stylesheet (v3)
   v3 changes: fixed a flexbox bug that broke the mobile navbar layout,
   removed the contact form (contact details only, in a card panel),
   and added real visual texture/depth: a floating product photo in
   the hero, a subtle dot-grid texture on light sections, a small
   gradient accent mark at each section seam, a pill-style tab control,
   and gradient/elevated buttons and cards.
   Signature device stays the "datasheet" card (corner tick-marks +
   monospace data), used only for product specification blocks.
   ================================================================= */

:root{
  /* brand blue — sampled directly from the uploaded company logo */
  --blue-700:#0E5FC9;
  --blue-600:#157EFB;
  --blue-500:#4C97FD;
  --blue-300:#9CC7FF;
  --blue-50:#EAF3FF;

  /* navy family — same hue as the brand blue, just much darker, used
     for the bold colour blocks (navbar / features band / footer) */
  --navy-900:#002552;
  --navy-800:#003370;
  --navy-700:#034696;

  --ink-900:#16202B;
  --ink-700:#2B3A4A;
  --gray-600:#5B6472;
  --slate-300:#C9D6E8;
  --gray-300:#C7CED7;
  --gray-200:#E3E7EC;
  --gray-100:#F4F6F8;
  --white:#FFFFFF;

  /* type */
  --font-base: "IBM Plex Sans Thai", "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  /* layout */
  --navbar-h: 76px;
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(22,32,43,.06), 0 1px 1px rgba(22,32,43,.04);
  --shadow-md: 0 12px 28px rgba(0,15,40,.16);
  --shadow-lg: 0 24px 48px rgba(0,15,40,.30);
  --ease: 220ms cubic-bezier(.4,0,.2,1);
  --content-max: 1080px;
}

/* ---------------- reset ---------------- */
*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0;}
img{max-width:100%;display:block;}
ul{margin:0;padding:0;list-style:none;}
button{font-family:inherit;}
a{color:inherit;text-decoration:none;}
h1,h2,h3,h4,p,dl,dd,figure{margin:0;}

body{
  font-family:var(--font-base);
  color:var(--ink-900);
  background:var(--white);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  padding-top:var(--navbar-h);
}

:focus-visible{
  outline:2px solid var(--blue-500);
  outline-offset:2px;
  border-radius:4px;
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
    scroll-behavior:auto !important;
  }
}

/* ---------------- utilities ---------------- */
.visually-hidden{
  position:absolute !important;
  width:1px;height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
}

.skip-link{
  position:absolute;
  left:-9999px;
  top:0;
  background:var(--blue-600);
  color:var(--white);
  padding:.75rem 1.25rem;
  z-index:300;
  border-radius:0 0 8px 0;
  font-weight:600;
}
.skip-link:focus{left:0;}

#home,#about,#products,#contact,#silica-gel,#oxygen-absorber{
  scroll-margin-top:var(--navbar-h);
}

.eyebrow{
  font-family:var(--font-mono);
  font-size:.78rem;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--blue-600);
  margin-bottom:.6rem;
}
.eyebrow--on-dark{color:var(--blue-300);}

.js-ready .fade-in{opacity:0;transform:translateY(16px);transition:opacity .6s var(--ease), transform .6s var(--ease);}
.fade-in.is-visible{opacity:1;transform:none;}
@media (prefers-reduced-motion: reduce){
  .js-ready .fade-in{opacity:1;transform:none;}
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  padding:.85rem 1.7rem;
  border-radius:8px;
  font-weight:600;
  font-size:.95rem;
  border:1.5px solid transparent;
  cursor:pointer;
  transition:background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.btn--primary{
  background:linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color:var(--white);
  box-shadow:0 10px 24px rgba(14,95,201,.35);
}
.btn--primary:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(14,95,201,.45);}
.btn--outline{border-color:var(--gray-300);color:var(--ink-900);background:transparent;}
.btn--outline:hover{border-color:var(--blue-600);color:var(--blue-600);}
.btn--outline-on-dark{border-color:rgba(255,255,255,.55);color:var(--white);background:rgba(255,255,255,.08);}
.btn--outline-on-dark:hover{border-color:var(--white);background:rgba(255,255,255,.16);transform:translateY(-2px);}

/* =================================================================
   NAVBAR (top bar, all breakpoints)
   ================================================================= */
.navbar{
  position:fixed;
  top:0;left:0;right:0;
  height:var(--navbar-h);
  background:var(--navy-900);
  z-index:200;
  box-shadow:0 1px 0 rgba(255,255,255,.08);
}
.navbar__inner{
  max-width:1280px;
  margin:0 auto;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.5rem;
  padding:0 1.75rem;
}

.navbar__brand{
  display:flex;
  align-items:center;
  gap:.65rem;
  flex-shrink:0;
}
.navbar__brand-text{display:flex;flex-direction:column;line-height:1.2;}
.navbar__brand-name{font-weight:700;font-size:1rem;color:var(--white);letter-spacing:.02em;}
.navbar__brand-legal{font-size:.72rem;color:var(--slate-300);}

.navbar__nav ul{display:flex;align-items:center;gap:.25rem;}

.nav-link{
  display:inline-block;
  padding:.6rem .9rem;
  border-radius:6px;
  font-size:.92rem;
  font-weight:500;
  color:var(--slate-300);
  transition:background var(--ease), color var(--ease);
}
.nav-link:hover{background:rgba(255,255,255,.08);color:var(--white);}
.nav-link.is-active{background:rgba(255,255,255,.1);color:var(--white);font-weight:600;}

.nav-item--dropdown{position:relative;}
.nav-item__row{display:flex;align-items:center;}
.dropdown-toggle{
  background:transparent;
  border:none;
  color:var(--slate-300);
  width:36px;height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  border-radius:6px;
  transition:transform var(--ease), background var(--ease), color var(--ease);
}
.dropdown-toggle:hover{background:rgba(255,255,255,.08);color:var(--white);}
.dropdown-toggle[aria-expanded="true"]{transform:rotate(180deg);}

.dropdown-menu{
  position:absolute;
  top:calc(100% + 8px);
  left:0;
  min-width:200px;
  background:var(--white);
  border-radius:10px;
  box-shadow:var(--shadow-lg);
  padding:.5rem;
  opacity:0;
  visibility:hidden;
  transform:translateY(-6px);
  transition:opacity var(--ease), transform var(--ease), visibility var(--ease);
}
.nav-item--dropdown:hover .dropdown-menu,
.nav-item--dropdown:focus-within .dropdown-menu,
.nav-item--dropdown.is-open .dropdown-menu{
  opacity:1;visibility:visible;transform:none;
}
.dropdown-link{
  display:block;
  padding:.75rem;
  border-radius:6px;
  font-size:.9rem;
  font-weight:500;
  color:var(--ink-700);
}
.dropdown-menu li + li{border-top:1px solid var(--gray-200);margin-top:2px;padding-top:2px;}
.dropdown-link:hover{background:var(--blue-50);color:var(--blue-700);}
.dropdown-link.is-active{background:var(--blue-50);color:var(--blue-700);font-weight:600;}

.navbar__lang{display:flex;gap:.4rem;flex-shrink:0;}
.lang-btn{
  padding:.45rem .75rem;
  border:1.5px solid rgba(255,255,255,.25);
  background:transparent;
  border-radius:6px;
  font-family:var(--font-mono);
  font-weight:600;
  font-size:.78rem;
  letter-spacing:.04em;
  color:var(--slate-300);
  cursor:pointer;
  transition:background var(--ease), color var(--ease), border-color var(--ease);
}
.lang-btn:hover{border-color:var(--white);color:var(--white);}
.lang-btn.is-active{background:var(--blue-600);border-color:var(--blue-600);color:var(--white);}

/* hamburger (mobile only) */
.hamburger{
  display:none;
  width:40px;height:40px;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  background:transparent;
  border:none;
  cursor:pointer;
  flex-shrink:0;
}
.hamburger span{
  display:block;
  width:20px;height:2px;
  background:var(--white);
  border-radius:2px;
  transition:transform var(--ease), opacity var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.hamburger[aria-expanded="true"] span:nth-child(2){opacity:0;}
.hamburger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

/* ---- mobile slide-down panel ---- */
.mobile-panel{
  position:fixed;
  top:var(--navbar-h);
  left:0;right:0;
  max-height:calc(100vh - var(--navbar-h));
  overflow-y:auto;
  background:var(--navy-900);
  border-top:1px solid rgba(255,255,255,.1);
  z-index:199;
  padding:1rem 1.25rem 1.5rem;
}
.mobile-panel ul{display:flex;flex-direction:column;gap:.15rem;}
.mobile-panel .nav-link{padding:.85rem 1rem;font-size:1rem;}
.mobile-panel__group-row{display:flex;align-items:center;}
.mobile-panel__group-row .nav-link{flex:1;}
.mobile-panel__submenu{padding-left:1rem;margin-top:.15rem;}
.mobile-panel__submenu[hidden]{display:none;}
.mobile-panel__submenu li + li{border-top:1px solid rgba(255,255,255,.1);margin-top:2px;padding-top:2px;}
.nav-link--sub{
  display:block;
  padding:.75rem 1rem;
  border-radius:6px;
  font-size:.92rem;
  color:var(--slate-300);
}
.nav-link--sub:hover{background:rgba(255,255,255,.08);color:var(--white);}
.nav-link--sub.is-active{background:rgba(255,255,255,.1);color:var(--white);font-weight:600;}
.mobile-panel__lang{display:flex;gap:.5rem;margin-top:1.25rem;padding-top:1.25rem;border-top:1px solid rgba(255,255,255,.12);}
.mobile-panel__lang .lang-btn{flex:1;padding:.65rem;}

.mobile-panel-overlay{
  position:fixed;
  inset:var(--navbar-h) 0 0 0;
  background:rgba(0,10,25,.55);
  z-index:198;
}

/* =================================================================
   SECTION SCAFFOLDING
   ================================================================= */
.section{
  position:relative;
  padding:5.5rem 0;
  background-image:radial-gradient(var(--gray-200) 1px, transparent 1.6px);
  background-size:26px 26px;
}
.section__inner{
  max-width:var(--content-max);
  margin:0 auto;
  padding:0 2.5rem;
}
.features-band{position:relative;}

/* small gradient accent mark at every section seam */
.section::before,
.features-band::before{
  content:"";
  position:absolute;
  top:0;left:50%;
  transform:translateX(-50%);
  width:56px;height:4px;
  border-radius:0 0 4px 4px;
  background:linear-gradient(90deg, var(--blue-300), var(--blue-600));
}
.section + .section,
.features-band + .section{border-top:1px solid var(--gray-200);}
.section + .features-band{border-top:1px solid rgba(255,255,255,.14);}

.section__head{max-width:760px;margin-bottom:2.75rem;position:relative;}
.section__head h2{font-size:clamp(1.6rem,2.6vw,2.1rem);font-weight:700;letter-spacing:-.01em;}
.section__head h3{font-size:1.4rem;font-weight:700;}
.section__intro{margin-top:.75rem;color:var(--gray-600);font-size:1.05rem;}

/* =================================================================
   HERO
   ================================================================= */
.hero{
  position:relative;
  min-height:580px;
  display:flex;
  align-items:center;
  overflow:hidden;
  color:var(--white);
}
.hero__bg{position:absolute;inset:0;z-index:0;margin:0;}
.hero__bg img{width:100%;height:100%;object-fit:cover;}
.hero__scrim{
  position:absolute;inset:0;z-index:1;
  background:linear-gradient(115deg, rgba(0,21,46,.93) 0%, rgba(0,30,64,.85) 42%, rgba(0,37,82,.55) 70%, rgba(0,37,82,.32) 100%);
}
.hero__inner{
  position:relative;z-index:2;
  max-width:1180px;
  width:100%;
  margin:0 auto;
  padding:6.5rem 2.5rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:3rem;
}
.hero__content{max-width:600px;}
.hero__logo{margin-bottom:1.75rem;border-radius:50%;}
.hero__headline{
  font-size:clamp(1.9rem,3.6vw,2.7rem);
  font-weight:700;
  line-height:1.25;
  letter-spacing:-.01em;
  margin-bottom:1.1rem;
  text-shadow:0 2px 16px rgba(0,10,25,.3);
}
.hero__subcopy{color:var(--slate-300);font-size:1.1rem;margin-bottom:2.25rem;}
.hero__cta{display:flex;gap:1rem;flex-wrap:wrap;}

.hero__photo{
  position:relative;
  flex-shrink:0;
  width:280px;
  height:280px;
  display:none;
}
.hero__photo-glow{
  position:absolute;
  inset:-40px;
  background:radial-gradient(circle, rgba(76,151,253,.45), transparent 70%);
  filter:blur(6px);
}
.hero__photo-card{
  position:relative;
  width:100%;height:100%;
  border-radius:18px;
  overflow:hidden;
  background:var(--white);
  border:6px solid var(--white);
  box-shadow:var(--shadow-lg);
  transform:rotate(-3deg);
}
.hero__photo-card img{width:100%;height:100%;object-fit:cover;}

/* =================================================================
   FEATURES (dark band)
   ================================================================= */
.features-band{
  background:var(--navy-900);
  padding:5.5rem 0;
  background-image:radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.6px);
  background-size:26px 26px;
}
.features-band__inner{
  max-width:var(--content-max);
  margin:0 auto;
  padding:0 2.5rem;
}
.features-band .section__head h3{color:var(--white);}
.features__grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.25rem;
}
.feature-card{
  padding:1.75rem;
  border:1px solid rgba(255,255,255,.14);
  border-left:3px solid var(--blue-500);
  background:rgba(255,255,255,.045);
  border-radius:var(--radius);
  transition:border-color var(--ease), background var(--ease), transform var(--ease), box-shadow var(--ease);
}
.feature-card:hover{border-color:var(--blue-500);background:rgba(255,255,255,.08);transform:translateY(-3px);box-shadow:0 16px 32px rgba(0,10,25,.35);}
.feature-card__icon{
  display:inline-flex;
  width:46px;height:46px;
  align-items:center;
  justify-content:center;
  color:var(--white);
  background:linear-gradient(135deg, var(--blue-500), var(--blue-700));
  border-radius:10px;
  margin-bottom:1rem;
  box-shadow:0 6px 16px rgba(0,10,25,.4);
}
.feature-card__icon svg{width:22px;height:22px;}
.feature-card h4{font-size:1.02rem;font-weight:700;margin-bottom:.45rem;color:var(--white);}
.feature-card p{color:var(--slate-300);font-size:.92rem;}

/* =================================================================
   PRODUCTS / TABS (pill segmented control)
   ================================================================= */
.tabs{
  display:inline-flex;
  gap:.25rem;
  background:var(--gray-100);
  border:1px solid var(--gray-200);
  border-radius:12px;
  padding:.3rem;
  margin-bottom:2.75rem;
}
.tab-btn{
  background:transparent;
  border:none;
  border-radius:9px;
  padding:.7rem 1.4rem;
  font-size:.95rem;
  font-weight:600;
  color:var(--gray-600);
  cursor:pointer;
  transition:color var(--ease), background var(--ease), box-shadow var(--ease);
}
.tab-btn:hover{color:var(--blue-700);}
.tab-btn.is-active{
  color:var(--white);
  background:linear-gradient(135deg, var(--blue-500), var(--blue-700));
  box-shadow:0 8px 18px rgba(14,95,201,.35);
}

.product-panel[hidden]{display:none;}

.product-gallery{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:1.25rem;
  margin-bottom:2.75rem;
}
.product-gallery--single{grid-template-columns:repeat(2,1fr);align-items:center;}

.product-gallery figure{
  border:1px solid var(--gray-200);
  border-radius:var(--radius);
  overflow:hidden;
  background:var(--gray-100);
  transition:box-shadow var(--ease), transform var(--ease);
}
.product-gallery figure:hover{box-shadow:var(--shadow-md);transform:translateY(-3px);}
.product-gallery img{width:100%;aspect-ratio:1/1;object-fit:contain;}
.product-gallery figcaption{
  padding:.85rem 1rem;
  font-size:.85rem;
  color:var(--gray-600);
  border-top:1px solid var(--gray-200);
  display:flex;
  flex-direction:column;
  gap:.3rem;
}
.product-gallery .is-placeholder figcaption{background:var(--white);}
.placeholder-tag{
  display:inline-block;
  font-family:var(--font-mono);
  font-size:.7rem;
  letter-spacing:.02em;
  color:var(--blue-700);
  background:var(--blue-50);
  border:1px solid var(--blue-500);
  border-radius:4px;
  padding:.2rem .5rem;
  width:fit-content;
}
.placeholder-tag--inline{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.35);
  color:var(--blue-300);
}

.product-copy{margin-bottom:2.5rem;max-width:760px;}
.product-copy h4{font-size:1.15rem;font-weight:700;margin-bottom:.65rem;margin-top:1.75rem;}
.product-copy h4:first-child{margin-top:0;}
.product-copy p{color:var(--ink-700);}
.product-copy--beside{margin-bottom:0;}

.benefit-list{
  list-style:none;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:.75rem;
  margin-top:1.25rem;
}
.benefit-list li{
  color:var(--ink-700);
  font-size:.95rem;
}

/* ---- datasheet card (signature element) ---- */
.datasheet{
  border:1px solid var(--gray-200);
  border-radius:var(--radius);
  padding:2rem 2.25rem;
  background:var(--white);
  box-shadow:var(--shadow-sm);
}
.datasheet h4{font-size:1rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;margin-bottom:1.5rem;}
.tick-frame{position:relative;}
.tick{position:absolute;width:16px;height:16px;}
.tick--tl{top:-1px;left:-1px;border-top:2px solid var(--blue-600);border-left:2px solid var(--blue-600);}
.tick--tr{top:-1px;right:-1px;border-top:2px solid var(--blue-600);border-right:2px solid var(--blue-600);}
.tick--bl{bottom:-1px;left:-1px;border-bottom:2px solid var(--blue-600);border-left:2px solid var(--blue-600);}
.tick--br{bottom:-1px;right:-1px;border-bottom:2px solid var(--blue-600);border-right:2px solid var(--blue-600);}

.datasheet__grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.5rem 2rem;
}
.datasheet__item dt{
  font-size:.74rem;
  font-weight:600;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--gray-600);
  margin-bottom:.35rem;
}
.datasheet__item dd{
  font-family:var(--font-mono);
  font-size:.98rem;
  font-weight:500;
  color:var(--ink-900);
}
.datasheet__note{
  display:block;
  font-family:var(--font-base);
  font-weight:400;
  font-size:.78rem;
  color:var(--gray-600);
  margin-top:.15rem;
}
p.datasheet__note{margin-bottom:1.25rem;font-size:.92rem;}

/* =================================================================
   CONTACT (icon card panel — no form)
   ================================================================= */
.contact-panel{
  background:var(--navy-900);
  border-radius:20px;
  padding:3rem 2.5rem;
  background-image:radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.6px);
  background-size:26px 26px;
}
.contact-panel__grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1.5rem;
}
.contact-card{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.14);
  border-radius:14px;
  padding:1.75rem 1.5rem;
  display:flex;
  flex-direction:column;
  gap:.3rem;
  transition:border-color var(--ease), background var(--ease), transform var(--ease), box-shadow var(--ease);
}
.contact-card--link:hover{
  border-color:var(--blue-500);
  background:rgba(255,255,255,.09);
  transform:translateY(-4px);
  box-shadow:0 16px 32px rgba(0,10,25,.35);
}
.contact-card__icon{
  width:46px;height:46px;
  border-radius:10px;
  background:rgba(255,255,255,.1);
  color:var(--blue-300);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:.5rem;
}
.contact-card__icon svg{width:22px;height:22px;}
.contact-card__label{
  font-family:var(--font-mono);
  font-size:.72rem;
  font-weight:600;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--blue-300);
}
.contact-card__value{font-size:.92rem;font-weight:600;color:var(--white);overflow-wrap:break-word;}
.contact-card__value-row{display:flex;align-items:center;gap:.5rem;}
.contact-card__note{font-size:.82rem;color:var(--slate-300);}

.copy-btn{
  background:rgba(255,255,255,.1);
  border:none;
  width:28px;height:28px;
  border-radius:6px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--slate-300);
  cursor:pointer;
  flex-shrink:0;
  transition:background var(--ease), color var(--ease);
}
.copy-btn:hover{background:rgba(255,255,255,.2);color:var(--white);}
.copy-feedback{font-size:.78rem;color:var(--blue-300);}
.copy-feedback[hidden]{display:none;}

/* =================================================================
   FOOTER (dark)
   ================================================================= */
.footer--dark{
  background:var(--navy-900);
  color:var(--slate-300);
}
.footer__top{
  max-width:var(--content-max);
  margin:0 auto;
  padding:3.5rem 2.5rem 0;
  display:flex;
  justify-content:space-between;
  gap:2rem;
  flex-wrap:wrap;
}
.footer__brand{display:flex;gap:.75rem;align-items:flex-start;max-width:320px;}
.footer__name{font-weight:700;font-size:1rem;color:var(--white);}
.footer__tagline{color:var(--slate-300);font-size:.85rem;margin-top:.2rem;}
.footer__heading{
  font-family:var(--font-mono);
  font-size:.72rem;
  font-weight:600;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--blue-300);
  margin-bottom:.85rem;
}
.footer__links{display:flex;flex-direction:column;gap:.6rem;}
.footer__links a{font-size:.92rem;color:var(--slate-300);}
.footer__links a:hover{color:var(--white);}
.footer__lang-buttons{display:flex;gap:.5rem;}
.footer__lang .lang-btn{padding:.45rem .9rem;}

.footer__legal{
  max-width:var(--content-max);
  margin:2.5rem auto 0;
  padding:1.5rem 2.5rem 2.5rem;
  border-top:1px solid rgba(255,255,255,.14);
  display:flex;
  flex-direction:column;
  gap:.6rem;
  font-size:.78rem;
  color:var(--slate-300);
}
.footer__pdpa{color:var(--slate-300);max-width:680px;}

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (min-width:880px){
  .hero__photo{display:block;}
}

@media (max-width:980px){
  .navbar__nav,.navbar__lang{display:none;}
  .hamburger{display:flex;}
  .features__grid{grid-template-columns:repeat(2,1fr);}
  .product-gallery--single{grid-template-columns:1fr;}
  .datasheet__grid{grid-template-columns:repeat(2,1fr);}
  .contact-panel__grid{grid-template-columns:repeat(2,1fr);}
}

@media (max-width:640px){
  :root{--navbar-h:64px;}
  .navbar__inner{padding:0 1rem;}
  .navbar__brand-legal{display:none;}
  .section{padding:3.5rem 0;}
  .section__inner{padding:0 1.5rem;}
  .hero{min-height:480px;}
  .hero__inner{padding:5rem 1.5rem;}
  .features-band{padding:3.5rem 0;}
  .features-band__inner{padding:0 1.5rem;}
  .features__grid{grid-template-columns:1fr;}
  .product-gallery{grid-template-columns:1fr;}
  .datasheet__grid{grid-template-columns:1fr;}
  .datasheet{padding:1.5rem 1.5rem;}
  .benefit-list{grid-template-columns:1fr;}
  .hero__cta{flex-direction:column;align-items:stretch;}
  .footer__top{flex-direction:column;padding:3rem 1.5rem 0;}
  .footer__legal{padding:1.5rem 1.5rem 2rem;}
  .contact-panel{padding:2rem 1.5rem;}
  .contact-panel__grid{grid-template-columns:1fr;}
  .tabs{width:100%;}
  .tab-btn{flex:1;}
}
