:root {
  --navy: #0b1f33;
  --navy-2: #123252;
  --ink: #14283b;
  --muted: #5a6b7d;
  --amber: #f5a623;
  --amber-dark: #d98a0f;
  --paper: #f7f6f2;
  --card: #ffffff;
  --line: #e2e4e8;
  --green: #1e8e5a;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(11, 31, 51, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy-2); text-decoration: none; }
a:hover { color: var(--amber-dark); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand:hover { color: #fff; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--amber), #ffd27a);
  display: grid; place-items: center; color: var(--navy); flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1.02rem; letter-spacing: 0.2px; }
.brand-text small { color: #a9bdd2; font-size: 0.72rem; }
.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.site-nav a { color: #dbe7f2; padding: 8px 12px; border-radius: 8px; font-size: 0.95rem; }
.site-nav a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.4rem; cursor: pointer; }

/* Buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 600; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-amber { background: var(--amber); color: var(--navy); box-shadow: 0 6px 18px rgba(245, 166, 35, 0.35); }
.btn-amber:hover { background: var(--amber-dark); color: #fff; }
.btn-wa { background: var(--green); color: #fff; font-size: 0.92rem; padding: 9px 16px; }
.btn-wa:hover { background: #17744a; color: #fff; }
.btn-ghost { border: 2px solid var(--navy-2); color: var(--navy-2); background: transparent; }
.btn-ghost:hover { background: var(--navy-2); color: #fff; }

/* Hero */
.hero {
  background: radial-gradient(1200px 500px at 80% -10%, rgba(245, 166, 35, 0.25), transparent),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 70%);
  color: #fff;
  padding: 72px 0 64px;
}
.hero .wrap { max-width: 960px; }
.eyebrow { display: inline-block; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.25); color: #ffe3ad; padding: 6px 14px; border-radius: 999px; font-size: 0.82rem; letter-spacing: 0.4px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.12; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero p.lede { font-size: 1.12rem; color: #cfe0ef; max-width: 640px; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); padding: 7px 13px; border-radius: 8px; font-size: 0.82rem; color: #e7f0f8; }

/* Sections */
section { padding: 56px 0; }
section.alt { background: #fff; }
.sec-head { max-width: 720px; margin-bottom: 34px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: 1.8rem; margin-bottom: 10px; color: var(--navy); }
.sec-head p { color: var(--muted); }
.kicker { color: var(--amber-dark); font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; font-size: 0.78rem; margin-bottom: 8px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { color: var(--navy); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.market-card { border-top: 4px solid var(--amber); }
.market-card h3 { font-size: 1.15rem; }
.market-card ul { list-style: none; margin-top: 12px; display: grid; gap: 8px; }
.market-card li { padding-left: 22px; position: relative; color: var(--muted); font-size: 0.93rem; }
.market-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* Product cards */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod { display: flex; flex-direction: column; overflow: hidden; }
.prod-media {
  width: 100%; height: 210px; object-fit: contain; background: #fff;
  border-bottom: 1px solid var(--line); padding: 14px;
}
.prod-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prod-body h3 { font-size: 1.05rem; }
.prod-code { color: var(--amber-dark); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.6px; }
.prod-body p { color: var(--muted); font-size: 0.92rem; flex: 1; }
.prod-price { font-weight: 700; color: var(--navy); }
.prod-price small { color: var(--muted); font-weight: 400; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { background: #edf3f8; color: #35506b; font-size: 0.74rem; padding: 3px 9px; border-radius: 999px; }

/* Steps */
.step { position: relative; padding-left: 52px; }
.step-num {
  position: absolute; left: 0; top: 2px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: var(--amber); display: grid; place-items: center; font-weight: 700;
}

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff; border-radius: 20px; padding: 40px; text-align: center; }
.cta-band h2 { font-size: 1.6rem; margin-bottom: 10px; }
.cta-band p { color: #cfe0ef; margin-bottom: 22px; }

/* Page hero (subpages) */
.page-hero { background: var(--navy); color: #fff; padding: 44px 0; }
.page-hero h1 { font-size: 2rem; }
.page-hero p { color: #cfe0ef; margin-top: 8px; }

/* Forms */
.form-card { max-width: 720px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field input, .field select, .field textarea {
  padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px; font: inherit; background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid rgba(245, 166, 35, 0.5); border-color: var(--amber); }
.hint { font-size: 0.82rem; color: var(--muted); margin-top: 8px; }

/* Footer */
.site-footer { background: var(--navy); color: #a9bdd2; padding: 40px 0 28px; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; margin-bottom: 26px; }
.site-footer h4 { color: #fff; margin-bottom: 10px; font-size: 0.95rem; }
.site-footer a { color: #a9bdd2; display: block; padding: 2px 0; }
.site-footer a:hover { color: var(--amber); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 16px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 900px) {
  .grid-4, .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .prod-grid, .form-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding: 10px 0; }
  .site-nav.open { display: flex; }
  .header-inner { flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 40px 0; }
}

/* ---------- Night visual system ---------- */
.site-header {
  background: rgba(6, 13, 22, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.hero.hero-night {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  padding: 96px 0 104px;
  overflow: hidden;
  background: #04070e;
  isolation: isolate;
}
.hero-night .wrap { max-width: 1120px; }
.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  transform: scale(1.03);
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 7, 14, 0.96) 0%, rgba(4, 7, 14, 0.78) 40%, rgba(4, 7, 14, 0.18) 72%, rgba(4, 7, 14, 0.45) 100%),
    linear-gradient(0deg, rgba(4, 7, 14, 0.98) 0%, rgba(4, 7, 14, 0.1) 45%, rgba(4, 7, 14, 0.55) 100%);
}
.hero-night::after {
  content: "";
  position: absolute;
  right: 4%;
  bottom: -180px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 172, 64, 0.34), rgba(255, 172, 64, 0) 66%);
  filter: blur(6px);
  z-index: -1;
  animation: glowPulse 7s ease-in-out infinite;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-copy { max-width: 640px; }
.hero-night h1 {
  font-size: clamp(2.35rem, 5.2vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-wrap: balance;
}
.hero-night h1 em {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 500;
  color: #ffd27a;
  letter-spacing: -0.01em;
}
.hero-night .lede { color: #c3d2e2; max-width: 600px; }
.hero-night .eyebrow {
  background: rgba(255, 210, 122, 0.08);
  border-color: rgba(255, 210, 122, 0.3);
  color: #ffd27a;
}
.hero-stats {
  display: flex;
  gap: 38px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  max-width: 560px;
}
.hero-stat strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1.1;
  color: #ffd27a;
  letter-spacing: -0.01em;
}
.hero-stat span {
  display: block;
  margin-top: 4px;
  font-size: 0.76rem;
  color: #9fb3c8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scenes {
  background: #060b12;
  color: #eaf2fb;
  padding: 88px 0 96px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.scenes .sec-head h2 { color: #fff; }
.scenes .sec-head p { color: #9fb3c8; }
.scenes .kicker { color: #ffc76b; }
.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.scene-card {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a111a;
  min-height: 380px;
  animation: rise 0.7s ease both;
}
.scene-card:nth-child(2) { animation-delay: 0.08s; }
.scene-card:nth-child(3) { animation-delay: 0.16s; }
.scene-card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.scene-card:hover img { transform: scale(1.06); }
.scene-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 6, 10, 0) 42%, rgba(3, 6, 10, 0.94) 100%);
  pointer-events: none;
}
.scene-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.scene-tag {
  color: #ffc76b;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.scene-card figcaption strong {
  color: #fff;
  font-size: 1.12rem;
  line-height: 1.3;
}
.scene-meta { color: #a9bdd2; font-size: 0.8rem; }

/* Richer product cards */
.prod {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.prod:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(11, 31, 51, 0.16);
  border-color: rgba(245, 166, 35, 0.45);
}
.prod-media {
  background: linear-gradient(180deg, #fbfaf7 0%, #f0ede5 100%);
}
.prod-price {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(245, 166, 35, 0.14);
  border: 1px solid rgba(245, 166, 35, 0.34);
  font-size: 1rem;
}

/* CTA band with warm light */
.cta-band {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(620px 260px at 12% -10%, rgba(245, 166, 35, 0.3), transparent 70%),
    linear-gradient(120deg, #07131f 0%, #10304c 100%);
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -200px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 175, 70, 0.28), transparent 65%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }

/* Subpage hero lighting */
.page-hero {
  background:
    radial-gradient(900px 320px at 88% -20%, rgba(245, 166, 35, 0.26), transparent 65%),
    linear-gradient(160deg, #06101c 0%, #0d2135 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.page-hero { position: relative; overflow: hidden; }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/scene-work.svg") center 68% / cover no-repeat;
  opacity: 0.16;
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }

.btn-amber:hover { box-shadow: 0 10px 30px rgba(245, 166, 35, 0.5); }

@keyframes glowPulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .scene-grid { grid-template-columns: 1fr 1fr; }
  .scene-card:last-child { grid-column: 1 / -1; }
  .scene-card:last-child img { height: 320px; }
}
@media (max-width: 640px) {
  .hero.hero-night { min-height: 0; padding: 72px 0 76px; }
  .hero-bg img { object-position: 68% center; }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(4, 7, 14, 0.94) 0%, rgba(4, 7, 14, 0.82) 60%, rgba(4, 7, 14, 0.62) 100%),
      linear-gradient(0deg, rgba(4, 7, 14, 0.98) 0%, rgba(4, 7, 14, 0.2) 60%);
  }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .hero-stat strong { font-size: 1.3rem; }
  .scenes { padding: 60px 0 64px; }
  .scene-grid { grid-template-columns: 1fr; }
  .scene-card:last-child { grid-column: auto; }
  .scene-card img { height: 320px; }
  .scene-card:last-child img { height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-night::after, .scene-card { animation: none; }
  .scene-card img, .prod { transition: none; }
}
