/* ===========================================================
   NexTech Lasers: Weld Faster. Cut Cleaner. Work Smarter.
   Shared stylesheet
   =========================================================== */

:root {
  --orange: #FF6200;
  --orange-600: #e85800;
  --orange-glow: rgba(255, 98, 0, 0.45);
  --black: #0A0A0A;
  --ink-900: #0d0f12;
  --ink-800: #14171c;
  --ink-700: #1c2026;
  --ink-600: #262b33;
  --line: #2b3038;
  --text: #e9ecf1;
  --text-dim: #aab2bd;
  --text-faint: #79828f;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1200px;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.8);
  --font-display: "Barlow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ink-900);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

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

.accent { color: var(--orange); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--orange);
}

.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 16px 0 14px; }
.section-head p { color: var(--text-dim); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 30px -10px var(--orange-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -10px var(--orange-glow); background: var(--orange-600); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 15, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 800; font-size: 1.28rem; letter-spacing: -0.01em; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 9px;
  box-shadow: 0 6px 18px -6px var(--orange-glow);
}
.brand b { color: var(--orange); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--text-dim);
  transition: color 0.15s ease;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -26px;
  width: 100%; height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); transition: 0.2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 84px;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 78% 8%, rgba(255, 98, 0, 0.16), transparent 60%),
    radial-gradient(700px 600px at 5% 90%, rgba(255, 98, 0, 0.06), transparent 60%),
    var(--ink-900);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.3rem);
  margin: 20px 0 22px;
}
.hero p.lead { font-size: 1.18rem; color: var(--text-dim); max-width: 560px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats .stat strong { font-family: var(--font-display); font-size: 2rem; color: #fff; display: block; line-height: 1; }
.hero-stats .stat span { font-size: 0.85rem; color: var(--text-faint); letter-spacing: 0.04em; }
.hero-visual {
  position: relative;
  border-radius: var(--radius);
  padding: 22px;
  background: linear-gradient(160deg, var(--ink-700), var(--ink-900));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-visual::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(400px 300px at 70% 30%, rgba(255,98,0,0.18), transparent 70%);
  pointer-events: none;
}
.hero-visual img { border-radius: 10px; position: relative; z-index: 1; }
.hero-badge {
  position: absolute; bottom: 14px; left: 14px; z-index: 2;
  background: rgba(10,12,15,0.86);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  padding: 11px 16px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.84rem;
  display: flex; align-items: center; gap: 9px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--orange-glow); }

/* ---------- Marquee strip ---------- */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-800);
  padding: 20px 0;
}
.strip-inner { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: center; align-items: center; }
.strip span { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--text-faint); letter-spacing: 0.05em; }
.strip span b { color: var(--text); }

/* ---------- Cards / product grid ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: linear-gradient(180deg, var(--ink-800), var(--ink-900));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); border-color: #3a414b; box-shadow: var(--shadow); }
.card-media {
  position: relative;
  background: #f1f1f1; /* matches the flat background baked into the product renders */
  border-bottom: 1px solid var(--line);
  padding: 16px;
  display: grid; place-items: center;
  min-height: 300px;
}
.card-media img { max-height: 280px; width: auto; }
.card-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--orange); color: #fff;
  font-family: var(--font-display); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 6px;
}
.card-tag.dark { background: var(--black); }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-body h3 { font-size: 1.32rem; }
.card-body .power { font-family: var(--font-display); font-weight: 700; color: var(--orange); font-size: 0.92rem; letter-spacing: 0.04em; }
.card-body p { color: var(--text-dim); font-size: 0.96rem; }
.card-specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip {
  font-size: 0.78rem; color: var(--text-dim);
  background: var(--ink-700); border: 1px solid var(--line);
  padding: 5px 11px; border-radius: 20px;
}
.card-foot { margin-top: auto; padding-top: 6px; }
.card-link { font-family: var(--font-display); font-weight: 700; color: var(--orange); font-size: 0.92rem; display: inline-flex; align-items: center; gap: 7px; }
.card-link:hover { gap: 11px; }

