/* ==========================================================================
   Ilume Labs — Lightweight Brand Theme
   Zero framework dependencies. Pure CSS.
   ========================================================================== */

:root {
  --ink: #0F1115;
  --charcoal: #2A2F36;
  --steel: #6A7078;
  --red: #E04B4B;
  --mist: #FFE4E1;
  --rose-soft: rgba(255, 228, 225, 0.4);
  --bg: #F5F5F5;
  --bg-gradient: radial-gradient(circle at 82% 18%, rgba(245, 245, 245, 0.8) 0%, rgba(245, 245, 245, 0.4) 50%, #F5F5F5 85%);
  --bg-alt: #F5F5F5;
  --surface: #FFFFFF;
  --surface-2: rgba(245, 245, 245, 0.6);
  --text: #0F1115;
  --text-soft: #6A7078;
  --border: rgba(15, 17, 21, 0.09);
  --nav-bg: rgba(245, 245, 245, 0.92);
  --shadow: 0 12px 32px rgba(15, 17, 21, 0.05);
}

[data-theme="dark"] {
  --bg: #0F1115;
  --bg-gradient: radial-gradient(circle at 82% 18%, #1A1E27 0%, #0F1115 75%);
  --bg-alt: #161922;
  --surface: #2A2F36;
  --surface-2: #1D2128;
  --text: #F5F5F4;
  --text-soft: #6A7078;
  --border: rgba(32, 28, 24, 0.15);
  --nav-bg: rgba(15, 17, 21, 0.88);
  --shadow: 0 14px 38px rgba(0, 0, 0, 0.65);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background .4s cubic-bezier(0.16, 1, 0.3, 1), color .4s cubic-bezier(0.16, 1, 0.3, 1);
}
::selection { background: var(--red); color: #fff; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.01em; line-height: 1.2; color: var(--text); }

/* --- Utility --- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.lead-soft { color: var(--text-soft); margin-bottom: 1rem; }
.narrow { max-width: 560px; margin-inline: auto; }
.section-label { display: inline-flex; align-items: center; gap: .5rem; font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--red); margin-bottom: 1rem; }
.section-label.center { justify-content: center; }

/* --- Theme toggle visibility --- */
.dark-only { display: none !important; }
[data-theme="dark"] .light-only { display: none !important; }
[data-theme="dark"] .dark-only { display: block !important; }

/* --- Grid --- */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.align-center { align-items: center; }
@media (max-width: 991px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
@media (min-width: 576px) and (max-width: 991px) { .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) and (max-width: 991px) { .grid-3 { grid-template-columns: 1fr 1fr; } }

/* --- Navbar --- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: .9rem 0;
  transition: background-color .3s, box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-menu {
  display: flex; align-items: center; gap: .25rem;
  list-style: none; margin: 0; padding: 0;
}
.desktop-theme-toggle { display: flex; }
.nav-link {
  color: var(--text-soft); font-weight: 600; font-size: .82rem;
  letter-spacing: .05em; text-transform: uppercase;
  padding: .5rem .75rem; position: relative; transition: color .2s;
}
.nav-link::after {
  content: ""; position: absolute; left: .75rem; bottom: 0;
  width: 0; height: 2px; background: var(--red); transition: width .25s;
}
.nav-link:hover,
.nav-link.active { color: var(--text); }
.nav-link:hover::after,
.nav-link.active::after { width: calc(100% - 1.5rem); }

/* Mobile nav */
.nav-controls { display: none; align-items: center; gap: 0.5rem; }
.mobile-theme-toggle { display: none; }
.nav-toggle { display: none; background: none; border: none; padding: .5rem; }
.hamburger { width: 24px; height: 2px; background: var(--text); display: block; position: relative; transition: .2s; }
.hamburger::before, .hamburger::after { content: ""; position: absolute; left: 0; width: 24px; height: 2px; background: var(--text); transition: .2s; }
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 991px) {
  .nav-controls { display: flex; }
  .mobile-theme-toggle { display: flex; }
  .nav-controls .nav-toggle { display: block; }
  .desktop-theme-toggle { display: none; }
  .nav-theme-item { display: none; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--nav-bg); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 24px; gap: 0;
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height .3s, opacity .3s, padding .3s;
  }
  .nav-menu.open { max-height: 400px; opacity: 1; padding: 1rem 24px; }
  .nav-link { padding: .75rem 0; }
  .nav-link::after { left: 0; }
  .nav-link:hover::after,
  .nav-link.active::after { width: 30px; }
  .nav-menu .theme-toggle { display: none; }
}

/* --- Brand lockup --- */
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-upfront {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform .25s ease;
}
.brand-upfront:hover { transform: scale(1.03); }

/* --- Theme toggle --- */
.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--text); transition: .25s;
}
.theme-toggle:hover { border-color: var(--red); color: var(--red); }
.theme-toggle svg { width: 18px; height: 18px; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun, :root:not([data-theme]) .icon-sun { display: none; }
[data-theme="light"] .icon-moon, :root:not([data-theme]) .icon-moon { display: block; }

/* --- Buttons --- */
.btn-brand {
  display: inline-flex; align-items: center; gap: .5rem; background: var(--red); border: 1px solid var(--red);
  color: #fff; font-weight: 700; font-size: .7rem; letter-spacing: .08em;
  text-transform: uppercase; padding: .5rem 1.2rem; border-radius: 30px; transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px rgba(224, 75, 75, 0.3);
}
.btn-brand:hover {
  background: var(--red); border-color: var(--red);
  transform: translateY(-1px); box-shadow: 0 6px 18px rgba(224, 75, 75, 0.3);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  color: var(--text); font-weight: 700; font-size: .7rem; letter-spacing: .08em;
  text-transform: uppercase; padding: .5rem 1.2rem; border-radius: 30px; transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-theme="dark"] .hero .btn-outline { border-color: rgba(32,28,24,0.4); color: #F5F5F4; }
.btn-outline:hover { border-color: var(--red); color: var(--red); background: rgba(224, 75, 75, 0.06); transform: translateY(-1px); }

/* --- Hero --- */
.hero {
  position: relative; height: 100vh; min-height: 100vh; display: flex; align-items: center;
  padding: 60px 0 0; overflow: hidden;
  background: var(--bg);
}
[data-theme="dark"] .hero { background: #08090b; }
.hero > .container { width: 100%; }
.hero-content { position: relative; z-index: 3; max-width: 900px; text-align: left; }
.hero-badge { margin-bottom: 1.4rem; }
.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.6rem); font-weight: 800; margin-bottom: 1.4rem;
  line-height: 1.08; color: var(--text); text-transform: uppercase; letter-spacing: -.02em;
}
[data-theme="dark"] .hero-title { color: #F5F5F4; }
.hero-title .highlight {
  color: #cd2f31; font-style: normal;
}
.hero-sub { font-size: 1.12rem; color: var(--text-soft); max-width: 620px; line-height: 1.6; margin-bottom: 2.4rem; }
.hero-actions { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }

@media (max-width: 767px) {
  .hero { height: auto; min-height: 100vh; padding: 110px 24px 60px; }
  .hero-actions { gap: 1rem; }
}
@media (max-width: 767px) { .hero { padding: 80px 24px 50px; min-height: auto; } }

/* --- Sections & Visual Boundaries --- */
.section {
  padding: 80px 0;
  scroll-margin-top: 75px;
  position: relative;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.page-header-section, .navbar + .section { padding-top: 110px; }
.section-alt { background: var(--bg-alt); }
.section h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 1.5rem; }

@media (min-width: 992px) {
  .section {
    min-height: calc(100vh - 75px);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 991px) {
  .section {
    padding: 60px 0;
    min-height: auto;
  }
}

/* --- Visual cards --- */
.visual { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
.visual img { width: 100%; display: block; }
.visual-caption { position: absolute; bottom: 0; left: 0; width: 100%; padding: 1.5rem; background: linear-gradient(to top, rgba(15,17,21,.85), transparent); }
.visual-caption small { display: block; color: rgba(255,255,255,.5); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .25rem; }
.visual-caption strong { color: #fff; font-size: 1.1rem; }

/* --- Stylish Flashh Product Showcase --- */
#innovation {
  padding: 45px 0 50px;
}
.product-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.product-logo-badge {
  height: 42px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(224, 75, 75, 0.25));
  transition: transform .25s ease;
}
.product-logo-badge:hover {
  transform: scale(1.05);
}
.product-title {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
  margin: 0;
  display: flex;
  align-items: center;
  transform: translateY(10px);
}
.product-tagline {
  font-size: .88rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .3rem .75rem;
  border-radius: 30px;
  background: rgba(224, 75, 75, 0.1);
  border: 1px solid rgba(224, 75, 75, 0.25);
  color: var(--red);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
  animation: pulseGlow 2s infinite ease-in-out;
}
@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

.product-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin: 1rem 0 1.25rem;
}
@media (max-width: 576px) {
  .product-feature-grid { grid-template-columns: 1fr; }
}

.feature-tile {
  background: linear-gradient(145deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .85rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(224, 75, 75, 0.3);
  box-shadow: 0 6px 18px rgba(224, 75, 75, 0.08);
}

.tile-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(224, 75, 75, 0.12);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tile-icon svg {
  width: 16px;
  height: 16px;
}

.tile-content strong {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .15rem;
}
.tile-content small {
  font-size: .75rem;
  color: var(--text-soft);
  line-height: 1.35;
  display: block;
}

.product-cta-wrap {
  margin-top: 1rem;
}

.product-card-visual {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(224, 75, 75, 0.25);
  box-shadow: 0 15px 36px rgba(15, 17, 21, 0.2);
  transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .4s cubic-bezier(0.16, 1, 0.3, 1), border-color .4s;
}
.product-card-visual img {
  max-height: 390px;
  object-fit: cover;
  width: 100%;
}
.product-card-visual:hover {
  transform: translateY(-3px);
  border-color: rgba(224, 75, 75, 0.4);
  box-shadow: 0 18px 45px rgba(224, 75, 75, 0.18);
}

/* --- Portfolio pills --- */
.pill {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 1.2rem; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border);
  margin-bottom: .85rem; transition: all .25s ease;
}
.pill:hover {
  border-color: var(--red);
  background: linear-gradient(135deg, var(--surface), rgba(224, 75, 75, 0.06));
  transform: translateX(8px);
  box-shadow: 0 8px 22px rgba(224, 75, 75, 0.12);
}
.pill .num { font-weight: 800; color: var(--red); font-size: 1.1rem; min-width: 28px; line-height: 1.2; }
.pill div { display: flex; flex-direction: column; gap: .2rem; }
.pill strong { font-size: .92rem; font-weight: 700; color: var(--text); }
.pill small { font-size: .82rem; color: var(--text-soft); line-height: 1.45; }

/* --- Capability cards --- */
#capabilities .section-label {
  margin-bottom: 0.35rem;
}
#capabilities h2 {
  margin-bottom: 0;
}
.cap-grid { margin-top: 1.4rem; gap: 1.25rem; }
.cap-card {
  background: linear-gradient(145deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border); border-radius: 14px;
  padding: 1.25rem 1.25rem; position: relative; overflow: hidden; transition: all .3s ease;
}
.cap-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.cap-card:hover::before { transform: scaleX(1); }
.cap-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(15, 17, 21, 0.12); border-color: rgba(224,75,75,0.3); }
.cap-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(224,75,75,0.1); border: 1px solid rgba(224,75,75,0.2); display: flex; align-items: center; justify-content: center; margin-bottom: 0.75rem; color: var(--red); }
.cap-icon svg { width: 20px; height: 20px; }
.cap-card h4 { font-size: 1.05rem; margin-bottom: .35rem; }
.cap-card p { color: var(--text-soft); font-size: .88rem; line-height: 1.45; margin: 0; }
.cap-cta {
  background: linear-gradient(145deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
}
.cap-cta h4 { color: var(--text); }
.cap-cta p { color: var(--text-soft); margin-bottom: .75rem; }
.cap-cta .btn-brand { padding: .4rem 1rem; font-size: .68rem; }

/* --- Quote --- */
.quote-wrap { max-width: 1050px; margin: 0 auto; }
.quote-block { border-left: 4px solid var(--red); padding-left: 2rem; }
.quote-block p {
  font-size: clamp(0.95rem, 2.1vw, 1.45rem);
  font-weight: 600;
  line-height: 1.4;
  font-style: italic;
  margin-bottom: .75rem;
  white-space: nowrap;
}
@media (max-width: 991px) {
  .quote-block p { white-space: normal; }
}
.quote-block cite { color: var(--text-soft); font-style: normal; font-weight: 600; font-size: .9rem; }

/* --- Careers --- */
.careers-card {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text); border-radius: 22px; padding: 50px 42px;
  position: relative; overflow: hidden;
  box-shadow: none;
}
.careers-card::after { display: none; }
.careers-header { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.careers-card h2 { color: var(--text); }
.careers-card p { color: var(--text-soft); margin: 0; }
.careers-content { flex: 1; }
.careers-action { position: relative; z-index: 1; }

.roles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}
@media (max-width: 767px) {
  .careers-card { padding: 40px 24px; }
  .roles-grid { grid-template-columns: 1fr; }
}

