/* Bermann – Precision Fibreglass Mesh Manufacturing | Professional Overhaul */
:root {
  --primary: #1E2A38;
  --primary-dark: #243447;
  --primary-light: #D9E2EC;
  --bg-light: #D9E2EC;
  --bg-white: #ffffff;
  --bg-dark: #1E2A38;
  --bg-mid: #BCCCDC;
  --bg-deep: #243447;
  --text-primary: #243447;
  --text-muted: #243447;
  --accent: #1E2A38;
  --accent-hover: #243447;
  --border: rgba(36, 52, 71, 0.1);
  --border-strong: rgba(36, 52, 71, 0.15);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.25);
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; overflow-y: auto; }
body {
  cursor: url('../logos/Loading Screen Logo.jpeg') 16 16, auto;
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: #D9E2EC;
  color: #243447;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

/* Page loading screen */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease;
}
.page-loader-exit {
  opacity: 0;
  pointer-events: none;
}
.page-loader-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-loader-logo {
  max-width:  min(560px, 88vw);
  max-height: min(280px, 55vh);
  width: auto;
  height: auto;
  object-fit: contain;
}

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

.page-wrap { flex: 1; display: flex; flex-direction: column; min-width: 0; max-width: 100%; overflow: clip; }
.container {
  width: 100%;
  max-width: 1280px;
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) { .container { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-left: 2rem; padding-right: 2rem; } }
@media (max-width: 400px) { .container { padding-left: 0.75rem; padding-right: 0.75rem; } }

