/* ============================================================
   ORYXON (S) Pte Ltd — Site Stylesheet
   Deep-navy automotive tech design system
   ============================================================ */

:root {
  --navy-950: #050b1c;
  --navy-900: #0a1730;
  --navy-850: #0d1d3d;
  --navy-800: #122650;
  --navy-700: #1a3468;
  --blue: #2ea8e1;
  --blue-bright: #4fc0ef;
  --cyan: #7fd9fa;
  --teal: #2eb99b;
  --eyebrow-ink: #0f5f87;   /* AA on light backgrounds */
  --paper: #f4f8fc;
  --card: #ffffff;
  --ink: #0e1e38;
  --ink-2: #3d5270;
  --line: #d9e4f0;
  --line-dark: rgba(127, 217, 250, 0.14);
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 10px 30px rgba(10, 23, 48, 0.08);
  --shadow-lg: 0 18px 50px rgba(10, 23, 48, 0.14);
  --font-head: "Outfit", "Avenir Next", "Century Gothic", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
  --wrap: 1160px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.22rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--blue); color: #fff; padding: 10px 18px; z-index: 2000;
  border-radius: 0 0 10px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 14px rgba(10, 23, 48, 0.06);
}
.nav {
  display: flex; align-items: center; gap: 20px;
  max-width: var(--wrap); margin: 0 auto; padding: 12px 22px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 108px; height: 64px; object-fit: contain; }
.nav-links {
  display: flex; align-items: center; gap: 4px; list-style: none;
  margin-left: auto;
}
.nav-links a {
  display: block; padding: 9px 13px; border-radius: 9px;
  color: var(--ink); font-weight: 500; font-size: 0.95rem;
}
.nav-links a:hover { background: #e8f3fb; color: var(--navy-800); text-decoration: none; }
.nav-links a[aria-current="page"] { color: #146f9e; background: #e4f2fa; }
.nav-cta {
  margin-left: 6px;
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  color: #fff !important; font-weight: 600; border-radius: 999px; padding: 10px 20px !important;
  box-shadow: 0 6px 18px rgba(46, 168, 225, 0.35);
}
.nav-cta:hover { filter: brightness(1.07); background: linear-gradient(135deg, var(--blue), var(--blue-bright)) !important; }

.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 11px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #ffffff; padding: 10px 16px 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(10, 23, 48, 0.12);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; font-size: 1.02rem; }
  .nav-cta { margin: 8px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  font-family: var(--font-head); letter-spacing: 0.01em;
  cursor: pointer; border: 0; transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  color: #fff; box-shadow: 0 8px 22px rgba(46, 168, 225, 0.4);
}
.btn-primary:hover { filter: brightness(1.08); color: #fff; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.07); color: #eaf6ff;
  border: 1px solid rgba(127, 217, 250, 0.35);
}
.btn-ghost:hover { background: rgba(127, 217, 250, 0.14); color: #fff; }
.btn-whatsapp { background: #23b45f; color: #fff; box-shadow: 0 8px 22px rgba(35, 180, 95, 0.35); }
.btn-whatsapp:hover { filter: brightness(1.07); color: #fff; }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-800); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 78% -10%, #14305f 0%, var(--navy-900) 48%, var(--navy-950) 100%);
  color: #eaf3fd;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.5; pointer-events: none;
}
.hero-fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 11, 28, 0.25) 0%, rgba(5, 11, 28, 0.72) 82%, var(--navy-950) 100%); }
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 46px;
  align-items: center; padding: 72px 22px 84px;
  max-width: var(--wrap); margin: 0 auto;
}
.hero h1 { color: #fff; margin: 14px 0 18px; }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero .lede { font-size: 1.13rem; color: #c3d9ef; max-width: 54ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.83rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  /* Default is the LIGHT-page treatment: the pale cyan only has ~1.4:1 contrast
     on a white section, so light contexts get a deep brand blue (6.2:1). */
  color: var(--eyebrow-ink);
  background: #e4f2fa; border: 1px solid #9fd2ec;
  padding: 7px 14px; border-radius: 999px;
}
/* On the navy sections the pale cyan reads at 11:1 — keep it there. */
.hero .eyebrow,
.page-hero .eyebrow,
.section-dark .eyebrow,
.cta-band .eyebrow {
  color: var(--cyan);
  background: rgba(79, 192, 239, 0.1);
  border-color: rgba(79, 192, 239, 0.3);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em;
  color: #cfe9f8; border: 1px solid rgba(127, 217, 250, 0.3);
  padding: 5px 12px; border-radius: 999px; background: rgba(13, 29, 61, 0.5);
}
.hero-media { position: relative; }
.hero-media img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(127, 217, 250, 0.2);
}
.hero-media figcaption { font-size: 0.85rem; color: #9db8d4; margin-top: 12px; text-align: center; }

@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; padding: 52px 22px 60px; gap: 34px; }
}

