/* =====================================================
   Sonijay TV — Premium Cinematic Media Website
   Global stylesheet
   ===================================================== */

:root {
  --gold: #D4AF37;
  --gold-soft: #E8C86A;
  --gold-deep: #a8862a;
  --red: #C8102E;
  --red-soft: #ff2d4a;
  --bg: #0A0A0A;
  --bg-soft: #111111;
  --bg-card: rgba(255, 255, 255, 0.04);
  --border-glass: rgba(212, 175, 55, 0.25);
  --text: #ffffff;
  --muted: #b8b8b8;
  --shadow-gold: 0 20px 60px -20px rgba(212, 175, 55, 0.35);
  --shadow-red: 0 20px 60px -20px rgba(200, 16, 46, 0.4);
  --grad-gold: linear-gradient(135deg, #f5d878 0%, #D4AF37 45%, #a8862a 100%);
  --grad-red: linear-gradient(135deg, #ff3a56 0%, #C8102E 100%);
  --font-display: 'Montserrat', 'Poppins', sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s ease; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Radial ambient glows behind sections */
body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(1200px 800px at 10% -10%, rgba(212,175,55,.10), transparent 60%),
    radial-gradient(900px 700px at 100% 10%, rgba(200,16,46,.08), transparent 60%),
    radial-gradient(1000px 800px at 50% 100%, rgba(212,175,55,.06), transparent 60%);
}

main, header, footer, section { position: relative; z-index: 1; }

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.25rem; }
p  { color: var(--muted); }

.text-gold { color: var(--gold); }
.text-red  { color: var(--red-soft); }
.gradient-text {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .75rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
  padding: .5rem 1rem;
  border: 1px solid var(--border-glass);
  border-radius: 999px;
  background: rgba(212,175,55,.05);
  backdrop-filter: blur(10px);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 12px var(--gold);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-head {
  text-align: center; max-width: 720px; margin: 0 auto clamp(2rem, 5vw, 4rem);
}
.section-head p { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  letter-spacing: .02em;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease;
  will-change: transform;
}
.btn-primary {
  background: var(--grad-gold);
  color: #0a0a0a;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: var(--grad-red);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-red);
}
.btn-ghost {
  border: 1px solid var(--border-glass);
  color: #fff;
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.1rem 0;
  transition: background .35s ease, backdrop-filter .35s ease, padding .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8,8,8,.85);
  backdrop-filter: blur(16px);
  padding: .7rem 0;
  border-bottom-color: rgba(212,175,55,.15);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: min(1200px, 92%); margin-inline: auto;
}
.brand {
  display: flex; align-items: center; gap: .65rem;
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: .02em;
}
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--grad-gold);
  color: #0a0a0a;
  display: grid; place-items: center;
  font-weight: 900; font-size: 1.05rem;
  box-shadow: 0 8px 24px -8px rgba(212,175,55,.6);
}
.brand-mark span { color: var(--red); }

.nav-links {
  display: flex; align-items: center; gap: 2rem; list-style: none;
}
.nav-links a {
  position: relative;
  font-size: .92rem; font-weight: 500; color: #eaeaea;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .35s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }

.nav-cta { margin-left: 1rem; padding: .7rem 1.2rem; font-size: .85rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--border-glass); color: var(--gold);
  font-size: 1.2rem;
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .mobile-menu.open { display: flex; }
}

.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 99;
  background: rgba(5,5,5,.96);
  backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 1.6rem;
  animation: fade .3s ease;
}
.mobile-menu a { font-size: 1.3rem; font-weight: 600; }
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .btn { margin-top: 1rem; }

@keyframes fade { from {opacity: 0;} to {opacity: 1;} }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid; place-items: center;
  padding: 8rem 0 4rem;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .5;
  transform: scale(1.05);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 50% 60%, transparent 0%, rgba(10,10,10,.7) 60%, #0a0a0a 100%),
    linear-gradient(180deg, rgba(10,10,10,.5), rgba(10,10,10,.9));
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.18); }
}

