/* ==========================================================================
   YOUR BRAND — Lens & Coatings site
   Structural clone of a reference site. Replace colors, fonts, logo and
   copy with your own. Anywhere you see [REPLACE: ...] in the HTML files,
   that's a spot meant for your content.
   ========================================================================== */

:root {
  --color-bg: #ffffff;
  --color-surface: #f4f6f8;
  --color-ink: #171b21;
  --color-ink-muted: #5b6472;
  --color-primary: #1a6fd1;   /* NexVue blue — from logo */
  --color-primary-dark: #0d4a94;
  --color-accent: #4fc3f7;    /* light cyan-blue accent — from logo X mark */
  --color-border: #e2e6ea;

  --color-header: #0a1a3d;    /* deep navy, matches the NexVue logo background */
  --color-header-text: #cfd8e3;
  --color-header-text-active: #0a0a0a;
  --color-card-cream: #f7ecdb; /* warm card background under intro images */

  --font-display: 'Poppins', 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--color-ink);
}

h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { max-width: 68ch; color: var(--color-ink-muted); }

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

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 4px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--color-primary-dark); }
.btn.outline {
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-header);
  border-bottom: none;
}

.nav-row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 0 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.logo-placeholder {
  display: flex;
  align-items: center;
  padding: 10px 14px 10px 0;
}
.logo-placeholder img {
  height: 42px;
  width: auto;
  display: block;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #fff;
}

.main-nav > ul {
  list-style: none;
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
  height: 100%;
}

.main-nav > ul > li {
  position: relative;
  display: flex;
  align-items: stretch;
}

.main-nav a {
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-header-text);
  height: 100%;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a {
  color: var(--color-header-text-active);
  background: #fff;
}

.has-dropdown > a::after {
  content: ' \25BE';
  font-size: 0.7em;
  margin-left: 4px;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  max-width: 240px;
  list-style: none;
  margin: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 12px 24px rgba(15, 20, 30, 0.15);
  padding: 8px;
  z-index: 10;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  display: block;
}

.dropdown li a { padding: 9px 12px; border-radius: 4px; color: var(--color-ink); height: auto; }
.dropdown li a:hover { background: var(--color-surface); color: var(--color-primary); }

/* ---------- Hero (full-bleed split: image left, dark panel right) ---------- */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.hero-split .hero-image {
  background: linear-gradient(135deg, #d8dee4, #aeb8c2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #55606c;
  font-size: 0.85rem;
  padding: 20px;
  text-align: center;
}
.hero-split .hero-copy {
  background: var(--color-header);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 64px;
}
.hero-split h1 {
  color: #fff;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.hero-split p { color: rgba(255,255,255,0.85); max-width: 56ch; font-size: 1.02rem; }
.hero-split .hero-actions { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-split .btn.outline { border-color: rgba(255,255,255,0.6); color: #fff; }

/* Older simple hero (kept for product/coating pages) */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: 90px 0 100px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero p { color: rgba(255,255,255,0.85); max-width: 46ch; }
.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 10px;
}
.hero-actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn.outline { border-color: rgba(255,255,255,0.6); color: #fff; }

/* ---------- Intro cards (image on top, cream caption card below) ---------- */
.intro-heading {
  text-align: center;
  padding: 56px 0 32px;
  border-bottom: 1px solid var(--color-border);
}
.intro-heading .intro-logo-mark {
  max-width: 260px;
  margin: 0 auto 18px;
}
.intro-heading h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 1px;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}
.intro-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 48px 0;
}
.intro-card .image-placeholder {
  min-height: 220px;
  border-radius: 0;
  border: 1px dashed var(--color-border);
}
.intro-card .intro-caption {
  background: var(--color-card-cream);
  padding: 22px 20px;
  font-size: 0.92rem;
  color: #4a4033;
  text-align: center;
  line-height: 1.65;
}

/* ---------- Stock / product rows (image left, text + bullets right) ---------- */
.stock-row {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--color-border);
  align-items: start;
}
.stock-row:last-child { border-bottom: none; }
.stock-row .image-placeholder {
  min-height: 260px;
  border-radius: 0;
}
.stock-row h2 { font-size: 1.4rem; margin-bottom: 4px; }
.stock-row .stock-tagline { color: var(--color-ink-muted); font-style: italic; margin-bottom: 14px; }
.stock-row ul.benefits { margin: 10px 0 0; padding-left: 20px; color: var(--color-ink-muted); }
.stock-row ul.benefits li { margin-bottom: 6px; }
.stock-row .benefits-label { font-weight: 700; color: var(--color-ink); margin-top: 16px; margin-bottom: 6px; }

.image-placeholder {
  border: 1.5px dashed rgba(255,255,255,0.5);
  border-radius: 10px;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}
.image-placeholder.light {
  border-color: var(--color-border);
  background: var(--color-surface);
  color: var(--color-ink-muted);
}

/* ---------- Banner carousel (auto-advance every 3s, prev/next arrows) ---------- */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #060f24;
  line-height: 0;
}
.carousel-track {
  display: flex;
  transition: transform 0.6s ease;
}
.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
}
.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(10, 20, 40, 0.55);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}
.carousel-arrow:hover { background: rgba(10, 20, 40, 0.8); }
.carousel-arrow.prev { left: 16px; }
.carousel-arrow.next { right: 16px; }
.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.carousel-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  padding: 0;
}
.carousel-dots button.active { background: #fff; }

/* ---------- Brand hero banner (logo + tagline + lens graphic + features) ---------- */
.brand-hero {
  background: linear-gradient(100deg, #020a1a 0%, #08223f 40%, #0e3a68 100%);
  color: #fff;
  padding: 64px 0;
  overflow: hidden;
}
.brand-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 1fr;
  gap: 32px;
  align-items: center;
}
.brand-hero-logo { max-width: 320px; }
.brand-hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4rem;
  color: #cfe6fb;
  margin: 18px 0 0;
}
.lens-shape-wrap { display: flex; align-items: center; justify-content: center; }
.lens-shape {
  width: 220px;
  height: 120px;
  border-radius: 50%;
  transform: rotate(-24deg);
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(79,195,247,0.55) 45%, rgba(10,26,61,0.9) 100%);
  box-shadow: 0 0 60px rgba(79,195,247,0.45);
  position: relative;
}
.lens-shape::after {
  content: '';
  position: absolute;
  top: 14%;
  left: 12%;
  width: 30%;
  height: 55%;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  filter: blur(2px);
}
.brand-hero-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.brand-hero-features li { display: flex; align-items: flex-start; gap: 12px; }
.brand-hero-features .feat-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.brand-hero-features strong { display: block; font-size: 0.85rem; letter-spacing: 0.4px; }
.brand-hero-features span.feat-sub { font-size: 0.78rem; color: rgba(255,255,255,0.65); }