/* ---------- Lineup: three families ---------- */
.lineup { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.lineup-card {
  background: linear-gradient(180deg, var(--ink-800), var(--ink-900));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.lineup-card:hover { transform: translateY(-5px); border-color: #3a414b; box-shadow: var(--shadow); }
.lineup-card.featured { border-color: rgba(255,98,0,0.5); box-shadow: 0 0 0 1px rgba(255,98,0,0.25), var(--shadow); }
.lineup-card.featured:hover { border-color: var(--orange); }
.lineup-media {
  position: relative;
  background: #f1f1f1; /* matches the flat background baked into the product renders */
  border-bottom: 1px solid var(--line);
  padding: 16px; display: grid; place-items: center; min-height: 300px;
}
.lineup-media img { max-height: 280px; width: auto; }
.lineup-body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.lineup-body h3 { font-size: 1.34rem; }
.lineup-sub { color: var(--text-dim); font-size: 0.95rem; }
.spec-mini { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.spec-mini li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 13px; font-size: 0.86rem; border-bottom: 1px solid var(--line); }
.spec-mini li:last-child { border-bottom: none; }
.spec-mini li span { color: var(--text-faint); font-family: var(--font-display); font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; font-size: 0.72rem; }
.spec-mini li b { color: var(--text); font-weight: 600; text-align: right; }
.lineup-models h4 { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 9px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 7px; }
.feat-list { display: grid; gap: 8px; }
.feat-list li { position: relative; padding-left: 22px; color: var(--text-dim); font-size: 0.9rem; }
.feat-list li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255,98,0,0.15);
  box-shadow: inset 0 0 0 3px var(--orange);
}
.lineup-body .card-link { margin-top: auto; padding-top: 4px; }

/* ---------- Feature blocks ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.feature:hover { border-color: var(--orange); transform: translateY(-3px); }
.feature .ico {
  width: 50px; height: 50px; border-radius: 12px;
  background: rgba(255,98,0,0.12);
  display: grid; place-items: center; margin-bottom: 18px;
  color: var(--orange);
}
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.2rem; margin-bottom: 9px; }
.feature p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- Split / why ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.checklist { display: grid; gap: 16px; margin-top: 22px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist .tick {
  flex: none; width: 24px; height: 24px; border-radius: 7px;
  background: rgba(255,98,0,0.14); color: var(--orange);
  display: grid; place-items: center; margin-top: 2px;
}
.checklist .tick svg { width: 14px; height: 14px; }
.checklist b { font-family: var(--font-display); display: block; font-size: 1rem; }
.checklist span { color: var(--text-dim); font-size: 0.94rem; }

/* ---------- Stats band ---------- */
.band {
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(255,98,0,0.12), transparent 70%),
    var(--ink-800);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.band-grid .stat strong { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); color: #fff; display: block; line-height: 1; }
.band-grid .stat span { color: var(--text-dim); font-size: 0.92rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(700px 360px at 85% 0%, rgba(255,98,0,0.13), transparent 65%),
    var(--ink-900);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 16px 0 16px; }
.page-hero p { color: var(--text-dim); font-size: 1.12rem; max-width: 640px; }
.breadcrumb { font-size: 0.85rem; color: var(--text-faint); margin-bottom: 6px; }
.breadcrumb a:hover { color: var(--orange); }

/* ---------- Spec tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.spec { width: 100%; border-collapse: collapse; min-width: 560px; }
table.spec th, table.spec td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 0.94rem; }
table.spec thead th { background: var(--ink-700); font-family: var(--font-display); color: #fff; font-size: 0.86rem; letter-spacing: 0.04em; text-transform: uppercase; }
table.spec tbody tr:hover { background: var(--ink-800); }
table.spec td:first-child { font-family: var(--font-display); font-weight: 600; color: var(--text); }
table.spec .accent { color: var(--orange); font-weight: 700; }

/* ---------- Product detail rows ---------- */
.product-block { padding: 64px 0; border-bottom: 1px solid var(--line); }
.product-block:last-child { border-bottom: none; }
.product-block .split { gap: 48px; }
.product-block.reverse .split { direction: rtl; }
.product-block.reverse .split > * { direction: ltr; }
.product-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.product-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.tagpill {
  font-family: var(--font-display); font-weight: 700; font-size: 0.74rem;
  letter-spacing: 0.07em; text-transform: uppercase;
  background: rgba(255,98,0,0.13); color: var(--orange);
  padding: 5px 12px; border-radius: 20px;
}

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ind-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); min-height: 260px;
  padding: 26px;
  background: var(--ink-800);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.ind-card:hover { transform: translateY(-4px); border-color: var(--orange); }
.ind-card .ico { width: 46px; height: 46px; border-radius: 11px; background: rgba(255,98,0,0.14); color: var(--orange); display: grid; place-items: center; }
.ind-card .ico svg { width: 24px; height: 24px; }
.ind-card h3 { font-size: 1.24rem; margin: 18px 0 8px; }
.ind-card p { color: var(--text-dim); font-size: 0.93rem; }