.hero-inner { text-align: center; max-width: 900px; }
.hero h1 { margin: 1.2rem 0; }
.hero h1 .accent { display: block; }
.hero .sub {
  font-size: 1.1rem; color: var(--gold);
  font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero p.lead {
  max-width: 640px; margin: 1.2rem auto 2rem;
  font-size: 1.05rem; color: #d5d5d5;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Floating decorative icons */
.float-icon {
  position: absolute; color: var(--gold); opacity: .15;
  font-size: clamp(2rem, 4vw, 3.5rem);
  animation: float 8s ease-in-out infinite;
  filter: drop-shadow(0 8px 20px rgba(212,175,55,.35));
}
.float-icon.i1 { top: 18%; left: 8%; animation-delay: 0s; }
.float-icon.i2 { top: 30%; right: 10%; animation-delay: 1.5s; color: var(--red-soft); }
.float-icon.i3 { bottom: 22%; left: 14%; animation-delay: 3s; }
.float-icon.i4 { bottom: 15%; right: 8%; animation-delay: 4.5s; color: var(--red-soft); }
@keyframes float {
  0%,100% { transform: translateY(0) rotate(-4deg); }
  50%     { transform: translateY(-25px) rotate(4deg); }
}

/* Hero page banner (inner pages) */
.page-hero {
  padding: 10rem 0 5rem;
  text-align: center;
  position: relative; overflow: hidden;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(212,175,55,.12), transparent 70%),
    linear-gradient(180deg, #050505 0%, #0a0a0a 100%);
  border-bottom: 1px solid rgba(212,175,55,.15);
}
.page-hero h1 { margin: 1rem 0 .8rem; }
.page-hero p { max-width: 640px; margin: 0 auto; font-size: 1.05rem; }

/* ---------- Glass card ---------- */
.glass {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  backdrop-filter: blur(14px);
  transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.glass:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

/* ---------- Grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* ---------- Service cards ---------- */
.service-card {
  padding: 2rem 1.6rem;
  text-align: left;
  position: relative; overflow: hidden;
}
.service-card .icon-wrap {
  width: 64px; height: 64px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--grad-gold); color: #0a0a0a;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 12px 30px -10px rgba(212,175,55,.5);
  transition: background .4s ease, color .4s ease, transform .4s ease;
}
.service-card:hover .icon-wrap {
  background: var(--grad-red); color: #fff;
  transform: rotate(-6deg) scale(1.05);
}
.service-card h3 { margin-bottom: .6rem; }
.service-card p { margin-bottom: 1.2rem; font-size: .95rem; }
.service-card .link {
  color: var(--gold); font-weight: 600; font-size: .9rem;
  display: inline-flex; align-items: center; gap: .4rem;
}
.service-card .link:hover { color: var(--red-soft); gap: .7rem; }

/* ---------- Feature (why) cards ---------- */
.feature-card {
  padding: 1.6rem;
  text-align: center;
}
.feature-card .num {
  display: inline-block;
  font-family: var(--font-display); font-weight: 800;
  font-size: 2.2rem;
  background: var(--grad-gold);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: .4rem;
}
.feature-card i {
  font-size: 2rem; color: var(--gold);
  margin-bottom: .8rem;
}
.feature-card h4 { font-size: 1.05rem; margin-bottom: .4rem; }
.feature-card p { font-size: .9rem; }

/* ---------- About preview ---------- */
.about-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.about-split .media {
  border-radius: 24px; overflow: hidden;
  border: 1px solid rgba(212,175,55,.25);
  box-shadow: var(--shadow-gold);
  position: relative;
}
.about-split .media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.about-split .media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, transparent 50%, rgba(200,16,46,.25));
}
@media (max-width: 820px) { .about-split { grid-template-columns: 1fr; } }

/* ---------- Stats / counters ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  padding: 2rem; border-radius: 24px;
  background: linear-gradient(180deg, rgba(212,175,55,.06), rgba(200,16,46,.04));
  border: 1px solid rgba(212,175,55,.2);
}
.stat { text-align: center; padding: 1rem; }
.stat .num {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem);
  background: var(--grad-gold);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat .label { color: var(--muted); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- CTA band ---------- */
