/* ================================================================
   SKYLA ALUMINIUM SYSTEMS — Luxury Dark Architectural Design System
   Sleek, Compact, High-End & Zero Dead-Space
   ================================================================ */

:root {
  /* Premium Dark Architectural Palette */
  --bg: #EAF7FC;
  --bg-subtle: #DDF2FA;
  --bg-card: #F7FCFE;
  --bg-card-hover: #EAF7FC;
  --bg-elevated: #C9E8F4;

  --text-primary: #082E42;
  --text-secondary: #416B80;
  --text-muted: #7695A5;

  --accent: #16739A;
  --accent-hover: #238FBC;
  --accent-subtle: rgba(22, 115, 154, 0.12);
  --accent-glow: rgba(22, 115, 154, 0.25);

  --border: #C1E0EC;
  --border-light: #A8D2E3;
  --border-focus: #16739A;

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --text-xs: 0.6875rem;
  --text-sm: 0.8125rem;
  --text-base: 0.9375rem;
  --text-lg: 1.0625rem;
  --text-xl: 1.25rem;
  --text-2xl: clamp(1.35rem, 1.2rem + 0.8vw, 1.75rem);
  --text-3xl: clamp(1.75rem, 1.4rem + 1.4vw, 2.35rem);
  --text-4xl: clamp(2.2rem, 1.7rem + 2.2vw, 3.2rem);
  --text-5xl: clamp(2.6rem, 1.9rem + 3.2vw, 4.2rem);

  --container: 1180px;
  --nav-h: 62px;
  --radius: 6px;
  --radius-lg: 10px;

  --ease: cubic-bezier(0.2, 0, 0, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur: 0.4s;
  --dur-fast: 0.2s;
}

/* ──────────────────────────────
   RESET & BASE
   ────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }

/* ──────────────────────────────
   TYPOGRAPHY
   ────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

.heading-xl { font-size: var(--text-5xl); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
.heading-lg { font-size: var(--text-3xl); font-weight: 600; letter-spacing: -0.025em; }
.heading-md { font-size: var(--text-2xl); font-weight: 600; letter-spacing: -0.02em; }
.heading-sm { font-size: var(--text-xl); font-weight: 600; }

.body-lg { font-size: var(--text-lg); line-height: 1.65; color: var(--text-secondary); }
.body-sm { font-size: var(--text-sm); line-height: 1.6; color: var(--text-secondary); }

/* ──────────────────────────────
   LAYOUT UTILITIES
   ────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3.5vw, 2.5rem);
}

.section {
  padding: clamp(3rem, 5vw, 4.75rem) 0;
  position: relative;
}

.section--subtle {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.section-header--center {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.section-header h2 {
  margin-top: 0.5rem;
}

.section-header p {
  margin-top: 0.5rem;
  color: var(--text-secondary);
  font-size: var(--text-base);
}

/* ──────────────────────────────
   NAVIGATION
   ────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; width: 100%;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(12, 13, 15, 0.82);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.nav--scrolled {
  background: rgba(12, 13, 15, 0.96);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  border-bottom-color: var(--border-light);
}

.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.nav__brand { display: flex; flex-direction: column; line-height: 1; }
.nav__brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.nav__brand-sub {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 2px;
}

.nav__links { display: flex; align-items: center; gap: clamp(1.25rem, 2.5vw, 2.25rem); }
.nav__link {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--dur-fast) var(--ease);
  position: relative;
  padding: 4px 0;
}

.nav__link:hover { color: #fff; }
.nav__link--active { color: #fff; font-weight: 600; }
.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; width: 100%; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav__cta {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 18px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 4px;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.nav__cta:hover { background: var(--accent-hover); transform: translateY(-1px); }

.nav__hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; z-index: 1001; }
.nav__hamburger span { display: block; width: 22px; height: 1.5px; background: #fff; transition: all var(--dur-fast) var(--ease); }
.nav__hamburger--open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger--open span:nth-child(2) { opacity: 0; }
.nav__hamburger--open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav__hamburger { display: flex; }
  .nav__links {
    position: fixed; top: 0; right: 0;
    width: min(320px, 80vw); height: 100dvh;
    flex-direction: column; align-items: flex-start;
    padding: calc(var(--nav-h) + 2rem) 2rem 2rem;
    gap: 0;
    background: var(--bg-card);
    border-left: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform var(--dur) var(--ease);
  }
  .nav__links--open { transform: translateX(0); }
  .nav__link { font-size: var(--text-base); padding: 0.85rem 0; width: 100%; border-bottom: 1px solid var(--border); }
  .nav__cta { margin-top: 1.5rem; width: 100%; text-align: center; padding: 12px; }
}

/* ──────────────────────────────
   BUTTONS
   ────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius);
  transition: all var(--dur-fast) var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #0C0D0F;
}
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 4px 14px rgba(200, 169, 126, 0.25); }

.btn--outline {
  background: rgba(255,255,255,0.04);
  color: #fff;
  border: 1px solid var(--border-light);
}
.btn--outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.btn--ghost {
  padding: 0;
  color: var(--accent);
  background: transparent;
  font-weight: 500;
}
.btn--ghost:hover { color: var(--accent-hover); text-decoration: underline; }

.btn--lg { padding: 14px 32px; font-size: var(--text-base); }

/* ──────────────────────────────
   HERO SECTION
   ────────────────────────────── */
.hero {
  position: relative;
  min-height: 82vh;
  max-height: 820px;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  padding-top: calc(var(--nav-h) + 2rem);
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: brightness(0.85); }
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(12, 13, 15, 0.95) 0%,
    rgba(12, 13, 15, 0.5) 45%,
    rgba(12, 13, 15, 0.25) 100%
  );
}

