/* ==========================================================================
   Alpha Laser — main stylesheet (RTL)
   ========================================================================== */

:root {
  --navy: #0b4a66;
  --navy-700: #0e5d80;
  --navy-800: #083a51;
  --navy-900: #052536;
  --accent: #f39c12;
  --accent-2: #ffc15e;
  --accent-ink: #3a2400;
  --ink: #0f2533;
  --muted: #5a6f7e;
  --bg: #ffffff;
  --bg-alt: #f2f6f9;
  --line: #e0e8ee;
  --wa: #25d366;
  --wa-dark: #1ebe5b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(8, 40, 60, .06);
  --shadow: 0 10px 30px rgba(8, 40, 60, .10);
  --shadow-lg: 0 24px 60px rgba(8, 40, 60, .18);
  --container: 1240px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Cairo', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
}
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body.nav-open, body.lb-open { overflow: hidden; }
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { line-height: 1.35; margin: 0 0 .5em; font-weight: 800; color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.container--narrow { max-width: 860px; }

.skip-link { position: absolute; top: -100px; right: 12px; z-index: 1000; background: var(--accent); color: #000; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.icon { flex-shrink: 0; display: inline-block; vertical-align: middle; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1.3; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 8px 16px; font-size: 14px; }
.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-700); color: #fff; box-shadow: 0 8px 20px rgba(11, 74, 102, .3); }
.btn--accent { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: var(--accent-ink); }
.btn--accent:hover { color: var(--accent-ink); box-shadow: 0 10px 26px rgba(243, 156, 18, .45); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-dark); color: #fff; box-shadow: 0 10px 24px rgba(37, 211, 102, .35); }
.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,.5); color: #fff; background: rgba(255,255,255,.06); }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn-row--center { justify-content: center; }
.btn .icon-arrow { transition: transform .2s; }
.btn:hover .icon-arrow { transform: translateX(-4px); }

