/* =============================================
   ZenStax — Production Stylesheet
   Orange gradient system — Compact scale
   ============================================= */

:root {
  --text-xs:   clamp(0.7rem,   0.68rem + 0.15vw, 0.78rem);
  --text-sm:   clamp(0.8rem,   0.76rem + 0.2vw,  0.9rem);
  --text-base: clamp(0.92rem,  0.88rem + 0.15vw, 0.98rem);
  --text-lg:   clamp(1rem,     0.9rem  + 0.4vw,  1.15rem);
  --text-xl:   clamp(1.25rem,  1rem    + 0.8vw,  1.6rem);
  --text-2xl:  clamp(1.8rem,   1.3rem  + 2vw,    3.4rem);

  --radius-sm:   .5rem;
  --radius-md:   .8rem;
  --radius-lg:   1.1rem;
  --radius-xl:   1.5rem;
  --radius-full: 999px;

  --font-body:    'General Sans', Inter, sans-serif;
  --font-display: 'Cabinet Grotesk', 'General Sans', sans-serif;
  --ease:         cubic-bezier(0.16, 1, 0.3, 1);

  --bg:            #060f1e;
  --surface:       #0d1c30;
  --surface-2:     #112338;
  --surface-3:     #172d47;
  --surface-4:     #1e3859;

  --text:          #eef4ff;
  --text-muted:    #a8bcda;
  --text-faint:    #6a80a0;

  --border:        rgba(120, 170, 255, 0.09);
  --border-md:     rgba(120, 170, 255, 0.15);
  --border-strong: rgba(120, 170, 255, 0.22);

  --orange:        #ff7e3d;
  --orange-light:  #ffb066;
  --orange-deep:   #ff5f2e;
  --orange-glow:   rgba(255, 126, 61, 0.20);
  --coral:         #ff7e5f;
  --coral-light:   #ffab8c;

  --shadow-sm:   0 3px 10px rgba(2, 8, 20, 0.26);
  --shadow-md:   0 8px 24px rgba(2, 8, 20, 0.32);
  --shadow-glow: 0 0 0 1px rgba(255, 126, 61, 0.16), 0 12px 36px rgba(2, 8, 20, 0.36);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  scroll-padding-top: 72px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text);
  min-height: 100vh;
  background:
    radial-gradient(55rem 32rem at 8%   2%,  rgba(255,126,61,0.12),  transparent 56%),
    radial-gradient(48rem 36rem at 94%  6%,  rgba(255,176,102,0.10), transparent 54%),
    radial-gradient(40rem 28rem at 48% 98%,  rgba(255,95,46,0.10),   transparent 56%),
    linear-gradient(175deg, #060f1e 0%, #091528 55%, #0d1c30 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  width: 100%;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.03em; line-height: 1.08; }
p { max-width: 66ch; }
ul { list-style: none; }

.container { width: min(1080px, calc(100% - 2rem)); margin: 0 auto; position: relative; z-index: 2; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--surface-3); color: var(--text);
  padding: .5rem .85rem; border-radius: var(--radius-full);
  z-index: 200; border: 1px solid var(--border-strong);
  transition: top .2s;
  font-size: var(--text-sm);
}
.skip-link:focus { top: .6rem; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 15, 30, 0.88);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.site-header.scrolled {
  border-bottom-color: var(--border-md);
  background: rgba(6, 15, 30, 0.96);
  box-shadow: 0 3px 18px rgba(2, 8, 20, 0.28);
}

.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; min-height: 64px; }

.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 700; letter-spacing: -0.02em; }

.brand-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  object-fit: cover;
  display: block;
  transition: transform .2s;
}
.brand:hover .brand-mark { transform: scale(1.05); }

.brand-wordmark { font-size: .96rem; }
.brand-wordmark span { color: var(--orange); }

.nav-links { display: flex; align-items: center; gap: 1.4rem; color: var(--text-muted); font-size: var(--text-sm); }
.nav-links a { position: relative; padding-bottom: 2px; transition: color .18s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  transition: width .28s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: .6rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 1.1rem;
  border-radius: var(--radius-full); font-size: var(--text-sm); font-weight: 600;
  border: 1px solid transparent;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), opacity .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); opacity: .92; }

.btn-primary {
  background: linear-gradient(130deg, var(--orange) 0%, var(--orange-light) 100%);
  color: #1a0d04;
  box-shadow: 0 6px 18px rgba(255, 126, 61, 0.28), 0 2px 6px rgba(2,8,20,.16);
}
.btn-primary:hover { box-shadow: 0 10px 26px rgba(255, 126, 61, 0.36), 0 3px 10px rgba(2,8,20,.2); }
.btn-secondary { background: rgba(17, 35, 56, 0.72); border-color: var(--border-strong); color: var(--text); }
.btn-secondary:hover { background: var(--surface-3); }

