/* ==========================================================================
   CelestialBody Limited — Global Stylesheet
   Theme: "Celestial Editorial" — midnight navy, starlight gold, aurora mint
   ========================================================================== */

:root {
  --bg: #0b0e1c;
  --bg-2: #10142a;
  --bg-3: #151a35;
  --ink: #edecf4;
  --muted: #9aa0bc;
  --gold: #e9b44c;
  --gold-bright: #f4c96b;
  --gold-deep: #b8832a;
  --aurora: #5ed4c8;
  --line: rgba(237, 236, 244, 0.09);
  --line-soft: rgba(237, 236, 244, 0.055);
  --card: rgba(255, 255, 255, 0.028);
  --card-hover: rgba(255, 255, 255, 0.05);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- atmosphere: starfield + grain -------------------------------------- */
.starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 22%, rgba(244, 201, 107, 0.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 68% 12%, rgba(255, 255, 255, 0.5) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 84% 46%, rgba(94, 212, 200, 0.4) 50%, transparent 51%),
    radial-gradient(1px 1px at 32% 68%, rgba(255, 255, 255, 0.35) 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 52% 84%, rgba(233, 180, 76, 0.4) 50%, transparent 51%),
    radial-gradient(1px 1px at 8% 88%, rgba(255, 255, 255, 0.3) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 92% 78%, rgba(255, 255, 255, 0.4) 50%, transparent 51%),
    radial-gradient(1px 1px at 45% 8%, rgba(255, 255, 255, 0.35) 50%, transparent 51%);
  opacity: 0.9;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");
}

main, header, footer { position: relative; z-index: 2; }

/* ---- typography ---------------------------------------------------------- */
h1, h2, h3, .display-font {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.12;
}

h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.35rem; font-weight: 600; font-family: var(--font-body); letter-spacing: 0; }

