:root {
  --navy: #0b2340;
  --navy-2: #12355e;
  --ink: #16212e;
  --body: #3d4a59;
  --muted: #6b7889;
  --line: #e3e8ee;
  --bg-soft: #f5f7fa;
  --accent: #e8a317;
  --accent-ink: #1a1300;
  --green: #1fa855;
  --radius: 4px;
  --max: 1200px;
  --shadow: 0 1px 2px rgba(11,35,64,.06), 0 8px 24px rgba(11,35,64,.06);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--body);
  line-height: 1.65;
  background: #fff;
  font-size: 16px;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--navy-2); }
h1, h2, h3, h4 { line-height: 1.2; color: var(--ink); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--navy); color: #c4d2e2; }
.section-dark h2, .section-dark h3 { color: #fff; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 760px; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700; color: var(--accent); margin-bottom: 14px; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: .01em; }
.logo-mark { width: 30px; height: 30px; border-radius: 6px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, var(--accent) 60%); flex: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy-2); }
.nav a[aria-current="page"]:not(.btn) { box-shadow: inset 0 -2px 0 var(--accent); padding-bottom: 4px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); font-size: 1.6rem; cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: var(--radius); text-decoration: none; font-weight: 650; border: 1.5px solid transparent; cursor: pointer; font-size: .975rem; line-height: 1.2; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #f2b230; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-wa { background: var(--green); color: #fff; }
.btn-wa:hover { background: #188f47; }
.nav .btn { padding: 10px 18px; color: var(--accent-ink); }

/* Hero */
.hero { position: relative; color: #fff; min-height: 620px; display: flex; align-items: center; background: var(--navy) center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,24,44,.92) 0%, rgba(8,24,44,.75) 45%, rgba(8,24,44,.25) 100%); }
.hero .container { position: relative; width: 100%; }
.hero h1 { color: #fff; max-width: 780px; }
.hero .lead { color: #d3dfec; max-width: 620px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.page-hero { position: relative; color: #fff; padding: 96px 0 72px; background: var(--navy) center/cover no-repeat; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,24,44,.92), rgba(8,24,44,.6)); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: #d3dfec; max-width: 680px; margin: 0; font-size: 1.1rem; }

/* Facts strip */
.facts { background: #fff; border-bottom: 1px solid var(--line); }
.facts .grid { gap: 0; }
.fact { padding: 32px 24px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact strong { display: block; font-size: 2rem; font-weight: 750; color: var(--navy); letter-spacing: -.02em; line-height: 1.1; }
.fact > span { display: block; color: var(--muted); font-size: .9rem; margin-top: 6px; }

/* Grids & cards */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card-body p { flex: 1; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card.product-img img { object-fit: contain; background: #f7f8fa; padding: 20px; }
.card h3 { margin-bottom: .4em; }
.more { font-weight: 650; text-decoration: none; color: var(--navy-2); }
.more::after { content: " \2192"; }
.line-card { display: block; position: relative; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; min-height: 440px; background: var(--navy) center/cover no-repeat; }
.line-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,24,44,.05) 30%, rgba(8,24,44,.92) 100%); transition: background .2s; }
.line-card:hover::before { background: linear-gradient(180deg, rgba(8,24,44,.15) 20%, rgba(8,24,44,.96) 100%); }
.line-card .inner { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px; }
.line-card h3 { color: #fff; font-size: 1.6rem; }
.line-card p { color: #d3dfec; margin-bottom: 14px; }
.line-card .more { color: var(--accent); }
.feature { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.feature .num { display: inline-block; font-weight: 750; color: var(--accent); font-size: .85rem; letter-spacing: .1em; margin-bottom: 10px; }
.section-dark .feature { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.check { list-style: none; padding: 0; margin: 0 0 1.2em; }
.check li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.check li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.img-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.img-frame img { width: 100%; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.gallery figcaption { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.gallery.tall img { aspect-ratio: 3 / 4; }
.section-dark .gallery figcaption { color: #9fb3c9; }

/* Spec tables */
.spec { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 0 0 1.2em; background: #fff; }
.spec th, .spec td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.spec th { color: var(--ink); font-weight: 600; width: 40%; }
.spec thead th { background: var(--navy); color: #fff; border: 0; width: auto; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1.2em; }
.table-wrap .spec { margin: 0; }
.table-wrap .spec td, .table-wrap .spec th { white-space: nowrap; }

/* Product rows */
.product { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; padding: 56px 0; border-bottom: 1px solid var(--line); align-items: start; scroll-margin-top: 90px; }
.product:last-child { border-bottom: 0; }
.product .media img { width: 100%; border-radius: var(--radius); }
.product .media.contain { background: #f7f8fa; border-radius: var(--radius); padding: 28px; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; color: var(--navy-2); background: #e8eef6; padding: 4px 10px; border-radius: 99px; margin-bottom: 12px; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.thumbs img { aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.subnav { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.subnav a { color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.35); padding: 7px 14px; border-radius: 99px; font-size: .88rem; }
.subnav a:hover { background: rgba(255,255,255,.12); }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step { position: relative; padding-top: 52px; }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 0; left: 0; font-size: 2rem; font-weight: 750; color: var(--accent); }

/* Project list */
.project-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.project-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.project-list strong { color: var(--navy); white-space: nowrap; }

/* Notice */
.note { border-left: 3px solid var(--accent); background: #fffaf0; padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; font-size: .95rem; }

/* CTA band */
.cta-band { background: var(--navy) center/cover no-repeat; position: relative; color: #fff; padding: 80px 0; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: rgba(8,24,44,.88); }
.cta-band .container { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .3em; }
.cta-band p { color: #c4d2e2; margin: 0; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Form */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--ink); }
.form input, .form select, .form textarea { width: 100%; padding: 12px 14px; border: 1px solid #cdd6e0; border-radius: var(--radius); font: inherit; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.form textarea { min-height: 150px; resize: vertical; }
.form .hint { color: var(--muted); font-size: .85rem; margin: 6px 0 0; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form .checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.form .checks label { font-weight: 450; display: flex; gap: 8px; align-items: center; margin: 0; }
.form .checks input { width: auto; }
.form-status { padding: 12px; border-radius: var(--radius); display: none; }
.form-status.ok { display: block; background: #e5f6ea; color: #17602f; }
.form-status.err { display: block; background: #fde8e8; color: #8a1c1c; }
.hp, .form .hp, .config .hp { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); pointer-events: none; }
.contact-card { background: var(--bg-soft); border-radius: var(--radius); padding: 32px; }
.contact-card dl { margin: 0 0 20px; }
.contact-card dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 14px; }
.contact-card dd { margin: 2px 0 0; color: var(--ink); font-weight: 550; }

/* Footer */
.site-footer { background: #071a30; color: #93a7bd; padding: 64px 0 28px; font-size: .9rem; }
.site-footer a { color: #c9d7e5; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer h4 { color: #fff; margin: 0 0 1em; font-size: .9rem; letter-spacing: .04em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid #17304b; margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* WhatsApp float */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; align-items: center; gap: 8px; background: var(--green); color: #fff; text-decoration: none; font-weight: 650; padding: 10px 18px 10px 12px; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.wa-float:hover { background: #188f47; }

/* Responsive */
@media (max-width: 1000px) {
  .grid-4, .steps, .gallery { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .product, .split { grid-template-columns: 1fr; gap: 32px; }
  .fact:nth-child(3) { border-left: 0; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 16px 24px 24px; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: flex-start; gap: 16px; }
  .grid-2, .grid-3, .form .row, .form .checks, .project-list { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { min-height: 540px; }
  .line-card { min-height: 340px; }
  .wa-float span { display: none; }
  .wa-float { padding: 12px; }
  .fact { border-left: 0; border-top: 1px solid var(--line); padding: 22px 12px; }
}

/* Top bar */
.topbar { background: var(--navy); color: #b9c9da; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 36px; }
.topbar a { color: #e3ebf3; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar-links { display: flex; gap: 20px; }

/* Quick quote */
.quick-quote { background: var(--bg-soft); border-top: 1px solid var(--line); }
.quick-quote .contact-card { background: #fff; box-shadow: var(--shadow); }

/* Audience cards */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.audience a { display: block; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--body); background: #fff; transition: border-color .15s, box-shadow .15s; }
.audience a:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.audience h3 { margin-bottom: .4em; }
.audience .more { display: inline-block; margin-top: 8px; }

/* Product index cards */
.pcard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--body); background: #fff; transition: box-shadow .15s, border-color .15s; }
.pcard:hover { box-shadow: var(--shadow); border-color: #cfd8e3; }
.pcard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pcard.contain img { object-fit: contain; background: #f7f8fa; padding: 20px; }
.pcard .card-body h3 { margin-bottom: .3em; }

/* Configurator */
.config { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.config .row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* Consent */
.consent { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 50; max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.18); padding: 18px 20px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; font-size: .92rem; }
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 320px; }

@media (max-width: 1000px) {
  .audience { grid-template-columns: 1fr; }
  .config .row3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .topbar span:first-child { display: none; }
  .topbar .container { justify-content: center; }
  .topbar-links a:first-child { display: none; }
  .config .row3 { grid-template-columns: 1fr; }
}

/* ---------- Motion ---------- */
.hero { overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { z-index: 1; }
.hero .container { z-index: 2; }
.hero h1, .hero .lead, .hero .actions, .hero .eyebrow { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero .lead { animation-delay: .15s; } .hero .actions { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.page-hero { overflow: hidden; background-size: 112%; animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { from { background-position: 40% 40%; background-size: 112%; } to { background-position: 60% 60%; background-size: 122%; } }
.page-hero h1, .page-hero p, .page-hero .eyebrow, .page-hero .subnav { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.page-hero p { animation-delay: .12s; } .page-hero .subnav { animation-delay: .24s; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

.pcard img, .card img, .gallery img, .line-card, .img-frame img, .thumbs img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.pcard { overflow: hidden; } .pcard:hover img, .card:hover img { transform: scale(1.05); }
.gallery figure { overflow: hidden; border-radius: var(--radius); } .gallery figure:hover img { transform: scale(1.06); }
.line-card { background-size: 100%; transition: background-size .8s cubic-bezier(.2,.7,.2,1); }
.line-card:hover { background-size: 108%; }
.feature, .audience a, .pcard { transition: transform .25s, box-shadow .25s, border-color .25s; }
.feature:hover, .audience a:hover, .pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite; }
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.site-header { transition: box-shadow .25s; } .site-header.scrolled { box-shadow: 0 6px 24px rgba(11,35,64,.08); }
.wa-float { animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31,168,85,.55), 0 6px 20px rgba(0,0,0,.2); } 70% { box-shadow: 0 0 0 16px rgba(31,168,85,0), 0 6px 20px rgba(0,0,0,.2); } 100% { box-shadow: 0 0 0 0 rgba(31,168,85,0), 0 6px 20px rgba(0,0,0,.2); } }

.marquee { background: var(--navy); color: #fff; overflow: hidden; padding: 18px 0; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 48px; animation: marquee 40s linear infinite; }
.marquee span { font-weight: 650; letter-spacing: .02em; display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; }
@keyframes marquee { to { transform: translateX(-50%); } }

.film { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.film video { width: 100%; display: block; aspect-ratio: 16 / 9; }
.film figcaption { background: var(--navy); color: #c4d2e2; font-size: .85rem; padding: 10px 14px; }
.film-play { position: absolute; left: 50%; top: calc(50% - 20px); transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(232,163,23,.95); box-shadow: 0 0 0 0 rgba(232,163,23,.6); animation: pulse-gold 2.4s ease-out infinite; }
.film-play span { display: block; margin-left: 32px; width: 0; height: 0; border-left: 24px solid #1a1300; border-top: 15px solid transparent; border-bottom: 15px solid transparent; }
.film.playing .film-play { display: none; }
@keyframes pulse-gold { 0% { box-shadow: 0 0 0 0 rgba(232,163,23,.6); } 70% { box-shadow: 0 0 0 22px rgba(232,163,23,0); } 100% { box-shadow: 0 0 0 0 rgba(232,163,23,0); } }

@media (max-width: 760px) { .hero-video { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-video { display: none; }
}

/* Background video slots */
.bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-hero::before, .line-card::before { z-index: 1; }
.page-hero .container, .line-card .inner { z-index: 2; }
.page-hero:has(.bg-video) { animation: none; }
@media (max-width: 760px) { .bg-video { display: none; } }
@media (prefers-reduced-motion: reduce) { .bg-video { display: none; } }

/* ---------- Alive layer ---------- */
.office { display: inline-flex; align-items: center; gap: 8px; }
.office i { width: 8px; height: 8px; border-radius: 50%; background: #6b7889; display: inline-block; }
.office.open i { background: #2ecc71; box-shadow: 0 0 0 0 rgba(46,204,113,.6); animation: blink 2s infinite; }
@keyframes blink { 0% { box-shadow: 0 0 0 0 rgba(46,204,113,.6); } 70% { box-shadow: 0 0 0 8px rgba(46,204,113,0); } 100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); } }

.wa-bubble { position: fixed; right: 20px; bottom: 84px; z-index: 41; width: 300px; background: #fff; border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,.2); overflow: hidden; transform: translateY(20px); opacity: 0; pointer-events: none; transition: .4s cubic-bezier(.2,.7,.2,1); }
.wa-bubble.show { transform: none; opacity: 1; pointer-events: auto; }
.wa-bubble header { background: #075e54; color: #fff; padding: 12px 14px; display: flex; align-items: center; gap: 10px; }
.wa-bubble header .logo-mark { width: 34px; height: 34px; border: 2px solid rgba(255,255,255,.6); }
.wa-bubble header b { display: block; font-size: .95rem; } .wa-bubble header small { opacity: .85; font-size: .78rem; }
.wa-bubble .msg { background: #ece5dd; padding: 16px 14px; font-size: .9rem; }
.wa-bubble .msg p { background: #fff; border-radius: 0 8px 8px 8px; padding: 10px 12px; margin: 0; box-shadow: 0 1px 1px rgba(0,0,0,.08); color: #222; }
.wa-bubble .msg p + p { margin-top: 8px; }
.wa-bubble .go { display: block; text-align: center; background: var(--green); color: #fff; padding: 12px; text-decoration: none; font-weight: 650; }
.wa-bubble .x { position: absolute; top: 8px; right: 10px; background: none; border: 0; color: #fff; font-size: 1.2rem; cursor: pointer; }
.typing { display: inline-flex; gap: 3px; } .typing span { width: 6px; height: 6px; border-radius: 50%; background: #999; animation: typ 1s infinite; } .typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typ { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

.calc { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.calc-in { padding: 32px; display: grid; gap: 16px; background: #fff; }
.calc-in label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--ink); }
.calc-in input, .calc-in select { width: 100%; padding: 11px 13px; border: 1px solid #cdd6e0; border-radius: var(--radius); font: inherit; }
.calc-in .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc-in .hint { color: var(--muted); font-size: .82rem; margin: 6px 0 0; }
.calc-out { background: var(--navy); color: #fff; padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.calc-res { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid rgba(255,255,255,.12); padding: 14px 0; }
.calc-res span { color: #9fb3c9; } .calc-res b { font-size: 1.7rem; color: var(--accent); font-variant-numeric: tabular-nums; transition: color .3s; }

.faq details { border-bottom: 1px solid var(--line); background: #fff; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 48px 20px 20px; font-weight: 650; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--accent); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 20px 20px; margin: 0; }

.routes svg { width: 100%; height: auto; background: radial-gradient(circle at 74% 40%, rgba(232,163,23,.12), transparent 50%), radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px) 0 0/14px 14px; border-radius: var(--radius); }
.route { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 8; opacity: .85; animation: dash 6s linear infinite; }
.r2 { animation-duration: 7s; } .r3 { animation-duration: 5s; } .r4 { animation-duration: 6.5s; } .r5 { animation-duration: 9s; }
@keyframes dash { to { stroke-dashoffset: -280; } }
.pin circle { fill: #fff; } .pin text, .hub-label { fill: #c4d2e2; font-size: 12px; font-family: inherit; } .hub-label { fill: #fff; font-weight: 700; }
.hub { animation: hub 2.4s ease-in-out infinite; transform-origin: 445px 150px; }
@keyframes hub { 50% { transform: scale(1.6); opacity: .5; } }

.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(5,14,26,.92); display: none; align-items: center; justify-content: center; padding: 30px; cursor: zoom-out; }
.lightbox.open { display: flex; animation: fade .25s; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,.5); }
@keyframes fade { from { opacity: 0; } }
.gallery img, .thumbs img, .product .media > img { cursor: zoom-in; }

.mobile-cta { display: none; }
@media (max-width: 760px) {
  .calc { grid-template-columns: 1fr; } .calc-in .row { grid-template-columns: 1fr 1fr; }
  .wa-bubble { right: 12px; left: 12px; width: auto; bottom: 140px; }
  .mobile-cta { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 39; box-shadow: 0 -4px 16px rgba(0,0,0,.12); }
  .mobile-cta a { padding: 14px; text-align: center; font-weight: 700; text-decoration: none; }
  .mobile-cta a:first-child { background: var(--accent); color: var(--accent-ink); } .mobile-cta a:last-child { background: var(--green); color: #fff; }
  .wa-float { bottom: 66px; }
  body { padding-bottom: 50px; }
}

/* Insights */
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--body); background: #fff; }
.post-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.post-card .card-body .meta { font-size: .8rem; color: var(--muted); margin-bottom: 6px; }
.article { max-width: 780px; margin: 0 auto; }
.article h2 { margin-top: 1.6em; font-size: 1.5rem; } .article table { margin: 1em 0 1.6em; }
.article .meta { color: var(--muted); font-size: .9rem; margin-bottom: 2em; }

/* Language switcher */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid rgba(255,255,255,.25); color: #e3ebf3; border-radius: 99px; padding: 3px 10px; font: inherit; font-size: .8rem; cursor: pointer; }
.lang-btn:hover { border-color: rgba(255,255,255,.6); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 50; background: #fff; border-radius: var(--radius); box-shadow: 0 12px 32px rgba(0,0,0,.18); padding: 6px; min-width: 190px; display: none; }
.lang.open .lang-menu { display: grid; }
.lang-menu a { color: var(--ink) !important; padding: 8px 12px; border-radius: 4px; font-size: .9rem; }
.lang-menu a:hover { background: var(--bg-soft); }
.lang-menu a[aria-current] { font-weight: 700; background: #fff6e0; }
.topbar-links { align-items: center; }
@media (max-width: 760px) { .topbar-links a[href^="mailto"] { display: none; } }

/* Right-to-left (Arabic) */
[dir="rtl"] body { font-family: "Segoe UI", Tahoma, "Noto Naskh Arabic", Arial, sans-serif; }
[dir="rtl"] .hero::before { background: linear-gradient(270deg, rgba(8,24,44,.92) 0%, rgba(8,24,44,.75) 45%, rgba(8,24,44,.25) 100%); }
[dir="rtl"] .check li { padding-left: 0; padding-right: 26px; }
[dir="rtl"] .check li::before { left: auto; right: 0; }
[dir="rtl"] .spec th, [dir="rtl"] .spec td { text-align: right; }
[dir="rtl"] .fact { border-left: 0; border-right: 1px solid var(--line); }
[dir="rtl"] .fact:first-child { border-right: 0; }
[dir="rtl"] .wa-float { right: auto; left: 20px; }
[dir="rtl"] .wa-bubble { right: auto; left: 20px; }
[dir="rtl"] .lang-menu { right: auto; left: 0; }
[dir="rtl"] .faq summary { padding: 20px 20px 20px 48px; }
[dir="rtl"] .faq summary::after { right: auto; left: 20px; }
[dir="rtl"] .more::after { content: " \2190"; }
[dir="rtl"] .marquee { direction: ltr; }
[dir="rtl"] .note { border-left: 0; border-right: 3px solid var(--accent); border-radius: var(--radius) 0 0 var(--radius); }
.topbar-links a, .office { white-space: nowrap; }
@media (max-width: 1100px) { .topbar-links a[href^="mailto"] { display: none; } }

/* Brand film */
.btn-film { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; color: #fff; font: inherit; font-weight: 650; cursor: pointer; padding: 6px 10px; }
.btn-film small { color: #c4d2e2; font-weight: 500; }
.play-dot { position: relative; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.15); border: 2px solid rgba(255,255,255,.8); flex: none; animation: pulse-gold 2.4s ease-out infinite; }
.play-dot::after { content: ""; position: absolute; left: 18px; top: 13px; border-left: 15px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.btn-film:hover .play-dot { background: var(--accent); border-color: var(--accent); }
.film-modal { position: fixed; inset: 0; z-index: 70; background: rgba(3,10,20,.94); display: flex; align-items: center; justify-content: center; padding: 4vw; }
.film-modal[hidden] { display: none; }
.film-modal video { width: min(1200px, 100%); max-height: 100%; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.6); background: #000; }
.film-close { position: absolute; top: 18px; right: 24px; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; }
[dir="rtl"] .film-close { right: auto; left: 24px; }

/* Overflow safety (long words in some languages, wide tables) */
.grid > *, .split > *, .product > * { min-width: 0; }
h1, h2, h3, .feature p, .card-body p, .audience p { overflow-wrap: break-word; hyphens: auto; }
.article table { display: block; overflow-x: auto; }
@media (max-width: 760px) {
  .grid-4 { grid-template-columns: 1fr; }
  .facts .grid-4 { grid-template-columns: 1fr 1fr; }
  .gallery .grid-4 { grid-template-columns: 1fr 1fr; }
}

/* ================= v3: cinematic scale ================= */
h2 { font-size: clamp(1.8rem, 3.4vw, 2.9rem); letter-spacing: -.02em; }
.section-head .lead { font-size: 1.2rem; }
.display { font-size: clamp(2.3rem, 5.2vw, 4.6rem); line-height: 1.04; letter-spacing: -.025em; font-weight: 750; }
.section { padding: 110px 0; }

/* Progress bar */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), #ffd36b); z-index: 60; }
[dir="rtl"] .progress { transform-origin: 100% 50%; }

/* Full-screen hero */
.hero-xl { min-height: calc(100vh - 108px); min-height: calc(100svh - 108px); }
.hero-xl h1 { font-size: clamp(2.6rem, 6.2vw, 5.6rem); line-height: 1.02; letter-spacing: -.03em; max-width: 1000px; }
.hero-xl .lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); max-width: 680px; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; z-index: 3; width: 28px; height: 46px; margin-left: -14px; border: 2px solid rgba(255,255,255,.7); border-radius: 16px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* Video bands */
.band { position: relative; overflow: hidden; color: #fff; display: flex; align-items: center; min-height: 70vh; background: var(--navy); }
.band-xl { min-height: 92vh; }
.band .vbg { position: absolute; left: 0; width: 100%; height: 130%; top: -15%; object-fit: cover; z-index: 0; will-change: transform; }
.band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(6,18,34,.88) 0%, rgba(6,18,34,.55) 55%, rgba(6,18,34,.2) 100%); }
.band-inner { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 90px; }
.band .display { color: #fff; max-width: 980px; margin-bottom: .4em; }
.band .lead { color: #d3dfec; max-width: 640px; font-size: 1.2rem; }
[dir="rtl"] .band::before { background: linear-gradient(270deg, rgba(6,18,34,.88) 0%, rgba(6,18,34,.55) 55%, rgba(6,18,34,.2) 100%); }

/* Two product lines, one full screen each */
.line-panel { position: relative; display: flex; align-items: center; min-height: 92vh; overflow: hidden; color: #fff; text-decoration: none; background: var(--navy); }
.line-panel .vbg { position: absolute; left: 0; width: 100%; height: 130%; top: -15%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.line-panel::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(6,18,34,.9) 0%, rgba(6,18,34,.45) 60%, rgba(6,18,34,.1) 100%); transition: background .6s; }
.line-panel.alt::before { background: linear-gradient(270deg, rgba(6,18,34,.9) 0%, rgba(6,18,34,.45) 60%, rgba(6,18,34,.1) 100%); }
.line-panel:hover::before { background: linear-gradient(90deg, rgba(6,18,34,.95) 0%, rgba(6,18,34,.55) 60%, rgba(6,18,34,.2) 100%); }
.line-inner { position: relative; z-index: 2; }
.line-panel.alt .line-inner { text-align: right; }
.line-panel.alt .line-inner p { margin-left: auto; }
.line-panel .display { color: #fff; }
.line-panel p { color: #d3dfec; font-size: 1.25rem; max-width: 560px; margin-bottom: 28px; }
.line-num { display: block; font-size: clamp(4rem, 10vw, 9rem); font-weight: 800; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px rgba(232,163,23,.85); margin-bottom: 10px; }
[dir="rtl"] .line-panel.alt .line-inner { text-align: left; }
[dir="rtl"] .line-panel.alt .line-inner p { margin-left: 0; margin-right: auto; }

/* Big numbers */
.numbers { min-height: 72vh; }
.numbers::before { background: rgba(6,18,34,.82); }
.big-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 30px; }
.big-stat { padding: 10px 28px 10px 0; border-right: 1px solid rgba(255,255,255,.15); margin-right: 28px; }
.big-stat:last-child { border-right: 0; margin-right: 0; }
.big-stat strong { display: block; font-size: clamp(2.6rem, 5.4vw, 5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.big-stat > span { display: block; margin-top: 14px; color: #c4d2e2; font-size: 1rem; max-width: 240px; }
[dir="rtl"] .big-stat { padding: 10px 0 10px 28px; border-right: 0; border-left: 1px solid rgba(255,255,255,.15); margin-right: 0; margin-left: 28px; }

/* Horizontal scroll applications */
.hscroll { position: relative; background: #050f1d; color: #fff; }
.hscroll-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hscroll-head .display { color: #fff; font-size: clamp(2rem, 4vw, 3.4rem); }
.hscroll-track { display: flex; gap: 22px; padding: 10px 0 10px max(24px, calc((100vw - 1200px) / 2 + 24px)); will-change: transform; }
.hcard { position: relative; flex: none; width: min(58vw, 820px); height: 58vh; margin: 0; border-radius: 6px; overflow: hidden; background: #0b2340; }
.hcard video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.hcard:hover video { transform: scale(1.05); }
.hcard figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 28px; background: linear-gradient(transparent, rgba(5,15,29,.88)); }
.hcard figcaption small { display: block; color: var(--accent); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 700; margin-bottom: 6px; }
.hcard figcaption b { font-size: clamp(1.3rem, 2.2vw, 2rem); font-weight: 700; }
.hscroll-bar { margin: 28px auto 0; width: min(1152px, calc(100% - 48px)); height: 2px; background: rgba(255,255,255,.15); }
.hscroll-bar span { display: block; height: 100%; width: 0; background: var(--accent); }

/* Mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 300px 300px; gap: 6px; }
.mosaic figure { position: relative; margin: 0; overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.mosaic figure:hover img { transform: scale(1.07); }
.mosaic figcaption { position: absolute; left: 18px; bottom: 14px; color: #fff; font-weight: 650; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.m-a { grid-column: span 2; grid-row: span 2; }
.m-d { grid-column: span 2; }

/* Split text */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; }
[data-split] .w > i { display: inline-block; font-style: normal; transform: translateY(105%); transition: transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--wd, 0s); }
[data-split].in .w > i { transform: none; }

/* Bigger page heroes on inner pages */
.page-hero { min-height: 78vh; display: flex; align-items: flex-end; padding: 140px 0 90px; }
.page-hero .container { width: 100%; }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.8rem); line-height: 1.04; letter-spacing: -.03em; max-width: 1000px; }
.page-hero p { font-size: clamp(1.05rem, 1.4vw, 1.3rem); }

@media (max-width: 1000px) {
  .big-stats { grid-template-columns: 1fr 1fr; gap: 34px 0; }
  .big-stat:nth-child(2) { border-right: 0; margin-right: 0; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, 220px); }
}
@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .band-xl, .line-panel { min-height: 80vh; }
  .line-panel.alt .line-inner { text-align: left; }
  .hscroll-sticky { position: relative; height: auto; padding: 72px 0; }
  .hscroll-track { overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 24px; transform: none !important; }
  .hcard { width: 82vw; height: 56vh; scroll-snap-align: center; }
  .hscroll-bar { display: none; }
  .big-stat { border: 0 !important; margin: 0 !important; padding: 0 !important; }
  .mosaic { grid-template-rows: repeat(4, 160px); }
  .page-hero { min-height: 62vh; padding: 110px 0 60px; }
}
@media (prefers-reduced-motion: reduce) { [data-split] .w > i { transform: none; } }
.band, .line-panel, .hcard { background-size: cover; background-position: center; }
.big-stat strong { white-space: nowrap; font-size: clamp(2.2rem, 4.4vw, 4.6rem); }
.big-stat strong .unit, .fact strong .unit { font-size: .45em; font-weight: 700; color: var(--accent); margin-left: .12em; letter-spacing: 0; }
@media (max-width: 760px) { .scroll-cue { display: none; } .hero-xl { min-height: calc(100svh - 108px); padding: 40px 0 90px; } }

/* ===== v4: enhanced product imagery ===== */
.pshows { margin-top: 8px; }
.pshow { display: grid; grid-template-columns: 1.55fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid #e6e9ee; }
.pshow:first-child { border-top: 0; padding-top: 16px; }
.pshow:nth-child(even) { grid-template-columns: 1fr 1.55fr; }
.pshow:nth-child(even) > .stage-wrap { order: 2; }
.pshow > * { min-width: 0; }
.stage { position: relative; aspect-ratio: 2 / 1; border-radius: 18px; overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at 50% 38%, #ffffff 0%, #f1f3f6 62%, #e3e7ed 100%); }
.stage img.main { width: 94%; height: 90%; object-fit: contain; cursor: zoom-in; transition: opacity .3s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.stage:hover img.main { transform: scale(1.04); }
.stage.scene img.main { width: 100%; height: 100%; object-fit: cover; }
.stage .illus { display: none; }
.stage.scene .illus { display: block; }
.illus { position: absolute; right: 12px; bottom: 10px; z-index: 2; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
  color: #fff; background: rgba(5,15,29,.55); padding: 3px 8px; border-radius: 4px; pointer-events: none; }
.views { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.views button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #f2f4f7; cursor: pointer; aspect-ratio: 16 / 9; transition: border-color .2s; }
.views button.on, .views button:hover { border-color: var(--accent); }
.views img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pshow .model { font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 800; letter-spacing: -.02em; line-height: 1; margin: .12em 0 .35em; }
.pshow dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; margin: 0 0 28px; font-size: 1.05rem; }
.pshow dt { color: var(--muted); } .pshow dd { margin: 0; font-weight: 650; }
.product .stage-wrap { min-width: 0; }

.lineup { background: linear-gradient(180deg, #ffffff 0%, #eef2f6 100%); overflow: hidden; }
.lineup-row { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-items: end; gap: 8px; margin-top: 24px; }
.lineup-row figure { margin: 0; text-align: center; min-width: 0; position: relative; }
.lineup-row img { width: 100%; height: min(64vh, 600px); object-fit: contain; mix-blend-mode: multiply; cursor: zoom-in; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.lineup-row figure:hover img { transform: translateY(-10px) scale(1.03); }
.lineup-row figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.note-illus { font-size: .8rem; color: var(--muted); margin-top: 18px; }
.section-dark .note-illus { color: #9fb3c9; }

.details { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.details figure { position: relative; margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; }
.details img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.details figure:hover img { transform: scale(1.06); }
.details figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; color: #fff; font-weight: 650; background: linear-gradient(transparent, rgba(5,15,29,.8)); }

.dn-toggle { display: inline-flex; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 4px; margin-top: 8px; }
.dn-toggle button { border: 0; background: transparent; color: inherit; padding: 8px 22px; border-radius: 999px; font: inherit; font-weight: 650; cursor: pointer; }
.dn-toggle button.on { background: var(--accent); color: #111; }
.dn-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 32px; }
.dn { position: relative; margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 9 / 16; background: #0b1626; }
.dn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .9s ease, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.dn img.night { opacity: 0; }
.dn-grid.night .dn img.night, .dn:hover img.night { opacity: 1; }
.dn-grid.night .dn:hover img.night { opacity: 0; }
.dn:hover img { transform: scale(1.04); }
.dn figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 20px; color: #fff; font-weight: 700; font-size: 1.15rem; background: linear-gradient(transparent, rgba(5,15,29,.85)); z-index: 2; }

.cutout-band { background: radial-gradient(ellipse at 50% 30%, #ffffff 0%, #eef1f5 70%, #e2e7ee 100%); }
.cutout-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: center; margin-top: 24px; }
.cutout-grid img { width: 100%; max-height: 70vh; object-fit: contain; mix-blend-mode: multiply; cursor: zoom-in; }

@media (max-width: 900px) {
  .pshow, .pshow:nth-child(even) { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .pshow:nth-child(even) > .stage-wrap { order: 0; }
  .dn-grid { grid-template-columns: 1fr 1fr; }
  .lineup-row { grid-auto-columns: 46%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .lineup-row figure { scroll-snap-align: start; }
  .lineup-row img { height: 52vh; }
  .details { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .views { gap: 6px; } .stage { aspect-ratio: 16 / 10; } }
[dir="rtl"] .pshow dd { direction: ltr; text-align: right; }
.views:has(> button:nth-child(5)) { grid-template-columns: repeat(5, 1fr); }
.dn-grid.dn-3 { grid-template-columns: repeat(3, 1fr); }
.dn-grid.dn-3 .dn { aspect-ratio: 4 / 5; }
.appwall-sec { padding: 96px 0 64px; background: #050f1d; color: #fff; }
.appwall-sec .section-head h2 { color: #fff; }
.appwall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 32px 0 12px; }
.appwall figure { position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 3; }
.appwall figure:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.appwall figure:nth-child(8) { grid-column: span 2; aspect-ratio: auto; }
.appwall img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.appwall figure:hover img { transform: scale(1.07); }
.appwall figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; font-weight: 650; background: linear-gradient(transparent, rgba(5,15,29,.85)); }
.appwall-sec .note-illus { color: #9fb3c9; }
@media (max-width: 900px) {
  .dn-grid.dn-3 { grid-template-columns: 1fr 1fr; }
  .appwall { grid-template-columns: 1fr 1fr; }
  .appwall figure:nth-child(1), .appwall figure:nth-child(8) { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 9; }
}

/* ===== v5: Antaisolar-style information architecture ===== */
/* Mega menu */
.site-header .container { position: static; }
.site-header { position: sticky; }
.has-mega > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .6; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 24px 48px rgba(11,35,64,.12); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; }
.has-mega:hover > .mega, .has-mega:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
.site-header .mega .container { display: block; height: auto; }
.mega-in { padding: 28px 24px 24px; }
.mega-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.mega-grid a { display: block; padding: 12px; border-radius: 12px; transition: background .2s; }
.mega-grid a:hover { background: #f3f6fa; }
.mega-grid .mi { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: radial-gradient(ellipse at 50% 40%, #fff, #eef1f5); margin-bottom: 10px; }
.mega-grid .mi img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s; }
.mega-grid a:hover .mi img { transform: scale(1.06); }
.mega-grid b { display: block; color: var(--navy); font-size: .95rem; }
.mega-grid small { display: block; color: var(--muted); font-size: .8rem; font-weight: 400; margin-top: 2px; }
.mega-all { display: inline-block; margin-top: 12px; font-weight: 650; color: var(--navy-2) !important; }
@media (max-width: 760px) {
  .nav { max-height: calc(100svh - 108px); overflow-y: auto; }
  .has-mega > a::after { display: none; }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; }
  .mega-in { padding: 8px 0 0 12px; }
  .mega-grid { grid-template-columns: 1fr; gap: 0; }
  .mega-grid a { padding: 6px 0; }
  .mega-grid .mi, .mega-grid small, .mega-all { display: none; }
  .mega-grid b { font-weight: 500; color: var(--muted); }
}
/* Why Solmast */
.why-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.why-grid > * { min-width: 0; }
.why-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.metrics > div { padding: 30px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metrics > div:nth-child(2n) { border-right: 0; } .metrics > div:nth-child(n+3) { border-bottom: 0; }
.metrics strong { display: block; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1.05; white-space: nowrap; }
.metrics strong .unit { display: inline; margin: 0 0 0 .12em; font-size: .55em; color: var(--accent); }
.metrics span { display: block; color: var(--muted); font-size: .9rem; margin-top: 8px; }
/* Product center */
.pc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.pc-head h2 { margin-bottom: 0; }
.pc-tabs { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.pc-tabs button { border: 0; background: transparent; padding: 10px 22px; border-radius: 999px; font: inherit; font-weight: 650; color: var(--muted); cursor: pointer; }
.pc-tabs button.on { background: var(--navy); color: #fff; }
.pc-panel { display: none; } .pc-panel.on { display: block; animation: pcIn .4s ease; }
@keyframes pcIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.prod-grid { display: grid; gap: 20px; } .prod-grid.g4 { grid-template-columns: repeat(4, 1fr); } .prod-grid.g3 { grid-template-columns: repeat(3, 1fr); }
.prod { display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; min-width: 0; }
.prod:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11,35,64,.12); }
.prod-img { display: block; aspect-ratio: 4 / 3; background: radial-gradient(ellipse at 50% 40%, #fff 0%, #eef1f5 75%); overflow: hidden; }
.prod-img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; mix-blend-mode: multiply; transition: transform .6s; }
.prod-img.cover img { object-fit: cover; padding: 0; mix-blend-mode: normal; }
.prod:hover .prod-img img { transform: scale(1.05); }
.prod-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.prod-body b { font-size: 1.1rem; color: var(--navy); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips i { font-style: normal; font-size: .78rem; color: var(--navy-2); background: #eef3f9; padding: 4px 10px; border-radius: 999px; }
.prod .more { margin-top: auto; }
.pc-all { display: inline-block; margin-top: 24px; font-weight: 650; color: var(--navy-2); }
/* Project wall */
.projwall { background: var(--navy); color: #c4d2e2; overflow: hidden; }
.projwall h2 { color: #fff; } .projwall .lead { color: #9fb3c9; }
.projwall .btn-outline { color: #fff; border-color: rgba(255,255,255,.4); }
.pw-track { --pw-pad: max(24px, calc((100vw - var(--max)) / 2 + 24px)); display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--pw-pad) 12px; scroll-padding-inline: var(--pw-pad); scrollbar-width: thin; }
.pw-card { flex: 0 0 240px; scroll-snap-align: start; background: linear-gradient(160deg, #12355e, #0b2340); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 26px 24px; display: flex; flex-direction: column; gap: 6px; min-height: 170px; position: relative; }
.pw-card::after { content: ""; position: absolute; right: 18px; top: 22px; width: 26px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, transparent 60%, var(--accent) 60%); opacity: .8; }
.pw-card strong { font-size: 2.6rem; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.02em; }
.pw-card strong small { font-size: .45em; color: var(--accent); font-weight: 700; }
.pw-card span { color: #fff; font-weight: 600; margin-top: auto; }
.pw-card em { font-style: normal; font-size: .82rem; color: #8fa3b8; }
@media (max-width: 1000px) { .prod-grid.g4 { grid-template-columns: repeat(2, 1fr); } .prod-grid.g3 { grid-template-columns: repeat(2, 1fr); } .why-grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 560px) {
  .prod-grid.g4, .prod-grid.g3 { gap: 12px; }
  .prod-body { padding: 14px; } .prod-body b { font-size: 1rem; } .chips i { font-size: .72rem; padding: 3px 8px; }
  .metrics > div { padding: 22px 18px; }
  .pc-tabs { width: 100%; } .pc-tabs button { flex: 1; padding: 10px 8px; }
  .pw-card { flex-basis: 200px; }
}
[dir="rtl"] .pw-track { direction: rtl; }