section { padding: clamp(3.2rem, 6vw, 5.6rem) 0; }
.section-head { display: grid; gap: .8rem; margin-bottom: 2.1rem; }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.7vw, 2.4rem); max-width: 14ch; }
h3 { font-size: clamp(1rem, .9rem + .4vw, 1.2rem); }
.section-copy { color: var(--text-muted); max-width: 54ch; font-size: .92rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: var(--text-xs); letter-spacing: .15em; text-transform: uppercase;
  padding: .4rem .7rem; border-radius: var(--radius-full);
  background: rgba(17, 35, 56, 0.80); border: 1px solid var(--border-md);
  color: var(--text-muted);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange); flex: 0 0 auto;
  box-shadow: 0 0 0 4px var(--orange-glow);
}

/* HERO */
.hero { padding: clamp(2.4rem, 4.5vw, 4.8rem) 0 clamp(3.6rem, 6.5vw, 5.8rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .9fr); gap: clamp(1.8rem, 4vw, 3.6rem); align-items: center; }

.hero-copy h1 { font-size: var(--text-2xl); margin-top: 1rem; max-width: 11ch; line-height: 1.04; }
.hero-copy h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--orange), var(--orange-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-copy p { color: var(--text-muted); margin-top: 1rem; font-size: clamp(.9rem, .86rem + 0.2vw, .98rem); max-width: 50ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.hero-proof span {
  display: flex; align-items: center; gap: .4rem;
  padding: .45rem .75rem; border-radius: var(--radius-full);
  font-size: var(--text-xs); color: var(--text-muted);
  background: rgba(13, 28, 48, 0.75); border: 1px solid var(--border-md);
}
.hero-proof span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--orange); flex: 0 0 auto; }

.hero-showcase { position: relative; min-height: 380px; display: grid; place-items: center; }
.hero-orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(255,176,102,0.12); pointer-events: none; }
.hero-orbit--one { width: 320px; height: 320px; }
.hero-orbit--two { width: 220px; height: 220px; border-color: rgba(255,126,61,0.12); }

.hero-panel {
  position: relative; z-index: 3; width: min(100%, 360px);
  border-radius: 1.3rem;
  background: linear-gradient(160deg, #152d46, #0d1c30);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-glow);
}

.hero-panel--simple { padding: 0; overflow: hidden; display: grid; gap: 0; border-radius: 1.3rem; }
.hero-panel-image { width: 100%; aspect-ratio: 16 / 10; background: #0d1c30; overflow: hidden; }
.hero-panel-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-panel-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}
.hero-panel-content { padding: 1.1rem 1.2rem 1.3rem; }
.hero-panel-content h3 { font-size: 1.05rem; line-height: 1.3; margin: .7rem 0; color: var(--text); }
.hero-benefits { display: grid; gap: .4rem; margin: 0 0 .8rem; padding-left: .9rem; color: var(--text-muted); font-size: .88rem; }
.hero-benefits li { list-style: disc; }

.panel-topline {
  display: flex; align-items: center; gap: .5rem;
  color: var(--text-faint); font-size: .68rem;
  letter-spacing: .13em; text-transform: uppercase;
}
.signal { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--orange-glow); }

/* PLATFORM CARDS */
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.platform-card {
  padding: 1.2rem; border-radius: var(--radius-xl);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s;
}
.platform-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.platform-card small { display: inline-block; font-size: .64rem; letter-spacing: .13em; text-transform: uppercase; color: var(--orange); margin-bottom: .55rem; }
.platform-card h3 { color: var(--text); margin-bottom: .5rem; }
.platform-card p { color: var(--text-muted); font-size: .86rem; }

