/* ==========================================================================
   BOROX – Built for Science
   Static site stylesheet (HTML + CSS + jQuery only)
   ========================================================================== */

:root {
  --blue: #0a4fa3;
  --blue-dark: #063573;
  --blue-light: #1e6fd9;
  --ink: #10161f;
  --grey: #5c6675;
  --line: #e3e8ef;
  --soft: #f2f6fc;
  --white: #ffffff;
  --radius: 6px;
  --maxw: 1180px;
  --shadow: 0 6px 24px rgba(10, 79, 163, 0.08);
  --font: "Inter", "Segoe UI", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ------------------------------ Buttons ---------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn i { transition: transform 0.25s ease; }
.btn:hover i { transform: translateX(4px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: var(--soft); }
.btn-sm { padding: 10px 18px; font-size: 11px; }

.arrow::after {
  content: "";
  width: 16px; height: 8px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'><path d='M17 0l-1.4 1.4L19.2 5H0v2h19.2l-3.6 3.6L17 12l6-6z'/></svg>") no-repeat center / contain;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'><path d='M17 0l-1.4 1.4L19.2 5H0v2h19.2l-3.6 3.6L17 12l6-6z'/></svg>") no-repeat center / contain;
  transition: transform 0.25s ease;
}
.btn:hover .arrow::after, .btn.arrow:hover::after { transform: translateX(4px); }

/* ------------------------------ Header ----------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  transition: box-shadow 0.3s ease, padding 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 2px 18px rgba(16, 22, 31, 0.09); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 78px;
  max-width: 1320px;
  transition: height 0.3s ease;
}
.site-header.scrolled .header-inner { height: 66px; }

.logo { display: flex; flex-direction: column; line-height: 1; }
.logo .mark {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--blue);
}
.logo .mark sup { font-size: 11px; top: -12px; }
.logo .tag {
  font-size: 8.5px;
  letter-spacing: 0.42em;
  color: var(--grey);
  margin-top: 4px;
  font-weight: 600;
}

.main-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--blue);
  transition: width 0.25s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--blue); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

/* Mega menu */
.mega { position: relative; }
.mega-toggle { display: inline-flex; align-items: center; gap: 5px; }
.mega-toggle .chevron { font-size: 10px; transition: transform 0.25s ease; }
.mega.open .mega-toggle .chevron { transform: rotate(180deg); }
.mega-menu {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 920px; max-width: calc(100vw - 48px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(10, 79, 163, 0.14);
  padding: 28px; opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 101;
}
.mega-menu::before {
  content: ""; position: absolute; top: -9px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 16px; height: 16px; background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line);
}
.mega:hover .mega-menu,
.mega.open .mega-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.mega-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.main-nav .mega-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 22px 20px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  min-width: 0; white-space: normal;
}
.main-nav .mega-card:hover {
  border-color: var(--blue-light); box-shadow: var(--shadow); transform: translateY(-3px);
}
.mega-card strong {
  font-size: 14px; font-weight: 700; color: var(--ink); letter-spacing: 0.01em;
  line-height: 1.35; text-transform: none; white-space: normal;
}
.mega-card span {
  font-size: 12.5px; line-height: 1.55; color: var(--grey); text-transform: none;
  letter-spacing: 0; display: block; word-wrap: break-word; overflow-wrap: break-word; white-space: normal;
}
.main-nav .mega-card::after { display: none; }
.mega-grid.three { grid-template-columns: repeat(3, 1fr); }
.main-nav .mega-card.prod { padding: 14px 14px 18px; gap: 10px; }
.mega-card .mega-thumb {
  display: block; overflow: hidden; border-radius: 10px; background: var(--soft);
  aspect-ratio: 16 / 10;
}
.mega-card .mega-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.35s ease;
}
.main-nav .mega-card.prod:hover .mega-thumb img { transform: scale(1.06); }
.mega-footer {
  margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; justify-content: center;
}
/* Nav underline efektinin mega menü butonuna sızmasını engelle */
.main-nav .mega-menu .btn { color: #fff; }
.main-nav .mega-menu .btn::after { display: none; }
.main-nav .mega-menu .btn.arrow::after {
  display: inline-block; content: "→"; position: static; width: auto; height: auto;
  background: none; margin-left: 8px; transition: transform 0.25s ease;
}
.main-nav .mega-menu .btn.arrow:hover::after { transform: translateX(4px); }
.main-nav .mega-menu .btn-primary:hover { background: var(--blue-dark); color: #fff; }
.mega-footer .btn {
  padding: 13px 26px; font-size: 12px; border-radius: 999px;
  box-shadow: 0 8px 20px rgba(10, 79, 163, 0.22);
}

.header-actions { display: flex; align-items: center; gap: 16px; }

.lang { position: relative; }
.lang-btn {
  background: none; border: 0; cursor: pointer;
  font: inherit; font-size: 12px; font-weight: 600;
  color: var(--grey); display: flex; align-items: center; gap: 6px;
}
.lang-menu {
  position: absolute; right: 0; top: 130%;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  min-width: 158px; padding: 6px 0; display: none; z-index: 60;
}
.lang-menu li { list-style: none; }
.lang-menu button {
  width: 100%; text-align: left; background: none; border: 0;
  padding: 9px 16px; font: inherit; font-size: 13px; cursor: pointer; color: var(--ink);
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.lang-menu button:hover { background: var(--soft); color: var(--blue); }
.lang-menu button.is-active { background: var(--soft); color: var(--blue); font-weight: 600; }

.nav-toggle {
  display: none; width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; cursor: pointer; padding: 10px;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--ink); margin: 3px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ------------------------------- Hero ------------------------------------ */
.hero {
  position: relative;
  padding: 150px 0 80px;
  overflow: hidden;
  background: linear-gradient(105deg, #ffffff 0%, #ffffff 46%, #eaf2fd 46%, #dbe9fb 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  margin: 0;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.hero h1 .accent { color: var(--blue); display: block; }
.hero .sub {
  font-size: clamp(18px, 2.2vw, 27px);
  letter-spacing: 0.02em;
  color: #9aa3b0;
  font-weight: 500;
  margin: 8px 0 22px;
  text-transform: uppercase;
}
.hero .keywords {
  display: flex; flex-wrap: wrap; gap: 10px 18px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--blue); text-transform: uppercase; margin-bottom: 34px;
}
.hero .keywords span + span::before { content: "•"; margin-right: 18px; color: var(--blue-light); }
.hero-media { position: relative; }
.hero-media img { border-radius: 10px; max-height: 520px; width: 100%; object-fit: cover; object-position: center 45%; }
.hero-stripes {
  position: absolute; top: 0; right: 0; width: 340px; height: 240px;
  background: repeating-linear-gradient(115deg, var(--blue) 0 14px, transparent 14px 40px);
  opacity: 0.5; pointer-events: none;
}
.hero-stripes.left {
  right: auto; left: 0; top: auto; bottom: 0; width: 200px; height: 190px;
  background: repeating-linear-gradient(115deg, #b9cfee 0 10px, transparent 10px 34px);
  opacity: 0.8;
}

/* Hero slider */
.hero-slider { position: relative; }
.hero-track { position: relative; }
.hero-slide { display: none; }
.hero-slide.is-active { display: block; }
.hero-slide.is-active .hero-copy > * { animation: heroUp .6s ease both; }
.hero-slide.is-active .hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-slide.is-active .hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-slide.is-active .hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-slide.is-active .hero-media { animation: heroZoom .7s ease both; }
@keyframes heroUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid #cfdcf1;
  background: rgba(255,255,255,.92); color: var(--blue); cursor: pointer;
  font-size: 16px; line-height: 1; z-index: 3; box-shadow: 0 6px 18px rgba(10,79,163,.12);
  transition: background .2s, color .2s;
}
.hero-nav:hover { background: var(--blue); color: #fff; }
.hero-nav:focus-visible, .hero-dots button:focus-visible {
  outline: 3px solid var(--blue); outline-offset: 3px;
}
.hero-nav.prev { left: 14px; }
.hero-nav.next { right: 14px; }
.hero-controls {
  position: absolute; left: 0; right: 0; bottom: 18px;
  display: flex; align-items: center; justify-content: center; gap: 14px; z-index: 3;
}
.hero-dots { display: flex; gap: 10px; }
.hero-dots button {
  width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.75); box-shadow: 0 2px 6px rgba(0,0,0,.15); transition: width .25s, background .25s;
}
.hero-dots button[aria-selected="true"] { width: 30px; border-radius: 6px; background: var(--blue); }
@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-active .hero-copy > *,
  .hero-slide.is-active .hero-media { animation: none; }
}

/* ------------------------------ Sections --------------------------------- */
.section { padding: 84px 0; }
.section.soft { background: linear-gradient(180deg, #f4f8fe 0%, #eef4fd 100%); }

.section-head { text-align: center; margin-bottom: 46px; }
.section-head h2 {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--blue);
  text-transform: uppercase;
}
.section-head .rule { width: 66px; height: 3px; background: var(--blue); margin: 14px auto 0; }
.section-head p { color: var(--grey); max-width: 640px; margin: 16px auto 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.about h2 { margin: 0; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; font-weight: 800; text-transform: uppercase; }
.about h2 .muted { color: #9aa3b0; display: block; font-weight: 700; font-size: 0.62em; letter-spacing: 0.04em; }
.about h2 .accent { color: var(--blue); }
.about .lead { font-weight: 700; margin: 22px 0 14px; }
.about p { color: var(--grey); }
.about-media img { border-radius: 8px; box-shadow: var(--shadow); }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 58px; border-top: 1px solid #d7e3f5; padding-top: 26px;
}
.stat { display: flex; gap: 14px; align-items: center; justify-content: center; padding: 6px 10px; border-right: 1px solid #d7e3f5; }
.stat:last-child { border-right: 0; }
.stat svg { width: 38px; height: 38px; stroke: var(--blue); fill: none; stroke-width: 1.4; flex: none; }
.stat .num { font-size: 30px; font-weight: 800; color: var(--blue); line-height: 1; }
.stat .lbl { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); font-weight: 600; }

/* Values */
.values-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.value-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 16px; text-align: center; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #c9dcf6; }
.value-card svg { width: 42px; height: 42px; margin: 0 auto 16px; stroke: var(--blue); fill: none; stroke-width: 1.3; }
.value-card h3 { margin: 0 0 12px; font-size: 14px; color: var(--blue); font-weight: 700; }
.value-card p { margin: 0; font-size: 13px; color: var(--grey); line-height: 1.55; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.why-card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.why-thumb { position: relative; aspect-ratio: 1 / 0.78; overflow: hidden; }
.why-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.why-card:hover .why-thumb img { transform: scale(1.06); }
.why-num {
  position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%);
  width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 14px; border: 3px solid #fff;
}
.why-body { padding: 30px 16px 26px; text-align: center; }
.why-body h3 { margin: 0 0 8px; font-size: 15px; color: var(--blue); }
.why-body p { margin: 0; font-size: 13px; color: var(--grey); }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-card {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  padding: 24px 18px; display: flex; gap: 14px; align-items: center;
  transition: all 0.25s ease;
}
.product-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-4px); }
.product-card .idx { font-size: 12px; font-weight: 800; color: #b9cfee; }
.product-card h3 { margin: 0; font-size: 14.5px; font-weight: 600; }
.product-more { text-align: center; margin-top: 36px; }

/* Technical */
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.tech-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tech-table caption {
  caption-side: top; text-align: left; font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); padding: 0 0 10px;
}
.tech-table th, .tech-table td { padding: 11px 16px; font-size: 14px; text-align: left; border-bottom: 1px solid var(--line); }
.tech-table th { background: var(--soft); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); }
.tech-table tr:last-child td { border-bottom: 0; }
.tech-note { color: var(--grey); font-size: 14px; margin-top: 18px; }

/* CTA */
.cta {
  position: relative; color: #fff; overflow: hidden;
  background: var(--blue-dark);
}
.cta img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.65; }
.cta .overlay { position: absolute; inset: 0; background: linear-gradient(90deg, #063573 12%, rgba(6, 53, 115, 0.55) 60%, rgba(6, 53, 115, 0.15) 100%); }
.cta .container { position: relative; padding-top: 78px; padding-bottom: 78px; }
.cta h2 { margin: 0 0 16px; font-size: clamp(24px, 3.2vw, 36px); line-height: 1.2; font-weight: 800; text-transform: uppercase; }
.cta p { margin: 0 0 28px; max-width: 460px; color: #d7e5fa; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; }
.contact-info li { list-style: none; display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info ul { margin: 0; padding: 0; }
.contact-info svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 1.5; flex: none; margin-top: 4px; }
.contact-info strong { display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); }
.contact-info span { color: var(--ink); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; font-size: 14px; background: #fff; color: var(--ink); transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10, 79, 163, 0.12);
}
.field.error input, .field.error textarea { border-color: #d33; }
.field .msg { font-size: 12px; color: #d33; margin-top: 4px; display: none; }
.field.error .msg { display: block; }
.form-alert {
  display: none; margin-bottom: 18px; padding: 12px 16px; border-radius: var(--radius);
  background: #e8f5ec; color: #1c6b38; font-size: 14px; border: 1px solid #bfe3cb;
}

/* Footer */
.site-footer { background: #0b1421; color: #b9c3d1; padding: 52px 0 0; }
.footer-top { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between; }
.site-footer .logo .mark { color: #fff; }
.site-footer .logo .tag { color: #8794a6; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 26px; list-style: none; margin: 0; padding: 0; }
.footer-nav a { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.footer-nav a:hover { color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 34px; height: 34px; border-radius: 50%; background: var(--blue);
  display: grid; place-items: center; transition: background 0.25s ease;
}
.socials a:hover { background: var(--blue-light); }
.socials svg { width: 16px; height: 16px; fill: #fff; }
.footer-bottom { margin-top: 34px; border-top: 1px solid #1b2635; padding: 18px 0; text-align: center; font-size: 12.5px; color: #7b8798; }

/* Back to top */
#backToTop {
  position: fixed; right: 22px; bottom: 22px; width: 44px; height: 44px;
  border-radius: 50%; border: 0; background: var(--blue); color: #fff; cursor: pointer;
  display: none; place-items: center; box-shadow: var(--shadow); z-index: 90;
}
#backToTop svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ----------------------------- Responsive -------------------------------- */
@media (max-width: 1100px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border-top: 1px solid var(--line); display: none; box-shadow: var(--shadow);
    max-height: calc(100vh - 80px); overflow-y: auto;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 24px 18px; }
  .main-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .mega-menu {
    position: static; transform: none; width: 100%; max-width: none;
    box-shadow: none; border: 0; border-bottom: 1px solid var(--line);
    padding: 0 0 18px; margin-bottom: 8px; opacity: 1; visibility: visible; display: none;
  }
  .mega-menu::before { display: none; }
  .mega:hover .mega-menu { display: none; transform: none; }
  .mega.open .mega-menu { display: block; transform: none; }
  .mega-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .mega-grid.three { grid-template-columns: 1fr; }
  .main-nav .mega-card {
    display: flex; flex-direction: column;
    padding: 14px 14px 18px;
    border-bottom: 1px solid var(--line);
  }
  .main-nav .mega-card .mega-thumb { aspect-ratio: 16 / 10; }
  .mega-footer { margin-top: 16px; padding-top: 16px; }
  .mega-toggle { width: 100%; justify-content: space-between; }
  .nav-toggle { display: block; }
  .header-actions .btn { display: none; }
  .hero { background: linear-gradient(180deg, #fff 0%, #eaf2fd 100%); padding: 110px 0 70px; }
  .hero-grid, .about-grid, .tech-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { max-height: 320px; }
  .hero-nav { width: 40px; height: 40px; top: auto; bottom: -6px; }
  .hero-nav.prev { left: 12px; }
  .hero-nav.next { right: 12px; }
  .hero-controls { position: static; margin-top: 26px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
  .stat:nth-child(2) { border-right: 0; }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .values-grid, .why-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; justify-content: flex-start; }
}

@media (max-width: 640px) {
  .hero { padding: 100px 0 64px; }
  .hero h1 { font-size: clamp(30px, 9vw, 42px); }
  .hero .sub { margin-bottom: 16px; }
  .hero .keywords { margin-bottom: 24px; font-size: 11px; gap: 8px 14px; }
  .hero-media img { max-height: 240px; }
  .hero-cta { gap: 10px; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; min-height: 48px; }
  .hero-nav { width: 44px; height: 44px; }
  .hero-dots button { height: 14px; }
  .hero-dots button[aria-selected="true"] { width: 32px; }
  .hero-play { width: 34px; height: 34px; }
}

/* ------------------------- About image height ---------------------------- */
.about-media img.about-img { max-height: 340px; width: 100%; object-fit: cover; object-position: center 55%; }

/* --------------------------- Generic carousel ---------------------------- */
.carousel-wrap { position: relative; }
.carousel {
  display: flex !important; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: 4px 2px 10px; cursor: grab;
  scrollbar-width: none; -ms-overflow-style: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel.dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; }
.carousel.dragging a { pointer-events: none; }
.carousel > * {
  flex: 0 0 calc((100% - (var(--per) - 1) * 18px) / var(--per));
  min-width: 0; scroll-snap-align: start;
}
.car-nav {
  position: absolute; top: 42%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid #cfdcf1;
  background: rgba(255,255,255,.96); color: var(--blue); cursor: pointer;
  font-size: 18px; line-height: 1; z-index: 4; box-shadow: 0 6px 18px rgba(10,79,163,.14);
  transition: background .2s, color .2s;
}
.car-nav:hover { background: var(--blue); color: #fff; }
.car-nav:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.car-nav.prev { left: -18px; }
.car-nav.next { right: -18px; }
.car-nav[disabled] { opacity: .35; cursor: default; }
.car-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.car-dots button { width: 10px; height: 10px; border: 0; border-radius: 50%; background: #c3d4ee; cursor: pointer; padding: 0; transition: width .25s, background .25s; }
.car-dots button[aria-selected="true"] { width: 26px; border-radius: 6px; background: var(--blue); }
.hero-slider { cursor: grab; }
.hero-slider.dragging { cursor: grabbing; }

/* ----------------------- Category cards (Products) ----------------------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #c9dcf6; }
.cat-thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.cat-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-card:hover .cat-thumb img { transform: scale(1.05); }
.cat-body { padding: 22px 20px 24px; }
.cat-body h3 { margin: 0 0 8px; font-size: 17px; color: var(--blue); font-weight: 700; }
.cat-body p { margin: 0 0 14px; font-size: 13.5px; color: var(--grey); }
.cat-link { display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }

/* -------------------------- Featured products ---------------------------- */
.fp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fp-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.fp-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.fp-thumb { position: relative; aspect-ratio: 4 / 3; background: #fff; overflow: hidden; }
.fp-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .5s ease; }
.fp-card:hover .fp-thumb img { transform: scale(1.06); }
.fp-badge { position: absolute; top: 12px; left: 12px; background: var(--blue); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.fp-body { padding: 18px 20px 22px; border-top: 1px solid var(--line); }
.fp-body h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.fp-body p { margin: 0 0 14px; font-size: 13px; color: var(--grey); }
.fp-link { display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }

/* ------------------------------- News ------------------------------------ */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.news-card:hover { box-shadow: var(--shadow); }
.news-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-tag { position: absolute; top: 14px; left: 14px; background: var(--blue); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.news-body { padding: 22px 22px 24px; }
.news-date { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); font-weight: 600; }
.news-body h3 { margin: 8px 0 10px; font-size: 18px; line-height: 1.35; }
.news-body h3 a:hover { color: var(--blue); }
.news-body p { margin: 0 0 14px; font-size: 14px; color: var(--grey); }
.news-link { display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }

/* ---------------------------- Rich footer -------------------------------- */
.footer-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.4fr; gap: 34px; padding-bottom: 40px; }
.footer-col h4 { margin: 0 0 18px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #fff; font-weight: 700; }
.footer-col.brand p { font-size: 13.5px; color: #97a3b4; margin: 18px 0 20px; max-width: 320px; }
.site-footer .footer-nav { display: block; }
.site-footer .footer-nav li { margin-bottom: 10px; }
.site-footer .footer-nav a { font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 400; color: #a8b3c2; }
.site-footer .footer-nav a:hover { color: #fff; }
.footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; font-size: 13.5px; color: #a8b3c2; }
.footer-contact svg { width: 18px; height: 18px; stroke: var(--blue-light); fill: none; stroke-width: 1.6; flex: none; margin-top: 3px; }
.footer-contact a:hover { color: #fff; }
.newsletter { margin-top: 18px; }
.newsletter label { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #8794a6; margin-bottom: 8px; font-weight: 700; }
.nl-row { display: flex; gap: 8px; }
.nl-row input {
  flex: 1 1 auto; min-width: 0; padding: 10px 12px; border-radius: var(--radius);
  border: 1px solid #24334a; background: #111c2c; color: #e6ecf5; font: inherit; font-size: 13px;
}
.nl-row input:focus { outline: 0; border-color: var(--blue-light); }
.nl-msg { display: none; margin-top: 8px; font-size: 12.5px; color: #7ed6a1; }
.nl-msg.show { display: block; }
.site-footer .footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
  text-align: left;
}
.site-footer .footer-bottom ul { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; }
.site-footer .footer-bottom a:hover { color: #fff; }

@media (max-width: 1100px) {
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .car-nav.prev { left: 4px; }
  .car-nav.next { right: 4px; }
}
@media (max-width: 900px) {
  .cat-grid, .fp-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel { --per: 2 !important; }
  .about-media img.about-img { max-height: 260px; }
}
@media (max-width: 640px) {
  .cat-grid, .fp-grid, .news-grid { grid-template-columns: 1fr; }
  .carousel { --per: 1 !important; }
  .footer-cols { grid-template-columns: 1fr; gap: 28px; }
  .site-footer .footer-bottom { flex-direction: column; text-align: center; justify-content: center; }
  .site-footer .footer-bottom ul { justify-content: center; }
}

/* ---------------------------- Search strip -------------------------------- */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.search-strip {
  position: relative;
  z-index: 5;
  padding: 34px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  border-bottom: 1px solid #e8effa;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #e2eaf6;
  border-radius: 999px;
  padding: 8px 8px 8px 18px;
  box-shadow: 0 14px 34px -18px rgba(10, 79, 163, .45), 0 2px 6px rgba(16, 32, 56, .05);
  transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}
.search-box:focus-within {
  border-color: var(--blue);
  box-shadow: 0 18px 40px -18px rgba(10, 79, 163, .55), 0 0 0 4px rgba(10, 79, 163, .10);
}
.search-box .search-ico { display: flex; color: var(--blue); flex: 0 0 auto; }
.search-box input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 16px;
  color: #14213d;
  padding: 12px 0;
  -webkit-appearance: none;
  appearance: none;
}
.search-box input[type="search"]::-webkit-search-cancel-button { display: none; }
.search-box input::placeholder { color: #93a3bb; }
.search-clear {
  display: none;
  border: 0;
  background: #eef3fb;
  color: #5b6b85;
  width: 28px; height: 28px;
  border-radius: 50%;
  font-size: 18px; line-height: 1;
  cursor: pointer;
  flex: 0 0 auto;
}
.search-clear:hover { background: #e0e9f7; color: #14213d; }
.search-box.has-value .search-clear { display: block; }
.search-btn {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 13px 30px;
  letter-spacing: .04em;
}
.search-hit { animation: searchPulse 1.6s ease; }
@keyframes searchPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(10, 79, 163, 0); }
  25% { box-shadow: 0 0 0 4px rgba(10, 79, 163, .25); }
}
@media (max-width: 900px) {
  .search-strip { padding: 28px 0; }
}
@media (max-width: 640px) {
  .search-strip { padding: 22px 0; }
  .search-box { flex-wrap: wrap; border-radius: 22px; padding: 10px 12px; }
  .search-box input[type="search"] { font-size: 15px; padding: 8px 0; }
  .search-btn { width: 100%; margin-top: 6px; }
}

/* ===================== MATERIALS ===================== */
.material-grid{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.material-chip{display:inline-flex;align-items:center;padding:10px 18px;border:1px solid #dbe6f5;background:#fff;border-radius:999px;font-weight:600;font-size:14px;color:#0a4fa3;box-shadow:0 2px 8px rgba(10,79,163,.06);transition:.2s;cursor:default}
.material-chip:hover{background:#0a4fa3;color:#fff;border-color:#0a4fa3;transform:translateY(-2px)}
@media(max-width:600px){.material-chip{padding:8px 14px;font-size:13px}}