.text-gold {
  background: linear-gradient(105deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-aurora { color: var(--aurora); }
.lead { color: var(--muted); font-size: 1.12rem; font-weight: 400; }
p { color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow.eyebrow-center::after {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* ---- links & buttons ------------------------------------------------------ */
a { color: var(--gold); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--gold-bright); }

.btn-star {
  --bs-btn-font-weight: 700;
  --bs-btn-color: #14110a;
  --bs-btn-bg: var(--gold);
  --bs-btn-border-color: var(--gold);
  --bs-btn-hover-bg: var(--gold-bright);
  --bs-btn-hover-border-color: var(--gold-bright);
  --bs-btn-hover-color: #14110a;
  --bs-btn-active-bg: var(--gold-deep);
  --bs-btn-active-color: #14110a;
  --bs-btn-padding-x: 1.9rem;
  --bs-btn-padding-y: 0.8rem;
  --bs-btn-border-radius: 999px;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 28px rgba(233, 180, 76, 0.25);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn-star:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(233, 180, 76, 0.35); }

.btn-ghost {
  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--ink);
  --bs-btn-border-color: rgba(237, 236, 244, 0.28);
  --bs-btn-hover-color: var(--gold);
  --bs-btn-hover-border-color: var(--gold);
  --bs-btn-active-color: var(--gold);
  --bs-btn-active-border-color: var(--gold);
  --bs-btn-padding-x: 1.9rem;
  --bs-btn-padding-y: 0.8rem;
  --bs-btn-border-radius: 999px;
  background: transparent;
  transition: all 0.3s var(--ease);
}

.link-arrow {
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.link-arrow .bi { transition: transform 0.3s var(--ease); }
.link-arrow:hover .bi { transform: translateX(5px); }

/* ---- navbar ---------------------------------------------------------------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.15rem 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-nav.scrolled {
  background: rgba(11, 14, 28, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.navbar-brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  object-fit: cover;
  border: 1px solid rgba(233, 180, 76, 0.35);
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}
.brand-name em { font-style: normal; color: var(--gold); }

.site-nav .nav-link {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.02em;
  padding: 0.45rem 0.95rem !important;
  position: relative;
  transition: color 0.25s var(--ease);
}
.site-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.1rem;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.site-nav .nav-link:hover,
.site-nav .nav-link.active { color: var(--ink); }
.site-nav .nav-link.active::after,
.site-nav .nav-link:hover::after { transform: scaleX(1); }
.site-nav .nav-link.active { color: var(--gold); }

.navbar-toggler { border: 1px solid var(--line); padding: 0.45rem 0.7rem; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23e9b44c' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* ---- hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 9.5rem 0 6rem;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 14, 28, 0.96) 8%, rgba(11, 14, 28, 0.55) 55%, rgba(11, 14, 28, 0.85)),
    linear-gradient(0deg, var(--bg) 2%, transparent 45%);
}
.hero-inner { position: relative; z-index: 2; }
.hero h1 { margin-bottom: 1.4rem; }
.hero .lead { max-width: 560px; font-size: 1.18rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2.2rem; }
.hero-badges .badge-chip {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.42rem 1rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.hero-badges .badge-chip .bi { color: var(--gold); margin-right: 0.35rem; }

.hero-subhead {
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--aurora);
  font-weight: 700;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.hero-subhead::before {
  content: "";
  width: 38px;
  height: 1px;
  background: var(--aurora);
}

/* page hero (inner pages) */
.page-hero {
  position: relative;
  padding: 11rem 0 5.5rem;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -180px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  border: 1px solid rgba(233, 180, 76, 0.16);
  box-shadow: inset 0 0 120px rgba(233, 180, 76, 0.06);
}
.page-hero::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px dashed rgba(94, 212, 200, 0.18);
}
.page-hero .lead { max-width: 640px; }

/* ---- sections --------------------------------------------------------------- */
.section { padding: 6.5rem 0; position: relative; }
.section-tight { padding: 4.5rem 0; }
.section-head { max-width: 720px; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }

.orbit-deco {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(233, 180, 76, 0.1);
  pointer-events: none;
  z-index: -1;
}
.orbit-deco.o1 { width: 420px; height: 420px; left: -180px; top: 10%; }
.orbit-deco.o2 { width: 260px; height: 260px; left: -90px; top: 30%; border-style: dashed; border-color: rgba(94, 212, 200, 0.12); }

/* ---- cards -------------------------------------------------------------------- */
.card-glow {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 2.2rem 1.9rem;
  height: 100%;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.card-glow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.9rem;
  right: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transition: right 0.5s var(--ease);
}
.card-glow:hover {
  transform: translateY(-6px);
  border-color: rgba(233, 180, 76, 0.35);
  background: var(--card-hover);
}
.card-glow:hover::before { right: 1.9rem; }

.icon-orb {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  background: linear-gradient(145deg, rgba(233, 180, 76, 0.14), rgba(233, 180, 76, 0.04));
  border: 1px solid rgba(233, 180, 76, 0.28);
  margin-bottom: 1.4rem;
}
.icon-orb.mint {
  color: var(--aurora);
  background: linear-gradient(145deg, rgba(94, 212, 200, 0.14), rgba(94, 212, 200, 0.04));
  border-color: rgba(94, 212, 200, 0.28);
}

.card-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: rgba(233, 180, 76, 0.22);
  font-weight: 600;
  line-height: 1;
  position: absolute;
  top: 1.4rem;
  right: 1.6rem;
}

/* image card */
.img-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  position: relative;
  height: 100%;
  display: block;
}
.img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.7s var(--ease);
  filter: saturate(0.9);
}
.img-card:hover img { transform: scale(1.06); filter: saturate(1.1); }
.img-card .img-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 9, 18, 0.88) 4%, rgba(7, 9, 18, 0.12) 55%, transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
}
.img-card .img-tag {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  background: rgba(11, 14, 28, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(233, 180, 76, 0.35);
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.34rem 0.85rem;
  border-radius: 999px;
}

/* ---- stats -------------------------------------------------------------------- */
.stats-band {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(233, 180, 76, 0.035), transparent);
}
.stat-item { padding: 2.4rem 1rem; text-align: center; position: relative; }
.stat-item + .stat-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26%;
  bottom: 26%;
  width: 1px;
  background: var(--line-soft);
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.05;
}
.stat-value span { color: var(--gold); }
.stat-label {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

/* ---- split / feature rows -------------------------------------------------------- */
.split-img {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  position: relative;
}
.split-img img { width: 100%; display: block; }
.split-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(233, 180, 76, 0.1), transparent 45%);
  pointer-events: none;
}
.split-img .float-chip {
  position: absolute;
  bottom: 1.4rem;
  left: 1.4rem;
  right: 1.4rem;
  background: rgba(11, 14, 28, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.split-img .float-chip .bi { color: var(--gold); font-size: 1.3rem; }
.split-img .float-chip strong { display: block; font-size: 0.95rem; }
.split-img .float-chip small { color: var(--muted); }

.tick-list { list-style: none; padding: 0; margin: 0; }
.tick-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  color: var(--muted);
  padding: 0.55rem 0;
}
.tick-list .bi-check-circle-fill { color: var(--gold); margin-top: 0.28rem; flex-shrink: 0; }
.tick-list strong { color: var(--ink); font-weight: 600; }

/* ---- steps ------------------------------------------------------------------------ */
.step-row { position: relative; }
.step-col { position: relative; padding-top: 1.6rem; }
.step-col::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.step-idx {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.16em;
  margin-bottom: 0.6rem;
  display: block;
}

/* ---- testimonial -------------------------------------------------------------------- */
.quote-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 2.4rem;
  height: 100%;
  position: relative;
}
.quote-card .bi-quote {
  font-size: 2.4rem;
  color: var(--gold);
  opacity: 0.7;
}
.quote-card p { color: var(--ink); font-size: 1.06rem; font-style: italic; }
.quote-who { display: flex; align-items: center; gap: 0.9rem; margin-top: 1.4rem; }
.quote-who .avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: #14110a;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  flex-shrink: 0;
}
.quote-who strong { display: block; font-size: 0.96rem; }
.quote-who small { color: var(--muted); }