/* SPOTLIGHT SLIDER */
.spotlight-wrap { position: relative; overflow: hidden; padding: .8rem 0 3.6rem; }
.spotlight-wrap::before, .spotlight-wrap::after {
  content: ""; position: absolute; top: 0; bottom: 3.6rem; width: 16%; z-index: 10; pointer-events: none;
}
.spotlight-wrap::before { left: 0; background: linear-gradient(90deg, #060f1e 0%, transparent 100%); }
.spotlight-wrap::after { right: 0; background: linear-gradient(270deg, #060f1e 0%, transparent 100%); }

.spotlight-track { display: flex; gap: 1.4rem; transition: transform .6s var(--ease); will-change: transform; align-items: center; padding: .6rem 0; }
.spotlight-item {
  flex: 0 0 auto; width: 270px;
  transition: width .5s var(--ease), transform .5s var(--ease), opacity .5s var(--ease), filter .5s var(--ease);
}
.spotlight-item.is-active { width: 370px; transform: scale(1.0); opacity: 1; filter: blur(0); z-index: 5; }
.spotlight-item.is-side { opacity: .55; filter: blur(3px); transform: scale(0.93); }
.spotlight-item.is-far { opacity: .18; filter: blur(8px); transform: scale(0.84); }

.spotlight-card {
  padding: 0 0 1.5rem; border-radius: var(--radius-xl);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  min-height: 410px; display: flex; flex-direction: column;
  overflow: hidden;
  transition: border-color .5s, box-shadow .5s, background .5s;
}
.spotlight-item.is-active .spotlight-card { background: var(--surface-2); border-color: var(--border-strong); box-shadow: var(--shadow-glow); }

.card-image {
  display: block;
  width: 100%;
  margin: 0;
  height: 210px;
  object-fit: cover;
  border-radius: 0;
}

.card-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.spotlight-card-body {
  padding: 1.1rem 1.3rem 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-inner .s-icon {
  width: 2.8rem; height: 2.8rem; display: grid; place-items: center;
  border-radius: .85rem; margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(255,126,61,0.20), rgba(255,176,102,0.14));
  color: var(--orange); font-weight: 800; font-family: var(--font-display); font-size: .88rem;
  border: 1px solid rgba(255,126,61,0.20);
}
.spotlight-item.is-active .s-icon {
  background: linear-gradient(135deg, rgba(255,126,61,0.28), rgba(255,176,102,0.22));
  border-color: rgba(255,126,61,0.30);
}

.spotlight-card h3 { color: var(--text); margin-bottom: .6rem; font-size: 1.05rem; }
.spotlight-card p { color: var(--text-muted); line-height: 1.65; font-size: .86rem; flex: 1; }

.card-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.card-tags li {
  padding: .26rem .55rem; border-radius: var(--radius-full); font-size: .68rem;
  color: var(--orange-light); background: rgba(255,126,61,0.10); border: 1px solid rgba(255,126,61,0.20);
}

.step-num {
  width: 46px; height: 46px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center; margin-bottom: .9rem;
  background: linear-gradient(135deg, rgba(255,126,61,0.18), rgba(255,176,102,0.16));
  color: var(--orange-light); font-weight: 800; font-family: var(--font-display); font-size: .88rem;
  border: 1px solid rgba(255,126,61,0.22);
}
.spotlight-item.is-active .step-num {
  background: linear-gradient(135deg, rgba(255,126,61,0.28), rgba(255,176,102,0.24));
  box-shadow: 0 0 0 6px rgba(255,126,61,0.08);
}

.slider-dots { display: flex; justify-content: center; align-items: center; gap: .45rem; margin-top: 1.3rem; }
.slider-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--surface-4); border: 1px solid var(--border-md);
  cursor: pointer; transition: background .3s, transform .3s, width .3s; padding: 0;
}
.slider-dot.is-active {
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  border-color: transparent; width: 20px; border-radius: 4px; transform: none;
  box-shadow: 0 0 6px rgba(255,126,61,0.35);
}

.slider-nav { display: flex; justify-content: center; align-items: center; gap: .6rem; margin-top: .7rem; }
.slider-arrow {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border-md); color: var(--text-muted);
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.slider-arrow:hover { background: var(--surface-3); border-color: var(--border-strong); color: var(--text); transform: scale(1.08); }

/* CONTACT */
.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(300px, 1fr);
  gap: 2.2rem;
  align-items: start;
}
.contact-copy h2 { max-width: 12ch; }
.contact-copy p { margin-top: .7rem; }
.contact-points { display: grid; gap: .8rem; margin-top: 1.3rem; }
.contact-points div {
  display: flex; flex-direction: column; gap: .22rem;
  padding: .85rem .95rem; border-radius: var(--radius-lg);
  background: var(--surface-2); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.contact-points strong { font-size: var(--text-xs); color: var(--orange); font-weight: 600; }
.contact-points span { color: var(--text-muted); font-size: .86rem; }

.contact-card {
  padding: 1.3rem 1.4rem;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--border-md);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 84px;
}
.contact-copy {
  position: sticky;
  top: 84px;
  align-self: start;
}

.contact-form {
  display: grid;
  gap: .7rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}

.field-group { display: grid; gap: .3rem; }
label { font-size: .68rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: .12em; font-weight: 500; }

input, textarea, select {
  width: 100%; border-radius: var(--radius-md); border: 1px solid var(--border-md);
  background: var(--surface-2); min-height: 42px; padding: .7rem .9rem; color: var(--text);
  font-size: .88rem;
  transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,126,61,0.16); }