.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 0; display: inline-grid; place-items: center;
  background: #fff; color: var(--navy); transition: background .2s, color .2s, transform .2s;
}
.icon-btn:hover { background: var(--accent); color: #000; transform: scale(1.08); }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-900); color: rgba(255,255,255,.8); font-size: 13.5px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__info { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.topbar__info a, .topbar__info span { color: inherit; display: inline-flex; align-items: center; gap: 6px; }
.topbar__info a:hover { color: var(--accent-2); }
.topbar__info .icon { color: var(--accent); }
.topbar__social { display: flex; gap: 6px; }
.topbar__social a { color: #fff; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); }
.topbar__social a:hover { background: var(--accent); color: #000; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line); transition: box-shadow .3s;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(8, 40, 60, .08); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; }
.site-logo { display: block; width: 62px; height: 62px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 2px var(--line); flex-shrink: 0; }
.site-logo img { width: 100%; height: 100%; object-fit: cover; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; direction: ltr; text-align: left; }
.brand__text strong { font-size: 20px; letter-spacing: 3px; color: var(--navy); font-weight: 900; }
.brand__text small { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); font-weight: 700; }

.main-nav { margin-inline-start: auto; display: flex; align-items: center; gap: 20px; }
.main-nav .menu { list-style: none; display: flex; gap: 4px; }
.main-nav .menu > li { position: relative; }
.main-nav .menu a { display: block; padding: 10px 14px; font-weight: 700; color: var(--ink); border-radius: 10px; position: relative; }
.main-nav .menu > li > a::after {
  content: ''; position: absolute; inset-inline: 14px; bottom: 4px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(0); transition: transform .25s var(--ease);
}
.main-nav .menu > li:hover > a::after,
.main-nav .menu > .current-menu-item > a::after,
.main-nav .menu > .current-menu-ancestor > a::after { transform: scaleX(1); }
.main-nav .menu .current-menu-item > a { color: var(--navy); }
.main-nav .sub-menu {
  list-style: none; position: absolute; top: 100%; right: 0; min-width: 220px; padding: 8px;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s;
}
.main-nav li:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { padding: 8px 12px; font-weight: 600; }
.main-nav .sub-menu a:hover { background: var(--bg-alt); }
.main-nav__head, .main-nav__wa { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); place-items: center; }
.nav-overlay { position: fixed; inset: 0; background: rgba(5, 25, 36, .55); z-index: 150; }

/* ---------- Laser decoration ---------- */
.laser-lines { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.laser-lines span {
  position: absolute; height: 2px; width: 40%; top: 20%; right: -40%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 12px var(--accent); opacity: .7; animation: laser-sweep 7s linear infinite;
}
.laser-lines span:nth-child(2) { top: 55%; animation-delay: 2.4s; animation-duration: 9s; }
.laser-lines span:nth-child(3) { top: 82%; animation-delay: 4.6s; animation-duration: 8s; }
@keyframes laser-sweep { from { right: -40%; } to { right: 110%; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background: radial-gradient(1200px 600px at 20% 30%, rgba(243,156,18,.18), transparent 60%),
              linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 55%, var(--navy-700) 100%);
  padding: 90px 0 110px;
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero--media::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,37,54,.35) 0%, rgba(5,37,54,.92) 65%); }
.hero__grid {
  position: absolute; inset: 0; z-index: -1; opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 34px 34px; mask-image: radial-gradient(circle at 70% 50%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 70% 50%, #000 20%, transparent 75%);
}
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); font-weight: 700; font-size: 14px; color: var(--accent-2);
}
.hero__kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(243,156,18,.25); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(243,156,18,0); } }
.hero__title { color: #fff; font-size: clamp(32px, 5vw, 58px); font-weight: 900; margin: 18px 0 16px; line-height: 1.25; }
.hero__text { font-size: clamp(16px, 1.6vw, 19px); color: rgba(255,255,255,.82); max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; color: rgba(255,255,255,.85); font-weight: 600; font-size: 14.5px; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .icon { color: var(--accent); }

/* Animated logo-style emblem */
.hero__visual { display: grid; place-items: center; }
.laser-emblem { position: relative; width: min(400px, 80vw); aspect-ratio: 1; }
.laser-emblem__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.9); box-shadow: 0 0 0 14px rgba(255,255,255,.06), inset 0 0 0 10px rgba(255,255,255,.04);
}
.laser-emblem__ring::before {
  content: ''; position: absolute; inset: -26px; border-radius: 50%;
  background: repeating-conic-gradient(rgba(255,255,255,.85) 0 5deg, transparent 5deg 12deg);
  -webkit-mask: radial-gradient(circle, transparent 64%, #000 65%, #000 70%, transparent 71%);
  mask: radial-gradient(circle, transparent 64%, #000 65%, #000 70%, transparent 71%);
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.laser-emblem__head {
  position: absolute; left: 50%; top: 10%; width: 22%; height: 36%; transform: translateX(-50%);
  background: linear-gradient(90deg, #d8e6ee, #fff 45%, #b8cdd9);
  clip-path: polygon(10% 0, 90% 0, 90% 45%, 80% 45%, 80% 70%, 65% 70%, 60% 100%, 40% 100%, 35% 70%, 20% 70%, 20% 45%, 10% 45%);
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.3));
}
.laser-emblem__beam {
  position: absolute; left: 50%; top: 46%; width: 4px; height: 24%; transform: translateX(-50%);
  background: linear-gradient(var(--accent-2), var(--accent)); box-shadow: 0 0 14px 3px var(--accent), 0 0 40px 8px rgba(243,156,18,.45);
  border-radius: 4px; animation: beam 1.4s ease-in-out infinite;
}
@keyframes beam { 50% { opacity: .65; box-shadow: 0 0 8px 2px var(--accent), 0 0 24px 4px rgba(243,156,18,.3); } }
.laser-emblem__spark {
  position: absolute; left: 50%; top: 70%; width: 46%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: repeating-conic-gradient(from 0deg, var(--accent) 0 2deg, transparent 2deg 22deg);
  -webkit-mask: radial-gradient(circle, #000 0 8%, rgba(0,0,0,.6) 30%, transparent 65%);
  mask: radial-gradient(circle, #000 0 8%, rgba(0,0,0,.6) 30%, transparent 65%);
  animation: spark .5s steps(3) infinite;
}
@keyframes spark { 33% { transform: translate(-50%, -50%) rotate(7deg) scale(.9); } 66% { transform: translate(-50%, -50%) rotate(-5deg) scale(1.08); } }
.laser-emblem__plate {
  position: absolute; left: 18%; right: 18%; top: 68%; height: 12%;
  border: 3px solid rgba(255,255,255,.9); border-top-width: 3px;
  clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); background: rgba(255,255,255,.05);
}

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -56px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat { padding: 28px 16px; text-align: center; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; }
.stat__num { display: block; font-size: clamp(30px, 3.4vw, 44px); font-weight: 900; color: var(--navy); line-height: 1.1; direction: ltr; }
.stat__num span { color: var(--navy); }
.stat__label { color: var(--muted); font-weight: 600; }
.stats--flat { margin: 0 0 20px; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: linear-gradient(160deg, var(--navy-900), var(--navy)); color: #fff; overflow: hidden; }
.section--dark .section-title { color: #fff; }
.section-head { margin-bottom: 44px; max-width: 720px; }
.section-head.is-center { text-align: center; margin-inline: auto; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-weight: 800; font-size: 15px; margin-bottom: 8px;
}
.kicker::before { content: ''; width: 28px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.section-title { font-size: clamp(26px, 3.2vw, 40px); font-weight: 900; }
.section-text { color: var(--muted); font-size: 17px; }
.section--dark .section-text { color: rgba(255,255,255,.75); }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head-row .section-head { margin-bottom: 0; }
.lead { font-size: 17.5px; color: var(--muted); }
.empty-state { text-align: center; padding: 50px 20px; color: var(--muted); background: #fff; border: 2px dashed var(--line); border-radius: var(--radius); }
.empty-state .btn { margin-top: 10px; }

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

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); color: var(--ink); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.cat-card::after {
  content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.cat-card:hover::after { transform: scaleX(1); }
.cat-card__icon {
  width: 68px; height: 68px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--navy), var(--navy-700)); color: #fff; transition: background .3s, transform .3s;
}
.cat-card:hover .cat-card__icon { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #000; transform: rotate(-6deg); }
.cat-card h3 { font-size: 20px; }
.cat-card p { color: var(--muted); font-size: 15px; flex: 1; }
.cat-card__more { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 700; margin-top: 6px; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card__media { position: relative; display: block; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #eef3f6, #dfe8ee); overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.placeholder-img { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(11,74,102,.35); }
.badge {
  position: absolute; top: 14px; right: 14px; padding: 4px 14px; border-radius: 999px; font-size: 13px; font-weight: 800;
  background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: var(--accent-ink); box-shadow: 0 4px 12px rgba(243,156,18,.4);
}
.badge--lg { font-size: 15px; padding: 6px 18px; z-index: 2; }
.product-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.product-card__cat { font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.product-card__title { font-size: 19px; margin-bottom: 4px; }
.product-card__title a { color: var(--ink); }
.product-card__title a:hover { color: var(--navy); }
.product-card__model { font-size: 13px; color: var(--muted); font-weight: 600; }
.product-card__excerpt { color: var(--muted); font-size: 14.5px; margin: 8px 0 16px; flex: 1; }
.product-card__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.product-card__actions .btn { flex: 1; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about__media { position: relative; }
.about__media > img { width: 100%; border-radius: 22px; aspect-ratio: 4 / 3.4; object-fit: cover; box-shadow: var(--shadow-lg); }
.about__media::before {
  content: ''; position: absolute; inset: 30px -20px -20px 30px; border-radius: 22px; z-index: -1;
  background-image: linear-gradient(rgba(11,74,102,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(11,74,102,.14) 1px, transparent 1px);
  background-size: 18px 18px;
}
.about__logo { background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); padding: 30px; display: grid; place-items: center; }
.about__logo img { max-width: 380px; width: 100%; border-radius: 12px; }
.about__badge {
  position: absolute; bottom: -24px; left: -10px; background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: var(--accent-ink); padding: 18px 26px; border-radius: 18px; box-shadow: var(--shadow); text-align: center;
}
.about__badge strong { display: block; font-size: 36px; line-height: 1; font-weight: 900; direction: ltr; }
.about__badge span { font-weight: 700; font-size: 14px; }
.check-list { list-style: none; display: grid; gap: 10px; margin: 18px 0 0; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; }
.check-list .icon {
  color: #fff; background: var(--wa); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 3px;
}

/* ---------- Why us ---------- */
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.why-card {
  padding: 30px 26px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  transition: background .3s, transform .3s var(--ease), border-color .3s;
}
.why-card:hover { background: rgba(255,255,255,.1); transform: translateY(-5px); border-color: rgba(243,156,18,.6); }
.why-card__icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: rgba(243,156,18,.15); color: var(--accent-2); margin-bottom: 16px; }
.why-card h3 { color: #fff; font-size: 19px; }
.why-card p { color: rgba(255,255,255,.72); margin: 0; font-size: 15px; }
.why__grid--light .why-card { background: #fff; border-color: var(--line); }
.why__grid--light .why-card:hover { box-shadow: var(--shadow); }
.why__grid--light .why-card h3 { color: var(--ink); }
.why__grid--light .why-card p { color: var(--muted); }
.why__grid--light .why-card__icon { background: rgba(11,74,102,.08); color: var(--navy); }

/* ---------- Factory video ---------- */
.factory__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: center; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-frame video { object-fit: contain; }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.video-grid--single { grid-template-columns: 1fr; max-width: 960px; margin-inline: auto; }

/* ---------- Project cards ---------- */
.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.project-grid--archive { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-card__media { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--navy-800), var(--navy)); }
.project-card__media img, .project-card__media video { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.project-card:hover .project-card__media img, .project-card:hover .project-card__media video { transform: scale(1.08); }
.project-card .placeholder-img { color: rgba(255,255,255,.3); }
.project-card__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1;
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; padding-inline-start: 4px;
  background: rgba(243,156,18,.95); color: #000; box-shadow: 0 0 0 10px rgba(243,156,18,.25); transition: opacity .3s;
}
.project-card__overlay {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px;
  background: linear-gradient(to top, rgba(5,37,54,.95) 0%, rgba(5,37,54,.4) 45%, transparent 70%); color: #fff;
}
.project-card__type { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 800; padding: 2px 10px; border-radius: 999px; background: var(--accent); color: #000; margin-bottom: 8px; }
.project-card__title { color: #fff; font-size: 17px; margin: 0; }
.project-card__meta { display: flex; gap: 12px; font-size: 13px; color: rgba(255,255,255,.75); }
.project-card__meta span { display: inline-flex; align-items: center; gap: 4px; }
.project-card__actions {
  display: flex; gap: 8px; margin-top: 12px; max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .35s var(--ease), opacity .3s;
}
.project-card:hover .project-card__actions, .project-card:focus-within .project-card__actions { max-height: 60px; opacity: 1; }
.project-card:hover .project-card__play { opacity: 0; }
.project-card__link { display: none; position: absolute; inset: 0; z-index: 3; }

/* ---------- Social feed ---------- */
.btn--fb { background: #1877f2; color: #fff; }
.btn--fb:hover { background: #0f63d1; color: #fff; box-shadow: 0 10px 24px rgba(24,119,242,.35); }
.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.social-grid__item { position: relative; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; cursor: zoom-in; background: var(--bg-alt); box-shadow: var(--shadow-sm); }
.social-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.social-grid__item:hover img { transform: scale(1.06); }
.social-grid__icon { position: absolute; top: 12px; left: 12px; width: 38px; height: 38px; border-radius: 50%; background: #1877f2; color: #fff; display: grid; place-items: center; opacity: 0; transform: scale(.8); transition: .25s; }
.social-grid__item:hover .social-grid__icon { opacity: 1; transform: none; }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; position: relative; }
.steps::before { content: ''; position: absolute; top: 34px; inset-inline: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 10px, transparent 10px 18px); opacity: .6; }
.step { text-align: center; position: relative; padding: 0 10px; }
.step__num {
  width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; position: relative;
  background: var(--navy); color: #fff; font-size: 26px; font-weight: 900; box-shadow: 0 0 0 8px #fff, 0 0 0 10px var(--line);
}
.step h3 { font-size: 18px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Location / contact ---------- */
.location__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.contact-list { list-style: none; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list__icon { width: 52px; height: 52px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--accent); flex-shrink: 0; }
.contact-list strong { display: block; font-size: 15px; }
.contact-list a, .contact-list span { color: var(--muted); }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #dde6ec; aspect-ratio: 4 / 3; border: 6px solid #fff; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.map-frame--tall { aspect-ratio: auto; height: 100%; min-height: 380px; }

.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 50px; }
.contact-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px 20px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--ink); }
.contact-card__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(11,74,102,.08); color: var(--navy); margin-bottom: 14px; }
.contact-card--wa .contact-card__icon { background: var(--wa); color: #fff; }
.contact-card h3 { font-size: 18px; margin-bottom: 4px; }
.contact-card p { color: var(--muted); margin-bottom: 10px; word-break: break-word; }
.contact-card__cta { margin-top: auto; font-weight: 800; color: var(--accent); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch; }
.wa-form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 34px; box-shadow: var(--shadow-sm); display: grid; gap: 16px; }
.wa-form h2 { font-size: 26px; margin: 0; }
.wa-form > p { color: var(--muted); margin: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wa-form label { display: grid; gap: 6px; font-weight: 700; font-size: 14.5px; }
.wa-form input, .wa-form select, .wa-form textarea {
  width: 100%; font: inherit; font-weight: 500; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-alt);
  transition: border-color .2s, background .2s; color: var(--ink);
}
.wa-form input:focus, .wa-form select:focus, .wa-form textarea:focus { outline: none; border-color: var(--navy); background: #fff; }
.form-error { color: #c0392b; font-weight: 700; margin: 0; }
.contact-side { display: grid; gap: 20px; grid-template-rows: 1fr auto; }
.hours-box { display: flex; align-items: center; gap: 14px; padding: 20px 24px; border-radius: var(--radius); background: var(--navy); color: #fff; }
.hours-box .icon { color: var(--accent); }
.hours-box strong { display: block; }
.hours-box span { color: rgba(255,255,255,.8); }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff; padding: 70px 0 64px;
  background: radial-gradient(800px 300px at 15% 20%, rgba(243,156,18,.2), transparent 60%), linear-gradient(135deg, var(--navy-900), var(--navy));
}
.page-hero::after {
  content: ''; position: absolute; inset: 0; opacity: .1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 30px 30px;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero__title { color: #fff; font-size: clamp(28px, 4vw, 46px); font-weight: 900; margin: 10px 0 6px; }
.page-hero__sub { color: rgba(255,255,255,.78); max-width: 720px; font-size: 17px; margin: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: rgba(255,255,255,.65); }
.breadcrumbs a { color: var(--accent-2); }
.breadcrumbs a:hover { color: #fff; }

/* ---------- Chips / filters ---------- */
.filter-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 34px; }
.filter-bar .chips { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; background: #fff;
  border: 1.5px solid var(--line); color: var(--ink); font-weight: 700; font-size: 14.5px; transition: .2s;
}
.chip .icon { color: var(--accent); }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.is-active .icon { color: var(--accent-2); }
.seg { display: inline-flex; background: var(--bg-alt); border-radius: 999px; padding: 4px; }
.seg__btn { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font-weight: 700; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; font-size: 14px; }
.seg__btn.is-active { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }

/* ---------- Pagination ---------- */
.pagination { margin-top: 50px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers {
  min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; display: grid; place-items: center;
  background: #fff; border: 1.5px solid var(--line); font-weight: 700; color: var(--ink);
}
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }

/* ---------- Single product ---------- */
.product-single__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: start; margin-bottom: 60px; }
.pgallery { position: sticky; top: calc(var(--header-h) + 20px); }
.pgallery__stage { position: relative; }
.pgallery__main {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3.2; padding: 0; border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden; background: #fff; cursor: zoom-in;
}
.pgallery__main img { width: 100%; height: 100%; object-fit: contain; transition: opacity .15s; background: #fff; }
.pgallery__zoom { position: absolute; bottom: 14px; left: 14px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--navy); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.pgallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; margin-top: 12px; }
.pgallery__thumb {
  position: relative; aspect-ratio: 1; padding: 0; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg-alt);
  transition: border-color .2s, transform .2s;
}
.pgallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pgallery__thumb:hover { transform: translateY(-2px); }
.pgallery__thumb.is-active { border-color: var(--accent); }
.pgallery__vthumb { display: grid; place-items: center; width: 100%; height: 100%; background: var(--navy); color: #fff; }
.pgallery__play { position: absolute; inset: 0; margin: auto; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #000; display: grid; place-items: center; }

.pinfo__cat { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--accent); background: rgba(243,156,18,.1); padding: 4px 14px; border-radius: 999px; font-size: 14px; }
.pinfo__title { font-size: clamp(26px, 3vw, 36px); margin: 14px 0 6px; }
.pinfo__model { color: var(--muted); margin-bottom: 12px; }
.pinfo__excerpt { font-size: 17px; color: var(--muted); }
.pinfo__price {
  display: flex; align-items: center; justify-content: space-between; margin: 26px 0 18px; padding: 16px 22px; border-radius: 14px;
  background: var(--bg-alt); border: 1px dashed rgba(11,74,102,.3);
}
.pinfo__price span { color: var(--muted); font-weight: 700; }
.pinfo__price strong { font-size: 22px; color: var(--navy); font-weight: 900; }
.pinfo__actions { display: grid; grid-template-columns: 1fr; gap: 12px; }
.pinfo__trust { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.pinfo__trust li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 14px 8px; border-radius: 12px; background: var(--bg-alt); font-size: 13.5px; font-weight: 700; }
.pinfo__trust .icon { color: var(--navy); }

.tabs { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.tabs__nav { display: flex; gap: 0; border-bottom: 1px solid var(--line); background: var(--bg-alt); overflow-x: auto; scrollbar-width: none; }
.tabs__btn { border: 0; background: transparent; padding: 18px 26px; font-weight: 800; color: var(--muted); position: relative; white-space: nowrap; }
.tabs__btn.is-active { color: var(--navy); background: #fff; }
.tabs__btn.is-active::after { content: ''; position: absolute; inset-inline: 0; bottom: -1px; height: 3px; background: var(--accent); }
.tabs__panel { padding: 34px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr:nth-child(odd) { background: var(--bg-alt); }
.spec-table th, .spec-table td { padding: 14px 18px; text-align: right; border-bottom: 1px solid var(--line); }
.spec-table th { width: 38%; font-weight: 800; color: var(--navy); }
.uses-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.uses-grid h3 { font-size: 20px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { padding: 6px 16px; border-radius: 999px; background: rgba(11,74,102,.08); color: var(--navy); font-weight: 700; font-size: 14.5px; }

/* ---------- Single project ---------- */
.project-single { display: grid; gap: 40px; }
.project-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 0; }
.project-meta div { padding: 18px 22px; border-radius: 14px; background: var(--bg-alt); border-inline-start: 4px solid var(--accent); }
.project-meta dt { font-size: 13px; color: var(--muted); font-weight: 700; }
.project-meta dd { margin: 0; font-weight: 800; color: var(--navy); }
.masonry { columns: 3 280px; column-gap: 16px; }
.masonry__item { position: relative; display: block; width: 100%; padding: 0; border: 0; margin: 0 0 16px; break-inside: avoid; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--bg-alt); }
.masonry__item img { width: 100%; transition: transform .5s var(--ease); }
.masonry__item:hover img { transform: scale(1.05); }
.masonry__zoom { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(5,37,54,.45); color: #fff; opacity: 0; transition: opacity .3s; }
.masonry__item:hover .masonry__zoom { opacity: 1; }
.cta-box {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 34px 40px; border-radius: 20px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy)); color: #fff;
}
.cta-box h3 { color: #fff; font-size: 24px; }
.cta-box p { margin: 0; color: rgba(255,255,255,.8); }
.post-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.post-nav > a:not(.btn) { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }

/* ---------- Entry content ---------- */
.entry-content { font-size: 17px; }
.entry-content > * + * { margin-top: 1em; }
.entry-content h2 { font-size: 28px; margin-top: 1.4em; }
.entry-content h3 { font-size: 22px; margin-top: 1.2em; }
.entry-content ul, .entry-content ol { padding-inline-start: 1.4em; }
.entry-content img { border-radius: 12px; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content td, .entry-content th { border: 1px solid var(--line); padding: 10px 14px; }
.entry-cover { margin: 0 0 30px; }
.entry-cover img { border-radius: 18px; width: 100%; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 120px 0; }
.notfound__code { display: block; font-size: clamp(90px, 18vw, 180px); line-height: 1; font-weight: 900; background: linear-gradient(135deg, var(--navy), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.72); position: relative; }
.footer-cta { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: var(--accent-ink); }
.footer-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 40px; flex-wrap: wrap; }
.footer-cta h2 { color: var(--navy-900); font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 4px; }
.footer-cta p { margin: 0; font-weight: 600; }
.footer-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-cta .btn--ghost { border-color: var(--navy-900); color: var(--navy-900); background: transparent; }
.footer-cta .btn--ghost:hover { background: var(--navy-900); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-block: 70px 50px; }
.footer-col h3 { color: #fff; font-size: 18px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-col h3::after { content: ''; position: absolute; bottom: 0; right: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--accent); }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; direction: ltr; justify-content: flex-end; }
.footer-brand strong { display: block; color: #fff; letter-spacing: 3px; font-size: 20px; font-weight: 900; }
.footer-brand small { color: var(--accent); letter-spacing: 1.5px; text-transform: uppercase; font-size: 11px; font-weight: 700; }
.site-logo--footer { width: 70px; height: 70px; box-shadow: none; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.72); display: inline-flex; align-items: center; gap: 8px; }
.footer-links a::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .6; transition: opacity .2s; }
.footer-links a:hover { color: #fff; }
.footer-links a:hover::before { opacity: 1; }
.footer-contact { list-style: none; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--accent); margin-top: 4px; }
.footer-contact a { color: rgba(255,255,255,.72); }
.footer-contact a:hover { color: #fff; }
.social { display: flex; gap: 8px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #fff; transition: .2s; }
.social a:hover { background: var(--accent); color: #000; transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 20px; text-align: center; font-size: 14px; }
.footer-bottom p { margin: 0; }

/* ---------- Floating WhatsApp / back to top ---------- */
.wa-float {
  position: fixed; bottom: 24px; left: 24px; z-index: 90; width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 10px 30px rgba(37,211,102,.45);
}
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.wa-float:hover { color: #fff; background: var(--wa-dark); }
.wa-float__tip {
  position: absolute; left: calc(100% + 12px); white-space: nowrap; background: #fff; color: var(--ink); font-weight: 700; font-size: 14px;
  padding: 6px 14px; border-radius: 10px; box-shadow: var(--shadow); opacity: 0; transform: translateX(-6px); transition: .25s; pointer-events: none;
}
.wa-float:hover .wa-float__tip { opacity: 1; transform: none; }
.to-top {
  position: fixed; bottom: 100px; left: 32px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--navy); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s;
}
.to-top .icon { transform: rotate(-90deg); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(3, 18, 27, .94); display: grid; place-items: center; padding: 60px 70px; }
.lightbox__stage { width: 100%; height: 100%; display: grid; place-items: center; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; animation: lb-in .3s var(--ease); }
.lightbox__stage .is-video { width: min(1100px, 100%); aspect-ratio: 16 / 9; height: auto; max-height: 100%; border: 0; border-radius: 12px; background: #000; }
@keyframes lb-in { from { opacity: 0; transform: scale(.96); } }
.lightbox__close, .lightbox__nav { position: absolute; border: 0; background: rgba(255,255,255,.1); color: #fff; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--accent); color: #000; }
.lightbox__close { top: 16px; left: 16px; width: 48px; height: 48px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; }
.lightbox__prev { right: 12px; }
.lightbox__next { left: 12px; }
.lightbox.is-single .lightbox__nav { display: none; }
.lightbox__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.8); font-weight: 700; direction: ltr; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .project-grid { grid-template-columns: repeat(3, 1fr); }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: grid; }

  /* Drawer menu — stays inside the viewport when closed (no sideways scroll) */
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 200; width: min(330px, 86vw); margin: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 18px 18px calc(18px + env(safe-area-inset-bottom)); background: #fff;
    overflow-y: auto; overscroll-behavior: contain; box-shadow: var(--shadow-lg);
    visibility: hidden; opacity: 0; transform: translateX(24px); pointer-events: none;
    transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition: opacity .25s var(--ease), transform .3s var(--ease); }
  .main-nav__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
  .site-logo--sm { width: 48px; height: 48px; }
  .nav-close { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; }
  .main-nav .menu { flex-direction: column; gap: 2px; }
  .main-nav .menu a { padding: 13px 14px; font-size: 16px; border-radius: 12px; }
  .main-nav .menu > li > a::after { display: none; }
  .main-nav .menu .current-menu-item > a { background: var(--bg-alt); color: var(--navy); }
  .main-nav .menu-item-has-children > a { display: flex; justify-content: space-between; align-items: center; }
  .main-nav .menu-item-has-children > a::before { content: ''; order: 2; width: 8px; height: 8px; border-inline-start: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .2s; margin-inline-start: 10px; }
  .main-nav li.is-open > a::before { transform: rotate(135deg); }
  .main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; padding: 0 12px 6px 0; min-width: 0; background: transparent; }
  .main-nav .sub-menu a { font-size: 15px; color: var(--muted); padding: 10px 14px; }
  .main-nav li.is-open > .sub-menu { display: block; }
  .main-nav__wa { display: inline-flex; margin-top: 18px; }
  .admin-bar .main-nav { top: 46px; }

  .hero { padding: 60px 0 100px; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__text { margin-inline: auto; }
  .hero__actions, .hero__trust { justify-content: center; }
  .hero__visual { order: -1; }
  .laser-emblem { width: min(220px, 55vw); }

  .cat-grid, .product-grid, .why__grid, .project-grid--archive { grid-template-columns: repeat(2, 1fr); }
  .about__grid, .factory__grid, .location__grid, .product-single__grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .about__media { max-width: 560px; margin-inline: auto; width: 100%; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .steps::before { display: none; }
  .pgallery { position: static; }
  .section { padding: 64px 0; }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 0; }
}

/* ==========================================================================
   Mobile — app-style layout
   ========================================================================== */
.app-bar { display: none; }

@media (max-width: 720px) {
  :root { --header-h: 60px; --appbar-h: 66px; }
  body { font-size: 15px; padding-bottom: calc(var(--appbar-h) + env(safe-area-inset-bottom)); }
  .container { padding-inline: 16px; }

  /* Top app bar */
  .topbar { display: none; }
  .site-header { background: rgba(255,255,255,.97); }
  .site-header__inner { min-height: var(--header-h); gap: 10px; }
  .site-logo { width: 44px; height: 44px; }
  .brand { gap: 8px; }
  .brand__text strong { font-size: 15px; letter-spacing: 2px; }
  .brand__text small { font-size: 9px; letter-spacing: 1px; }
  .header-actions { display: none; }
  .site-header__inner { justify-content: center; }
  .brand { margin-inline: auto; }

  /* Bottom tab bar */
  .app-bar {
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
    height: calc(var(--appbar-h) + env(safe-area-inset-bottom)); padding: 0 6px env(safe-area-inset-bottom);
    background: rgba(255,255,255,.97); backdrop-filter: saturate(160%) blur(12px);
    border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(8,40,60,.08);
  }
  .app-bar__item {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    height: var(--appbar-h); color: var(--muted); font-size: 11.5px; font-weight: 700; line-height: 1.2;
    -webkit-tap-highlight-color: transparent;
  }
  .app-bar__item .icon { width: 23px; height: 23px; transition: transform .2s; }
  .app-bar__item.is-active { color: var(--navy); }
  .app-bar__item.is-active .icon { color: var(--accent); transform: translateY(-1px); }
  .app-bar__item:active .icon { transform: scale(.88); }
  .app-bar__item--main { position: relative; color: var(--wa-dark); }
  .app-bar__fab {
    width: 56px; height: 56px; margin-top: -26px; border-radius: 50%; display: grid; place-items: center;
    background: var(--wa); color: #fff; box-shadow: 0 8px 20px rgba(37,211,102,.45), 0 0 0 5px #fff;
  }
  .app-bar__fab .icon { width: 28px; height: 28px; }

  .wa-float { display: none; }
  .to-top { left: 14px; bottom: calc(var(--appbar-h) + 14px + env(safe-area-inset-bottom)); width: 42px; height: 42px; }

  /* Hero */
  .hero { padding: 34px 0 78px; }
  .hero__visual { display: none; }
  .hero__kicker { font-size: 12.5px; padding: 5px 12px; }
  .hero__title { font-size: 29px; margin: 14px 0 10px; }
  .hero__text { font-size: 15px; }
  .hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
  .hero__actions .btn { padding: 13px 10px; font-size: 14.5px; }
  .hero__trust { gap: 8px 16px; margin-top: 22px; font-size: 13px; }

  /* Stats */
  .stats { margin-top: -46px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); border-radius: 18px; }
  .stat { padding: 18px 10px; }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat__num { font-size: 28px; }
  .stat__label { font-size: 13px; }

  /* Sections */
  .section { padding: 46px 0; }
  .section-head { margin-bottom: 24px; }
  .section-title { font-size: 23px; }
  .section-text { font-size: 15px; }
  .section-head-row { flex-wrap: nowrap; align-items: flex-end; margin-bottom: 20px; gap: 12px; }
  .section-head-row .btn { padding: 7px 14px; font-size: 13px; border-width: 1.5px; flex-shrink: 0; }
  .lead { font-size: 15.5px; }

  /* Category tiles — 2 columns, compact */
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-card { padding: 18px 14px; align-items: center; text-align: center; border-radius: 18px; }
  .cat-card__icon { width: 54px; height: 54px; border-radius: 16px; margin-bottom: 10px; }
  .cat-card__icon .icon { width: 28px; height: 28px; }
  .cat-card h3 { font-size: 14.5px; margin: 0; }
  .cat-card p, .cat-card__more { display: none; }

  /* Horizontal swipe rows (home) */
  .product-grid.is-swipe, .why__grid {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 80%;
    gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: -16px; padding: 4px 16px 14px; scroll-padding-inline: 16px; scrollbar-width: none;
  }
  .product-grid.is-swipe::-webkit-scrollbar, .why__grid::-webkit-scrollbar { display: none; }
  .product-grid.is-swipe > *, .why__grid > * { scroll-snap-align: start; }
  .why__grid { grid-auto-columns: 72%; }

  .product-grid { grid-template-columns: 1fr; gap: 16px; }
  .product-card { border-radius: 18px; }
  .product-card__body { padding: 14px 16px 16px; }
  .product-card__title { font-size: 17px; }
  .product-card__excerpt { font-size: 14px; margin: 6px 0 12px; }
  .why-card { padding: 22px 18px; }

  /* Portfolio */
  .project-grid, .project-grid--archive { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .project-card__media { border-radius: 14px; }
  .project-card__overlay { padding: 10px; background: linear-gradient(to top, rgba(5,37,54,.92) 0%, rgba(5,37,54,.25) 55%, transparent 75%); }
  .project-card__type { font-size: 10.5px; padding: 1px 8px; margin-bottom: 4px; }
  .project-card__title { font-size: 13px; line-height: 1.4; }
  .project-card__meta, .project-card__actions { display: none; }
  .project-card__link { display: block; }
  .project-card:hover .project-card__play { opacity: 1; }
  .project-card__play { width: 44px; height: 44px; box-shadow: 0 0 0 6px rgba(243,156,18,.25); }
  .project-card__play .icon { width: 20px; height: 20px; }
  .project-card { position: relative; }
  .social-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  /* About */
  .about__grid { gap: 40px; }
  .about__media::before { display: none; }
  .about__badge { left: 10px; bottom: -18px; padding: 10px 16px; border-radius: 14px; }
  .about__badge strong { font-size: 26px; }
  .check-list li { font-size: 14.5px; }
  .btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .btn-row .btn { padding: 12px 10px; font-size: 14px; }

  /* Steps */
  .steps { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .step__num { width: 52px; height: 52px; font-size: 20px; margin-bottom: 12px; }
  .step h3 { font-size: 15.5px; }
  .step p { font-size: 13.5px; }

  /* Location */
  .contact-list li { gap: 12px; }
  .contact-list__icon { width: 44px; height: 44px; }
  .map-frame { border-width: 4px; aspect-ratio: 1 / 1; }

  /* Inner pages */
  .page-hero { padding: 30px 0 28px; }
  .page-hero__title { font-size: 25px; margin: 6px 0 4px; }
  .page-hero__sub { font-size: 14.5px; }
  .breadcrumbs { font-size: 12.5px; }
  .filter-bar { display: block; margin-bottom: 18px; }
  .chips {
    display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity; overscroll-behavior-x: contain;
    width: auto; max-width: none; min-width: 0; margin: 0 -16px 18px; padding: 2px 16px 8px; scrollbar-width: none;
  }
  .chips::-webkit-scrollbar { display: none; }
  .filter-bar .chips { margin-bottom: 12px; }
  .chip { flex: 0 0 auto; white-space: nowrap; padding: 8px 14px; font-size: 13.5px; scroll-snap-align: start; }
  .seg { display: flex; width: 100%; }
  .seg__btn { flex: 1 1 0; min-width: 0; justify-content: center; padding: 8px 6px; }

  /* Product page */
  .product-single__grid { gap: 22px; margin-bottom: 30px; }
  .pgallery { margin-inline: -16px; }
  .pgallery__main { border-radius: 0; border-inline: 0; aspect-ratio: 1; }
  .pgallery__thumbs { display: flex; overflow-x: auto; padding: 0 16px; gap: 8px; scrollbar-width: none; }
  .pgallery__thumb { flex: 0 0 64px; height: 64px; }
  .pinfo__title { font-size: 23px; }
  .pinfo__price { margin: 18px 0 14px; padding: 12px 16px; }
  .pinfo__price strong { font-size: 18px; }
  .pinfo__actions { grid-template-columns: 1fr; }
  .pinfo__trust { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .pinfo__trust li { font-size: 12px; padding: 10px 4px; }
  .tabs { border-radius: 16px; }
  .tabs__btn { padding: 14px 16px; font-size: 14px; }
  .tabs__panel { padding: 18px 14px; }
  .spec-table th, .spec-table td { padding: 10px; font-size: 14px; }
  .video-grid, .uses-grid { grid-template-columns: 1fr; gap: 16px; }
  .masonry { columns: 2; column-gap: 10px; }
  .masonry__item { margin-bottom: 10px; }
  .project-meta { grid-template-columns: 1fr 1fr; gap: 10px; }
  .project-meta div { padding: 12px 14px; }
  .cta-box { padding: 22px 18px; text-align: center; justify-content: center; border-radius: 18px; }
  .cta-box h3 { font-size: 20px; }
  .post-nav { justify-content: center; }
  .post-nav > a:not(.btn) { display: none; }

  /* Contact page */
  .contact-cards { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 26px; }
  .contact-card { padding: 18px 10px; border-radius: 16px; }
  .contact-card__icon { width: 50px; height: 50px; margin-bottom: 8px; }
  .contact-card h3 { font-size: 15px; }
  .contact-card p { font-size: 13px; }
  .form-row { grid-template-columns: 1fr; }
  .wa-form { padding: 20px 16px; border-radius: 18px; }
  .wa-form input, .wa-form select, .wa-form textarea { font-size: 16px; }
  .map-frame--tall { min-height: 300px; }

  /* Footer */
  .footer-cta__inner { text-align: center; justify-content: center; padding-block: 28px; }
  .footer-cta h2 { font-size: 21px; }
  .footer-cta__actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 10px; }
  .footer-cta__actions .btn { padding: 12px 8px; font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; padding-block: 36px 24px; }
  .footer-col--about, .footer-grid > .footer-col:last-child { grid-column: 1 / -1; }
  .footer-brand { justify-content: flex-start; flex-direction: row-reverse; }
  .footer-col h3 { font-size: 16px; margin-bottom: 14px; }
  .footer-links { gap: 8px; font-size: 14px; }
  .footer-bottom { font-size: 12.5px; }

  /* Lightbox */
  .lightbox { padding: 56px 8px 80px; }
  .lightbox__nav { top: auto; bottom: 16px; transform: none; width: 48px; height: 48px; }
  .lightbox__count { bottom: 30px; }
}

@media (max-width: 380px) {
  .hero__title { font-size: 26px; }
  .hero__actions { grid-template-columns: 1fr; }
  .brand__text small { display: none; }
  .app-bar__item { font-size: 10.5px; }
}

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