.hero__content { position: relative; max-width: 680px; }
.hero__title { font-size: var(--text-5xl); font-weight: 700; letter-spacing: -0.035em; line-height: 1.08; color: #fff; margin-top: 0.75rem; }
.hero__subtitle { font-size: var(--text-lg); color: rgba(255,255,255,0.78); margin-top: 1rem; max-width: 520px; line-height: 1.6; }
.hero__actions { display: flex; gap: 0.85rem; margin-top: 1.75rem; flex-wrap: wrap; }

.hero__badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 1.75rem; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  font-size: var(--text-xs);
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}
.hero__badge-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* ──────────────────────────────
   PAGE HERO (Internal Pages)
   ────────────────────────────── */
.page-hero {
  padding-top: calc(var(--nav-h) + clamp(2rem, 3.5vw, 3rem));
  padding-bottom: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}

/* ──────────────────────────────
   PRODUCT CARDS & GRID
   Compact, well-proportioned sizing
   ────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 960px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.product-card__image-box {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  background: var(--bg-subtle);
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur) var(--ease);
}

.product-card:hover .product-card__image {
  transform: scale(1.05);
}

.product-card__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card__tag {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.product-card__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.product-card__desc {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 10px;
}

.product-card__link {
  margin-top: auto;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ──────────────────────────────
   SPLIT SECTIONS (Product Showcase & Engineering)
   Balanced layout without overflowing screens
   ────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.75rem, 3.5vw, 3.5rem);
  align-items: center;
}

@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  max-height: 420px;
}

.split__media img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
}

.split__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.split__content h2 {
  font-size: var(--text-3xl);
  line-height: 1.15;
}

/* ──────────────────────────────
   SPEC TABLE ROWS
   ────────────────────────────── */
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-top: 0.5rem;
}

@media (max-width: 520px) { .spec-grid { grid-template-columns: 1fr; } }

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--text-xs);
}

.spec-item__label { color: var(--text-muted); }
.spec-item__value { color: var(--text-primary); font-weight: 500; text-align: right; }

/* ──────────────────────────────
   PROJECT GALLERY & CARDS
   ────────────────────────────── */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 860px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .project-grid { grid-template-columns: 1fr; } }

