:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #eef2f8;
  --ink: #101828;
  --muted: #667085;
  --line: #dfe5ee;
  --brand: #5b5df0;
  --brand-2: #7b61ff;
  --dark: #0b1020;
  --dark-2: #131b31;
  --success: #087a55;
  --danger: #b42318;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(16, 24, 40, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(850px, 100%); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.9);
  border-bottom: 1px solid rgba(223,229,238,.9);
  backdrop-filter: blur(16px);
}
.nav-wrap { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 850; letter-spacing: -.03em; font-size: 1.12rem; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 11px; display: inline-grid; place-items: center;
  color: white; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 8px 20px rgba(91,93,240,.25);
}
.main-nav { display: flex; align-items: center; gap: 30px; font-weight: 650; color: #344054; }
.main-nav a { transition: color .2s ease; }
.main-nav a:hover { color: var(--brand); }
.nav-toggle { display: none; border: 0; background: transparent; font-size: 1.55rem; cursor: pointer; }

.flash-stack { padding-top: 16px; display: grid; gap: 10px; }
.flash { border: 1px solid var(--line); padding: 12px 16px; border-radius: 12px; background: white; box-shadow: 0 8px 24px rgba(16,24,40,.05); }
.flash-success { border-color: #a6f4c5; background: #ecfdf3; color: #067647; }
.flash-error { border-color: #fecdca; background: #fef3f2; color: #b42318; }

.hero-slider { position: relative; min-height: 680px; overflow: hidden; background: var(--dark); }
.slider-track, .slide { min-height: 680px; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s ease; }
.slide.active { position: relative; opacity: 1; visibility: visible; }
.slide-image { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.slide-placeholder {
  background:
    radial-gradient(circle at 72% 28%, rgba(123,97,255,.42), transparent 25%),
    radial-gradient(circle at 20% 75%, rgba(42,197,255,.22), transparent 30%),
    linear-gradient(135deg, #0a1021 0%, #141d38 46%, #241955 100%);
}
.slide-placeholder::after {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 42%; border: 1px solid rgba(255,255,255,.12);
  right: 6%; top: 14%; transform: rotate(22deg); box-shadow: 0 0 0 70px rgba(255,255,255,.02), 0 0 0 140px rgba(255,255,255,.015);
}
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,9,20,.92) 0%, rgba(5,9,20,.65) 52%, rgba(5,9,20,.25) 100%); }
.slide-content { min-height: 680px; position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; color: white; padding-top: 36px; padding-bottom: 70px; }
.slide-content h1 { max-width: 760px; font-size: clamp(3rem, 7vw, 6.4rem); line-height: .98; letter-spacing: -.065em; margin: 18px 0 24px; }
.slide-content p { max-width: 650px; color: #d0d5dd; font-size: clamp(1.08rem, 2vw, 1.3rem); margin: 0 0 34px; }
.eyebrow { font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 800; color: #c9c6ff; }
.eyebrow.dark { color: var(--brand); }
.btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 22px; border: 0; border-radius: 13px; font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: white; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 14px 30px rgba(91,93,240,.28); }
.btn-dark { color: white; background: var(--dark); }
.btn-ghost { color: white; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); }
.btn-ghost-dark { color: var(--ink); border: 1px solid var(--line); background: white; }
.slider-arrow { position: absolute; z-index: 5; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: white; background: rgba(9,14,29,.44); font-size: 2rem; cursor: pointer; backdrop-filter: blur(8px); }
.slider-prev { left: 22px; }.slider-next { right: 22px; }
.slider-dots { position: absolute; z-index: 5; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; gap: 8px; }
.slider-dot { width: 8px; height: 8px; border: 0; border-radius: 99px; background: rgba(255,255,255,.4); cursor: pointer; transition: width .2s ease, background .2s ease; }
.slider-dot.active { width: 28px; background: white; }

.section { padding: 96px 0; }
.section-intro { padding-bottom: 38px; }
.split-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.split-heading h2, .about-strip h2, .cta-card h2, .content-layout h2, .contact-info h2 { font-size: clamp(2.1rem, 4vw, 4rem); line-height: 1.03; letter-spacing: -.05em; margin: 12px 0 0; }
.split-heading p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section-products { background: var(--bg); padding-top: 56px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.product-grid-wide { row-gap: 34px; }
.product-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 30px rgba(16,24,40,.05); transition: transform .25s ease, box-shadow .25s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-media { display: block; aspect-ratio: 16/10; overflow: hidden; background: #e9edf5; }
.product-media img { height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-media img { transform: scale(1.03); }
.media-placeholder { height: 100%; min-height: 220px; display: grid; place-items: center; padding: 34px; text-align: center; color: #98a2b3; font-weight: 700; background: linear-gradient(135deg, #eef2f8, #e4e8f5); }
.media-placeholder.large { min-height: 420px; border-radius: var(--radius); }
.product-card-body { padding: 26px; }
.product-label { color: var(--brand); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 850; }
.product-card h2, .product-card h3 { font-size: 1.55rem; line-height: 1.2; letter-spacing: -.03em; margin: 9px 0 12px; }
.product-card p { color: var(--muted); margin: 0 0 18px; }
.text-link { color: var(--brand); font-weight: 800; }
.text-link.light { color: #c9c6ff; }
.section-action { display: flex; justify-content: center; margin-top: 34px; }
.empty-state { grid-column: 1 / -1; border: 1px dashed #cbd5e1; background: white; border-radius: 18px; padding: 34px; text-align: center; color: var(--muted); }
.empty-state.small { padding: 24px; }

.about-strip { background: var(--dark); color: white; }
.about-strip-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.about-strip p { margin: 0 0 22px; color: #cbd5e1; font-size: 1.1rem; white-space: pre-line; }
.cta-section { background: white; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 40px; border: 1px solid var(--line); border-radius: 32px; padding: 54px; background: linear-gradient(135deg, #f8f9ff, #eef1ff); }
.cta-card h2 { max-width: 720px; }

.page-hero { padding: 120px 0 96px; color: white; background: radial-gradient(circle at 78% 24%, rgba(123,97,255,.32), transparent 25%), linear-gradient(135deg, #090f20, #17213d); }
.page-hero h1 { font-size: clamp(3rem, 6vw, 5.8rem); line-height: 1; letter-spacing: -.06em; margin: 18px 0 22px; }
.page-hero p { max-width: 720px; color: #cbd5e1; font-size: 1.16rem; }
.product-detail-hero { padding: 96px 0; background: var(--bg); }
.detail-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.detail-grid h1 { font-size: clamp(3rem, 6vw, 5.7rem); line-height: 1; letter-spacing: -.06em; margin: 16px 0 24px; }
.lead { color: var(--muted); font-size: 1.2rem; margin: 0 0 30px; }
.detail-media img { aspect-ratio: 16/11; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.content-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 76px; }
.prose { color: #475467; font-size: 1.1rem; white-space: pre-line; }
.values-section { background: var(--bg); }
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.value-grid article { background: white; border: 1px solid var(--line); border-radius: 20px; padding: 30px; }
.value-grid article > span { color: var(--brand); font-size: .8rem; font-weight: 850; }
.value-grid h3 { font-size: 1.35rem; margin: 12px 0 8px; }
.value-grid p { margin: 0; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.contact-line { display: grid; gap: 3px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-line span { color: var(--muted); font-size: .88rem; }
.contact-form, .stack-form { display: grid; gap: 18px; }
.contact-form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
label { display: grid; gap: 8px; font-weight: 750; }
input, textarea { width: 100%; border: 1px solid #cfd7e3; border-radius: 12px; background: white; color: var(--ink); padding: 12px 14px; outline: none; transition: border .2s ease, box-shadow .2s ease; }
textarea { resize: vertical; }
input:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(91,93,240,.10); }
label small { color: var(--muted); font-weight: 500; }

.site-footer { background: #070b15; color: #e4e7ec; padding: 70px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr 1fr; gap: 60px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 10px; }
.brand-footer { margin-bottom: 12px; }
.footer-grid p, .footer-grid span, .footer-grid a:not(.brand) { color: #98a2b3; }
.footer-grid a:hover { color: white; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid #1f2937; color: #667085; font-size: .9rem; }
.error-page { min-height: 65vh; display: flex; align-items: center; }

/* Admin */
.admin-body { background: #f4f6fa; }
.admin-topbar { background: #0b1020; color: white; }
.admin-topbar-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; }
.admin-shell { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 30px; padding-top: 32px; padding-bottom: 60px; }
.admin-sidebar { position: sticky; top: 24px; align-self: start; }
.admin-sidebar nav { display: grid; gap: 6px; }
.admin-sidebar a { padding: 11px 13px; border-radius: 10px; color: #475467; font-weight: 700; }
.admin-sidebar a:hover { background: white; color: var(--brand); }
.admin-main { min-width: 0; }
.admin-login-main { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 36px 20px; }
.login-card { width: min(460px,100%); background: white; border: 1px solid var(--line); border-radius: 24px; padding: 36px; box-shadow: var(--shadow); }
.login-card h1 { font-size: 2.2rem; letter-spacing: -.045em; margin: 8px 0; }
.login-card p { color: var(--muted); margin: 0 0 24px; }
.admin-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.admin-heading h1 { font-size: 2.4rem; letter-spacing: -.045em; margin: 4px 0 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 24px; }
.stat-card { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 8px; }
.stat-card span { color: var(--muted); font-size: .9rem; }.stat-card strong { font-size: 2rem; }
.admin-panel { background: white; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: 0 6px 20px rgba(16,24,40,.04); }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 14px; }
.panel-heading h2 { margin: 0; }
.admin-list { display: grid; }
.admin-list-row { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 16px 4px; border-bottom: 1px solid #edf0f5; }
.admin-list-row:last-child { border-bottom: 0; }
.admin-list-row > div { display: grid; gap: 2px; }.admin-list-row span { color: var(--muted); font-size: .9rem; }.admin-list-row b { color: var(--brand); }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 14px 12px; text-align: left; border-bottom: 1px solid #edf0f5; vertical-align: top; }
.admin-table th { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.admin-table td strong, .admin-table td small { display: block; }.admin-table td small { color: var(--muted); max-width: 360px; margin-top: 3px; }
.admin-table code { font-size: .8rem; color: #475467; }
.badge { display: inline-block; border-radius: 999px; padding: 4px 9px; background: #f2f4f7; color: #475467; font-size: .78rem; font-weight: 800; }
.badge.success { background: #ecfdf3; color: #067647; }
.table-actions { display: flex; gap: 12px; align-items: center; white-space: nowrap; }
.table-actions a, .table-actions button { color: var(--brand); font-weight: 750; border: 0; background: none; padding: 0; cursor: pointer; }
.table-actions button { color: var(--danger); }
.admin-form { padding: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.span-2 { grid-column: span 2; }
.check-label { display: flex; align-items: center; gap: 10px; align-self: center; }
.check-label input { width: 18px; height: 18px; }
.form-actions { margin-top: 26px; display: flex; justify-content: flex-end; }
.form-preview img { max-height: 280px; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); }
.message-detail dl { margin: 0 0 24px; display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.message-detail dl div { background: var(--bg); padding: 14px; border-radius: 12px; }.message-detail dt { color: var(--muted); font-size: .82rem; }.message-detail dd { margin: 3px 0 0; font-weight: 750; }
.message-box { white-space: pre-line; border: 1px solid var(--line); border-radius: 14px; padding: 20px; margin-bottom: 20px; }
.danger-button { border: 0; background: #fef3f2; color: var(--danger); font-weight: 800; border-radius: 10px; padding: 10px 14px; cursor: pointer; }

@media (max-width: 920px) {
  .main-nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: white; border-bottom: 1px solid var(--line); padding: 18px 20px 24px; flex-direction: column; align-items: flex-start; }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .hero-slider, .slider-track, .slide, .slide-content { min-height: 610px; }
  .slide-content h1 { font-size: clamp(3rem, 11vw, 5.5rem); }
  .split-heading, .about-strip-grid, .detail-grid, .content-layout, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .product-grid { grid-template-columns: repeat(2,1fr); }
  .cta-card { align-items: flex-start; flex-direction: column; padding: 38px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }.footer-grid > div:first-child { grid-column: 1 / -1; }
  .admin-shell { grid-template-columns: 1fr; }.admin-sidebar { position: static; }.admin-sidebar nav { grid-template-columns: repeat(3,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 72px 0; }
  .hero-slider, .slider-track, .slide, .slide-content { min-height: 560px; }
  .slide-content { padding-bottom: 90px; }
  .slide-content h1 { font-size: 3.15rem; }
  .slider-arrow { display: none; }
  .product-grid, .value-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 90px 0 76px; }.page-hero h1 { font-size: 3.2rem; }
  .footer-grid { grid-template-columns: 1fr; }.footer-grid > div:first-child { grid-column: auto; }
  .contact-form { padding: 22px; }
  .admin-topbar-inner { min-height: 62px; }
  .admin-shell { padding-top: 20px; }.admin-sidebar nav { grid-template-columns: 1fr 1fr; gap: 4px; }
  .admin-heading { align-items: flex-start; flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr 1fr; }.admin-panel { padding: 18px; }
  .form-grid { grid-template-columns: 1fr; }.span-2 { grid-column: span 1; }
  .message-detail dl { grid-template-columns: 1fr; }
}

/* =========================================================
   Marscope V2 public theme - dark space homepage
   ========================================================= */
:root {
  --home-bg: #08111f;
  --home-bg-2: #0c1728;
  --home-line: rgba(255,255,255,.10);
  --home-text: #f7f9fc;
  --home-muted: #aeb8c8;
  --home-orange: #ff5b2d;
  --home-orange-2: #ff7a2d;
  --home-blue: #3d8bfd;
  --home-purple: #7657ff;
  --home-green: #43d69b;
}

.site-header {
  background: rgba(7, 14, 26, .94);
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: white;
  backdrop-filter: blur(18px);
}
.nav-wrap { min-height: 86px; }
.public-logo { flex: 0 0 auto; display: inline-flex; align-items: center; }
.public-logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}
.public-logo-card img {
  width: 228px;
  max-height: 76px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  display: block;
}
.main-nav { color: #e8edf5; gap: 34px; }
.main-nav a { position: relative; padding: 30px 0 28px; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 2px;
  background: transparent;
  transform: scaleX(.2);
  transition: background .2s ease, transform .2s ease;
}
.main-nav a:hover,
.main-nav a.active { color: #fff; }
.main-nav a:hover::after,
.main-nav a.active::after { background: var(--home-orange); transform: scaleX(1); }
.header-cta {
  flex: 0 0 auto;
  border: 1px solid rgba(255,91,45,.9);
  color: #fff;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(255,91,45,.16), rgba(255,91,45,.05));
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.header-cta:hover { transform: translateY(-1px); background: rgba(255,91,45,.18); box-shadow: 0 10px 28px rgba(255,91,45,.15); }
.nav-toggle { color: white; }

.home-hero { min-height: 720px; background: #050a12; }
.home-hero .slider-track,
.home-hero .home-slide { min-height: 720px; }
.home-slide { overflow: hidden; }
.home-slide-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,8,16,.96) 0%, rgba(3,8,16,.78) 37%, rgba(3,8,16,.31) 67%, rgba(3,8,16,.25) 100%),
    linear-gradient(180deg, rgba(1,4,10,.2) 0%, rgba(1,4,10,.06) 55%, rgba(3,8,16,.78) 100%);
  z-index: 2;
}
.space-scene { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(circle at 78% 40%, #34140c 0%, #11121a 28%, #050a12 62%); }
.stars { position: absolute; inset: 0; opacity: .9; }
.stars-one {
  background-image:
    radial-gradient(circle at 8% 16%, rgba(255,255,255,.75) 0 1px, transparent 1.5px),
    radial-gradient(circle at 20% 42%, rgba(255,255,255,.55) 0 1px, transparent 1.4px),
    radial-gradient(circle at 34% 13%, rgba(255,255,255,.45) 0 1px, transparent 1.4px),
    radial-gradient(circle at 47% 30%, rgba(255,255,255,.7) 0 1px, transparent 1.4px),
    radial-gradient(circle at 58% 10%, rgba(255,255,255,.4) 0 1px, transparent 1.3px),
    radial-gradient(circle at 68% 22%, rgba(255,255,255,.6) 0 1px, transparent 1.4px),
    radial-gradient(circle at 83% 12%, rgba(255,255,255,.72) 0 1px, transparent 1.5px),
    radial-gradient(circle at 91% 39%, rgba(255,255,255,.48) 0 1px, transparent 1.4px),
    radial-gradient(circle at 76% 67%, rgba(255,255,255,.35) 0 1px, transparent 1.4px),
    radial-gradient(circle at 36% 72%, rgba(255,255,255,.38) 0 1px, transparent 1.4px);
}
.stars-two {
  opacity: .35;
  background-image:
    radial-gradient(circle at 14% 72%, #ff7a2d 0 1.5px, transparent 2px),
    radial-gradient(circle at 31% 52%, #ff7a2d 0 1px, transparent 1.5px),
    radial-gradient(circle at 64% 58%, #ffab65 0 1.3px, transparent 1.8px),
    radial-gradient(circle at 88% 78%, #ffab65 0 1px, transparent 1.4px);
}
.mars-planet {
  position: absolute;
  width: min(780px, 58vw);
  aspect-ratio: 1;
  border-radius: 50%;
  right: -4vw;
  top: 5%;
  background:
    radial-gradient(circle at 66% 20%, rgba(255,225,179,.24) 0 2%, transparent 3%),
    radial-gradient(circle at 37% 34%, rgba(75,20,10,.38) 0 5%, transparent 6%),
    radial-gradient(circle at 61% 46%, rgba(67,16,9,.32) 0 8%, transparent 9%),
    radial-gradient(circle at 28% 60%, rgba(52,13,9,.46) 0 7%, transparent 8%),
    radial-gradient(circle at 72% 69%, rgba(53,14,8,.42) 0 5%, transparent 6%),
    radial-gradient(circle at 35% 25%, #a83b1b 0%, #7b2715 24%, #4e170f 49%, #250c0a 72%, #0e0708 88%);
  box-shadow:
    -80px 40px 140px rgba(0,0,0,.68) inset,
    34px -24px 70px rgba(255,83,30,.18) inset,
    0 0 90px rgba(255,69,18,.13);
  transform: rotate(-9deg);
}
.mars-planet::before,
.mars-planet::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.mars-planet::before {
  inset: -2px;
  border: 2px solid rgba(255,108,50,.33);
  box-shadow: 0 -14px 28px rgba(255,115,49,.24);
}
.mars-planet::after {
  width: 92px;
  height: 92px;
  right: 12%;
  top: 4%;
  background: radial-gradient(circle, #fff 0 3%, #fff5cf 6%, #ffb35c 18%, rgba(255,98,35,.48) 37%, transparent 68%);
  box-shadow: 0 0 50px rgba(255,146,67,.9), 0 0 105px rgba(255,91,45,.55);
}
.mars-glow {
  position: absolute;
  width: 42%;
  height: 1px;
  right: -15%;
  top: 18%;
  background: linear-gradient(90deg, rgba(255,190,105,.9), transparent);
  box-shadow: 0 0 15px #ff8d46;
  transform: rotate(-19deg);
}
.home-hero-grid {
  position: relative;
  z-index: 3;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr);
  align-items: center;
  gap: 40px;
  padding-top: 30px;
  padding-bottom: 90px;
}
.home-hero-copy { max-width: 650px; }
.home-kicker,
.home-section-kicker {
  display: inline-block;
  color: #a9b3c3;
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .34em;
  text-transform: uppercase;
}
.home-hero-copy h1 {
  margin: 18px 0 14px;
  color: var(--slide-title-color, #ffffff);
  font-size: clamp(3.4rem, 6.2vw, var(--slide-title-size, 6rem));
  line-height: .98;
  letter-spacing: -.055em;
  max-width: 760px;
}
.home-hero-copy h1 span { display: block; color: var(--slide-title-accent, var(--home-orange)); margin-top: 8px; }
.home-hero-copy p { max-width: 640px; margin: 0; color: #c4ccd8; font-size: 1.12rem; line-height: 1.75; }
.home-hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.home-btn-primary {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #ff6b35, #f13b2c);
  box-shadow: 0 12px 34px rgba(241,59,44,.24);
}
.home-btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 15px 38px rgba(241,59,44,.32); }
.home-btn-secondary { color: #fff; background: rgba(5,12,22,.3); border: 1px solid rgba(220,229,241,.45); }
.home-btn-secondary:hover { color: #fff; border-color: rgba(255,255,255,.72); background: rgba(255,255,255,.06); }
.home-hero-quote { justify-self: end; margin-top: 40px; margin-right: 25px; color: #dce2eb; font-size: 1.1rem; line-height: 1.55; }
.home-hero-quote p { margin: 0; }
.home-hero-quote span { display: block; width: 58px; height: 2px; margin-top: 20px; background: rgba(255,255,255,.58); }
.home-hero-caption {
  position: absolute;
  z-index: 4;
  right: max(20px, calc((100% - 1180px) / 2));
  bottom: 30px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  width: auto;
  color: #8f9aaa;
  font-size: .72rem;
  letter-spacing: .28em;
}
.home-hero-caption i { display: block; width: 54px; height: 1px; background: #aeb7c5; opacity: .65; }
.home-slider-arrow {
  z-index: 6;
  width: 56px;
  height: 56px;
  background: rgba(20,30,45,.72);
  border: 1px solid rgba(255,255,255,.06);
  color: #fff;
  backdrop-filter: blur(8px);
}
.home-slider-arrow:hover { background: rgba(255,91,45,.35); }
.home-slider-dots { z-index: 7; bottom: 32px; left: 61%; right: auto; }
.home-slider-dots .slider-dot { width: 20px; height: 4px; border-radius: 999px; background: #7a8494; }
.home-slider-dots .slider-dot.active { background: var(--home-orange); width: 28px; }

.home-products-section {
  background: linear-gradient(180deg, #0a1524 0%, #0d1828 100%);
  color: white;
  padding: 42px 0 22px;
  border-top: 1px solid var(--home-line);
}
.home-products-heading {
  display: grid;
  grid-template-columns: .78fr 1.35fr auto;
  gap: 42px;
  align-items: end;
  margin-bottom: 28px;
}
.home-products-heading h2,
.home-about-grid h2,
.home-contact-card h2 { color: white; margin: 4px 0 0; font-size: clamp(2.1rem, 3.5vw, 3.35rem); letter-spacing: -.04em; line-height: 1.05; }
.home-products-heading p { margin: 0; color: #bdc6d4; max-width: 620px; line-height: 1.75; }
.home-outline-link { display: inline-flex; align-items: center; gap: 12px; padding: 11px 18px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: white; font-weight: 760; white-space: nowrap; }
.home-outline-link:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.04); }
.home-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.home-product-card {
  min-height: 212px;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.07);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}
.home-product-card::before { content:""; position:absolute; inset:0; opacity:.8; pointer-events:none; }
.home-product-card > * { position: relative; z-index: 1; }
.home-product-card-1 { background: linear-gradient(145deg, rgba(55,40,105,.60), rgba(19,25,45,.92)); }
.home-product-card-1::before { background: radial-gradient(circle at 10% 0%, rgba(118,87,255,.25), transparent 45%); }
.home-product-card-2 { background: linear-gradient(145deg, rgba(24,59,104,.62), rgba(18,31,50,.92)); }
.home-product-card-2::before { background: radial-gradient(circle at 12% 0%, rgba(61,139,253,.26), transparent 45%); }
.home-product-card-3 { background: linear-gradient(145deg, rgba(18,72,64,.62), rgba(18,36,40,.92)); }
.home-product-card-3::before { background: radial-gradient(circle at 12% 0%, rgba(67,214,155,.25), transparent 45%); }
.home-product-card-4 { background: linear-gradient(145deg, rgba(85,50,34,.64), rgba(43,29,29,.94)); }
.home-product-card-4::before { background: radial-gradient(circle at 12% 0%, rgba(255,122,45,.27), transparent 45%); }
.home-product-top { display: grid; grid-template-columns: 50px 1fr; gap: 16px; align-items: start; }
.home-product-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; color: white; }
.home-product-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.home-product-card-1 .home-product-icon { background: linear-gradient(135deg, #805cff, #5f42e5); }
.home-product-card-2 .home-product-icon { background: linear-gradient(135deg, #4c9bff, #2763ed); }
.home-product-card-3 .home-product-icon { background: linear-gradient(135deg, #54dcab, #24a776); }
.home-product-card-4 .home-product-icon { background: linear-gradient(135deg, #ff9a45, #e56c23); }
.home-product-card h3 { margin: 2px 0 7px; color: white; font-size: 1.18rem; }
.home-product-card p { margin: 0; color: #bdc6d4; font-size: .92rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.home-card-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin-top: 18px; font-weight: 800; font-size: .92rem; }
.home-product-card-1 .home-card-link { color: #987eff; }
.home-product-card-2 .home-card-link { color: #55a0ff; }
.home-product-card-3 .home-card-link { color: #53d6a2; }
.home-product-card-4 .home-card-link { color: #ff9a45; }
.home-empty-state { grid-column: 1 / -1; border-color: rgba(255,255,255,.12); color: #c2cad7; background: rgba(255,255,255,.03); }

.home-feature-strip { background: #08111f; border-top: 1px solid var(--home-line); border-bottom: 1px solid var(--home-line); }
.home-feature-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.home-feature-grid article { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: center; padding: 26px 24px; position: relative; color: #fff; }
.home-feature-grid article:not(:last-child)::after { content:""; position:absolute; top: 27px; bottom: 27px; right:0; width:1px; background:rgba(255,255,255,.12); }
.home-feature-icon { color: #b8c1d0; }
.home-feature-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.home-feature-grid strong { display:block; margin-bottom: 4px; font-size: .98rem; }
.home-feature-grid span { display:block; color: #9faabc; font-size: .85rem; }

.home-about-section { background: #0b1524; color: white; }
.home-about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.home-about-grid p { margin: 0; color: #b8c1cf; font-size: 1.06rem; line-height: 1.85; white-space: pre-line; }
.home-about-link { color: #ff835c; margin-top: 24px; }
.home-contact-cta { background: #08111f; padding: 0 0 76px; }
.home-contact-card {
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 26px;
  padding: 42px 46px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  color: white;
  background:
    radial-gradient(circle at 82% 15%, rgba(255,91,45,.16), transparent 30%),
    linear-gradient(135deg, #101c2e, #0b1422);
}
.home-contact-card p { color: #aeb8c8; margin: 12px 0 0; }

.footer-logo {
  display: inline-flex;
  width: fit-content;
  background: transparent;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 12px;
}
.footer-logo img {
  width: 220px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
}
.site-footer { background: #050b13; border-top: 1px solid rgba(255,255,255,.05); }

/* Better message controls in admin */
.admin-message-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 20px; align-items: center; padding: 15px 4px; border-bottom: 1px solid #edf0f5; }
.admin-message-row:last-child { border-bottom: 0; }
.admin-message-link { min-width: 0; display: grid; gap: 3px; }
.admin-message-link strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-message-link span { color: var(--muted); font-size: .9rem; }
.admin-message-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.admin-message-actions form { margin: 0; }
.admin-inline-button { border: 0; background: none; color: var(--brand); font-weight: 750; cursor: pointer; padding: 0; }
.admin-inline-button.danger { color: var(--danger); }
.admin-message-detail-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.admin-secondary-button { border: 1px solid #d0d5dd; background: #fff; color: #344054; font-weight: 800; border-radius: 10px; padding: 10px 14px; cursor: pointer; }

@media (max-width: 1080px) {
  .header-cta { display: none; }
  .home-product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .home-products-heading { grid-template-columns: 1fr 1.25fr; }
  .home-products-heading .home-outline-link { grid-column: 1 / -1; justify-self: start; }
  .home-feature-grid { grid-template-columns: repeat(2,1fr); }
  .home-feature-grid article:nth-child(2)::after { display:none; }
  .home-feature-grid article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.08); }
}

@media (max-width: 920px) {
  .site-header .main-nav { top: 86px; background: #091321; border-bottom-color: rgba(255,255,255,.08); color: #e8edf5; }
  .site-header .main-nav a { width: 100%; padding: 11px 0; }
  .site-header .main-nav a::after { display:none; }
  .home-hero,
  .home-hero .slider-track,
  .home-hero .home-slide { min-height: 690px; }
  .home-hero-grid { min-height: 690px; grid-template-columns: 1fr; align-content: center; }
  .home-hero-copy { max-width: 650px; }
  .home-hero-quote { display:none; }
  .mars-planet { width: 650px; right: -260px; top: 12%; opacity: .78; }
  .home-hero-caption { display:none; }
  .home-slider-dots { left: 50%; transform: translateX(-50%); bottom: 26px; }
  .home-products-heading { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .home-products-heading .home-outline-link { grid-column: auto; }
  .home-about-grid { grid-template-columns: 1fr; gap: 28px; }
  .home-contact-card { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .nav-wrap { min-height: 74px; }
 .public-logo-card img { width: 168px; max-height: 58px; height: auto; }
  .site-header .main-nav { top: 74px; }
  .home-hero,
  .home-hero .slider-track,
  .home-hero .home-slide { min-height: 650px; }
  .home-hero-grid { min-height: 650px; padding-top: 18px; padding-bottom: 75px; }
  .home-hero-copy h1 { font-size: clamp(3rem, 14vw, min(var(--slide-title-size, 6rem), 4.5rem)); }
  .home-hero-copy p { font-size: 1rem; }
  .home-kicker { letter-spacing: .22em; font-size: .68rem; }
  .home-hero-actions { flex-direction: column; align-items: stretch; }
  .home-hero-actions .btn { justify-content: center; text-align: center; }
  .mars-planet { width: 540px; right: -310px; top: 9%; opacity: .62; }
  .home-products-section { padding-top: 34px; }
  .home-product-grid { grid-template-columns: 1fr; }
  .home-product-card { min-height: 190px; }
  .home-feature-grid { grid-template-columns: 1fr; }
  .home-feature-grid article { border-bottom: 1px solid rgba(255,255,255,.08) !important; }
  .home-feature-grid article:last-child { border-bottom: 0 !important; }
  .home-feature-grid article::after { display:none; }
  .home-contact-card { padding: 32px 24px; }
  .footer-logo img { width: 168px; height: auto; }
  .admin-message-row { grid-template-columns: 1fr; }
  .admin-message-actions { justify-content: flex-start; }
}
.admin-brand-logo { display: inline-flex; align-items: center; gap: 10px; color: white; font-weight: 800; }
.admin-brand-image { display: inline-flex; border-radius: 10px; overflow: hidden; background: transparent; }
.admin-brand-image img { width: 176px; max-height: 58px; height: auto; object-fit: contain; border-radius: 0; }

/* ===== Marscope v1.3 fixes and additions ===== */
.home-product-card-link,
.product-card-link { color: inherit; text-decoration: none; }
.home-product-card-link { cursor: pointer; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.home-product-card-link:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.16); box-shadow: 0 18px 36px rgba(0,0,0,.18); }
.product-card-link { display: block; }

.header-socials,
.footer-socials { display: flex; align-items: center; gap: 9px; }
.header-socials { flex: 0 0 auto; }
.header-socials a,
.footer-socials a {
  width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.16); color: #fff; background: rgba(255,255,255,.055);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.header-socials a:hover,
.footer-socials a:hover { transform: translateY(-2px); border-color: rgba(255,122,45,.8); background: rgba(255,91,45,.14); }
.header-socials svg,
.footer-socials svg { width: 17px; height: 17px; }
.header-socials a[aria-label="LinkedIn"] svg,
.header-socials a[aria-label="YouTube"] svg,
.footer-socials a[aria-label="LinkedIn"] svg,
.footer-socials a[aria-label="YouTube"] svg { fill: currentColor; stroke: none; }
.header-socials a[aria-label="Instagram"] svg,
.footer-socials a[aria-label="Instagram"] svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.footer-socials { margin-top: 18px; }
.footer-socials a { width: 42px; height: 42px; }

/* Contact page: dark Marscope styling, balanced two-column layout and image slider */
.contact-hero-slider { min-height: 520px; background: #07111f; }
.contact-hero-slider .slider-track,
.contact-hero-slider .contact-hero-slide { min-height: 520px; }
.contact-hero-slide { overflow: hidden; }
.contact-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(4,10,20,.94) 0%, rgba(7,17,31,.76) 48%, rgba(8,17,30,.46) 100%), linear-gradient(180deg, rgba(8,17,31,.16), rgba(8,17,31,.72)); }
.contact-hero-content { min-height: 520px; position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; color: #fff; padding: 68px 0; }
.contact-hero-content h1 { max-width: 850px; margin: 14px 0 18px; font-size: clamp(3rem, 6vw, 5.6rem); line-height: .98; letter-spacing: -.055em; }
.contact-hero-content p { max-width: 720px; margin: 0 0 28px; color: #c1cbd9; font-size: 1.08rem; }
.contact-slider-dots { bottom: 24px; }
.contact-slider-arrow { top: 52%; }
.contact-hero-static { color: #fff; background: radial-gradient(circle at 75% 25%, rgba(123,87,255,.22), transparent 28%), linear-gradient(135deg,#07111f 0%,#0d1a31 56%,#171a3a 100%); }
.contact-hero-static .contact-hero-content { min-height: 430px; }

.contact-main-section { padding: 76px 0 92px; background: #08111f; color: #fff; }
.contact-modern-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 28px; align-items: stretch; }
.contact-info-card,
.contact-form-card { border: 1px solid rgba(255,255,255,.09); border-radius: 26px; box-shadow: 0 24px 60px rgba(0,0,0,.18); }
.contact-info-card { padding: 38px; background: radial-gradient(circle at 12% 0%, rgba(61,139,253,.19), transparent 38%), linear-gradient(145deg,#10233a,#0a1727); }
.contact-info-card h2 { margin: 8px 0 28px; font-size: clamp(2rem,3.2vw,3rem); line-height: 1.05; color: #fff; }
.contact-detail-list { display: grid; gap: 12px; }
.contact-detail-item { display: grid; grid-template-columns: 58px minmax(0,1fr); gap: 16px; align-items: center; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.09); }
.contact-detail-item:last-child { border-bottom: 0; }
.contact-detail-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.96); color: #225bd8; }
.contact-detail-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-detail-item strong { display: block; color: #fff; margin-bottom: 2px; }
.contact-detail-item a,
.contact-detail-item span { color: #bfc9d8; overflow-wrap: anywhere; }
.contact-form-card { padding: 38px; background: linear-gradient(145deg,#0f1d30,#0b1626); }
.contact-form-card h2 { margin: 8px 0 8px; color: #fff; font-size: clamp(2rem,3vw,2.8rem); line-height: 1.08; }
.contact-form-card > p { margin: 0 0 24px; color: #aeb9c9; }
.modern-contact-form { background: transparent; border: 0; padding: 0; grid-template-columns: 1fr 1fr; gap: 16px; }
.modern-contact-form label { color: #e8edf5; }
.modern-contact-form label:nth-of-type(5) { grid-column: 1 / -1; }
.modern-contact-form input,
.modern-contact-form textarea { color: #fff; background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.13); }
.modern-contact-form input:focus,
.modern-contact-form textarea:focus { outline: none; border-color: rgba(255,122,45,.72); box-shadow: 0 0 0 3px rgba(255,91,45,.10); }
.modern-contact-form button { grid-column: 1 / -1; justify-self: start; }

@media (max-width: 1120px) {
  .main-nav { gap: 20px; }
  .header-socials { gap: 6px; }
  .header-socials a { width: 31px; height: 31px; }
}
@media (max-width: 920px) {
  .header-socials { margin-left: auto; }
  .contact-modern-grid { grid-template-columns: 1fr; }
  .contact-hero-content h1 { max-width: 680px; }
}
@media (max-width: 620px) {
  .header-socials { display: none; }
  .contact-hero-slider,
  .contact-hero-slider .slider-track,
  .contact-hero-slider .contact-hero-slide { min-height: 500px; }
  .contact-hero-content { min-height: 500px; padding: 60px 0 80px; }
  .contact-hero-content h1 { font-size: clamp(2.7rem,12vw,4rem); }
  .contact-info-card,
  .contact-form-card { padding: 26px 22px; }
  .modern-contact-form { grid-template-columns: 1fr; }
  .modern-contact-form label:nth-of-type(5),
  .modern-contact-form button { grid-column: auto; }
}


/* v1.5 media upload/video support */
.product-media-video,
.detail-media-video,
.home-slide-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-media-video { min-height: 320px; background: #050b13; border-radius: inherit; }

/* v1.5.3 hero video audio controls */
.home-sound-toggle {
  position: absolute;
  z-index: 9;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(7,13,24,.68);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(0,0,0,.24);
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.home-sound-toggle:hover { background: rgba(255,91,45,.22); border-color: rgba(255,122,45,.58); transform: translateY(-1px); }
.home-sound-toggle[hidden] { display: none !important; }
.home-sound-icon { width: 19px; height: 19px; display: inline-flex; align-items: center; justify-content: center; }
.home-sound-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.home-sound-icon-off { display: none; }
.home-sound-toggle.is-muted .home-sound-icon-on { display: none; }
.home-sound-toggle.is-muted .home-sound-icon-off { display: inline-flex; }

@media (max-width: 920px) {
  .home-sound-toggle { right: 24px; bottom: 24px; }
}
@media (max-width: 620px) {
  .home-sound-toggle { right: 16px; bottom: 18px; min-height: 38px; padding: 8px 11px; font-size: .86rem; }
}

/* v1.5.4 hero video sound + volume controls */
.home-audio-controls {
  position: absolute;
  z-index: 10;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 26px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(7,13,24,.76);
  color: #fff;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(0,0,0,.28);
}
.home-audio-controls[hidden] { display: none !important; }
.home-audio-controls.audio-blocked { border-color: rgba(255,122,45,.68); box-shadow: 0 8px 30px rgba(255,91,45,.12); }
.home-audio-controls .home-sound-toggle {
  position: static;
  right: auto;
  bottom: auto;
  min-height: 36px;
  padding: 7px 11px;
  box-shadow: none;
  background: rgba(255,255,255,.06);
}
.home-volume-step {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: #fff;
  font: inherit;
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.home-volume-step:hover { background: rgba(255,91,45,.2); border-color: rgba(255,122,45,.5); transform: translateY(-1px); }
.home-volume-range {
  width: 112px;
  accent-color: #ff5b2d;
  cursor: pointer;
}
.home-volume-label {
  min-width: 38px;
  text-align: center;
  font-size: .78rem;
  font-weight: 800;
  color: rgba(255,255,255,.88);
}

@media (max-width: 920px) {
  .home-audio-controls { right: 22px; bottom: 22px; }
  .home-volume-range { width: 92px; }
}
@media (max-width: 620px) {
  .home-audio-controls { right: 12px; bottom: 14px; gap: 6px; padding: 6px; }
  .home-volume-range { width: 72px; }
  .home-volume-label { display: none; }
  .home-volume-step { width: 31px; height: 31px; flex-basis: 31px; }
  .home-audio-controls .home-sound-toggle { min-height: 32px; padding: 6px 9px; font-size: .78rem; }
}


/* v1.6.2: duration and theme colors are supplied by /site-theme.css under strict CSP. */
.home-hero .home-slide {
  transition: opacity var(--home-slide-transition-ms, 600ms) ease,
              visibility var(--home-slide-transition-ms, 600ms) ease;
}
@media (prefers-reduced-motion: reduce) {
  .home-hero .home-slide { transition-duration: 0ms; }
}
