/* ==========================================================================
   BlueSkyEdit — stylesheet
   ========================================================================== */

:root {
  --dark: #0e0e10;
  --dark-soft: #1a1a1d;
  --dark-card: #17171a;
  --orange: #ff5a1f;
  --orange-dark: #e04a13;
  --orange-light: #fff1ea;
  --cream: #f7f3ec;
  --cream-border: #eae4d8;
  --text: #14141a;
  --text-muted: #6b6f76;
  --text-soft: #9a9da3;
  --white: #ffffff;
  --border: #ececea;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(14, 14, 16, 0.08);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
@media (max-width: 768px) {
  .section { padding: 64px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--orange);
  display: inline-block;
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.2; letter-spacing: -0.02em; }
.section-head p { margin-top: 14px; color: var(--text-muted); font-size: 17px; line-height: 1.6; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 8px 20px rgba(255, 90, 31, 0.35); }
.btn-primary:hover { background: var(--orange-dark); box-shadow: 0 10px 24px rgba(255, 90, 31, 0.45); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: #000; }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--text); }
.btn-outline-light { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.25); }
.btn-outline-light:hover { border-color: rgba(255,255,255,0.6); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------------- Header ---------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo { display: flex; align-items: center; gap: 11px; }
.logo-mark { width: 40px; height: 40px; flex-shrink: 0; display: block; }
.logo-mark svg { display: block; width: 100%; height: 100%; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-line1 { font-weight: 800; font-size: 16px; letter-spacing: 0.01em; }
.logo-line2 { font-weight: 700; font-size: 10px; letter-spacing: 0.18em; color: var(--orange); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { position: relative; font-size: 14.5px; font-weight: 500; color: var(--text); opacity: 0.8; transition: opacity .15s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1.5px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--border); }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ""; display: block; width: 18px; height: 1.5px; background: var(--text); position: relative; }
.nav-toggle { flex-direction: column; gap: 4px; }

@media (max-width: 900px) {
  .nav-links { position: fixed; top: 78px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: flex-start; padding: 24px; gap: 18px; border-bottom: 1px solid var(--border); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all .2s ease; }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle { display: flex; }
  .header-actions .btn-dark span.label { display: none; }
}

/* ---------------- Hero ---------------- */
.hero { padding: 80px 0 60px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange-light); color: var(--orange-dark);
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 22px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); position: relative; }
.hero-badge .dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1.5px solid var(--orange); opacity: 0.6;
  animation: pulseDot 1.8s ease-out infinite;
}
@keyframes pulseDot {
  0% { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(2.2); opacity: 0; }
}
.hero h1 { font-size: clamp(38px, 5vw, 58px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
.hero h1 .highlight { color: var(--orange); position: relative; white-space: nowrap; }
.hero p.lead { margin-top: 20px; font-size: 18px; line-height: 1.6; color: var(--text-muted); max-width: 480px; }
.hero-cta { display: flex; align-items: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.hero-trust .stars { color: var(--orange); font-size: 15px; letter-spacing: 2px; }
.hero-trust span.note { font-size: 13.5px; color: var(--text-muted); }

.hero-visual { position: relative; height: 460px; }
.hero-visual .hv-main {
  position: absolute; inset: 30px 10px 30px 40px;
  border-radius: var(--radius-lg);
  background: #0e0e10;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-visual .hv-main img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transform: scale(1.01);
  animation: heroZoom 16s ease-in-out infinite alternate;
}
.hero-visual .hv-main::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,138,76,0.35), transparent 55%);
}
@keyframes heroZoom {
  from { transform: scale(1.0); }
  to { transform: scale(1.08); }
}
.float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  z-index: 2;
}
.float-card .ic { width: 30px; height: 30px; border-radius: 8px; display:flex; align-items:center; justify-content:center; font-size:15px; flex-shrink: 0; }
.fc-1 { top: 6px; right: 10px; }
.fc-1 .ic { background: var(--orange-light); color: var(--orange); }
.fc-2 { bottom: 40px; left: -10px; }
.fc-2 .ic { background: #eafaf0; color: #22a35a; }
.fc-3 { bottom: 10px; right: 30px; }
.fc-3 .ic { background: #eef3ff; color: #3b6fe0; }
.float-anim { animation: floatBob 4s ease-in-out infinite; animation-delay: var(--delay, 0s); }
@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .float-anim, .hero-visual .hv-main img { animation: none; }
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero p.lead { max-width: 100%; }
  .hero-visual { height: 340px; margin-top: 10px; }
}

/* ---------------- Media banner ---------------- */
.media-banner { padding: 0 0 96px; }
.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/7;
  background: linear-gradient(135deg, #2a4a3c, #16211c 55%, #0e0e10);
  background-size: cover;
  background-position: center;
  display: flex; align-items: center; justify-content: center;
}
.media-frame::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.45));
}
.media-frame .yt-badge {
  position: absolute; top: 20px; left: 20px;
  display: flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,0.55); color: #fff; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
}
.media-frame .yt-badge .yt-icon { color: #ff0000; font-size: 16px; }
.play-btn {
  position: relative; z-index: 1;
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--white); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transition: transform .2s ease;
  cursor: pointer;
}
.play-btn:hover { transform: scale(1.08); }
.play-btn::after {
  content: ""; width: 0; height: 0;
  border-top: 12px solid transparent; border-bottom: 12px solid transparent;
  border-left: 20px solid var(--dark); margin-left: 5px;
}