/* ---------- Lens range strip ---------- */
.lens-range { padding: 48px 0; background: var(--color-surface); }
.lens-range-inner { display: grid; grid-template-columns: 90px 1fr; gap: 24px; align-items: center; }
.lens-range-label {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 2px;
  font-size: 0.85rem;
  line-height: 1.6;
}
.lens-range-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}
.lens-box { display: flex; flex-direction: column; }
.lens-box-top {
  aspect-ratio: 3/4;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 10px;
  font-family: var(--font-display);
}
.lens-box-top .lb-brand { font-size: 0.55rem; letter-spacing: 1px; opacity: 0.8; }
.lens-box-top .lb-code { font-size: 1.1rem; font-weight: 700; margin: 8px 0 4px; }
.lens-box-top .lb-tag { font-size: 0.55rem; letter-spacing: 0.5px; opacity: 0.85; }
.lens-box-caption { text-align: center; font-size: 0.72rem; margin-top: 8px; color: var(--color-ink-muted); }
.lens-box-caption strong { display: block; color: var(--color-ink); font-size: 0.78rem; }

/* ---------- Product spotlight banner ---------- */
.spotlight { padding: 56px 0; }
.spotlight-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.spotlight-box {
  background: linear-gradient(135deg, var(--color-header) 0%, #123268 60%, var(--color-primary) 130%);
  border-radius: 10px;
  padding: 34px 30px;
  color: #fff;
  min-height: 300px;
  display: flex;
  align-items: center;
  box-shadow: 0 24px 50px rgba(10,26,61,0.25);
}
.spotlight-box-inner { width: 100%; }
.spotlight-logo { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: 1px; }
.spotlight-sub { font-size: 0.65rem; letter-spacing: 2px; color: rgba(255,255,255,0.65); margin-bottom: 20px; }
.spotlight-name { font-size: 1.5rem; font-weight: 700; color: var(--color-accent); }
.spotlight-tag { font-size: 0.8rem; color: rgba(255,255,255,0.75); margin-bottom: 18px; }
.spotlight-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.spotlight-chips span {
  font-size: 0.68rem;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  padding: 5px 12px;
  color: rgba(255,255,255,0.85);
}
.spotlight-copy .spotlight-eyebrow { color: var(--color-accent); font-weight: 700; letter-spacing: 1px; font-size: 0.78rem; margin-bottom: 6px; }
.spotlight-copy h2 { margin-bottom: 4px; }
.spotlight-list { list-style: none; margin: 18px 0; padding: 0; }
.spotlight-list li {
  padding: 8px 0 8px 26px;
  position: relative;
  color: var(--color-ink-muted);
  border-bottom: 1px solid var(--color-border);
  font-size: 0.92rem;
}
.spotlight-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}
.spotlight-seebeyond {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--color-primary);
  font-size: 1.1rem;
}