.project-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.project-card__image-box {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--bg-subtle);
}

.project-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur) var(--ease);
}

.project-card:hover .project-card__image {
  transform: scale(1.06);
}

.project-card__meta {
  padding: 1rem;
}

.project-card__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: #fff;
}

.project-card__desc {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  margin-top: 3px;
}

/* ──────────────────────────────
   WHY SKYLA PHRASE LIST
   ────────────────────────────── */
.phrase-list {
  display: flex;
  flex-direction: column;
}

.phrase-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  transition: padding var(--dur-fast) var(--ease);
}

.phrase-item:first-child { border-top: 1px solid var(--border); }

.phrase-item:hover {
  border-color: var(--accent);
}

.phrase-item__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-primary);
}

.phrase-item__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  max-width: 380px;
  text-align: right;
  line-height: 1.5;
}

@media (max-width: 680px) {
  .phrase-item { flex-direction: column; gap: 0.35rem; }
  .phrase-item__desc { text-align: left; max-width: none; }
}

/* ──────────────────────────────
   8-STAGE PROCESS GRID
   ────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 860px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .process-grid { grid-template-columns: 1fr; } }

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.process-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.process-card__num {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.process-card__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: #fff;
  margin-top: 6px;
}

.process-card__desc {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.5;
}

/* ──────────────────────────────
   SOLUTIONS TAG MATRIX
   ────────────────────────────── */
.tabs {
  display: flex;
  gap: 8px;
  background: var(--bg-card);
  padding: 4px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  width: fit-content;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.tab {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 20px;
  border-radius: 4px;
  color: var(--text-secondary);
  transition: all var(--dur-fast) var(--ease);
}

.tab--active {
  background: var(--accent);
  color: #0C0D0F;
}

.tab-panel { display: none; }
.tab-panel--active { display: block; }

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 860px) { .solution-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .solution-grid { grid-template-columns: 1fr; } }

.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}

.solution-card:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
}

.solution-card__icon {
  font-size: 1.25rem;
}

.solution-card__title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}

/* ──────────────────────────────
   TESTIMONIAL & STATS
   ────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}

@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
}

.stat-box__num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-box__label {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  margin-top: 6px;
}

/* ──────────────────────────────
   FORMS & CONTACT
   ────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(2rem, 4vw, 4rem);
}

@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-item {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child { border-bottom: none; }
.contact-info-item__label { font-size: var(--text-xs); color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; }
.contact-info-item__value { font-size: var(--text-base); font-weight: 600; color: #fff; margin-top: 2px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 580px) { .form-grid { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 4px; }
.form-label { font-size: var(--text-xs); font-weight: 500; color: var(--text-secondary); }

.form-input, .form-select, .form-textarea {
  padding: 10px 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  color: #fff;
  transition: border-color var(--dur-fast) var(--ease);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-textarea { min-height: 85px; resize: vertical; }

/* ──────────────────────────────
   FOOTER
   ────────────────────────────── */
.footer {
  background: #08090A;
  border-top: 1px solid var(--border);
  padding: clamp(2.5rem, 4vw, 3.5rem) 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 768px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__brand-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.footer__brand-sub {
  font-size: var(--text-xs);
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.footer__brand-desc {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  margin-top: 0.75rem;
  max-width: 280px;
  line-height: 1.6;
}

.footer__col-title {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.85rem;
}

.footer__link {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-secondary);
  padding: 4px 0;
  transition: color var(--dur-fast) var(--ease);
}
.footer__link:hover { color: var(--accent); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 1.25rem;
  font-size: var(--text-xs);
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ──────────────────────────────
   SCROLL REVEAL (Instant Fallback Guaranteed)
   ────────────────────────────── */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal:not(.is-visible) {
    opacity: 0.2;
    transform: translateY(12px);
  }
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ──────────────────────────────
   BACK TO TOP
   ────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: all var(--dur-fast) var(--ease); z-index: 900;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--accent-hover); transform: translateY(-2px); }
.back-to-top svg { width: 16px; height: 16px; }