.role-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.6rem;
  box-shadow: 0 4px 14px rgba(15, 17, 21, 0.03);
  transition: all .3s ease;
}
.role-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(224, 75, 75, 0.12);
}
.role-badge {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .6rem;
}
.role-card h4 {
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: .4rem;
}
.role-card p {
  color: var(--text-soft);
  font-size: .86rem;
  line-height: 1.45;
}

[data-theme="dark"] .careers-card {
  background: var(--bg-gradient);
  border: 1px solid var(--border);
  color: #F5F5F4;
  box-shadow: none;
}

[data-theme="dark"] .careers-card h2 { color: #F5F5F4; }
[data-theme="dark"] .careers-card p { color: var(--mist); }

[data-theme="dark"] .role-card {
  background: rgba(32, 28, 24, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(32, 28, 24, 0.12);
}
[data-theme="dark"] .role-card h4 { color: #F5F5F4; }
[data-theme="dark"] .role-card p { color: var(--mist); }

/* --- Stats Metrics Section --- */
.stats-section {
  padding: 30px 0 35px;
}
.stat-card {
  background: linear-gradient(145deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.8rem 1.4rem;
  text-align: center;
  transition: all .3s ease;
}
.stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(224, 75, 75, 0.3);
  box-shadow: 0 8px 20px rgba(224, 75, 75, 0.08);
}
.stat-number {
  display: block;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--red);
  line-height: 1.1;
  margin-bottom: .4rem;
}
.stat-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* --- Contact Layout & Cards --- */
.contact-grid {
  max-width: 800px;
  margin: 2.2rem auto 0;
  align-items: stretch;
}
.contact-card {
  background: linear-gradient(145deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: .2rem;
  height: 100%;
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(224, 75, 75, 0.3);
  box-shadow: 0 8px 22px rgba(224, 75, 75, 0.1);
}
.contact-icon {
  width: 26px;
  height: 26px;
  color: var(--red);
  margin-bottom: .4rem;
}
.contact-label {
  color: var(--text-soft);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .3rem;
}
.contact-card a {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
  transition: color .2s;
}
.contact-card a:hover {
  color: var(--red);
}

/* --- Footer --- */
.footer { background: var(--surface-2); border-top: 1px solid var(--border); padding: 60px 0 30px; }
.footer-grid { display: flex; gap: 60px; justify-content: space-between; }
.footer-grid > div { flex: 0 0 auto; }
.footer-grid nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-grid nav a { color: var(--text-soft); font-size: .85rem; transition: color .2s; }
.footer-grid nav a:hover { color: var(--red); }
.footer-brand-item { margin-bottom: 1rem; }
.footer-heading { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; color: var(--text-soft); }
.footer-meta { font-size: .8rem; color: var(--text-soft); line-height: 1.7; }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .78rem; color: var(--text-soft); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }

@media (max-width: 991px) {
  .footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }
  .footer-grid > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }
  .footer-brand-item {
    justify-content: center;
  }
  .footer-grid nav {
    align-items: center;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .5rem;
  }
}

/* --- Reveal on scroll --- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- Back to top --- */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--red); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s;
}
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--red); filter: brightness(0.9); }

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