/* ─── Nav ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.nav .nav-inner,
.nav .nav-inner .nav-logo,
.nav a.nav-logo { transition: min-height 0.25s ease, padding 0.25s ease, height 0.25s ease; }
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}
.nav.is-scrolled a,
.nav.is-scrolled .nav-toggle { color: var(--text-primary) !important; background: transparent !important; }
.nav.is-scrolled a.nav-logo { color: var(--text-primary) !important; }
.nav.is-scrolled a:hover { background: #BCCCDC !important; color: #1E2A38 !important; }
.nav.is-scrolled a.active { background: #1E2A38 !important; color: #fff !important; border-radius: var(--radius); }
.nav.is-scrolled .nav-mobile a { color: var(--text-primary) !important; background: transparent !important; }
.nav.is-scrolled .nav-mobile a:hover { background: #BCCCDC !important; color: #1E2A38 !important; }

/* Transparent state: light text over hero */
.nav a { color: #243447; background: transparent; }
.nav a:hover { background: rgba(30, 42, 56, 0.08); color: #1E2A38; }
.nav a.active { background: rgba(30, 42, 56, 0.12); color: #1E2A38; }
.nav-toggle { color: #243447; }
.nav-mobile a { color: #243447; background: transparent; }
.nav-mobile a:hover { background: rgba(30, 42, 56, 0.08); color: #1E2A38; }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 6.5rem;
  min-width: 0;
  padding: 0.5rem 0;
}
@media (max-width: 767px) {
  .nav-inner { min-height: 4rem; padding-top: 0.5rem; padding-bottom: 0.5rem; }
}
@media (max-width: 400px) {
  .nav-inner { padding-left: 0.25rem; padding-right: 0.25rem; padding-top: 0.5rem; padding-bottom: 0.5rem; }
}
.nav a.nav-logo { display: flex; align-items: center; height: 6rem; min-width: 0; flex-shrink: 1; padding: 0; background: none !important; border-radius: 0; opacity: 1; transition: opacity 0.25s ease, visibility 0.25s ease; color: inherit; }
@media (max-width: 740px) { .nav a.nav-logo { height: 4.2rem; } }
@media (max-width: 500px) { .nav a.nav-logo { height: 3.7rem; max-width: 170px; } }
.nav a.nav-logo:hover { opacity: 0.8; background: none !important; color: inherit; }
.nav.is-scrolled a.nav-logo:hover { opacity: 0.8; background: none !important; color: inherit !important; }
.nav a.nav-logo:focus { background: none !important; }
.nav a.nav-logo:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.nav-logo img { height: 100%; width: auto; max-width: 100%; display: block; object-fit: contain; }
.nav-toggle { flex-shrink: 0; }
.nav-links { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-lang-wrap { margin-left: 0.5rem; display: flex; align-items: center; }
.nav-lang-wrap--mobile { margin: 0.5rem 1rem 0; padding-top: 0.5rem; border-top: 1px solid rgba(30, 42, 56, 0.1); }
.page-gallery .nav-lang-wrap--mobile { border-top-color: rgba(30, 42, 56, 0.1); }
.nav-lang-label { font-size: 0.875rem; margin-right: 0.5rem; color: inherit; }
.nav-lang-select { font-size: 0.875rem; padding: 0.35rem 0.5rem; border-radius: 0.375rem; border: 1px solid rgba(30, 42, 56, 0.1); background: rgba(30, 42, 56, 0.05); color: inherit; cursor: pointer; }
.nav.is-scrolled .nav-lang-select { border-color: rgba(0,0,0,0.15); background: rgba(0,0,0,0.03); color: var(--text-primary); }
.page-contact .nav-lang-select { border-color: rgba(0,0,0,0.15); background: rgba(0,0,0,0.03); color: var(--text-primary); }
.page-gallery .nav-lang-select { border-color: rgba(0,0,0,0.15); background: rgba(0,0,0,0.03); color: var(--text-primary); }
.nav a { padding: 0.5rem 1rem; border-radius: var(--radius); transition: background 0.25s ease, color 0.25s ease; font-weight: 500; font-size: 0.9375rem; letter-spacing: 0.01em; }
.nav-toggle { display: flex; padding: 0.5rem; background: none; border: none; border-radius: var(--radius); cursor: pointer; transition: background 0.25s ease, color 0.25s ease; }
.nav-toggle svg { width: 24px; height: 24px; display: block; }
@media (max-width: 767px) {
  .nav-toggle { padding: 0.5rem; }
  .nav-toggle svg { width: 32px; height: 32px; }
}
.nav-mobile a { transition: background 0.25s ease, color 0.25s ease; }
.nav-toggle:hover { background: transparent; }
.nav.is-scrolled .nav-toggle:hover { background: #BCCCDC !important; }
@media (min-width: 768px) { .nav-toggle { display: none; } }
.nav-mobile { display: none; padding-bottom: 1rem; }
.nav-mobile.is-open { display: block; }
@media (min-width: 768px) { .nav-mobile, .nav-mobile.is-open { display: none !important; } }
.nav-mobile a { display: block; padding: 0.5rem 1rem; border-radius: var(--radius); }
.nav-mobile a.active { background: rgba(30, 42, 56, 0.12); color: #1E2A38; }
.nav.is-scrolled .nav-mobile a.active { background: #1E2A38 !important; color: #fff !important; }
.nav-mobile-lang { display: flex; gap: 0.5rem; padding: 0.75rem 1rem 0.25rem; margin-top: 0.25rem; border-top: 1px solid rgba(30, 42, 56, 0.15); }
.nav.is-scrolled .nav-mobile-lang, .nav.is-mobile-open .nav-mobile-lang { border-top-color: rgba(0,0,0,0.1); }
/* Mobile-only lang buttons in nav bar */
.nav-inline-lang { display: none; }
@media (max-width: 767px) {
  .nav-inline-lang { display: none !important; }
}
.nav-mobile-lang-btn { display: flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.75rem; border: 1px solid rgba(30, 42, 56, 0.25); border-radius: var(--radius); background: transparent; color: inherit; font-size: 0.875rem; font-weight: 600; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.nav-mobile-lang-btn:hover { background: rgba(30, 42, 56, 0.08); }
.nav-mobile-lang-btn.is-active { background: rgba(30, 42, 56, 0.12); border-color: rgba(30, 42, 56, 0.4); }
.nav.is-scrolled .nav-mobile-lang-btn, .nav.is-mobile-open .nav-mobile-lang-btn { border-color: rgba(0,0,0,0.2); color: var(--text-primary); }
.nav.is-scrolled .nav-mobile-lang-btn:hover, .nav.is-mobile-open .nav-mobile-lang-btn:hover { background: #BCCCDC; }
.nav.is-scrolled .nav-mobile-lang-btn.is-active, .nav.is-mobile-open .nav-mobile-lang-btn.is-active { background: #BCCCDC; border-color: #1E2A38; color: #1E2A38; }

/* Mobile: expanded menu → white bg */
@media (max-width: 767px) {
  .nav.is-mobile-open {
    background: rgba(255, 255, 255, 0.97);
    border-bottom-color: rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(12px);
  }
  .nav.is-mobile-open a,
  .nav.is-mobile-open .nav-toggle { color: var(--text-primary) !important; background: transparent !important; }
  .nav.is-mobile-open a.nav-logo { color: var(--text-primary) !important; }
  .nav.is-mobile-open a:hover { background: #BCCCDC !important; color: #1E2A38 !important; }
  .nav.is-mobile-open a.active { background: #1E2A38 !important; color: #fff !important; }
  .nav.is-mobile-open .nav-mobile a { color: var(--text-primary) !important; background: transparent !important; }
  .nav.is-mobile-open .nav-mobile a:hover { background: #BCCCDC !important; color: #1E2A38 !important; }
  .nav.is-mobile-open .nav-mobile a.active { background: #1E2A38 !important; color: #fff !important; }
  .nav.is-mobile-open .nav-toggle:hover { background: #BCCCDC !important; }
  .nav.is-mobile-open .nav-logo img { filter: brightness(0); }
  body.nav-mobile-open .lang-switcher { color: #333; }
}

/* Contact page: nav always white */
.page-contact .nav { background: rgba(255, 255, 255, 0.97); border-bottom-color: rgba(0, 0, 0, 0.06); backdrop-filter: blur(12px); }
.page-contact .nav::before { display: none; }
.page-contact .nav a,
.page-contact .nav .nav-toggle { color: var(--text-primary) !important; background: transparent !important; }
.page-contact .nav a.nav-logo { color: var(--text-primary) !important; }
.page-contact .nav a:hover { background: #BCCCDC !important; color: #1E2A38 !important; }
.page-contact .nav a.nav-logo:hover { background: none !important; color: inherit !important; opacity: 0.8; }
.page-contact .nav a.active { background: #1E2A38 !important; color: #fff !important; }
.page-contact .nav .nav-toggle:hover { background: #BCCCDC !important; }
.page-contact .nav .nav-mobile a { color: var(--text-primary) !important; background: transparent !important; }
.page-contact .nav .nav-mobile a:hover { background: #BCCCDC !important; color: #1E2A38 !important; }
.page-contact .nav .nav-mobile a.active { background: #1E2A38 !important; color: #fff !important; }

/* Gallery page: nav hidden initially with dark text, appears when scrolled */
.page-gallery .nav { background: transparent; border-bottom-color: transparent; }
.page-gallery .nav a,
.page-gallery .nav .nav-toggle { color: var(--text-primary) !important; background: transparent !important; }
.page-gallery .nav a.nav-logo { color: var(--text-primary) !important; }
.page-gallery .nav a:hover { background: #BCCCDC !important; color: #1E2A38 !important; }
.page-gallery .nav a.nav-logo:hover { background: none !important; color: inherit !important; opacity: 0.8; }
.page-gallery .nav a.active { background: #1E2A38 !important; color: #fff !important; }
.page-gallery .nav .nav-toggle:hover { background: #BCCCDC !important; }
.page-gallery .nav .nav-mobile a { color: var(--text-primary) !important; background: transparent !important; }
.page-gallery .nav .nav-mobile a:hover { background: #BCCCDC !important; color: #1E2A38 !important; }
.page-gallery .nav .nav-mobile a.active { background: #1E2A38 !important; color: #fff !important; }
.page-gallery .nav.is-scrolled { background: rgba(255, 255, 255, 0.97); border-bottom-color: rgba(0, 0, 0, 0.06); backdrop-filter: blur(12px); }
.page-gallery .nav.is-scrolled a,
.page-gallery .nav.is-scrolled .nav-toggle { color: var(--text-primary) !important; }
.page-gallery .nav.is-scrolled a:hover { background: #BCCCDC !important; color: #1E2A38 !important; }
.page-gallery .nav.is-scrolled a.active { background: #1E2A38 !important; color: #fff !important; }
.page-gallery .nav.is-scrolled .nav-toggle:hover { background: #BCCCDC !important; }

/* About page: nav white text over dark background */
.page-about .nav { background: transparent; border-bottom-color: transparent; }
.page-about .nav a,
.page-about .nav .nav-toggle { color: #fff !important; background: transparent !important; }
.page-about .nav a.nav-logo { color: #fff !important; }
.page-about .nav a:hover { background: rgba(255,255,255,0.15) !important; color: #fff !important; }
.page-about .nav a.nav-logo:hover { background: none !important; opacity: 0.8; }
.page-about .nav a.active { background: rgba(255,255,255,0.2) !important; color: #fff !important; }
.page-about .nav .nav-toggle:hover { background: rgba(255,255,255,0.15) !important; }
.page-about .nav .nav-mobile a { color: #fff !important; background: transparent !important; }
.page-about .nav .nav-mobile a:hover { background: rgba(255,255,255,0.15) !important; color: #fff !important; }
.page-about .nav .nav-mobile a.active { background: rgba(255,255,255,0.2) !important; color: #fff !important; }
.page-about .nav.is-scrolled { background: rgba(255, 255, 255, 0.97); border-bottom-color: rgba(0, 0, 0, 0.06); backdrop-filter: blur(12px); }
.page-about .nav.is-scrolled a,
.page-about .nav.is-scrolled .nav-toggle { color: var(--text-primary) !important; }
.page-about .nav.is-scrolled a.active { background: #1E2A38 !important; color: #fff !important; }

/* Products page: nav white text over dark background */
.page-products .nav { background: transparent; border-bottom-color: transparent; }
.page-products .nav a,
.page-products .nav .nav-toggle { color: #fff !important; background: transparent !important; }
.page-products .nav a.nav-logo { color: #fff !important; }
.page-products .nav a:hover { background: rgba(255,255,255,0.15) !important; color: #fff !important; }
.page-products .nav a.nav-logo:hover { background: none !important; opacity: 0.8; }
.page-products .nav a.active { background: rgba(255,255,255,0.2) !important; color: #fff !important; }
.page-products .nav .nav-toggle:hover { background: rgba(255,255,255,0.15) !important; }
.page-products .nav .nav-mobile a { color: #fff !important; background: transparent !important; }
.page-products .nav .nav-mobile a:hover { background: rgba(255,255,255,0.15) !important; color: #fff !important; }
.page-products .nav .nav-mobile a.active { background: rgba(255,255,255,0.2) !important; color: #fff !important; }
.page-products .nav.is-scrolled { background: rgba(255, 255, 255, 0.97); border-bottom-color: rgba(0, 0, 0, 0.06); backdrop-filter: blur(12px); }
.page-products .nav.is-scrolled a,
.page-products .nav.is-scrolled .nav-toggle { color: var(--text-primary) !important; }
.page-products .nav.is-scrolled a.active { background: #1E2A38 !important; color: #fff !important; }

/* Legal / policy pages */
.legal-page-section { padding: 3rem 0 4rem; background: #D9E2EC; }
@media (max-width: 767px) { .legal-page-section { padding: 2rem 0 3rem; } }
.legal-content { max-width: 48rem; margin: 0 auto; color: #243447; }
.legal-content h1 { font-size: 1.75rem; color: #1E2A38; margin: 0 0 1.5rem 0; }
.legal-content h2 { font-size: 1.25rem; color: #243447; margin: 2rem 0 0.75rem 0; }
.legal-content p { margin: 0 0 1rem 0; line-height: 1.6; }
.legal-content ul { margin: 0 0 1rem 0; padding-left: 1.5rem; }
.legal-content li { margin-bottom: 0.5rem; line-height: 1.5; }
.legal-content .last-updated { font-size: 0.875rem; color: #243447; margin-bottom: 1.5rem; }
.legal-content a { color: #1E2A38; text-decoration: underline; }
.legal-content a:hover { color: #243447; }

/* ─── Footer ─── */
.footer {
  background: #1E2A38;
  border-top: 3px solid #243447;
  color: #fff;
  margin-top: auto;
}
.footer-inner { padding-top: 3rem; padding-bottom: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-logo { height: 5rem; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer h3 { color: #BCCCDC; margin: 0 0 1rem 0; font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.footer p, .footer a, .footer span { color: rgba(255, 255, 255, 0.75); margin: 0; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 0.5rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.5rem; }
.footer-contact .icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; margin-top: 0.125rem; }
.footer-contact .icon svg { color: #BCCCDC; }
.footer-contact .footer-whatsapp { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a { width: 2.25rem; height: 2.25rem; background: rgba(255, 255, 255, 0.08); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; transition: background 0.2s, transform 0.2s; }
.footer-social a:hover { background: #243447; transform: translateY(-2px); }
.footer-social svg { width: 1.125rem; height: 1.125rem; color: #fff; }
.footer-copy {
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  text-align: left; color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}
.footer-copy-text { margin: 0; }
.footer-legal { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.footer-legal a { color: rgba(255, 255, 255, 0.6); text-decoration: none; }
.footer-legal a:hover { color: #fff; }
.footer-legal-sep { color: rgba(255, 255, 255, 0.3); user-select: none; }

/* ─── Language Picker ─── */
.lang-picker {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 100;
}
.lang-picker-trigger {
  width: auto;
  height: auto;
  min-width: 1.5rem;
  min-height: 1.5rem;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s;
}
.lang-picker-trigger:hover { transform: scale(1.1); }
.lang-picker.is-open .lang-picker-trigger { transform: scale(1.05); }
.lang-picker-flag-current {
  font-size: 1.5rem;
  line-height: 1;
  display: inline-block;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
.lang-picker-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.35rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 2.5rem;
}
.lang-picker.is-open .lang-picker-dropdown { display: flex; }
.lang-picker-flag {
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  background: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lang-picker-flag:hover { border-color: rgba(0, 0, 0, 0.2); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08); }
.lang-picker-flag.is-active { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(2, 139, 238, 0.25); }

/* ─── Language Switcher ─── */
.lang-switcher {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  position: fixed;
  top: 20px;
  right: 20px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  z-index: 200;
  color: #fff;
  transition: color 0.25s ease;
}
@media (max-width: 767px) {
  .lang-switcher { display: none !important; }
}
@media (max-width: 400px) {
  .lang-switcher { right: 0.5rem; font-size: 12px; }
}
body.nav-scrolled .lang-switcher,
body.page-contact .lang-switcher,
body.page-home .lang-switcher,
body.page-product-detail .lang-switcher {
  color: #333;
}
body.page-gallery .lang-switcher { color: #333; }

/* Product detail pages — push content below the fixed nav */
body.page-product-detail .section,
body.page-product-detail .section-alt { padding-top: 8rem; padding-bottom: 5rem; }
@media (max-width: 767px) {
  body.page-product-detail .section,
  body.page-product-detail .section-alt { padding-top: 6rem; padding-bottom: 3rem; }
}
body.page-gallery.nav-scrolled .lang-switcher { color: #333; }
.lang-switcher .lang-item {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
  border-radius: 4px;
}
.lang-switcher .lang-item.is-active {
  display: inline-flex;
  padding-right: 8px;
}
.lang-switcher.is-open {
  flex-direction: column;
  align-items: stretch;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  overflow-y: auto;
  max-height: 80vh;
  color: #333;
}
.lang-switcher.is-open .lang-item {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 0;
  color: #333;
}
.lang-switcher.is-open .lang-item:hover {
  background: var(--primary-light);
}
.lang-switcher.is-open .lang-item.is-active {
  background: var(--primary-light);
}
.lang-switcher .lang-item span {
  font: inherit;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.lang-switcher .lang-item .lang-chevron {
  width: 14px;
  height: 14px;
  opacity: 0.8;
  transition: transform 0.2s;
  flex-shrink: 0;
  display: none;
}
.lang-switcher .lang-item.is-active .lang-chevron {
  display: block;
}
.lang-switcher .lang-item .lang-chevron svg {
  width: 100%;
  height: 100%;
  display: block;
}
.lang-switcher.is-open .lang-item.is-active .lang-chevron {
  transform: rotate(180deg);
}
.lang-switcher .lang-item:hover {
  opacity: 0.85;
}
.lang-switcher .lang-item.is-active {
  opacity: 1;
}
.flag-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* ─── Sections ─── */
.section { padding-top: 5rem; padding-bottom: 5rem; }
@media (max-width: 767px) { .section { padding-top: 3rem; padding-bottom: 3rem; } }
.section-alt { background: #BCCCDC; margin-top: -1px; }
.section-alt .section-head h2 { color: #1E2A38; }
.section-alt .section-head p { color: #243447; }
.section-mid { background: #D9E2EC; }

/* ─── Hero ─── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; overflow: hidden; padding-top: 7.5rem; }
@media (max-width: 767px) { .hero { min-height: 100svh; padding-top: 4rem; } }
.hero-video-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(135deg, rgba(2, 139, 238, 0.55) 0%, rgba(26, 26, 46, 0.65) 100%); pointer-events: none; }
.hero-bg { position: absolute; inset: 0; z-index: 1; background: linear-gradient(135deg, var(--primary), #1a1a2e); }
.hero .hero-bg, .page-hero .hero-bg { background: linear-gradient(135deg, rgba(2, 139, 238, 0.85), rgba(26, 26, 46, 0.9)); }
.hero-pattern { position: absolute; inset: 0; z-index: 1; opacity: 0.04; background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%); mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%); }
.hero-inner { position: relative; z-index: 10; text-align: center; max-width: 56rem; margin: 0 auto; }
.hero h1 { font-size: 2.25rem; line-height: 1.15; color: #fff; margin: 0 0 1.5rem 0; font-weight: 700; letter-spacing: -0.02em; }
@media (max-width: 767px) { .hero h1 { margin: 0 0 1rem 0; } }
@media (min-width: 768px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }
.hero-tagline { font-size: 1.25rem; color: rgba(255, 255, 255, 0.9); margin: 0 0 2rem 0; font-weight: 400; }
@media (max-width: 767px) { .hero-tagline { margin: 0 0 1.25rem 0; } }
@media (min-width: 768px) { .hero-tagline { font-size: 1.5rem; } }

/* ─── Split Hero (Home) ─── */
.hero--split { background: linear-gradient(180deg, #D9E2EC 0%, #BCCCDC 10%, #ffffff 35%, #ffffff 60%, #BCCCDC 85%, #BCCCDC 100%); padding-top: 8.5rem; padding-bottom: 4rem; position: relative; }
.hero--split::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(30, 42, 56, 0.08) 19px, rgba(30, 42, 56, 0.08) 20px),
    repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(30, 42, 56, 0.08) 19px, rgba(30, 42, 56, 0.08) 20px);
  pointer-events: none;
  z-index: 1;
}
.hero--split .container { max-width: 1440px; }
.hero--split .hero-split-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse 90% 40% at 50% 0%, rgba(188,204,220,0.5) 0%, transparent 70%); pointer-events: none; }
/* Hero two-column layout */
.hero-split { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: 3rem; }
.hero-split__text { padding-left: 0; }
.hero-split__text h1 { color: #1E2A38; text-align: left; font-size: 2.5rem; line-height: 1.12; margin: 0 0 1.25rem 0; }
.hero-split__text .hero-tagline { color: #243447; text-align: left; font-size: 1.2rem; }
.hero-split__text .hero-cta { justify-content: flex-start; }
.hero-split__text .btn-primary { position: relative; background: transparent; color: #243447; padding: 1rem 2rem; font-size: 1rem; border: 1px solid rgba(30, 42, 56, 0.3); font-weight: 700; overflow: hidden; z-index: 1; transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease; }
.hero-split__text .btn-primary:hover { border-color: #1E2A38; color: #fff; background: transparent; box-shadow: none; transform: none; }
.hero-split__text .btn-primary span { transition: transform 0.3s ease; display: inline-block; }
.hero-split__text .btn-primary:hover span { transform: translateX(10px); }
.hero-split__text .btn-primary::before { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 0; background: #1E2A38; transition: height 0.3s ease; z-index: -1; }
.hero-split__text .btn-primary:hover::before { height: 100%; }
@media (min-width: 768px) { .hero-split__text h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-split__text h1 { font-size: 3.5rem; } }
@media (min-width: 1280px) { .hero-split__text h1 { font-size: 4rem; } }

/* Image column */
.hero-split__image { position: relative; display: flex; justify-content: flex-end; align-items: center; }



/* Hero slider container */
.hero-slider { position: relative; z-index: 1; width: 100%; max-width: 550px; aspect-ratio: 1/1; overflow: hidden; border-radius: 1.25rem; flex-shrink: 0;
  filter: drop-shadow(0 32px 64px rgba(30,42,56,0.28)) drop-shadow(0 8px 24px rgba(0,0,0,0.18));
  transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
  transition: transform 0.4s ease, filter 0.4s ease;
}
.hero-slider:hover { transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02); filter: drop-shadow(0 40px 80px rgba(30,42,56,0.32)) drop-shadow(0 12px 32px rgba(0,0,0,0.22)); }

/* Fading outline around hero image */
.hero-slider::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 1.35rem;
  border: 4px solid transparent;
  background: linear-gradient(135deg, rgba(30, 42, 56, 0.9) 0%, rgba(30, 42, 56, 0.5) 50%, transparent 100%) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 10;
}

/* Individual slides */
.hero-slide { position: absolute; inset: 0; transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out; }
.hero-slide--active { transform: translateX(0); opacity: 1; }
.hero-slide:not(.hero-slide--active) { transform: translateX(100%); opacity: 0; }

/* B and M shapes - Rectangle with smoothly cut corners */
.hero-b-shape, .hero-m-shape {
  clip-path: polygon(
    5% 0%, 95% 0%, 100% 5%, 100% 95%, 
    95% 100%, 5% 100%, 0% 95%, 0% 5%
  );
  -webkit-clip-path: polygon(
    5% 0%, 95% 0%, 100% 5%, 100% 95%, 
    95% 100%, 5% 100%, 0% 95%, 0% 5%
  );
  border-radius: 0.75rem;
}

.hero-b-shape img, .hero-m-shape img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 8s ease-in-out; transform: scale(1.08); }
.hero-slide--active img { transform: scale(1); }
@keyframes kenBurns { 0% { transform: scale(1.08); } 100% { transform: scale(1); } }
.hero-slide--active img { animation: kenBurns 8s ease-in-out forwards; }


/* Mobile: stack vertically */
@media (max-width: 767px) {
  .hero-split { grid-template-columns: 1fr; gap: 2rem; }
  .hero-split__text { padding-right: 0; }
  .hero-split__text h1 { font-size: 1.75rem; }
  .hero-split__text .hero-tagline { font-size: 1rem; }
  .hero-split__text .btn-primary { background: #1E2A38; color: #fff; border-color: #1E2A38; }
  .hero-split__text .btn-primary::before { display: none; }
  .hero-split__text .btn-primary:hover { background: #243447; }
  .hero-slider { max-width: none; width: 100%; margin: 0 auto; border-radius: 1rem; transform: none; }
  .hero-b-shape, .hero-m-shape { border-radius: 1rem; }
}

.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 0.5rem; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; background: #1E2A38; color: #fff; padding: 0.875rem 2rem; border-radius: var(--radius); font-weight: 600; transition: background 0.2s, transform 0.2s, box-shadow 0.2s; border: none; cursor: pointer; font-size: 0.9375rem; letter-spacing: 0.01em; }
.btn:hover { background: #243447; color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(30, 42, 56, 0.3); }
.btn-primary { background: #fff; color: var(--primary); }
.btn-primary:hover { color: var(--primary-dark); }
.btn-outline { background: transparent; color: #1E2A38; border: 2px solid rgba(30, 42, 56, 0.5); }
.btn-outline:hover { background: rgba(30, 42, 56, 0.08); color: #1E2A38; border-color: #1E2A38; box-shadow: none; transform: translateY(-1px); }
.btn svg { width: 1.25rem; height: 1.25rem; color: #fff; }

.section-head { text-align: center; margin-bottom: 4rem; }
@media (max-width: 767px) { .section-head { margin-bottom: 2.5rem; } }
.section-head h2 { font-size: 1.875rem; color: #1E2A38; margin: 0 0 1rem 0; font-weight: 700; letter-spacing: -0.01em; }
@media (min-width: 768px) { .section-head h2 { font-size: 2.25rem; } }
.section-head p { color: #243447; max-width: 42rem; margin: 0 auto; }
.section-tagline { font-size: 1.125rem; font-weight: 600; color: #1E2A38 !important; letter-spacing: 0.02em; }

.strategy-intro { max-width: 52rem; margin: 0 auto 3rem; text-align: center; color: #243447; line-height: 1.7; font-size: 1.0625rem; }
.strategy-blocks { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .strategy-blocks { grid-template-columns: repeat(3, 1fr); } }
.strategy-block { background: var(--bg-white); padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: box-shadow 0.2s, transform 0.2s; }
.strategy-block:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.strategy-block h3 { font-size: 1.125rem; color: var(--text-primary); margin: 0 0 0.75rem 0; font-weight: 600; }
.strategy-block p { color: var(--text-muted); margin: 0; line-height: 1.6; font-size: 0.9375rem; }

/* ─── Cards ─── */
.cards { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: stretch; }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; width: 100%; min-width: 0; background: var(--bg-white); padding: 2.25rem 2rem; border-radius: var(--radius-lg); border: 1px solid var(--border); transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s; text-align: center; display: flex; flex-direction: column; align-items: center; box-sizing: border-box; box-shadow: var(--shadow-sm); }
.card::before { content: ''; position: absolute; inset: 0; border-radius: var(--radius-lg); border: 2px solid #22c55e; opacity: 0; transform: scale(1.05); transition: opacity 0.3s ease, transform 0.3s ease; pointer-events: none; }
.card:hover::before { opacity: 1; transform: scale(1); }
.card:hover { box-shadow: 0 4px 20px rgba(34, 197, 94, 0.2); border-color: #22c55e; transform: translateY(-3px); }
.card .card-icon--gear { flex-shrink: 0; }
.card-icon { width: 3.5rem; height: 3.5rem; margin-left: auto; margin-right: auto; background: var(--primary-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
@keyframes tick-pop {
  0% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.5) rotate(120deg); }
  50% { transform: scale(0.9) rotate(260deg); }
  70% { transform: scale(1.2) rotate(340deg); }
  85% { transform: scale(1.05) rotate(358deg); }
  100% { transform: scale(1.15) rotate(360deg); }
}
.card-icon svg { width: 1.75rem; height: 1.75rem; color: #22c55e; transition: color 0.2s ease; }
.card-icon--tick svg { transform-origin: center center; }
.card:hover .card-icon--tick svg { color: #22c55e; animation: tick-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
@keyframes cog-spin-cw {
  0% { transform: translateX(-6px) rotate(0deg); }
  100% { transform: translateX(0) rotate(360deg); }
}
@keyframes cog-spin-ccw {
  0% { transform: translateX(6px) rotate(0deg); }
  100% { transform: translateX(0) rotate(-360deg); }
}
.card-icon--gear {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
  background: var(--primary-light);
  border-radius: var(--radius);
  transition: color 0.3s ease;
}
.card-icon--gear .gear-cog {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  transition: color 0.3s ease;
}
.card-icon--gear .gear-cog--left { left: 0.5rem; }
.card-icon--gear .gear-cog--right { left: 1.5rem; right: auto; width: 1.25rem; height: 1.25rem; }
.card-icon--gear .gear-cog svg { width: 100%; height: 100%; transform-origin: center center; }
.card:hover .card-icon--gear .gear-cog { color: #22c55e; }
.card:hover .card-icon--gear .gear-cog--left svg { animation: cog-spin-cw 1.75s ease forwards; }
.card:hover .card-icon--gear .gear-cog--right svg { animation: cog-spin-ccw 1.75s ease forwards; }

@keyframes shield-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.95; }
}
.card-icon--shield svg { transform-origin: center center; transition: color 0.3s ease; }
.card:hover .card-icon--shield svg { color: #22c55e; animation: shield-pulse 0.6s ease forwards; }

.card h3 { font-size: 1.25rem; color: #1E2A38; margin: 0 0 1rem 0; font-weight: 600; }
.card p { color: #243447; margin: 0; font-size: 0.9375rem; line-height: 1.6; }

/* About page – Our Values */
@keyframes values-quality-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.95; }
}
@keyframes values-customer-bounce {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-4px); }
  70% { transform: translateY(2px); }
}
@keyframes values-precision-pop {
  0% { transform: scale(1); }
  35% { transform: scale(1.15); }
  70% { transform: scale(0.96); }
  100% { transform: scale(1.05); }
}
.cards--values .card::before { inset: 0; width: auto; border: 2px solid transparent; border-radius: var(--radius-lg); opacity: 0; transform: scale(1.05); }
.cards--values .card:hover::before { opacity: 1; transform: scale(1); }
.cards--values .card:nth-child(1)::before { border-color: #22c55e; background: transparent; }
.cards--values .card:nth-child(1):hover { border-color: rgba(34, 197, 94, 0.25); box-shadow: 0 4px 20px rgba(34, 197, 94, 0.15); }
.cards--values .card:nth-child(2)::before { border-color: #3da5f5; background: transparent; }
.cards--values .card:nth-child(2):hover { border-color: rgba(61, 165, 245, 0.25); box-shadow: 0 4px 20px rgba(61, 165, 245, 0.15); }
.cards--values .card:nth-child(3)::before { border-color: #8b5cf6; background: transparent; }
.cards--values .card:nth-child(3):hover { border-color: rgba(139, 92, 246, 0.25); box-shadow: 0 4px 20px rgba(139, 92, 246, 0.15); }
.cards--values .card-icon--quality svg { color: #22c55e; transition: color 0.3s ease, transform 0.3s ease; }
.cards--values .card:hover .card-icon--quality svg { color: #4ade80; animation: values-quality-pulse 0.6s ease forwards; }
.cards--values .card-icon--quality { background: rgba(34, 197, 94, 0.1); transition: background 0.3s ease; }
.cards--values .card:hover .card-icon--quality { background: rgba(34, 197, 94, 0.18); }

.cards--values .card-icon--customer svg { color: var(--primary); transition: color 0.3s ease, transform 0.3s ease; }
.cards--values .card:hover .card-icon--customer svg { color: #3da5f5; animation: values-customer-bounce 0.55s ease forwards; }
.cards--values .card-icon--customer { background: var(--primary-light); transition: background 0.3s ease; }
.cards--values .card:hover .card-icon--customer { background: rgba(2, 139, 238, 0.18); }

.cards--values .card-icon--precision svg { color: #8b5cf6; transition: color 0.3s ease, transform 0.3s ease; transform-origin: center center; }
.cards--values .card:hover .card-icon--precision svg { color: #a78bfa; animation: values-precision-pop 0.5s ease-out forwards; }
.cards--values .card-icon--precision { background: rgba(139, 92, 246, 0.1); transition: background 0.3s ease; }
.cards--values .card:hover .card-icon--precision { background: rgba(139, 92, 246, 0.18); }

/* ─── Steps ─── */
.steps { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
  .step:nth-child(even) { margin-top: 4rem; }
}
.step { position: relative; background: var(--bg-white); padding: 0; border-radius: var(--radius-lg); border: 1px solid var(--border); transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; overflow: hidden; box-shadow: var(--shadow-sm); }
.step:hover { border-color: rgba(30, 42, 56, 0.15); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.step-img { width: 100%; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-light); position: relative; cursor: pointer; }
.step-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.step:hover .step-img img { transform: scale(1.05); }
.step[data-process="step4"] .step-img img { object-position: top; }
.step-img::after { content: '+'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0); width: 3rem; height: 3rem; background: rgba(30, 42, 56, 0.9); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 300; transition: transform 0.3s ease; pointer-events: none; }
.step:hover .step-img::after { transform: translate(-50%, -50%) scale(1); }
.step-num { font-size: 3rem; color: #1E2A38; margin: 0; padding: 1rem 1.5rem 0.5rem; font-weight: 700; }
.step h3 { font-size: 1.125rem; color: var(--text-primary); margin: 0 0 0.5rem 0; padding: 0 1.5rem; font-weight: 600; }
.step p { font-size: 0.875rem; color: #243447; margin: 0 0 1.5rem 0; padding: 0 1.5rem; }

/* ─── Gallery ─── */
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item { position: relative; min-height: 12rem; height: 16rem; overflow: hidden; border-radius: var(--radius-lg); cursor: pointer; }
@media (max-width: 767px) { .gallery-item { min-height: 10rem; height: 14rem; } }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: rgba(30, 42, 56, 0.7); opacity: 0; transition: opacity 0.3s; }
.gallery-item:hover::after { opacity: 0.5; }

/* Gallery carousel */
.carousel-wrap { position: relative; margin-bottom: 2rem; max-width: 100%; overflow: hidden; }
.carousel { border-radius: var(--radius-lg); overflow: hidden; max-width: 100%; }
.carousel-viewport { overflow: hidden; border-radius: var(--radius-lg); max-width: 100%; }
.carousel-track {
  display: flex; will-change: transform;
  width: 600%;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.carousel-track.no-transition { transition: none; }
.carousel-slide {
  flex: 0 0 calc(100% / 6); width: calc(100% / 6); min-width: 0;
  position: relative; opacity: 0.92;
  transition: opacity 0.35s ease;
}
@media (max-width: 767px) {
  .carousel-slide { flex: 0 0 100%; width: 100%; }
}
.carousel-slide.is-active { opacity: 1; }
.carousel-slide img {
  width: 100%; height: auto; min-height: 18rem; max-height: 32rem; object-fit: cover; display: block; vertical-align: top;
}
@media (max-width: 767px) {
  .carousel-slide img { min-height: 14rem; max-height: 24rem; }
}
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 2; width: 3rem; height: 3rem;
  border: none; border-radius: 50%;
  background: rgba(255, 255, 255, 0.95); color: var(--primary);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-md);
}
.carousel-arrow:hover { background: #fff; color: var(--primary-dark); box-shadow: var(--shadow-lg); }
.carousel-arrow--prev { left: 1rem; }
.carousel-arrow--next { right: 1rem; }
.carousel-arrow svg { width: 1.5rem; height: 1.5rem; }
.gallery-more { text-align: center; margin-top: 1.5rem; }
.gallery-more a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(30, 42, 56, 0.08);
  border: 1px solid rgba(30, 42, 56, 0.25);
  border-radius: var(--radius);
  color: #1E2A38;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.gallery-more a:hover {
  background: #1E2A38;
  color: #fff;
  border-color: #1E2A38;
  transform: translateY(-1px);
}
.gallery-more a:hover svg { stroke: #fff; }
.gallery-more svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }

/* ─── Location ─── */
.location-block { max-width: 56rem; margin: 0 auto; background: transparent; padding: 2rem 0; border: none; border-radius: 0; text-align: center; }
@media (min-width: 768px) { .location-block { padding: 3rem 0; } }
.location-block h2 { font-size: 1.5rem; color: #1E2A38; margin: 0 0 0.5rem 0; font-weight: 700; }
@media (min-width: 768px) { .location-block h2 { font-size: 1.875rem; } }
.location-block .location-address { font-size: 1rem; color: #243447; margin: 0 0 1.25rem 0; }
.location-map-wrap { position: relative; width: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-light); aspect-ratio: 16/10; min-height: min(280px, 50vh); box-shadow: var(--shadow-sm); }
.location-map { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; display: block; }

/* ─── Page Hero ─── */
.page-hero { position: relative; padding-top: 7.5rem; padding-bottom: 8rem; overflow: hidden; }
@media (max-width: 767px) { .page-hero { padding-top: 5rem; padding-bottom: 4rem; } }
.page-hero .hero-video-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-hero .hero-bg, .page-hero .hero-pattern { position: absolute; inset: 0; z-index: 1; }
.page-hero-inner { position: relative; z-index: 10; text-align: center; max-width: 48rem; margin: 0 auto; }
.page-hero h1 { font-size: 2.25rem; color: #fff; margin: 0 0 1.5rem 0; font-weight: 700; letter-spacing: -0.02em; }
@media (min-width: 768px) { .page-hero h1 { font-size: 3rem; } }
.page-hero p { font-size: 1.25rem; color: rgba(255, 255, 255, 0.9); margin: 0; }

/* ─── Two-Column ─── */
.two-col { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .two-col { grid-template-columns: 1fr 1fr; } }
.two-col h2 { font-size: 1.875rem; color: #1E2A38; margin: 0 0 1.5rem 0; font-weight: 700; }
@media (min-width: 768px) { .two-col h2 { font-size: 2.25rem; } }
.two-col .text p { color: #243447; margin: 0 0 1rem 0; }
.two-col .img-wrap { position: relative; min-height: 200px; height: min(400px, 55vh); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.two-col .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) { .two-col .img-wrap { min-height: 180px; height: min(320px, 45vh); } }
.two-col .img-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(30, 42, 56, 0.25), transparent); }

/* ─── Mission/Vision ─── */
.mv-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 4rem; }
@media (min-width: 768px) { .mv-grid { grid-template-columns: repeat(2, 1fr); } }
.mv-card { background: var(--bg-white); padding: 2.25rem; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: box-shadow 0.2s, transform 0.2s; }
.mv-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.mv-card h3 { font-size: 1.5rem; color: #1E2A38; margin: 0 0 1rem 0; font-weight: 600; }
.mv-card p { color: #243447; margin: 0; line-height: 1.7; }

/* ─── Products ─── */
.products-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
.product-card { position: relative; background: var(--bg-white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; box-shadow: var(--shadow-sm); }
.product-card:hover { border-color: rgba(30, 42, 56, 0.15); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.product-card img { width: 100%; height: 16rem; min-height: 12rem; object-fit: cover; transition: transform 0.5s; }
@media (max-width: 767px) { .product-card img { height: 14rem; min-height: 10rem; } }
.product-card:hover img { transform: scale(1.05); }
.product-card .body { padding: 1.75rem; }
.product-card h3 { font-size: 1.5rem; color: #1E2A38; margin: 0 0 0.75rem 0; font-weight: 600; }
.product-card .desc { color: #243447; margin: 0 0 1.5rem 0; }
.product-card h4 { font-size: 0.875rem; color: #1E2A38; margin: 0 0 0.75rem 0; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.product-card ul { list-style: none; padding: 0; margin: 0 0 1.5rem 0; }
.product-card ul li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: #243447; margin-bottom: 0.5rem; }
.product-card ul li svg { width: 1rem; height: 1rem; color: #1E2A38; flex-shrink: 0; margin-top: 0.125rem; }

/* Orange Premium Line accent */
.product-card--orange ul li svg { color: #f97316; }
.product-card--orange h4 { color: #f97316; }
.product-card--orange:hover { background: #fff7ed; border-color: #f97316 !important; box-shadow: 0 4px 20px rgba(249, 115, 22, 0.25); }

/* ─── Certifications (Home Page) ─── */
.certifications-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .certifications-grid { grid-template-columns: repeat(3, 1fr); } }
.certification-card { background: var(--bg-white); border-radius: var(--radius-lg); padding: 1.75rem; text-align: center; border: 1px solid var(--border); transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; box-shadow: var(--shadow-sm); }
.certification-card:hover { border-color: rgba(30, 42, 56, 0.15); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.certification-logo { width: 120px; height: 120px; margin: 0 auto 1.25rem; display: flex; align-items: center; justify-content: center; background: var(--bg-white); border-radius: var(--radius); }
.certification-logo img { width: 100%; height: 100%; object-fit: contain; }
.certification-logo img[src*="iso-9001"] { mix-blend-mode: multiply; }
.certification-card h3 { font-size: 1.5rem; color: #1E2A38; margin: 0 0 0.25rem 0; font-weight: 700; }
.certification-subtitle { font-size: 0.9375rem; color: #243447; font-weight: 600; margin: 0 0 1rem 0; }
.certification-card .desc { font-size: 0.9375rem; color: #243447; margin: 0; line-height: 1.6; }

/* ─── Tech Grid ─── */
.tech-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; max-width: 64rem; margin: 0 auto; }
@media (min-width: 768px) { .tech-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tech-grid { grid-template-columns: repeat(3, 1fr); } }
.tech-item { display: flex; align-items: center; gap: 0.75rem; background: var(--bg-white); padding: 1.125rem; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: box-shadow 0.2s; }
.tech-item:hover { box-shadow: var(--shadow-md); }
.tech-item svg { width: 1.25rem; height: 1.25rem; color: var(--primary); flex-shrink: 0; }
.tech-item span { color: var(--text-primary); font-weight: 500; }

/* ─── CTA ─── */
.cta-block { max-width: 48rem; margin: 0 auto; text-align: center; }
.cta-block h2 { font-size: 1.875rem; color: #1E2A38; margin: 0 0 1.5rem 0; font-weight: 700; }
@media (min-width: 768px) { .cta-block h2 { font-size: 2.25rem; } }
.cta-block p { color: #243447; margin: 0 0 2rem 0; }

/* ─── Contact Page ─── */
.contact-page-section { background: #D9E2EC; padding: 3rem 0; padding-top: 8.5rem; }
@media (max-width: 767px) { .contact-page-section { padding-top: 5.5rem; } }
.contact-page-section .container { max-width: 72rem; }
.contact-page-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .contact-page-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 3rem; } }
.contact-form-wrap, .contact-office-wrap { min-width: 0; max-width: 100%; overflow: clip; }
.contact-page-form { min-width: 0; max-width: 100%; }
.contact-page-heading { font-size: 1.75rem; font-weight: 700; color: #1E2A38; margin: 0 0 1.5rem 0; }
.contact-page-form label { display: block; color: #243447; margin-bottom: 0.5rem; font-size: 0.875rem; font-weight: 500; }
.contact-page-form label span[aria-hidden="true"] { color: #243447; }
.contact-page-form input,
.contact-page-form textarea { width: 100%; max-width: 100%; padding: 0.75rem 1rem; background: #fff; border: 1px solid rgba(30, 42, 56, 0.2); border-radius: var(--radius); color: #243447; font: inherit; margin-bottom: 1.25rem; transition: border-color 0.2s, box-shadow 0.2s; box-sizing: border-box; }
.honeypot-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; }
.contact-page-form input::placeholder, .contact-page-form textarea::placeholder { color: #243447; }
.contact-page-form textarea { min-height: 8rem; resize: vertical; }
.contact-page-form input:focus,
.contact-page-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30, 42, 56, 0.1); }
.phone-field:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30, 42, 56, 0.1); }
.phone-field:focus-within input[type="tel"] { box-shadow: none !important; }
.contact-page-form button:not(.phone-prefix-btn) { width: 100%; padding: 1rem 2rem; background: #1E2A38; color: #fff; border: none; border-radius: var(--radius); font-size: 1rem; font-weight: 600; cursor: pointer; transition: background 0.2s, transform 0.2s, box-shadow 0.2s; }
.contact-page-form button:not(.phone-prefix-btn):hover { background: #243447; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(30, 42, 56, 0.3); }
.contact-office-wrap { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-page-map-wrap { position: relative; width: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-light); aspect-ratio: 16/10; min-height: min(240px, 45vh); box-shadow: var(--shadow-sm); }
.contact-page-map { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; display: block; }
.contact-office-details { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; margin-top: 0.5rem; }
@media (max-width: 767px) { .contact-office-details { flex-direction: column; align-items: flex-start; gap: 1rem; } }
@media (min-width: 768px) { .contact-office-details { flex-wrap: nowrap; } }
.contact-office-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.75rem; padding: 0.75rem; background: transparent; border: 1px solid transparent; border-radius: var(--radius); color: var(--text-muted); text-decoration: none; transition: color 0.2s, border-color 0.2s; flex: 0 1 auto; min-width: 0; max-width: 100%; }
@media (max-width: 767px) { .contact-office-item { flex-direction: row; text-align: left; align-items: flex-start; flex: none; width: 100%; } }
.contact-office-item:hover { color: #1E2A38; border-color: rgba(30, 42, 56, 0.5); }
.contact-office-item div { display: flex; flex-direction: column; gap: 0.35rem; align-items: center; min-width: 0; }
@media (max-width: 767px) { .contact-office-item div { align-items: flex-start; } }
.contact-office-item strong { font-size: 0.875rem; color: #1E2A38; }
.contact-office-item span { font-size: 0.9375rem; color: #243447; line-height: 1.4; overflow-wrap: anywhere; word-break: break-word; }
.contact-office-item:hover span { color: #243447; }
.contact-office-hours { min-width: fit-content; }
.contact-office-hours span { white-space: nowrap; overflow-wrap: normal; word-break: normal; }
.contact-office-icon { width: 2.5rem; height: 2.5rem; flex-shrink: 0; background: rgba(30, 42, 56, 0.08); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.contact-office-icon svg { width: 1.25rem; height: 1.25rem; color: #1E2A38; }

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-form h2, .contact-info h2 { font-size: 1.875rem; color: #1E2A38; margin: 0 0 2rem 0; }
.contact-form label { display: block; color: #243447; margin-bottom: 0.5rem; }
.contact-form input, .contact-form textarea { width: 100%; padding: 0.75rem 1rem; background: #fff; border: 1px solid rgba(30, 42, 56, 0.2); border-radius: var(--radius); color: #243447; font: inherit; margin-bottom: 1.5rem; transition: border-color 0.2s, box-shadow 0.2s; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #243447; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30, 42, 56, 0.1); }
.contact-form textarea { resize: none; min-height: 8rem; }
.contact-form button { width: 100%; padding: 1rem 2rem; background: #1E2A38; color: #fff; border: none; border-radius: var(--radius); font-size: 1rem; font-weight: 600; cursor: pointer; transition: background 0.2s, transform 0.2s, box-shadow 0.2s; }
.contact-form button:hover { background: #243447; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(30, 42, 56, 0.3); }
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 1rem; background: var(--bg-white); padding: 1.5rem; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.contact-detail-link { color: inherit; text-decoration: none; cursor: pointer; transition: background 0.2s, border-color 0.2s, box-shadow 0.2s; }
.contact-detail-link:hover { background: #BCCCDC; border-color: rgba(30, 42, 56, 0.15); }
.contact-detail .icon { width: 3rem; height: 3rem; background: #D9E2EC; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-detail .icon svg { width: 1.5rem; height: 1.5rem; color: #1E2A38; }
.contact-detail h3 { color: #1E2A38; margin: 0 0 0.5rem 0; font-size: 1rem; }
.contact-detail a, .contact-detail p, .contact-detail div, .contact-detail span { color: #243447; margin: 0; }
.contact-detail a:hover, .contact-detail-link:hover span, .contact-detail-link:hover h3 { color: #243447; }

.map-placeholder { background: var(--bg-white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.map-placeholder-inner { min-height: 16rem; height: min(24rem, 50vh); display: flex; align-items: center; justify-content: center; }
.map-placeholder-inner .content { text-align: center; }
.map-placeholder-inner svg { width: 4rem; height: 4rem; color: var(--primary); margin: 0 auto 1rem; display: block; }
.map-placeholder-inner p { margin: 0 0 0.5rem 0; color: #1E2A38; font-size: 1.25rem; }
.map-placeholder-inner .hint { color: #243447; font-size: 1rem; }

/* ─── Gallery Page ─── */
@keyframes gallery-image-in {
  0% { opacity: 0; transform: scale(0.92) translateY(1.5rem); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.gallery-page-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .gallery-page-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery-page-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-page-item { position: relative; min-height: 14rem; height: 20rem; overflow: hidden; border-radius: var(--radius-lg); cursor: pointer; box-shadow: var(--shadow-sm); }
@media (max-width: 767px) { .gallery-page-item { min-height: 12rem; height: 18rem; } }
.gallery-page-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-page-item:hover img { transform: scale(1.1); }
.gallery-page-item .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(30, 42, 56, 0.85), transparent 50%); opacity: 0; transition: opacity 0.3s; display: flex; align-items: flex-end; padding: 1.5rem; }
.gallery-page-item:hover .overlay { opacity: 1; }
.gallery-page-item .overlay h3 { color: #fff; margin: 0; font-size: 1rem; }

/* ─── Lightbox ─── */
.lightbox { display: none; position: fixed; inset: 0; z-index: 100; background: rgba(26, 26, 46, 0.95); backdrop-filter: blur(12px); align-items: center; justify-content: center; padding: 1rem; }
.lightbox.is-open { display: flex; }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; width: 3rem; height: 3rem; background: rgba(255, 255, 255, 0.1); border: none; border-radius: 50%; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.lightbox-close:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox-close svg { width: 1.5rem; height: 1.5rem; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 2rem); object-fit: contain; border-radius: var(--radius-lg); }

/* ─── Team ─── */
.team-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card { text-align: center; }
.team-card .img-wrap { position: relative; min-height: 14rem; height: 20rem; margin-bottom: 1.5rem; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-light); box-shadow: var(--shadow-sm); }
.team-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) { .team-card .img-wrap { min-height: 12rem; height: 16rem; } }
.team-card .img-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26, 26, 46, 0.5), transparent); }
.team-card h3 { font-size: 1.25rem; color: #1E2A38; margin: 0 0 0.5rem 0; font-weight: 600; }
.team-card p { color: #243447; margin: 0; }

/* ─── Accessibility ─── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.nav-toggle:focus-visible,
.lang-picker-trigger:focus-visible,
.lang-picker-flag:focus-visible,
.carousel-arrow:focus-visible,
.lightbox-close:focus-visible,
.footer-social a:focus-visible,
.contact-detail-link:focus-visible,
.contact-office-item:focus-visible,
.gallery-item:focus-visible,
.gallery-page-item:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(30, 42, 56, 0.15);
}

/* ─── Phone Field ─── */
.phone-field {
  display: flex;
  gap: 0;
  margin-bottom: 1.25rem;
  align-items: stretch;
  min-width: 0;
  border: 1px solid rgba(30, 42, 56, 0.2);
  border-radius: var(--radius);
  background: #fff;
  overflow: visible;
}
.phone-field .phone-prefix {
  flex: 0 0 auto;
  width: 170px;
  min-width: 0;
  padding: 0.75rem 0.5rem;
  font-size: 0.875rem;
  background: #fff;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235a5a6e' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-right: 1.5rem;
}
@media (max-width: 400px) {
  .phone-field .phone-prefix { width: 130px; font-size: 0.8125rem; }
}
/* ─── Custom Phone Prefix Dropdown ─── */
.phone-prefix-wrap {
  position: relative;
  flex: 0 0 auto;
  width: 90px;
  min-width: 0;
}
.phone-prefix-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  width: 100%;
  height: 100%;
  padding: 0.75rem 0.6rem;
  background: #fff;
  color: #243447;
  border: none;
  border-radius: var(--radius) 0 0 var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
}
.phone-prefix-btn svg { flex-shrink: 0; opacity: 0.8; }
.prefix-flag { border-radius: 2px; flex-shrink: 0; }
.phone-prefix-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 200;
  background: #fff;
  border: 1px solid rgba(30, 42, 56, 0.15);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 280px;
  max-height: 280px;
  overflow-y: auto;
}
.phone-prefix-dropdown.is-open { display: block; }
.prefix-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: #243447;
  transition: background 0.15s;
}
.prefix-option:hover { background: rgba(30, 42, 56, 0.08); }
.prefix-option img { border-radius: 2px; flex-shrink: 0; }
.contact-page-form .phone-field input[type="tel"] {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  margin-bottom: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  background: transparent !important;
  padding: 0.75rem 1rem;
}

/* ─── Product Modal ─── */
.product-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overscroll-behavior: contain;
}
.product-modal.is-open {
  display: flex;
  overflow: hidden;
  touch-action: none;
}
.product-modal.is-open ~ .page-wrap,
.product-modal.is-open ~ body {
  overflow: hidden;
  touch-action: none;
}
.product-modal.is-open .product-modal-backdrop {
  pointer-events: auto;
}
.product-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 46, 0.85);
  backdrop-filter: blur(8px);
  cursor: pointer;
  z-index: 1;
}
.product-modal-content {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  max-width: 64rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  z-index: 2;
  pointer-events: auto;
}
.product-modal-close {
  position: sticky;
  top: 0;
  align-self: flex-end;
  z-index: 10;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: rgba(0,0,0,0.06);
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-primary);
  margin: 0.75rem 0.75rem 0 0;
  flex-shrink: 0;
  transition: background 0.2s;
}
.product-modal-close:hover { background: rgba(0,0,0,0.12); }
.product-modal-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 0 2rem 2rem;
}
@media (min-width: 768px) {
  .product-modal-body { grid-template-columns: 1fr 1fr; padding: 0 2.5rem 2.5rem; }
}

/* Modal images */
.pm-images { display: flex; flex-direction: column; gap: 0.75rem; }
.pm-main-img {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-light);
}
.pm-main-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm-thumbs { display: flex; gap: 0.5rem; }
.pm-thumb {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  background: var(--bg-light);
  transition: border-color 0.2s;
}
.pm-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm-thumb.is-active { border-color: var(--primary); }
.pm-thumb:hover { border-color: var(--primary); opacity: 0.85; }

/* Modal info */
.pm-info { display: flex; flex-direction: column; gap: 0; }
.pm-title { font-size: 1.75rem; font-weight: 700; color: #1E2A38; margin: 0 0 0.75rem; }
.pm-desc { font-size: 1rem; color: #243447; margin: 0 0 1.5rem; line-height: 1.6; }
.pm-details { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 1.5rem; }
.pm-detail-row { border-left: 3px solid var(--primary); padding-left: 1rem; }
.pm-detail-row h4 { font-size: 0.8125rem; font-weight: 600; color: #243447; margin: 0 0 0.25rem; text-transform: uppercase; letter-spacing: 0.05em; }
.pm-detail-row p { font-size: 0.9375rem; color: #243447; margin: 0; line-height: 1.5; }
.pm-cta { display: inline-block; text-align: center; }
.pm-info .pm-cta {
  display: block;
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: #fff;
  color: #1E2A38;
  border: 2px solid #1E2A38;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.25s ease;
  margin-top: 1.5rem;
}
.pm-info .pm-cta:hover {
  background: #1E2A38;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 42, 56, 0.3);
}

/* Product card hover hint */
.product-card { transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }

/* ─── Process Modal ─── */
.process-modal { display: none; position: fixed; inset: 0; z-index: 10000; align-items: center; justify-content: center; padding: 1rem; overscroll-behavior: contain; }
.process-modal.is-open { display: flex; overflow: hidden; }
.process-modal.is-open ~ .page-wrap, .process-modal.is-open ~ body { overflow: hidden; touch-action: none; }
.process-modal-backdrop { position: fixed; inset: 0; background: rgba(26, 26, 46, 0.85); backdrop-filter: blur(8px); cursor: pointer; z-index: 1; }
.process-modal-content { position: relative; background: #fff; border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(0,0,0,0.3); max-width: 56rem; width: 100%; max-height: 90vh; overflow-y: auto; overflow-x: hidden; display: flex; flex-direction: column; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; z-index: 2; pointer-events: auto; }
.process-modal-close { position: sticky; top: 0; align-self: flex-end; z-index: 10; width: 2.5rem; height: 2.5rem; border: none; background: rgba(0,0,0,0.06); border-radius: 50%; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--text-primary); margin: 0.75rem 0.75rem 0 0; flex-shrink: 0; transition: background 0.2s; }
.process-modal-close:hover { background: rgba(0,0,0,0.12); }
.process-modal-body { padding: 0 2rem 2rem; }
.process-modal-body .proc-image { width: 100%; aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1.5rem; }
.process-modal-body .proc-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.process-modal-body .proc-image--top img { object-position: top; }
.process-modal-body .proc-title { font-size: 1.75rem; font-weight: 700; color: #1E2A38; margin: 0 0 0.5rem; }
.process-modal-body .proc-subtitle { font-size: 1rem; color: #243447; font-weight: 600; margin: 0 0 1.25rem; }
.process-modal-body .proc-desc { font-size: 1rem; color: #243447; line-height: 1.7; margin: 0 0 1.5rem; }
.process-modal-body .proc-details { display: flex; flex-direction: column; gap: 1rem; }
.process-modal-body .proc-detail { border-left: 3px solid var(--primary); padding-left: 1rem; }
.process-modal-body .proc-detail h4 { font-size: 0.875rem; font-weight: 600; color: #243447; margin: 0 0 0.25rem; text-transform: uppercase; letter-spacing: 0.05em; }
.process-modal-body .proc-detail p { font-size: 0.9375rem; color: #243447; margin: 0; line-height: 1.6; }