/* ---- CTA band ------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  padding: 4.5rem 3rem;
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(233, 180, 76, 0.16), transparent),
    radial-gradient(500px 300px at 10% 90%, rgba(94, 212, 200, 0.1), transparent),
    var(--bg-2);
  border: 1px solid rgba(233, 180, 76, 0.2);
  text-align: center;
}
.cta-band h2 { margin-bottom: 1rem; }
.cta-band .lead { max-width: 620px; margin: 0 auto 2.2rem; }

/* ---- forms ------------------------------------------------------------------------------ */
.form-panel {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  padding: 2.6rem;
}
.form-label {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.4rem;
}
.form-label .req { color: var(--gold); }
.form-control, .form-select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 12px;
  padding: 0.72rem 1rem;
  font-size: 0.97rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.form-control::placeholder { color: rgba(154, 160, 188, 0.55); }
.form-control:focus, .form-select:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(233, 180, 76, 0.14);
  color: var(--ink);
}
.form-select option { background: var(--bg-2); color: var(--ink); }
.form-control.is-invalid, .form-select.is-invalid { border-color: #e5606e; }
.invalid-feedback { color: #e5606e; font-size: 0.84rem; }

/* ---- info cards (contact) ------------------------------------------------------------------ */
.info-card {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 1.7rem;
  height: 100%;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.info-card:hover { border-color: rgba(233, 180, 76, 0.35); transform: translateY(-4px); }
.info-card .info-ico {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gold);
  background: rgba(233, 180, 76, 0.1);
  border: 1px solid rgba(233, 180, 76, 0.26);
}
.info-card h3 { font-size: 1.02rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; margin-bottom: 0.35rem; }
.info-card p, .info-card a { margin: 0; color: var(--muted); font-size: 0.96rem; word-break: break-word; }
.info-card a:hover { color: var(--gold); }

/* ---- case filter ------------------------------------------------------------------------------ */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: 3rem; }
.filter-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.5rem 1.4rem;
  border-radius: 999px;
  transition: all 0.3s var(--ease);
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active { background: var(--gold); border-color: var(--gold); color: #14110a; }

.case-item { transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.case-item.hide { display: none; }

/* ---- values / timeline (about) ------------------------------------------------------------------ */
.value-row {
  display: flex;
  gap: 1.4rem;
  padding: 1.9rem 0;
  border-top: 1px solid var(--line-soft);
}
.value-row:last-child { border-bottom: 1px solid var(--line-soft); }
.value-idx {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: rgba(233, 180, 76, 0.4);
  line-height: 1;
  min-width: 64px;
}
.value-row h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.value-row p { margin: 0; font-size: 0.97rem; }

/* ---- footer ---------------------------------------------------------------------------------------- */
.site-footer {
  margin-top: 5rem;
  background: #070912;
  border-top: 1px solid var(--line-soft);
  padding: 4.5rem 0 0;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 280px;
  background: radial-gradient(closest-side, rgba(233, 180, 76, 0.09), transparent);
  pointer-events: none;
}
.footer-brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.2rem; }
.site-footer h5 {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 1.3rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.65rem; }
.footer-links a { color: var(--muted); font-size: 0.95rem; }
.footer-links a:hover { color: var(--gold); padding-left: 4px; transition: padding 0.25s var(--ease); }
.footer-contact li {
  color: var(--muted);
  font-size: 0.95rem;
  display: flex;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}
.footer-contact .bi { color: var(--gold); margin-top: 0.25rem; flex-shrink: 0; }
.footer-contact a { color: var(--muted); }
.footer-contact a:hover { color: var(--gold); }
.footer-about-text { color: var(--muted); font-size: 0.94rem; max-width: 320px; }

.newsletter-inline { display: flex; gap: 0.5rem; margin-top: 1.1rem; }
.newsletter-inline .form-control { border-radius: 999px; padding: 0.55rem 1.1rem; font-size: 0.9rem; }
.newsletter-inline .btn {
  border-radius: 999px;
  background: var(--gold);
  border-color: var(--gold);
  color: #14110a;
  font-weight: 700;
  flex-shrink: 0;
}
.newsletter-inline .btn:hover { background: var(--gold-bright); color: #14110a; }

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  margin-top: 3.5rem;
  padding: 1.4rem 0;
}
.footer-bottom small { color: var(--muted); }
.footer-bottom a { color: var(--muted); font-size: 0.875rem; }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.3s var(--ease);
}
.footer-social a:hover { color: #14110a; background: var(--gold); border-color: var(--gold); transform: translateY(-3px); }

/* ---- toast system ------------------------------------------------------------------------------------ */
.toast-stack {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: min(400px, calc(100vw - 2.4rem));
}
.cb-toast {
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
  background: rgba(16, 20, 42, 0.96);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.05rem 1.2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}
.cb-toast.show { transform: translateX(0); opacity: 1; }
.cb-toast::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
}
.cb-toast .toast-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  background: rgba(233, 180, 76, 0.12);
  color: var(--gold);
  border: 1px solid rgba(233, 180, 76, 0.3);
}
.cb-toast .toast-title { font-weight: 700; font-size: 0.97rem; color: var(--ink); }
.cb-toast .toast-msg { color: var(--muted); font-size: 0.88rem; margin: 0.15rem 0 0; }
.cb-toast .toast-close {
  background: none;
  border: none;
  color: var(--muted);
  padding: 0 0 0 0.4rem;
  line-height: 1;
  flex-shrink: 0;
}
.cb-toast .toast-close:hover { color: var(--ink); }
.cb-toast.success::before { background: #58c98b; }
.cb-toast.success .toast-ico { color: #58c98b; background: rgba(88, 201, 139, 0.12); border-color: rgba(88, 201, 139, 0.3); }
.cb-toast.error::before { background: #e5606e; }
.cb-toast.error .toast-ico { color: #e5606e; background: rgba(229, 96, 110, 0.12); border-color: rgba(229, 96, 110, 0.3); }
.cb-toast.info::before { background: var(--aurora); }
.cb-toast.info .toast-ico { color: var(--aurora); background: rgba(94, 212, 200, 0.12); border-color: rgba(94, 212, 200, 0.3); }

/* ---- reveal animation --------------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }
.reveal-d3 { transition-delay: 0.36s; }
.reveal-d4 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- responsive ---------------------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .site-nav .navbar-collapse {
    background: rgba(11, 14, 28, 0.97);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.2rem 1.4rem;
    margin-top: 0.8rem;
    backdrop-filter: blur(14px);
  }
  .site-nav .nav-link { padding: 0.6rem 0.2rem !important; }
  .site-nav .nav-link::after { display: none; }
  .stat-item + .stat-item::before { display: none; }
  .hero { padding-top: 8rem; }
  .cta-band { padding: 3.2rem 1.6rem; }
}

@media (max-width: 575.98px) {
  .section { padding: 4.5rem 0; }
  .form-panel { padding: 1.8rem 1.4rem; }
  .page-hero { padding: 9rem 0 4rem; }
}