.cta-band {
  padding: clamp(3rem, 7vw, 6rem) 0;
  text-align: center;
  background:
    radial-gradient(600px 400px at 50% 50%, rgba(200,16,46,.18), transparent 70%),
    linear-gradient(180deg, #0a0a0a, #050505);
  border-top: 1px solid rgba(212,175,55,.2);
  border-bottom: 1px solid rgba(212,175,55,.2);
}
.cta-band h2 { margin-bottom: 1rem; }
.cta-band p { max-width: 560px; margin: 0 auto 2rem; }

/* ---------- Footer ---------- */
footer {
  padding: 4rem 0 1.5rem;
  background: #050505;
  border-top: 1px solid rgba(212,175,55,.15);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem; margin-bottom: 2.5rem;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h5 {
  font-family: var(--font-display); font-size: .85rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer-col a { color: #cfcfcf; font-size: .93rem; }
.footer-col a:hover { color: var(--gold); }
.footer-col p { font-size: .93rem; }
.footer-brand p { margin-top: .8rem; max-width: 320px; }
.socials { display: flex; gap: .7rem; margin-top: 1rem; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(212,175,55,.3);
  color: var(--gold);
  transition: all .3s ease;
}
.socials a:hover { background: var(--grad-gold); color: #0a0a0a; border-color: transparent; transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 1.4rem; text-align: center;
  color: #7c7c7c; font-size: .85rem;
}

/* ---------- Timeline (How it works) ---------- */
.timeline {
  position: relative;
  max-width: 900px; margin: 0 auto;
  padding: 1rem 0;
}
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(180deg, transparent, var(--gold), var(--red), transparent);
  transform: translateX(-50%);
}
.tl-item {
  position: relative; width: 50%;
  padding: 1.5rem 2.5rem;
}
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; text-align: left; }
.tl-card {
  padding: 1.5rem;
  border-radius: 18px;
}
.tl-dot {
  position: absolute; top: 2rem;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad-gold);
  box-shadow: 0 0 0 6px rgba(212,175,55,.15), 0 0 20px rgba(212,175,55,.6);
}
.tl-item:nth-child(odd) .tl-dot { right: -11px; }
.tl-item:nth-child(even) .tl-dot { left: -11px; }
.tl-step {
  display: inline-block; font-size: .75rem; letter-spacing: .25em;
  color: var(--red-soft); text-transform: uppercase; font-weight: 700;
  margin-bottom: .4rem;
}
.tl-card h3 { margin-bottom: .4rem; }

@media (max-width: 700px) {
  .timeline::before { left: 20px; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; left: 0; text-align: left; padding-left: 3rem; padding-right: 0; }
  .tl-item:nth-child(odd) { text-align: left; }
  .tl-item .tl-dot, .tl-item:nth-child(odd) .tl-dot, .tl-item:nth-child(even) .tl-dot { left: 10px; right: auto; }
}

/* ---------- Testimonials ---------- */
.testimonial-carousel {
  position: relative; max-width: 800px; margin: 0 auto;
  min-height: 320px;
}
.testimonial {
  position: absolute; inset: 0;
  padding: 2.5rem;
  border-radius: 24px;
  text-align: center;
  opacity: 0; transform: translateX(30px);
  transition: opacity .6s ease, transform .6s ease;
  pointer-events: none;
}
.testimonial.active { opacity: 1; transform: translateX(0); pointer-events: auto; }
.testimonial .quote-icon {
  color: var(--gold); font-size: 2rem; margin-bottom: 1rem;
}
.testimonial blockquote {
  font-size: 1.15rem; color: #eaeaea; font-style: italic;
  max-width: 640px; margin: 0 auto 1.5rem;
}
.stars { color: var(--gold); font-size: 1rem; margin-bottom: 1rem; letter-spacing: .2em; }
.author {
  display: flex; align-items: center; justify-content: center; gap: .8rem;
}
.avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--grad-gold); color: #0a0a0a;
  display: grid; place-items: center; font-weight: 700;
  border: 2px solid var(--gold);
}
.author .who { text-align: left; }
.author .who strong { color: #fff; display: block; }
.author .who span { font-size: .85rem; color: var(--muted); }

.carousel-dots {
  display: flex; justify-content: center; gap: .5rem; margin-top: 1.5rem;
}
.carousel-dots button {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.2);
  transition: all .3s ease;
}
.carousel-dots button.active { background: var(--gold); width: 30px; border-radius: 5px; }