/* ---------- About ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { background: var(--ink-800); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.value .n { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--orange); }
.value h3 { margin: 12px 0 8px; font-size: 1.18rem; }
.value p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-info .info-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-info .info-item:last-child { border-bottom: none; }
.contact-info .ico { flex: none; width: 46px; height: 46px; border-radius: 11px; background: rgba(255,98,0,0.13); color: var(--orange); display: grid; place-items: center; }
.contact-info .ico svg { width: 22px; height: 22px; }
.contact-info b { font-family: var(--font-display); font-size: 1.02rem; display: block; }
.contact-info a, .contact-info span { color: var(--text-dim); }
.contact-info a:hover { color: var(--orange); }
.callout {
  background: rgba(255,98,0,0.08);
  border: 1px solid rgba(255,98,0,0.3);
  border-radius: var(--radius);
  padding: 22px 24px; margin-top: 26px;
}
.callout h4 { font-family: var(--font-display); color: var(--orange); font-size: 1.05rem; margin-bottom: 8px; }
.callout p { color: var(--text-dim); font-size: 0.94rem; }

.form-card { background: var(--ink-800); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.field { margin-bottom: 18px; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; display: block; margin-bottom: 7px; }
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  background: var(--ink-900); border: 1px solid var(--line);
  border-radius: var(--radius-sm); color: var(--text);
  font-family: var(--font-body); font-size: 0.97rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,98,0,0.18);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.84rem; color: var(--text-faint); margin-top: 6px; }
.form-success {
  display: none;
  background: rgba(40, 180, 99, 0.12);
  border: 1px solid rgba(40, 180, 99, 0.4);
  color: #7ee0a3;
  padding: 14px 16px; border-radius: var(--radius-sm);
  font-size: 0.94rem; margin-bottom: 18px;
}
.form-success.show { display: block; }

/* ---------- CTA band ---------- */
.cta {
  background:
    radial-gradient(600px 300px at 50% 120%, rgba(255,98,0,0.2), transparent 70%),
    linear-gradient(180deg, var(--ink-800), var(--ink-900));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 60px 40px; text-align: center;
}
.cta h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.cta p { color: var(--text-dim); font-size: 1.1rem; max-width: 560px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-800); border-top: 1px solid var(--line); padding: 60px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--text-dim); font-size: 0.94rem; max-width: 300px; }
.footer-col h4 { font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; color: var(--text-dim); font-size: 0.94rem; margin-bottom: 11px; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer-bottom p { color: var(--text-faint); font-size: 0.86rem; }
.footer-bottom .tag { font-family: var(--font-display); color: var(--text-dim); font-size: 0.86rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-3, .features, .ind-grid, .values { grid-template-columns: repeat(2, 1fr); }
  .lineup { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure, .gallery figure:nth-child(-n+2) { grid-column: span 1; }
  .band-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .product-block.reverse .split { direction: ltr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 74px; left: 0; right: 0;
    background: var(--ink-900); border-bottom: 1px solid var(--line);
    padding: 16px 24px;
  }
  .nav-links.open a { padding: 10px 0; }
  .nav-links.open a::after { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta .btn-ghost { display: none; }
  .section { padding: 64px 0; }
  .grid-3, .grid-2, .features, .ind-grid, .values, .field-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
  .band-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Product image hover swap ---------- */
.card-media img, .lineup-media img { grid-area: 1 / 1; }
.card-media .img-main, .lineup-media .img-main,
.card-media .img-alt, .lineup-media .img-alt { transition: opacity 0.45s ease; }
.card-media .img-alt, .lineup-media .img-alt { opacity: 0; }
.card:hover .card-media .img-alt, .lineup-card:hover .img-alt { opacity: 1; }
.card:hover .card-media .img-main, .lineup-card:hover .img-main { opacity: 0; }

/* ---------- Hero shine + glow ---------- */
@keyframes heroShine {
  from { transform: translateX(-130%) skewX(-12deg); }
  to   { transform: translateX(130%) skewX(-12deg); }
}
.hero-visual::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  border-radius: var(--radius); pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.16) 48%, transparent 62%);
  transform: translateX(-130%) skewX(-12deg);
  animation: heroShine 1.5s ease 0.6s forwards;
}
.hero-visual:hover::after { animation: heroShine 1s ease forwards; }
@keyframes glowPulse { from { opacity: 0.65; } to { opacity: 1; } }
.hero-visual::before { animation: glowPulse 4.5s ease-in-out infinite alternate; }

/* ---------- Focus visibility ---------- */
.btn:focus-visible, a:focus-visible, .nav-toggle:focus-visible {
  outline: 2px solid var(--orange); outline-offset: 3px;
}

/* ---------- Form validation ---------- */
.form-error {
  display: none;
  background: rgba(229, 72, 77, 0.1);
  border: 1px solid rgba(229, 72, 77, 0.45);
  color: #ff9b9e;
  padding: 14px 16px; border-radius: var(--radius-sm);
  font-size: 0.94rem; margin-bottom: 18px;
}
.form-error.show { display: block; }
form.was-validated input:invalid,
form.was-validated select:invalid,
form.was-validated textarea:invalid { border-color: #e5484d; }

/* ---------- Close-up gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.gallery figure {
  grid-column: span 2;
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.gallery figure:nth-child(-n+2) { grid-column: span 3; }
.gallery figure:hover { border-color: #3a414b; transform: translateY(-3px); }
.gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.5s ease; }
.gallery figure:hover img { transform: scale(1.045); }
.gallery figcaption {
  padding: 12px 16px;
  font-size: 0.88rem;
  color: var(--text-dim);
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.gallery figcaption b {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .hero-visual::after { animation: none; opacity: 0; }
  .hero-visual::before { animation: none; }
  .card-media .img-main, .card-media .img-alt,
  .lineup-media .img-main, .lineup-media .img-alt { transition: none; }
  .nav-links a::after { transition: none; }
  .gallery img, .gallery figure { transition: none; }
}