@media (max-width: 900px) {
  .brand-hero-inner { grid-template-columns: 1fr; text-align: center; }
  .lens-shape-wrap { order: 2; }
  .brand-hero-features { align-items: center; }
  .lens-range-inner { grid-template-columns: 1fr; }
  .lens-range-grid { grid-template-columns: repeat(3, 1fr); }
  .spotlight-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .lens-range-grid { grid-template-columns: repeat(2, 1fr); }
}

.distributor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 12px;
}
.distributor-card {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 24px;
  background: #fff;
}
.distributor-card .dist-region {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.distributor-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.distributor-card p { font-size: 0.88rem; margin: 0 0 6px; }

@media (max-width: 900px) {
  .distributor-grid { grid-template-columns: 1fr; }
}

/* ---------- Language switcher ---------- */
.lang-switcher {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 8px;
}
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--color-header-text);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 0.78rem;
  cursor: pointer;
}
.lang-toggle:hover { background: rgba(255,255,255,0.16); }
.lang-flag svg, .lang-menu svg { display: block; border-radius: 2px; }
.lang-caret { margin-left: 2px; }
.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(15,20,30,0.18);
  list-style: none;
  margin: 0;
  padding: 6px;
  min-width: 140px;
  z-index: 20;
}
.lang-menu.open { display: block; }
.lang-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--color-ink);
  font-size: 0.85rem;
}
.lang-menu a:hover { background: var(--color-surface); }

/* ---------- Brand tagline bar ---------- */
.brand-tagline {
  background: var(--color-surface);
  text-align: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-border);
}
.brand-tagline h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 4px;
  color: var(--color-header);
}
.brand-tagline p {
  margin: 0 auto;
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* ---------- Social icons ---------- */
.social-row { display: flex; gap: 10px; margin-top: 10px; }
.social-row a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85);
}
.social-row a:hover { background: rgba(255,255,255,0.1); }
.contact-info-item .social-row a {
  border-color: var(--color-border);
  color: var(--color-primary);
}