/* Testimonials grid (secondary) */
.testi-grid { margin-top: 3rem; }
.testi-card { padding: 1.6rem; text-align: left; }
.testi-card blockquote { font-size: .95rem; color: #dcdcdc; font-style: italic; margin: .8rem 0 1rem; }

/* ---------- Forms ---------- */
.form-wrap {
  max-width: 720px; margin: 0 auto;
  padding: 2.5rem;
  border-radius: 24px;
}
.form-row { display: grid; gap: 1.2rem; grid-template-columns: 1fr 1fr; margin-bottom: 1.2rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: .4rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: .8rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: .95rem 1rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  color: #fff; font-family: inherit; font-size: .95rem;
  transition: border-color .3s ease, background .3s ease;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(212,175,55,.05);
}
.form-field .err { color: var(--red-soft); font-size: .8rem; min-height: 1em; }
.form-wrap .btn { width: 100%; justify-content: center; }
.form-success {
  display: none;
  margin-top: 1.2rem; padding: 1rem 1.2rem;
  border-radius: 12px;
  background: rgba(46, 160, 67, .1);
  border: 1px solid rgba(46, 160, 67, .4);
  color: #7bde96;
  font-size: .95rem;
  text-align: center;
}
.form-success.show { display: block; animation: fade .4s ease; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 2.5rem;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-card {
  padding: 1.6rem;
  display: flex; align-items: flex-start; gap: 1rem;
  border-radius: 18px;
}
.info-card .icn {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--grad-gold); color: #0a0a0a;
  flex-shrink: 0;
}
.info-card h4 { font-size: 1rem; margin-bottom: .2rem; }
.info-card p, .info-card a { font-size: .95rem; color: #dcdcdc; }
.info-card a:hover { color: var(--gold); }

.map {
  margin-top: 3rem;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(212,175,55,.25);
  aspect-ratio: 21/9;
  background:
    repeating-linear-gradient(45deg, rgba(212,175,55,.06) 0 2px, transparent 2px 22px),
    linear-gradient(135deg, #101010, #050505);
  display: grid; place-items: center;
  text-align: center;
  position: relative;
}
.map .pin {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--grad-red);
  display: grid; place-items: center;
  color: #fff; font-size: 2rem;
  margin-bottom: 1rem;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(200,16,46,.5); }
  50% { box-shadow: 0 0 0 25px rgba(200,16,46,0); }
}
.map-inner { text-align: center; padding: 1rem; }
.map-inner h4 { margin-bottom: .3rem; }

/* ---------- Values / lists ---------- */
.value-list { list-style: none; display: grid; gap: .8rem; }
.value-list li {
  display: flex; align-items: center; gap: .8rem;
  padding: .9rem 1.1rem;
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  transition: all .3s ease;
}
.value-list li:hover {
  border-color: var(--gold);
  transform: translateX(6px);
}
.value-list i { color: var(--gold); }

/* ---------- Mission / Vision cards ---------- */
.mv-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 700px) { .mv-grid { grid-template-columns: 1fr; } }
.mv-card { padding: 2rem; }
.mv-card .icn {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--grad-gold); color: #0a0a0a;
  font-size: 1.4rem; margin-bottom: 1rem;
}
.mv-card:nth-child(2) .icn { background: var(--grad-red); color: #fff; }

/* ---------- Scroll top ---------- */
.to-top {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad-gold); color: #0a0a0a;
  display: grid; place-items: center;
  box-shadow: var(--shadow-gold);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-4px); background: var(--grad-red); color: #fff; }

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}
[data-reveal].in { opacity: 1; transform: translateY(0); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="left"].in { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="right"].in { transform: translateX(0); }
[data-reveal="zoom"] { transform: scale(.9); }
[data-reveal="zoom"].in { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}