/* Page hero (subpages) */
.page-hero {
  background: radial-gradient(900px 420px at 80% -20%, #14305f 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  color: #eaf3fd; padding: 54px 0 46px;
}
.page-hero h1 { color: #fff; margin: 12px 0 12px; }
.page-hero .lede { color: #c3d9ef; max-width: 72ch; font-size: 1.08rem; }
.breadcrumbs { font-size: 0.85rem; color: #8fadcc; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: #5f7ea3; }
.breadcrumbs a { color: #a9c9e8; }

/* ---------- Sections ---------- */
.section { padding: 68px 0; }
.section-dark { background: linear-gradient(180deg, var(--navy-950), var(--navy-900)); color: #dfeefb; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-tint { background: linear-gradient(180deg, #eaf3fb, var(--paper)); }
.section-head { max-width: 760px; margin-bottom: 38px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head p { color: var(--ink-2); font-size: 1.05rem; }
.section-dark .section-head p { color: #b9d2e9; }

/* ---------- Stats strip ---------- */
.stats {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.stat {
  background: rgba(18, 38, 80, 0.55); border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: 20px 16px; text-align: center;
}
.stat b {
  display: block; font-family: var(--font-head); font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700; color: var(--cyan); letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.stat span { font-size: 0.86rem; color: #a9c4de; }
@media (max-width: 920px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:last-child { grid-column: 1 / -1; } }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 920px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 0.97rem; }
.icon-badge {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(46, 168, 225, 0.14), rgba(79, 192, 239, 0.22));
  color: var(--blue);
}
.icon-badge svg { width: 24px; height: 24px; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 920px) { .product-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card .media {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  padding: 22px; min-height: 205px;
}
.product-card .media img { max-height: 175px; width: auto; filter: drop-shadow(0 10px 16px rgba(10, 23, 48, 0.18)); }
.product-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-card h3 { font-size: 1.14rem; }
.product-card .models { font-size: 0.85rem; color: var(--ink-2); }
.spec-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.spec-chips span {
  font-size: 0.78rem; font-weight: 600; color: var(--navy-800);
  background: #e8f3fb; border: 1px solid #cbe4f4; padding: 4px 10px; border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.product-card .card-link {
  margin-top: auto; font-weight: 600; font-family: var(--font-head);
  display: inline-flex; align-items: center; gap: 6px;
}
.product-card .card-link svg { width: 16px; height: 16px; transition: transform 0.18s; }
.product-card .card-link:hover svg { transform: translateX(3px); }
.product-card a.overlay-link::after { content: ""; position: absolute; inset: 0; }
.product-card { position: relative; }

/* ---------- Tables ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
table.spec {
  width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 700px;
}
table.spec caption {
  text-align: left; font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 16px 18px 6px; color: var(--ink);
}
table.spec th, table.spec td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
table.spec thead th {
  background: var(--navy-900); color: #d6ecfb; font-family: var(--font-head);
  font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em; white-space: nowrap;
}
table.spec tbody tr:nth-child(even) { background: #f4f9fd; }
table.spec tbody tr:last-child td { border-bottom: 0; }
table.spec td { color: var(--ink-2); font-variant-numeric: tabular-nums; }
table.spec td:first-child, table.spec tbody th { color: var(--ink); font-weight: 600; }
table.spec .hl { color: var(--blue); font-weight: 700; }

/* Comparison table on dark */
.section-dark .table-scroll { background: rgba(13, 29, 61, 0.6); border-color: var(--line-dark); }
.section-dark table.spec thead th { background: rgba(5, 11, 28, 0.8); }
.section-dark table.spec td, .section-dark table.spec tbody th { color: #c9dcef; border-color: var(--line-dark); }
.section-dark table.spec tbody tr:nth-child(even) { background: rgba(18, 38, 80, 0.35); }
.section-dark table.spec td:first-child { color: #fff; }
.section-dark table.spec caption { color: #fff; }
.section-dark table.spec .hl { color: var(--cyan); }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.check-list { list-style: none; display: grid; gap: 13px; margin-top: 18px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.section-dark .check-list li { color: #c3d8ec; }
.check-list svg { width: 21px; height: 21px; flex-shrink: 0; color: var(--teal); margin-top: 2px; }
.check-list b { color: inherit; }

/* ---------- App / QR ---------- */
.qr-row { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 22px; }
.qr-box {
  background: #fff; border-radius: var(--radius); padding: 14px;
  text-align: center; box-shadow: var(--shadow);
}
.qr-box img { width: 128px; height: 128px; margin: 0 auto 8px; border-radius: 8px; }
.qr-box span { font-size: 0.8rem; font-weight: 600; color: var(--ink); display: block; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; max-width: 860px; margin: 0 auto; }
details.faq {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
details.faq summary {
  list-style: none; cursor: pointer; padding: 19px 54px 19px 22px; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: 1.04rem; color: var(--ink);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 12px; height: 12px;
  border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease;
}
details.faq[open] summary::after { transform: translateY(-30%) rotate(225deg); }
details.faq .answer { padding: 0 22px 20px; color: var(--ink-2); }
details.faq .answer a { font-weight: 600; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.contact-card h3 { margin-bottom: 4px; }
.contact-lines { list-style: none; display: grid; gap: 16px; margin-top: 18px; }
.contact-lines li { display: flex; gap: 14px; align-items: flex-start; }
.contact-lines svg { width: 21px; height: 21px; color: var(--blue); flex-shrink: 0; margin-top: 3px; }
.contact-lines b { display: block; font-family: var(--font-head); font-size: 0.86rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-2); }
.contact-lines a { font-weight: 600; }
.map-frame {
  border: 0; width: 100%; height: 100%; min-height: 380px;
  border-radius: var(--radius); box-shadow: var(--shadow);
}

/* Contact form */
.form-grid { display: grid; gap: 16px; margin-top: 20px; }
.form-grid label { font-weight: 600; font-size: 0.92rem; display: block; margin-bottom: 6px; }
.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: #fbfdff;
}
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus {
  outline: 2px solid var(--blue-bright); outline-offset: 1px; border-color: var(--blue);
}
.form-hint { font-size: 0.84rem; color: var(--ink-2); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 15% 0%, rgba(46, 168, 225, 0.25), transparent 60%),
    linear-gradient(135deg, var(--navy-900), var(--navy-950));
  border-radius: var(--radius-lg); padding: 46px 40px; color: #eaf3fd;
  display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between;
  border: 1px solid var(--line-dark);
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #b9d2e9; max-width: 56ch; }
.cta-band .btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Download card ---------- */
.download-card {
  display: flex; gap: 26px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 26px;
}
.download-card img { width: 132px; border-radius: 10px; box-shadow: 0 10px 24px rgba(10, 23, 48, 0.3); }
@media (max-width: 640px) { .download-card { flex-direction: column; text-align: center; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950); color: #a9c4de; font-size: 0.93rem;
  border-top: 1px solid var(--line-dark); margin-top: 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 34px;
  padding: 56px 0 40px;
}
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; letter-spacing: 0.05em; }
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: #a9c4de; }
.site-footer a:hover { color: var(--cyan); }
.footer-brand img { width: 148px; margin-bottom: 14px; }
.footer-brand p { font-size: 0.9rem; color: #7f9cbd; max-width: 34ch; }
.footer-bottom {
  border-top: 1px solid var(--line-dark); padding: 20px 0 26px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  font-size: 0.84rem; color: #6c88a8;
}
address { font-style: normal; }

/* ---------- Utility ---------- */
.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 34px; } .mt-4 { margin-top: 52px; }
.center { text-align: center; }
.note { font-size: 0.86rem; color: var(--ink-2); }
.section-dark .note { color: #8fadcc; }
.answer-box {
  background: linear-gradient(135deg, #eaf5fc, #f2fbf8);
  border: 1px solid #cfe6f4; border-left: 4px solid var(--blue);
  border-radius: 12px; padding: 20px 24px; color: var(--ink); margin: 22px 0;
}
.answer-box p { color: var(--ink-2); }
.answer-box strong { color: var(--ink); }
.badge-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cert-badge {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-width: 108px; padding: 14px 20px; border-radius: 12px;
  background: rgba(18, 38, 80, 0.55); border: 1px solid var(--line-dark);
  font-family: var(--font-head);
}
.cert-badge b { color: #fff; font-size: 1.12rem; letter-spacing: 0.04em; }
.cert-badge span { color: #8fadcc; font-size: 0.74rem; letter-spacing: 0.03em; }

.kbd-focus :focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 2px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Print */
@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none !important; }
  body { background: #fff; }
}

/* ---------- Video / product film ---------- */
.video-frame {
  position: relative;
  max-width: 900px;              /* source is 848x478 — don't upscale past native */
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line-dark);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.video-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 848 / 478;       /* reserves space — no layout shift while loading */
  background: #000;
}
.video-caption {
  margin: 14px auto 0;
  max-width: 900px;
  font-size: 0.86rem;
  color: #8fadcc;
  text-align: center;
}
.video-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 26px auto 0;
  max-width: 900px;
  list-style: none;
}
.video-points li {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #cfe9f8;
  background: rgba(13, 29, 61, 0.6);
  border: 1px solid rgba(127, 217, 250, 0.3);
  padding: 7px 15px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}

/* ---------- Product gallery ---------- */
.gallery { display: flex; flex-direction: column; gap: 12px; }
.gallery-main {
  background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;            /* fixed box: swapping images never shifts layout */
  position: relative;             /* the image is absolutely centred inside it, so a
                                     taller photo can never stretch the container */
}
.gallery-main img {
  position: absolute; inset: 0; margin: auto;
  width: auto; height: auto;
  max-width: calc(100% - 52px); max-height: calc(100% - 52px);
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(10, 23, 48, 0.16));
}
.gallery-thumbs {
  list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px;
}
.gallery-thumbs button {
  width: 100%; aspect-ratio: 1 / 1; padding: 6px; cursor: pointer;
  background: #ffffff; border: 1px solid var(--line); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.gallery-thumbs button:hover { border-color: var(--blue); }
.gallery-thumbs button[aria-current="true"] {
  border-color: var(--blue); box-shadow: 0 0 0 2px rgba(46, 168, 225, 0.28);
}
.gallery-thumbs img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gallery figcaption { font-size: 0.85rem; color: var(--ink-2); text-align: center; }
@media (max-width: 480px) {
  .gallery-thumbs { gap: 7px; }
  .gallery-main img { max-width: calc(100% - 36px); max-height: calc(100% - 36px); }
}