@media (max-width: 720px) {
  .lang-switcher { margin: 10px 0 0; }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section.alt { background: var(--color-surface); }
.section-head { max-width: 62ch; margin-bottom: 42px; }
.section-head .eyebrow {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 26px;
  background: #fff;
}
.feature-card .image-placeholder { min-height: 160px; margin-bottom: 18px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.92rem;
}
.spec-table th { color: var(--color-ink-muted); font-weight: 600; width: 40%; }

.product-list-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-tile {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 18px;
  text-align: center;
  background: #fff;
}
.product-tile .image-placeholder { min-height: 110px; margin-bottom: 14px; }
.product-tile h3 { font-size: 1rem; margin-bottom: 4px; }
.product-tile p { font-size: 0.85rem; margin: 0; }

.callout {
  background: var(--color-primary);
  color: #fff;
  border-radius: 10px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.callout h2 { color: #fff; margin: 0; }
.callout p { color: rgba(255,255,255,0.85); margin: 6px 0 0; }

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-ink);
}
.form-field input, .form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.form-field textarea { min-height: 130px; resize: vertical; }

.contact-info-item { margin-bottom: 22px; }
.contact-info-item h3 { margin-bottom: 4px; font-size: 1rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: #10151c;
  color: rgba(255,255,255,0.75);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer-logo img { height: 34px; width: auto; margin-bottom: 12px; }
.site-footer p, .site-footer a { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.social-row { display: flex; gap: 12px; margin-top: 10px; }
.social-row a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
}
.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  padding-top: 20px;
  color: rgba(255,255,255,0.45);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container, .two-col, .contact-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .product-list-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    width: 100%;
    order: 3;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .dropdown { position: static; box-shadow: none; display: none; border: none; padding-left: 12px; }
  .has-dropdown.open .dropdown { display: block; }
  .nav-row { flex-wrap: wrap; }
  .feature-grid, .product-list-grid { grid-template-columns: 1fr; }
}

/* ---------- Order tracking result ---------- */
.track-msg { font-size: 0.9rem; color: var(--color-ink-muted); }
.track-msg-error { color: #b3261e; }
.track-result-card {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 22px 24px;
  background: var(--color-surface);
  margin-top: 16px;
}
.track-result-card h3 { margin-bottom: 12px; color: var(--color-primary); }
.track-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.92rem;
}
.track-row:last-child { border-bottom: none; }
.track-label { font-weight: 600; color: var(--color-ink-muted); flex-shrink: 0; }
.track-value { text-align: right; color: var(--color-ink); }

/* ---------- Staff dashboard ---------- */
.dashboard-header-label {
  display: flex;
  align-items: center;
  color: var(--color-header-text);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0 4px;
}
.dashboard-gate { max-width: 420px; margin: 0 auto; text-align: center; }
.dashboard-gate-form { text-align: left; }
.dashboard-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.dashboard-form .form-field-row { display: flex; gap: 16px; }
.dashboard-form .form-field-row .form-field { flex: 1; }
.dashboard-form textarea { resize: vertical; }
.order-result-panel {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 24px;
  background: var(--color-surface);
  align-self: start;
}
.order-result-panel h3 { color: var(--color-primary); margin-bottom: 14px; }
.code-display {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-header);
  background: #fff;
  border: 1.5px dashed var(--color-primary);
  border-radius: 6px;
  padding: 14px 16px;
  text-align: center;
  margin-bottom: 12px;
}
.order-result-panel textarea {
  width: 100%;
  margin: 8px 0;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.88rem;
}
.orders-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.orders-table th, .orders-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.88rem;
  white-space: nowrap;
}
.orders-table th { color: var(--color-ink-muted); font-weight: 600; background: #fff; }
.btn.outline.small-btn { padding: 6px 12px; font-size: 0.8rem; }

@media (max-width: 900px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-form .form-field-row { flex-direction: column; }
}

/* =========================================================
   Mobile & tablet layout
   ========================================================= */
img, video, iframe { max-width: 100%; }
body { overflow-wrap: break-word; }
/* Grid children may shrink below their content width instead of pushing off-screen */
.stock-row > *, .two-col > *, .hero-split > *, .intro-cards > *, .feature-grid > *,
.contact-grid > *, .product-list-grid > *, .distributor-grid > * { min-width: 0; }

@media (max-width: 760px) {
  .container { padding: 0 18px; }
  .section { padding: 48px 0; }
  .section-head { margin-bottom: 28px; }
  h1 { font-size: clamp(1.7rem, 7vw, 2.1rem); }
  h2 { font-size: clamp(1.35rem, 5.5vw, 1.6rem); }

  /* Header: logo on the left, search / language / menu grouped on the right */
  .nav-row { padding: 0 14px; align-items: center; }
  .logo-placeholder { order: 0; padding: 8px 10px 8px 0; }
  .logo-placeholder img { height: 36px; }
  .search-toggle { order: 1; margin-left: auto; margin-right: 6px; }
  .lang-switcher { order: 2; margin: 0 4px 0 0; }
  .nav-toggle { order: 3; padding: 6px 2px 6px 8px; line-height: 1; }
  .main-nav { order: 10; }

  /* Homepage introduction cards: one per row, full-size photos */
  .intro-heading { padding: 36px 16px 22px; }
  .intro-heading .intro-logo-mark { max-width: 200px; }
  .intro-cards { grid-template-columns: 1fr; gap: 22px; padding: 30px 0 36px; max-width: 520px; margin: 0 auto; }
  .intro-card .image-placeholder { min-height: 180px; }
  .intro-card .intro-caption { padding: 18px 18px; }

  /* Stock rows: photo on top, text underneath */
  .stock-row { grid-template-columns: 1fr; gap: 18px; padding: 28px 0; }
  .stock-row .image-placeholder { min-height: 180px; }
  .stock-row h2 { font-size: 1.25rem; }

  /* Coating / product heroes: stack image above the text panel */
  .hero-split { grid-template-columns: 1fr; min-height: 0; }
  .hero-split .hero-image { min-height: 200px; }
  .hero-split .hero-copy { padding: 32px 20px 36px; }
  .hero { padding: 56px 0 64px; }
  .hero .container { gap: 28px; }

  /* Empty image placeholders should not leave huge blank gaps */
  .image-placeholder { min-height: 180px; }
  .two-col { gap: 26px; }

  .callout { padding: 28px 22px; }
  .callout .btn { width: 100%; text-align: center; }
  .feature-card { padding: 22px; }
  .gallery-main { max-height: 340px; }

  /* Track page: label above value so long values have room */
  .track-row { flex-direction: column; gap: 2px; }
  .track-value { text-align: left; }
  .track-result-card { padding: 18px 16px; }
}

@media (max-width: 420px) {
  .lang-label { display: none; }
  .lang-toggle { padding-left: 8px; padding-right: 8px; }
}
@media (max-width: 760px) {
  .intro-cards .intro-card-img { height: auto; max-height: 420px; object-fit: contain; background: #0a1a3d; }
}
@media (max-width: 760px) {
  /* Empty "[REPLACE image]" slots: hide on phones so they don't leave blank gaps.
     Real photos are <img> tags and still show normally. */
  .stock-row > .image-placeholder, .two-col > .image-placeholder, .feature-card .image-placeholder,
  .intro-card .image-placeholder, .product-tile .image-placeholder, .about-img .image-placeholder { display: none; }
  .hero-split .hero-image { min-height: 150px; }
  .hero-split .hero-image .image-placeholder { min-height: 110px; width: 100%; }
  .stock-row { padding: 22px 0; }
}

/* Hamburger menu for phones, tablets and small laptops (the full menu + logo needs ~1180px) */
@media (max-width: 1199px) {
  .nav-row { flex-wrap: wrap; align-items: center; justify-content: flex-start; padding: 0 16px; }
  .logo-placeholder { order: 0; }
  .search-toggle { order: 1; margin-left: auto; margin-right: 8px; }
  .lang-switcher { order: 2; margin: 0 4px 0 0; }
  .nav-toggle { display: block; order: 3; padding: 6px 2px 6px 10px; line-height: 1; }
  .main-nav { display: none; order: 10; width: 100%; padding: 4px 0 12px; }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; height: auto; gap: 0; }
  .main-nav > ul > li { display: block; }
  .main-nav a { height: auto; padding: 12px 6px; font-size: 0.95rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .main-nav > ul > li > a:hover, .main-nav > ul > li.active > a { background: rgba(255,255,255,0.1); color: #fff; border-radius: 6px; }
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: none; }
  .dropdown { position: static; box-shadow: none; border: none; background: transparent; max-width: none; padding: 0 0 6px 14px; }
  .has-dropdown.open .dropdown, .has-dropdown.open:hover .dropdown, .has-dropdown.open:focus-within .dropdown { display: block; }
  .dropdown li a { color: rgba(255,255,255,0.85); padding: 10px 8px; }
  .dropdown li a:hover, .dropdown li.active a { background: rgba(255,255,255,0.08); color: #fff; }
}

/* ---------- Landscape logo ----------
   Header: zoom into the wordmark (NEXVUE + NEXT GENERATION VISION) so it stays readable at bar height.
   Footer: the full logo, large enough for the tagline to be legible. */
.logo-placeholder img { height: 46px; width: 190px; object-fit: cover; object-position: 50% 30%; border-radius: 6px; }
.footer-logo img { height: 72px; width: auto; border-radius: 8px; }
@media (max-width: 760px) {
  .logo-placeholder img { height: 38px; width: 157px; }
  .footer-logo img { height: 64px; }
}
@media (max-width: 360px) {
  .logo-placeholder img { height: 34px; width: 140px; }
}
.logo-placeholder { flex-shrink: 0; }

/* ---- Reusable link-card showcase (About, etc.) ---- */
.link-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.link-card {
  display: block;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 28px 24px;
  background: #fff;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.link-card:hover { box-shadow: 0 12px 28px rgba(10,26,61,0.12); transform: translateY(-4px); border-color: var(--color-primary); }
.link-card .icon-circle {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--color-header);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.link-card .icon-circle svg { width: 22px; height: 22px; stroke: var(--color-accent); fill: none; stroke-width: 1.8; }
.link-card h3 { margin-bottom: 8px; }
.link-card p { font-size: 0.92rem; color: var(--color-ink-muted); margin-bottom: 14px; }
.link-card .link-cta { font-size: 0.86rem; font-weight: 600; color: var(--color-primary); }
@media (max-width: 760px) { .link-card-grid { grid-template-columns: 1fr; } }

/* ---- Stat strip (homepage "at a glance") ---- */
.stat-strip-wrap { background: var(--color-header); padding: 38px 0; }
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-strip .stat { text-align: center; color: #fff; }
.stat-strip .stat .num { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--color-accent); display: block; }
.stat-strip .stat .lbl { font-size: 0.82rem; color: #b9c4d6; margin-top: 4px; }
@media (max-width: 700px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }
