@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700&family=Vazirmatn:wght@400;500;600;700;800&display=swap");

:root {
  --navy: #041e42;
  --navy-deep: #021228;
  --navy-soft: #0c2f5c;
  --copper: #d96b2b;
  --copper-soft: #f0a06a;
  --ink: #121826;
  --muted: #667085;
  --line: rgba(4, 30, 66, 0.1);
  --paper: #f7f5f1;
  --paper-2: #efebe4;
  --white: #ffffff;
  --header-h: 88px;
  --bottom-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Vazirmatn", Tahoma, sans-serif;
  --display: "Outfit", "Vazirmatn", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 100% -10%, rgba(217, 107, 43, 0.08), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(4, 30, 66, 0.07), transparent 50%),
    linear-gradient(180deg, #fbfaf8 0%, var(--paper) 40%, #f3f1ec 100%);
  direction: rtl;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button, input { font-family: inherit; }
.container { width: min(1160px, calc(100% - 2.5rem)); margin-inline: auto; }

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

/* Header */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(4, 30, 66, 0.72);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
.site-header.scrolled {
  background: rgba(2, 18, 40, 0.92);
  border-bottom-color: rgba(255,255,255,.12);
}
.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 1rem;
  width: min(1160px, calc(100% - 1.75rem));
  margin-inline: auto;
  height: var(--header-h);
}
.menu-btn {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  height: 40px;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .02em;
  padding: 0 .2rem;
  z-index: 2;
}
.menu-btn .bars {
  width: 20px;
  height: 12px;
  display: grid;
  gap: 3px;
}
.menu-btn .bars span {
  display: block;
  height: 1.5px;
  background: #fff;
  transition: transform .3s var(--ease), opacity .3s;
}
.brand {
  grid-column: 2;
  justify-self: center;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  z-index: 1;
}
.brand img {
  height: 56px;
  width: auto;
  max-width: min(260px, 44vw);
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.28));
}
.header-actions {
  justify-self: end;
  display: flex;
  gap: .45rem;
  align-items: center;
  height: 40px;
  z-index: 2;
}
.icon-btn {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
  transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.icon-btn:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.28);
  transform: translateY(-1px);
}
.icon-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}
.icon-btn .badge {
  position: absolute;
  top: -5px;
  left: -5px;
  min-width: 17px;
  height: 17px;
  border-radius: 999px;
  background: var(--copper);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 4px;
}

/* Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 18, 40, .55);
  opacity: 0;
  pointer-events: none;
  transition: .3s;
  z-index: 120;
  backdrop-filter: blur(2px);
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 90vw);
  height: 100%;
  background: linear-gradient(180deg, #fff 0%, #f7f5f1 100%);
  color: var(--ink);
  transform: translateX(105%);
  transition: transform .4s var(--ease);
  z-index: 130;
  display: flex;
  flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  background: var(--navy);
  color: #fff;
  padding: 1.25rem 1.35rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.drawer-head strong {
  font-family: var(--display);
  letter-spacing: .08em;
  font-weight: 600;
}
.drawer nav { padding: 1rem .85rem; overflow: auto; flex: 1; }
.drawer a, .drawer details summary {
  display: block;
  padding: .78rem .9rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background .2s;
}
.drawer a:hover, .drawer details[open] > summary {
  background: rgba(4, 30, 66, .06);
  color: var(--navy);
}
.drawer details { margin-bottom: .2rem; }
.drawer details summary { list-style: none; font-weight: 650; }
.drawer details summary::-webkit-details-marker { display: none; }
.drawer details a {
  margin-right: .55rem;
  font-size: .9rem;
  color: var(--muted);
}

/* Search */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 18, 40, .9);
  z-index: 140;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 14vh 1rem 2rem;
  backdrop-filter: blur(8px);
}
.search-overlay.open { display: flex; animation: fadeIn .25s ease; }
.search-box {
  width: min(680px, 100%);
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  animation: rise .45s var(--ease);
}
.search-box form {
  display: flex;
  border-bottom: 1px solid var(--line);
}
.search-box input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 1.15rem 1.2rem;
  font-size: 1.05rem;
  background: transparent;
}
.search-box button {
  border: 0;
  background: var(--navy);
  color: #fff;
  padding: 0 1.35rem;
  cursor: pointer;
  font-weight: 600;
}
.search-results { max-height: 48vh; overflow: auto; }
.search-item {
  display: flex;
  gap: .9rem;
  align-items: center;
  padding: .9rem 1.1rem;
  border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.search-item:hover { background: #f7f5f1; }
.search-item img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: #f3f1ec;
  border-radius: 10px;
}

/* Hero — one composition, brand first */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: end stretch;
  overflow: hidden;
  color: #fff;
  background: var(--navy-deep);
  padding-top: var(--header-h);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s ease, transform 8s ease;
}
.hero-slides img.active {
  opacity: 1;
  transform: scale(1);
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2,18,40,.35) 0%, rgba(2,18,40,.2) 35%, rgba(2,18,40,.78) 78%, rgba(2,18,40,.92) 100%),
    linear-gradient(90deg, rgba(2,18,40,.45), transparent 55%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(1160px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 0 0 clamp(3.5rem, 8vh, 5.5rem);
  animation: rise 1s var(--ease) both;
}
.hero-brand {
  font-family: var(--display);
  font-size: clamp(3.2rem, 10vw, 7rem);
  font-weight: 700;
  letter-spacing: .06em;
  line-height: .9;
  margin: 0 0 1.1rem;
  color: #fff;
  direction: ltr;
  unicode-bidi: isolate;
  text-align: right;
  width: 100%;
}
.hero-brand::first-letter {
  color: var(--copper);
}
.hero h1,
.hero-title {
  margin: 0 0 .7rem;
  font-size: clamp(1.05rem, 2.4vw, 1.65rem);
  font-weight: 600;
  line-height: 1.35;
  max-width: 100%;
  overflow: hidden;
}
.hero-title span {
  display: inline-block;
  white-space: nowrap;
  transform-origin: right center;
}
.hero .lead {
  margin: 0 0 1.6rem;
  max-width: 34rem;
  color: rgba(255,255,255,.78);
  font-size: clamp(.95rem, 1.5vw, 1.05rem);
  font-weight: 400;
}
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  z-index: 2;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 12px;
  opacity: .7;
}
.hero-scroll::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  background: #fff;
  border-radius: 2px;
  animation: scrollDot 1.6s infinite;
}

@keyframes scrollDot {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border-radius: 12px;
  padding: .85rem 1.35rem;
  border: 0;
  cursor: pointer;
  font-weight: 650;
  font-size: .95rem;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent {
  background: var(--copper);
  color: #fff;
}
.btn-accent:hover { background: #c55a1f; }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.4);
}
.btn-outline:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-soft); }
.btn-ghost {
  background: rgba(4, 30, 66, .06);
  color: var(--navy);
}
.btn-ghost:hover { background: rgba(4, 30, 66, .1); }
.btn-line {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
  padding-inline: 1rem;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  position: relative;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 2rem;
}
.section-kicker {
  display: block;
  font-family: var(--display);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
  margin-bottom: .45rem;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.25;
}
.section-head p {
  margin: .45rem 0 0;
  color: var(--muted);
  max-width: 36rem;
}
.section.tone {
  background:
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.2)),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 18px,
      rgba(4, 30, 66, 0.015) 18px,
      rgba(4, 30, 66, 0.015) 19px
    );
}

/* Categories — open editorial strip, not boxed cards */
.cat-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.cat-tile {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--navy);
  isolation: isolate;
}
.cat-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: .92;
  transition: transform 1s var(--ease), opacity .4s;
}
.cat-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(2,18,40,.88) 100%);
  z-index: 1;
}
.cat-tile:hover img { transform: scale(1.06); opacity: 1; }
.cat-tile .label {
  position: absolute;
  inset-inline: 1.2rem;
  bottom: 1.2rem;
  z-index: 2;
  color: #fff;
}
.cat-tile .label strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
}
.cat-tile .label span {
  font-size: .88rem;
  color: rgba(255,255,255,.72);
}

/* Products */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 1.5rem;
}
.chip {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 10px;
  padding: .5rem 1rem;
  cursor: pointer;
  font-weight: 600;
  transition: .2s;
}
.chip:hover { color: var(--navy); border-color: rgba(4,30,66,.25); }
.chip.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}
.product-card {
  background: transparent;
  border: 0;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease);
}
.product-card:hover { transform: translateY(-4px); }
.product-card .thumb {
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.9), transparent 45%),
    linear-gradient(160deg, #ffffff, #ebe7df);
  display: grid;
  place-items: center;
  padding: 1.1rem;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}
.product-card .thumb::before {
  content: "";
  position: absolute;
  inset: auto -20% -30% auto;
  width: 55%;
  height: 55%;
  background: radial-gradient(circle, rgba(217,107,43,.12), transparent 70%);
  pointer-events: none;
}
.product-card .thumb img {
  max-height: 100%;
  object-fit: contain;
  transition: transform .55s var(--ease);
  position: relative;
  z-index: 1;
}
.product-card:hover .thumb img { transform: scale(1.04) translateY(-4px); }
.product-card .code {
  position: absolute;
  top: .85rem;
  right: .85rem;
  z-index: 2;
  font-family: var(--display);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--navy);
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(6px);
  padding: .28rem .55rem;
  border-radius: 8px;
  font-weight: 650;
}
.product-card .body {
  padding: .95rem .15rem .2rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  flex: 1;
}
.product-card h3 {
  margin: 0;
  font-size: .98rem;
  line-height: 1.55;
  font-weight: 700;
  color: var(--navy);
  min-height: 3.1em;
}
.product-card .meta {
  color: var(--muted);
  font-size: .82rem;
  letter-spacing: .01em;
}
.product-actions {
  display: flex;
  gap: .4rem;
  margin-top: .35rem;
}
.product-actions .btn {
  flex: 1;
  padding: .58rem .7rem;
  font-size: .84rem;
  border-radius: 10px;
}
.product-actions .iconish {
  width: 40px;
  flex: 0 0 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.65);
  cursor: pointer;
  color: var(--muted);
  transition: .2s;
}
.product-actions .iconish:hover { color: var(--navy); border-color: rgba(4,30,66,.25); }
.product-actions .iconish.active {
  background: rgba(217, 107, 43, .1);
  border-color: rgba(217, 107, 43, .35);
  color: var(--copper);
}

/* Video — modern equal cinematic frames */
.video-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}
.video-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #071526;
  isolation: isolate;
  min-height: 0;
}
.video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
  object-fit: cover;
  background: #000;
}
.video-frame .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: 1rem 1.15rem;
  background: linear-gradient(180deg, #0a203f, #061628);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.08);
}
.video-frame .meta strong {
  font-size: 1rem;
  font-weight: 700;
}
.video-frame .meta span {
  font-family: var(--display);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--copper-soft);
  font-weight: 600;
}
.video-frame .play-hint {
  position: absolute;
  inset: 0 0 auto 0;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(circle at center, rgba(2,18,40,.15), rgba(2,18,40,.35));
  transition: opacity .35s var(--ease);
}
.video-frame.is-playing .play-hint { opacity: 0; }
.video-frame .play-hint i {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--navy);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.video-frame .play-hint i svg {
  width: 22px;
  height: 22px;
  margin-right: -2px;
}

/* Panel band */
.panel-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 420px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}
.panel-band .copy {
  padding: clamp(1.75rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(500px 280px at 100% 0%, rgba(217,107,43,.22), transparent 60%),
    linear-gradient(160deg, var(--navy-soft), var(--navy-deep));
}
.panel-band h2 {
  margin: 0 0 .7rem;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 800;
}
.panel-band p {
  margin: 0 0 1.4rem;
  color: rgba(255,255,255,.75);
  max-width: 28rem;
}
.panel-band .visual {
  background: #0a2348;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.panel-band .visual img {
  width: min(100%, 420px);
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.35));
  animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 2rem;
  align-items: start;
}
.contact-copy h3 {
  margin: 1.4rem 0 .45rem;
  color: var(--navy);
  font-size: 1rem;
}
.contact-copy h3:first-child { margin-top: 0; }
.contact-copy p, .contact-copy li {
  color: var(--muted);
  margin: 0;
}
.contact-copy ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-copy li { margin-bottom: .3rem; }
.contact-copy a { color: var(--navy); font-weight: 600; }
.map-shell {
  border-radius: 18px;
  overflow: hidden;
  min-height: 360px;
  border: 1px solid var(--line);
  background: #e8eef6;
  position: relative;
}
.map-embed {
  border: 0;
  width: 100%;
  min-height: 360px;
  display: block;
}
.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: .85rem;
}

/* Footer */
.site-footer {
  background:
    radial-gradient(700px 300px at 0% 0%, rgba(217,107,43,.15), transparent 55%),
    linear-gradient(180deg, #062748, var(--navy-deep));
  color: rgba(255,255,255,.82);
  padding: 3.25rem 0 calc(2.2rem + var(--bottom-h));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 2rem;
}
.footer-grid-simple {
  grid-template-columns: 1fr;
  max-width: none;
}
.site-footer h4 {
  margin: 0 0 .8rem;
  color: #fff;
  font-size: .95rem;
  letter-spacing: .04em;
}
.site-footer a:hover { color: var(--copper-soft); }
.footer-brand {
  text-align: right;
}
.footer-brand img {
  height: 44px;
  margin: 0 0 .9rem;
}
.footer-brand p {
  margin: 0;
  max-width: 36rem;
  color: rgba(255,255,255,.68);
  text-align: right;
}
.socials {
  display: flex;
  gap: .55rem;
  margin-top: 1rem;
  justify-content: flex-start;
}
.socials a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  display: grid;
  place-items: center;
  color: #fff;
  transition: .2s;
}
.socials a svg {
  width: 20px;
  height: 20px;
  display: block;
}
.socials a:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.4);
  color: var(--copper-soft);
}
.copy-line {
  margin-top: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  text-align: left;
}

/* Bottom nav */
.bottom-nav {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  height: var(--bottom-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: none;
  grid-template-columns: repeat(3, 1fr);
  z-index: 90;
}
.bottom-nav a {
  display: grid;
  place-items: center;
  gap: .2rem;
  font-size: .75rem;
  color: var(--muted);
  font-weight: 600;
}
.bottom-nav a.active, .bottom-nav a:hover { color: var(--navy); }
.bottom-nav svg { width: 20px; height: 20px; }

/* Inner pages */
.page-hero {
  background:
    radial-gradient(600px 240px at 90% 0%, rgba(217,107,43,.25), transparent 60%),
    linear-gradient(135deg, var(--navy-deep), var(--navy-soft));
  color: #fff;
  padding: calc(var(--header-h) + 2.4rem) 0 2.4rem;
}
.page-hero h1 {
  margin: 0 0 .4rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
}
.page-hero p { margin: 0; color: rgba(255,255,255,.7); }

.toast {
  position: fixed;
  bottom: calc(var(--bottom-h) + 1.1rem);
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--navy-deep);
  color: #fff;
  padding: .75rem 1.2rem;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: .3s var(--ease);
  z-index: 200;
  font-size: .88rem;
  border: 1px solid rgba(255,255,255,.1);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.detail {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 2rem;
  align-items: center;
}
.detail .gallery {
  background:
    radial-gradient(circle at 40% 30%, #fff, transparent 50%),
    linear-gradient(160deg, #fff, #ebe7df);
  border-radius: 20px;
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 1.5rem;
}
.detail .gallery img { max-height: 440px; object-fit: contain; }
.detail .code-pill {
  display: inline-block;
  font-family: var(--display);
  letter-spacing: .08em;
  background: rgba(4,30,66,.06);
  color: var(--navy);
  border-radius: 8px;
  padding: .3rem .7rem;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: .7rem;
}
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255,255,255,.7);
}
.compare-table th, .compare-table td {
  border: 1px solid var(--line);
  padding: 1rem;
  text-align: center;
  vertical-align: top;
}
.compare-table img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-inline: auto;
}
.empty {
  text-align: center;
  padding: 3.5rem 1rem;
  color: var(--muted);
  border: 1px dashed rgba(4,30,66,.18);
  border-radius: 16px;
  background: rgba(255,255,255,.45);
}

.account-box {
  max-width: 420px;
  margin: 0 auto;
  background: rgba(255,255,255,.8);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.75rem;
  backdrop-filter: blur(8px);
}
.account-box label {
  display: block;
  margin-bottom: .35rem;
  font-weight: 650;
  font-size: .9rem;
}
.account-box input {
  width: 100%;
  margin-bottom: .95rem;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: .8rem .95rem;
  background: #fff;
}
.account-box .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: .88rem;
}
.account-lock {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(4,30,66,.06);
  color: var(--navy);
  display: grid;
  place-items: center;
  margin: 0 auto .85rem;
}

@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .video-stage, .panel-band, .contact-layout, .detail, .footer-grid, .cat-rail {
    grid-template-columns: 1fr;
  }
  .panel-band .visual { min-height: 260px; }
  .cat-tile { min-height: 280px; }
}
@media (max-width: 720px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .header-actions .hide-sm { display: none; }
  .bottom-nav { display: grid; }
  body { padding-bottom: var(--bottom-h); }
  .brand img {
    height: 44px;
    max-width: min(200px, 48vw);
  }
  .hero-brand { font-size: clamp(2.8rem, 16vw, 4.5rem); }
  .section-head { flex-direction: column; align-items: start; }
  .video-stage { gap: .9rem; }
}
@media (max-width: 420px) {
  .product-grid, .cat-rail { grid-template-columns: 1fr; }
}

/* Offset fixed header for non-hero pages */
main > .page-hero + .section,
main > .section:first-child:not(.hero) {
  scroll-margin-top: var(--header-h);
}
body:has(.page-hero) {
  /* page hero already pads for header */
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-slides img,
  .panel-band .visual img,
  .hero-scroll::after {
    animation: none !important;
    transition: none !important;
  }
}