/* ---------------- Stats ---------------- */
.stats { background: var(--cream); border-top: 1px solid var(--cream-border); border-bottom: 1px solid var(--cream-border); padding: 56px 0; }
.stats .container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 32px; text-align: center; }
.stat h3 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; color: var(--dark); letter-spacing: -0.02em; }
.stat h3 span { color: var(--orange); }
.stat p { margin-top: 6px; color: var(--text-muted); font-size: 14.5px; font-weight: 500; }

/* ---------------- Feature cards (What we do best) ---------------- */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-card {
  background: var(--dark-card); color: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px;
  position: relative;
  overflow: hidden;
  min-height: 220px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.18); }
.feature-card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(255,90,31,0.18), transparent 60%);
  pointer-events: none;
}
.feature-card .f-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--orange); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 22px;
}
.feature-card h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.feature-card p { margin-top: 10px; color: #b9b9bd; font-size: 14.5px; line-height: 1.6; max-width: 380px; }
.feature-card .f-tags { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.feature-card .f-tags span { background: rgba(255,255,255,0.08); padding: 6px 12px; border-radius: 999px; font-size: 12.5px; color: #e6e6e6; }
@media (max-width: 800px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------------- How it works ---------------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step-card {
  background: var(--cream);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.step-card .step-num {
  position: absolute; top: 20px; right: 22px;
  font-size: 13px; font-weight: 700; color: var(--text-soft);
}
.step-card .s-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--white); border: 1px solid var(--cream-border);
  display: flex; align-items: center; justify-content: center; font-size: 19px; margin-bottom: 18px;
}
.step-card h3 { font-size: 16.5px; font-weight: 700; }
.step-card p { margin-top: 8px; font-size: 13.8px; color: var(--text-muted); line-height: 1.55; }
@media (max-width: 900px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps-grid { grid-template-columns: 1fr; } }

/* ---------------- Portfolio ---------------- */
.portfolio-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; }
.portfolio-grid .p-col { display: flex; flex-direction: column; gap: 22px; }
.p-card { border-radius: var(--radius-md); overflow: hidden; background: var(--dark-card); position: relative; transition: transform .3s ease, box-shadow .3s ease; }
.p-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.25); }
.p-thumb .mini-play { transition: transform .25s ease; }
.p-card:hover .mini-play { transform: scale(1.12); }
.p-thumb {
  aspect-ratio: 16/10; position: relative; display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 0; cursor: pointer;
  background-color: #14161a; background-size: cover; background-position: center;
}
.p-thumb::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.45));
}
.p-thumb.g1::before { background: rgba(0,0,0,0.06); }
.p-thumb .mini-play { box-shadow: 0 6px 18px rgba(0,0,0,0.3); position: relative; z-index: 1; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.92); display: flex; align-items: center; justify-content: center; }
.p-thumb .mini-play::after { content: ""; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 12px solid var(--dark); margin-left: 3px; }
.p-info { padding: 18px 20px 22px; color: var(--white); }
.p-info h4 { font-size: 15px; font-weight: 600; }
.p-info p { margin-top: 6px; font-size: 13px; color: #a9a9ad; }
.p-col .p-card { flex: 1; }
.p-col .p-thumb { aspect-ratio: auto; height: 100%; min-height: 140px; }
.portfolio-grid > .p-card .p-info { padding: 22px 26px 26px; }
@media (max-width: 900px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-grid .p-col { flex-direction: row; }
}
@media (max-width: 560px) { .portfolio-grid .p-col { flex-direction: column; } }

/* ---------------- Burnout / comparison ---------------- */
.compare-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.compare-col { padding: 40px 36px; }
.compare-col.problem { background: var(--cream); }
.compare-col.solution { background: var(--dark); color: var(--white); }
.compare-label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 20px; display: block; }
.compare-col.problem .compare-label { color: #b0483a; }
.compare-col.solution .compare-label { color: var(--orange); }
.compare-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,0.06); font-size: 15px; }
.compare-col.solution .compare-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
.compare-item .mark { width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; margin-top: 1px; }
.compare-col.problem .mark { background: #f3d9d4; color: #b0483a; }
.compare-col.solution .mark { background: rgba(255,90,31,0.2); color: var(--orange); }
@media (max-width: 760px) { .compare-wrap { grid-template-columns: 1fr; } }

/* ---------------- Pricing ---------------- */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 24px; }
.price-card { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px; position: relative; background: var(--white); transition: transform .3s ease, box-shadow .3s ease; display: flex; flex-direction: column; }
.price-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
.price-card.popular { border-color: var(--dark); box-shadow: 0 14px 34px rgba(0,0,0,0.1); }
.price-card.popular:hover { box-shadow: 0 22px 44px rgba(0,0,0,0.18); }
.price-card .badge-pop { position: absolute; top: -13px; right: 24px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 999px; }
.price-card h3 { font-size: 14px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.price-card .price { display: flex; align-items: baseline; gap: 5px; margin-top: 14px; flex-wrap: wrap; }
.price-card .price .amount { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.price-card .price .per { color: var(--text-muted); font-size: 13px; }
.price-card .feature-list { margin: 22px 0 24px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.price-card .feature-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; line-height: 1.4; color: var(--text); }
.price-card .feature-list li .chk { color: var(--orange); font-weight: 700; margin-top: 2px; }
@media (max-width: 1100px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
.price-card-custom {
  background: var(--dark); color: var(--white);
  border-radius: var(--radius-lg); padding: 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.price-card-custom h3 { font-size: 22px; font-weight: 700; }
.price-card-custom p { margin-top: 8px; color: #b9b9bd; font-size: 14.5px; max-width: 420px; }
@media (max-width: 760px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ---------------- Testimonials ---------------- */
.testi-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; }
.testi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.testi-card { background: var(--cream); border: 1px solid var(--cream-border); border-radius: var(--radius-md); padding: 26px; transition: transform .3s ease, box-shadow .3s ease; }
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.testi-card .stars { color: var(--orange); font-size: 13px; letter-spacing: 2px; margin-bottom: 14px; }
.testi-card p.quote { font-size: 14.5px; line-height: 1.6; color: var(--text); }
.testi-card .who { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.testi-card .avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.testi-card .who strong { font-size: 13.5px; display: block; }
.testi-card .who span { font-size: 12px; color: var(--text-muted); }
.booking-card {
  background: var(--dark); color: var(--white);
  border-radius: var(--radius-lg); padding: 34px;
  display: flex; flex-direction: column; justify-content: center; text-align: center; gap: 18px;
}
.booking-card .b-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--orange); margin: 0 auto; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.booking-card h3 { font-size: 20px; font-weight: 700; }
.booking-card p { color: #b9b9bd; font-size: 14px; }
@media (max-width: 900px) {
  .testi-wrap { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
}

/* ---------------- FAQ ---------------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: var(--white); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; font-size: 15.5px; font-weight: 600; text-align: left; }
.faq-q .plus { font-size: 20px; color: var(--orange); transition: transform .2s ease; flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a-inner { padding: 0 24px 20px; color: var(--text-muted); font-size: 14.5px; line-height: 1.6; }
.faq-item.open .faq-a { max-height: 240px; }

/* ---------------- Final CTA ---------------- */
.final-cta {
  background: var(--dark); color: var(--white);
  border-radius: var(--radius-lg);
  padding: 70px 40px;
  text-align: center;
  margin: 0 24px;
  position: relative;
  overflow: hidden;
}
.final-cta::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,90,31,0.25), transparent 60%);
}
.final-cta h2 { font-size: clamp(28px, 4vw, 40px); position: relative; letter-spacing: -0.02em; }
.final-cta p { margin-top: 14px; color: #b9b9bd; position: relative; max-width: 520px; margin-left: auto; margin-right: auto; }
.final-cta .hero-cta { justify-content: center; position: relative; z-index: 1; margin-top: 30px; }

/* ---------------- Footer ---------------- */
.footer { background: var(--dark); color: #b9b9bd; padding: 70px 0 30px; margin-top: 96px; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .logo { color: var(--white); }
.footer-brand p { margin-top: 14px; font-size: 14px; line-height: 1.6; max-width: 280px; }
.footer-col h5 { color: var(--white); font-size: 13.5px; font-weight: 700; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; transition: color .15s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 26px; font-size: 13px; flex-wrap: wrap; gap: 14px; }
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------------- misc ---------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .45s ease, box-shadow .3s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

.stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.stagger > .reveal:nth-child(2) { transition-delay: .08s; }
.stagger > .reveal:nth-child(3) { transition-delay: .16s; }
.stagger > .reveal:nth-child(4) { transition-delay: .24s; }

.stat h3 { transition: transform .2s ease; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-anim { animation: none; }
}

.footer-col button {
  background: none; border: none; padding: 0; margin: 0;
  font: inherit; color: inherit; cursor: pointer; text-align: left;
}

/* ---------------- Modals ---------------- */
body.modal-open { overflow: hidden; }
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10, 10, 12, 0.6);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-dialog {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 460px;
  max-height: 90vh; overflow-y: auto;
  padding: 38px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.22s ease;
}
.modal-overlay.open .modal-dialog { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); font-size: 18px; line-height: 1;
  color: var(--text-muted); background: var(--white);
  transition: background 0.15s ease, color 0.15s ease;
}
.modal-close:hover { background: var(--cream); color: var(--text); }
.modal-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--orange-light); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 21px; margin-bottom: 18px;
}
.modal-dialog h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; padding-right: 20px; }
.modal-sub { margin-top: 8px; color: var(--text-muted); font-size: 14px; line-height: 1.55; }
.modal-form { margin-top: 24px; display: flex; flex-direction: column; gap: 15px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 12.5px; font-weight: 600; color: var(--text); }
.form-field input, .form-field textarea {
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 14.5px; font-family: inherit; color: var(--text);
  background: var(--white); transition: border-color 0.15s ease;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--orange); }