input::placeholder, textarea::placeholder { color: var(--text-faint); }
textarea { min-height: 100px; resize: vertical; }

input[type="date"], input[type="time"] { color-scheme: dark; }

.form-section-label {
  font-size: .68rem;
  color: var(--orange-light);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
  margin-top: .4rem;
  padding-top: .8rem;
  border-top: 1px solid var(--border);
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .25rem;
}

.radio-pill {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .85rem;
  border-radius: var(--radius-full);
  background: var(--surface-2);
  border: 1px solid var(--border-md);
  cursor: pointer;
  transition: border-color .2s, background .2s;
  font-size: .82rem;
  color: var(--text-muted);
}

.radio-pill input[type="radio"] {
  width: 14px;
  height: 14px;
  accent-color: var(--orange);
  cursor: pointer;
  margin: 0;
  min-height: unset;
}

.radio-pill:hover { border-color: var(--border-strong); }

.radio-pill input[type="radio"]:checked + span {
  color: var(--text);
  font-weight: 600;
}

.radio-pill:has(input:checked) {
  background: rgba(255,126,61,0.12);
  border-color: rgba(255,126,61,0.35);
}

form .btn { width: 100%; margin-top: .3rem; min-height: 44px; font-size: .92rem; }

/* FOOTER */
footer { padding: clamp(2.2rem, 4vw, 3.6rem) 0 1.5rem; }
.footer-panel { padding: 1.3rem; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr; gap: 1.5rem; }
.footer-copy { color: var(--text-muted); font-size: .82rem; margin-top: .5rem; max-width: 38ch; }
.footer-links { display: grid; gap: .45rem; color: var(--text-muted); font-size: .82rem; }
.footer-links a:hover { color: var(--orange-light); }
.footer-links span { color: var(--text-faint); font-size: .78rem; }
.footer-title { font-size: .84rem; color: var(--text); margin-bottom: .8rem; font-family: var(--font-display); letter-spacing: -.02em; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: .8rem;
  margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--border);
  color: var(--text-faint); font-size: var(--text-xs);
}

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .hero-grid, .footer-grid, .platform-grid { grid-template-columns: 1fr; }
  .contact-shell { grid-template-columns: 1fr; }
  .contact-card { position: static; }
  .contact-copy { position: static; }
  .hero-showcase { min-height: 360px; }
}

@media (max-width: 760px) {
  .site-header { position: static; }
  .nav-links { display: none; }
  .hero-showcase { min-height: 320px; }
  .hero-orbit--one { width: 220px; height: 220px; }
  .hero-orbit--two { width: 160px; height: 160px; }
  .spotlight-item { width: 230px; }
  .spotlight-item.is-active { width: 270px; }
  .spotlight-card { min-height: 370px; padding: 0 0 1.3rem; }
  .card-image { height: 170px; }
  .spotlight-card-body { padding: 1rem 1.1rem 0; }
  .field-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: .35rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .spotlight-item { filter: none !important; opacity: 1 !important; }
}
.float-stack {
  position: fixed;
  bottom: 1.6rem;
  right: 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
  z-index: 300;
}

.float-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-3);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}

.float-icon img { width: 26px; height: 26px; object-fit: contain; }

.float-icon:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 10px 26px rgba(255,126,61,0.28);
}

/* Individual social icons — hidden by default */
.float-item {
  opacity: 0;
  transform: translateY(12px) scale(0.7);
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  order: 2;
}

/* Toggle button always visible, always last (bottom of stack) */
.float-toggle {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  border: none;
  order: 1;
  position: relative;
}

.icon-open {
  display: none;
  font-size: 1.6rem;
  color: #1a0d04;
  font-weight: 700;
  line-height: 1;
}

/* OPEN STATE — triggered by JS adding .is-open to the stack */
.float-stack.is-open .float-item {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.float-stack.is-open .icon-closed { display: none; }
.float-stack.is-open .icon-open { display: block; }

/* Stagger each icon's entrance slightly */
.float-stack.is-open .float-item:nth-child(1) { transition-delay: .05s; }
.float-stack.is-open .float-item:nth-child(2) { transition-delay: .1s; }
.float-stack.is-open .float-item:nth-child(3) { transition-delay: .15s; }
.float-stack.is-open .float-item:nth-child(4) { transition-delay: .2s; }
.float-stack.is-open .float-item:nth-child(5) { transition-delay: .25s; }