.form-field textarea { resize: vertical; min-height: 84px; }
.form-note { font-size: 12.5px; color: var(--text-soft); margin-top: -2px; text-align: center; }
.form-status { font-size: 13px; padding: 10px 14px; border-radius: var(--radius-sm); display: none; }
.form-status.show { display: block; }
.form-status.success { background: #eafaf0; color: #1b7a43; }
.form-status.error { background: #fdeeeb; color: #c23b23; }
.modal-success { text-align: center; padding: 6px 0 2px; }
.modal-success .ms-icon {
  width: 54px; height: 54px; border-radius: 50%;
  background: #eafaf0; color: #22a35a;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin: 0 auto 16px;
}
.honeypot-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

/* ---------------- Video Lightbox ---------------- */
.video-lightbox-overlay { background: rgba(6, 6, 8, 0.88); }
.video-lightbox-dialog {
  position: relative;
  width: 100%; max-width: 920px;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.video-lightbox-dialog.portrait { max-width: calc(80vh * 0.5625); }
.video-lightbox-dialog video { display: block; width: 100%; max-height: 80vh; background: #000; }
.video-lightbox-close {
  top: -46px; right: 0;
  background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.25); color: #fff;
}
.video-lightbox-close:hover { background: rgba(255, 255, 255, 0.22); color: #fff; }

.footer-legal-entity { margin-top: 18px; font-size: 12.5px; line-height: 1.6; color: #8a8a8f; }
.placeholder-note {
  display: inline-block;
  color: var(--orange);
  border: 1px dashed rgba(255, 90, 31, 0.5);
  border-radius: 6px;
  padding: 1px 8px;
  margin-top: 2px;
}

/* ---------------- Legal pages ---------------- */
.legal-hero { padding: 56px 0 8px; }
.legal-hero .eyebrow { justify-content: flex-start; }
.legal-hero h1 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.02em; }
.legal-updated { margin-top: 12px; color: var(--text-soft); font-size: 13.5px; }
.legal-content { max-width: 760px; margin: 0 auto; padding: 40px 24px 100px; }
.legal-content h2 { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; margin-top: 42px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-top: 14px; color: var(--text-muted); font-size: 15px; line-height: 1.75; }
.legal-content ul { margin-top: 14px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal-content li { color: var(--text-muted); font-size: 15px; line-height: 1.7; list-style: disc; }
.legal-content a { color: var(--orange); font-weight: 600; }
.legal-content a:hover { text-decoration: underline; }
.legal-content .callout {
  margin-top: 28px;
  background: var(--cream);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}
.legal-content .callout p { margin-top: 0; }
.legal-nav-back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--text-muted); margin-bottom: 18px; }
.legal-nav-back:hover { color: var(--orange); }
