/* ═══════════════════════════════════════════════════════
   RGESTGROUP — Premium Industrial Design System
   ═══════════════════════════════════════════════════════ */

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

/* ─── TOKENS ─────────────────────────────────────────── */
:root {
  --red:       #E10600;
  --red-dark:  #b30500;
  --red-dim:   rgba(225,6,0,0.18);
  --red-glow:  rgba(225,6,0,0.35);

  --bg:        #06080C;
  --bg-2:      #0A0D12;
  --surface:   #11161D;
  --surface-2: #161B22;
  --surface-3: #1C212B;

  --border:    rgba(255,255,255,0.06);
  --border-2:  rgba(255,255,255,0.1);

  --text:      #FFFFFF;
  --text-muted:rgba(255,255,255,0.55);
  --text-dim:  rgba(255,255,255,0.28);

  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t-fast:    0.25s;
  --t-med:     0.5s;
  --t-slow:    0.9s;

  --max-w: 1280px;
  --r:     2px;
}

/* ─── BASE ───────────────────────────────────────────── */
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  /* Subtle noise texture on the whole body */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-attachment: fixed;
}

a { text-decoration: none; color: inherit; }
em { font-style: normal; color: var(--red); }

/* ─── CONTAINER ──────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ─── SECTIONS ───────────────────────────────────────── */
.section          { padding: 8rem 0; position: relative; background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%); }
.section--dark    { background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%); }
.section--numbers { background: linear-gradient(180deg, var(--surface-2) 0%, #0d1116 100%); }
.section--cta     { background: linear-gradient(180deg, #0d1116 0%, var(--surface-2) 100%); position: relative; overflow: hidden; }

/* ─── SECTION ANATOMY ────────────────────────────────── */
.section__num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--red);
  opacity: 0.5;
  margin-bottom: 0.4rem;
}

.section__label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.1rem;
}
.section__label::before {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
  transition: width 1s var(--ease) 0.1s, box-shadow 1s var(--ease) 0.1s;
}
.section__label.line-drawn::before { 
  width: 32px; 
  box-shadow: 0 0 10px rgba(225,6,0,0.5);
}

.section__title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 4vw, 3.6rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}
.section__title--light { color: #fff; }

.section__desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.75;
}

.section__head { margin-bottom: 4rem; }

/* ─── CURSOR ─────────────────────────────────────────── */
.cursor-dot,
.cursor-ring {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot {
  width: 5px; height: 5px;
  background: var(--red);
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 1.5px solid rgba(225,6,0,0.45);
  transition: width 0.35s var(--ease), height 0.35s var(--ease),
              border-color 0.3s, opacity 0.3s;
}
body.cursor-hover .cursor-ring  { width: 52px; height: 52px; border-color: rgba(225,6,0,0.3); }
body.cursor-mag   .cursor-dot   { transform: translate(-50%,-50%) scale(2); }
body.cursor-mag   .cursor-ring  { width: 58px; height: 58px; border-width: 1px; }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* ─── SCROLL PROGRESS ────────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 2px;
  z-index: 600; pointer-events: none;
}
.scroll-progress__bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--red-dark), var(--red), #ff3333);
  box-shadow: 0 0 10px var(--red-glow);
  transition: width 0.06s linear;
}

/* ─── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 2rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--r);
  border: 1.5px solid transparent;
  cursor: pointer;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-med) var(--ease),
              background var(--t-fast),
              border-color var(--t-fast);
  will-change: transform;
  position: relative;
  overflow: hidden;
}
/* Shine sweep on hover */
.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s var(--ease);
  pointer-events: none;
}
.btn:hover::after { left: 150%; }

.btn__arrow { transition: transform var(--t-fast) var(--ease); display: inline-block; }
.btn:hover .btn__arrow { transform: translateX(5px); }

.btn--red {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn--red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  box-shadow: 0 0 40px var(--red-glow), 0 8px 24px rgba(0,0,0,0.4);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.16);
}
.btn--ghost:hover {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
  transform: translateY(-1px);
}

.btn--cta {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  padding: 0.65rem 1.4rem;
  font-size: 0.82rem;
}
.btn--cta:hover {
  background: var(--red-dark);
  box-shadow: 0 0 20px var(--red-glow);
  transform: translateY(-1px);
}

.btn--large { padding: 1.1rem 2.4rem; font-size: 0.95rem; }

/* ─── HEADER ─────────────────────────────────────────── */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 300;
  padding: 0;
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}
.header.scrolled {
  background: rgba(6,8,12,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
}
.header__inner {
  display: flex; align-items: center;
  height: 72px; gap: 2.5rem;
}

/* Logo */
.logo {
  display: flex; align-items: center;
  gap: 0.7rem; text-decoration: none; flex-shrink: 0;
}
.logo__icon {
  height: 36px; width: auto;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 6px rgba(225,6,0,0.5));
  transition: filter 0.3s;
}
.logo:hover .logo__icon { filter: drop-shadow(0 0 12px rgba(225,6,0,0.8)); }
.logo__wordmark {
  font-family: var(--font-head);
  font-size: 1.05rem; font-weight: 900;
  color: #fff; letter-spacing: 0.06em; line-height: 1;
}
.logo__wordmark span {
  display: block;
  font-size: 0.5rem; font-weight: 600;
  letter-spacing: 0.25em; color: rgba(255,255,255,0.38);
  margin-top: 2px;
}

/* Nav */
.nav { display: flex; gap: 2.2rem; margin-left: auto; }
.nav a {
  font-size: 0.84rem; font-weight: 500;
  color: var(--text-muted);
  transition: color var(--t-fast);
  position: relative;
}
.nav a::after {
  content: ''; position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--red);
  transition: width 0.35s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 4px; margin-left: auto;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: #fff; border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

/* ─── HERO ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* Background stack */
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background: var(--bg);
}
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  opacity: 0;
  transition: opacity 1.4s ease;
  z-index: 0;
  will-change: transform;
  filter: contrast(1.35) brightness(0.75) saturate(1.2) grayscale(0.1);
}
.hero__video.loaded { opacity: 1; }

/* Overlay — heavy on left for text legibility, fades to transparent right */
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(108deg,
      rgba(6,8,12,0.98)  0%,
      rgba(10,13,18,0.88) 35%,
      rgba(10,13,18,0.65) 65%,
      rgba(6,8,12,0.80) 100%
    ),
    linear-gradient(to bottom,
      rgba(6,8,12,0.75)  0%,
      rgba(6,8,12,0.0) 25%,
      rgba(6,8,12,0.0) 65%,
      rgba(6,8,12,1.0) 100%
    );
}

/* Red ambient glow — bottom-left source */
.hero__glow {
  position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(
    ellipse 75% 70% at 20% 80%,
    rgba(225,6,0,0.55) 0%,
    transparent 80%
  );
  pointer-events: none;
}

/* Film grain */
.hero__grain {
  position: absolute; inset: 0; z-index: 3;
  opacity: 0.03; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* Technical SVG overlay */
.hero__tech {
  position: absolute; inset: 0; z-index: 4;
  pointer-events: none;
}
.hero__tech-svg {
  width: 100%; height: 100%;
  position: absolute; inset: 0;
}
/* Animated scan line */
.hero__scanline {
  animation: scanDown 6s linear infinite;
}
@keyframes scanDown {
  0%   { transform: translateY(0); opacity: 0.06; }
  45%  { opacity: 0.06; }
  50%  { opacity: 0; }
  51%  { transform: translateY(900px); opacity: 0; }
  52%  { opacity: 0.06; }
  100% { transform: translateY(0); opacity: 0.06; }
}

/* Hero content */
.hero__content {
  position: relative; z-index: 5;
  padding-top: 5rem;
  max-width: 820px;
  will-change: transform, opacity;
}

.hero__eyebrow {
  display: flex; align-items: center;
  gap: 0.8rem; margin-bottom: 2rem;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease);
}
.hero__eyebrow.reveal-hero.is-visible { opacity: 1; transform: translateY(0); }

.hero__rule {
  display: block; width: 28px; height: 2px;
  background: var(--red);
}
.hero__category {
  font-family: var(--font-mono);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--red);
}

/* Headline split system */
.hero__headline {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6vw, 5.4rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 2rem;
  display: block;
}
.split-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}
.split-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  transition:
    opacity 0.7s var(--ease),
    transform 0.85s var(--ease);
  will-change: transform, opacity;
}
.split-word.is-visible { opacity: 1; transform: translateY(0); }
.red-word { color: var(--red); }

.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.8;
  margin-bottom: 3rem;
}
.hero__btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Reveal delays for hero elements */
.reveal-hero {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-hero.is-visible { opacity: 1; transform: translateY(0); }
.delay-1  { transition-delay: 0.05s;  }
.delay-2  { transition-delay: 0.10s;  }
.delay-3  { transition-delay: 0.15s;  }
.delay-4  { transition-delay: 0.20s;  }
.delay-5  { transition-delay: 0.25s;  }
.delay-6  { transition-delay: 0.30s;  }
.delay-7  { transition-delay: 0.35s;  }
.delay-8  { transition-delay: 0.55s;  }
.delay-9  { transition-delay: 0.70s;  }

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute; bottom: 9rem; left: 2.5rem;
  z-index: 5; display: flex; flex-direction: column;
  align-items: center; gap: 0.75rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 2s forwards;
}
@keyframes fadeUp { to { opacity: 1; } }
.hero__scroll-indicator span {
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  writing-mode: vertical-lr;
}
.hero__scroll-line {
  width: 1px; height: 52px;
  background: rgba(255,255,255,0.1);
  position: relative; overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute; top: -100%; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to bottom, transparent, var(--red), transparent);
  animation: scrollPulse 2.4s var(--ease-out) 2s infinite;
}
@keyframes scrollPulse {
  0%   { top: -100%; }
  100% { top: 200%; }
}

/* Hero stats strip */
.hero__strip {
  position: relative; z-index: 5;
  margin-top: auto; padding-top: 3rem;
}
.hero__strip-inner {
  display: flex; align-items: stretch;
  background: rgba(10,12,16,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.08);
  border-bottom: 3px solid var(--red);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.hero__stat {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 2.2rem 1rem;
  gap: 0.4rem;
  position: relative;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.hero__stat:hover { 
  background: rgba(225,6,0,0.06); 
  transform: translateY(-2px);
}
.hero__stat-num {
  font-family: var(--font-head);
  font-size: 2.8rem; font-weight: 900;
  color: var(--red); line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 15px rgba(225,6,0,0.35);
}
.hero__stat-label {
  font-size: 0.72rem; color: var(--text-dim);
  text-align: center; font-weight: 500;
}
.hero__strip-divider {
  width: 1px; background: var(--border);
  flex-shrink: 0; align-self: stretch;
}

/* ─── AREAS GRID ─────────────────────────────────────── */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(225,6,0,0.08);
  border: 1px solid var(--border-2);
  border-radius: 4px;
  overflow: hidden;
}

.area-card {
  position: relative;
  display: block;
  min-height: 520px;
  overflow: hidden;
  cursor: pointer;
  background: #080a0f;
  border-radius: var(--r);
  /* 3D tilt via CSS vars */
  transform: perspective(1000px)
             rotateX(var(--tx, 0deg))
             rotateY(var(--ty, 0deg));
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), z-index 0s;
  will-change: transform;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03), 0 15px 35px rgba(0,0,0,0.6);
}
.area-card:hover {
  z-index: 10;
  box-shadow: inset 0 0 0 1px rgba(225,6,0,0.2), 0 35px 70px rgba(0,0,0,0.9), 0 0 40px rgba(225,6,0,0.25);
}

/* Photographic bg — rich gradient art */
.area-card__bg {
  position: absolute; inset: 0;
  transition: transform 0.7s var(--ease);
}
.area-card:hover .area-card__bg { transform: scale(1.07); }

.area-card__bg--recycle {
  background:
    radial-gradient(ellipse 90% 70% at 60% 30%, rgba(30,100,50,0.45) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 20% 70%, rgba(10,40,20,0.6) 0%, transparent 60%),
    linear-gradient(160deg, #0a1a0e 0%, #162d1c 40%, #0c2014 70%, #06120a 100%);
}
.area-card__bg--recycle::before {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg,   transparent, transparent 39px, rgba(255,255,255,0.012) 40px),
    repeating-linear-gradient(90deg,  transparent, transparent 59px, rgba(255,255,255,0.008) 60px);
}

.area-card__bg--telecom {
  background:
    radial-gradient(ellipse 80% 60% at 65% 25%, rgba(0,120,200,0.3) 0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 15% 80%, rgba(10,40,80,0.5) 0%, transparent 60%),
    linear-gradient(150deg, #060d1a 0%, #0a1628 40%, #061020 70%, #03080f 100%);
}
.area-card__bg--telecom::before {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, transparent, transparent 29px, rgba(0,168,255,0.015) 30px);
}

.area-card__bg--construction {
  background:
    radial-gradient(ellipse 90% 60% at 55% 25%, rgba(160,120,40,0.25) 0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 15% 75%, rgba(60,55,40,0.4) 0%, transparent 60%),
    linear-gradient(145deg, #131108 0%, #201d0e 45%, #141208 70%, #0c0b06 100%);
}
.area-card__bg--construction::before {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(200,169,106,0.018) 60px),
    repeating-linear-gradient(0deg,  transparent, transparent 59px, rgba(200,169,106,0.012) 60px);
}

.area-card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  filter: contrast(1.2) brightness(0.9) grayscale(0.2);
  pointer-events: none;
}

/* Overlay — stronger, more dramatic */
.area-card__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(8,10,15,1.0) 0%,
    rgba(8,10,15,0.7) 45%,
    rgba(8,10,15,0.15) 100%
  );
  transition: opacity 0.6s var(--ease);
}
.area-card:hover .area-card__bg::after { opacity: 0.85; }

/* Red glow that fires on hover */
.area-card__glow {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(
    ellipse 100% 80% at 50% 100%,
    rgba(225,6,0,0.45) 0%,
    transparent 80%
  );
  opacity: 0;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
  transform: translateY(20px);
}
.area-card:hover .area-card__glow { opacity: 1; transform: translateY(0); }

/* Content */
.area-card__body {
  position: absolute; inset: 0;
  z-index: 2;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem 2.2rem;
}

.area-card__number {
  font-family: var(--font-mono);
  font-size: 4.5rem; font-weight: 700;
  color: rgba(225,6,0,0.08);
  line-height: 1;
  position: absolute; top: 1.5rem; right: 1.8rem;
  letter-spacing: -0.04em;
  transition: color 0.4s;
}
.area-card:hover .area-card__number { color: rgba(225,6,0,0.15); }

.area-card__tag {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--red); margin-bottom: 0.6rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.area-card__tag::before {
  content: ''; display: block;
  width: 14px; height: 1.5px; background: var(--red);
}

.area-card__title {
  font-family: var(--font-head);
  font-size: 1.7rem; font-weight: 800;
  color: #fff; margin-bottom: 0.8rem;
  letter-spacing: -0.015em;
  transition: color 0.3s;
}
.area-card:hover .area-card__title { color: #fff; }

.area-card__text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65; margin-bottom: 1.4rem;
  max-height: 0; overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s var(--ease), opacity 0.4s ease;
}
.area-card:hover .area-card__text { max-height: 100px; opacity: 1; }

.area-card__cta {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; font-weight: 700;
  color: var(--red);
  transition: gap 0.3s var(--ease);
}
.area-card:hover .area-card__cta { gap: 0.9rem; }

/* Red bottom border that slides in on hover */
.area-card__border {
  position: absolute; bottom: 0; left: 0;
  height: 2px; width: 0%;
  background: var(--red);
  z-index: 3;
  transition: width 0.5s var(--ease);
  box-shadow: 0 0 12px var(--red-glow);
}
.area-card:hover .area-card__border { width: 100%; }

/* ─── SOBRE ──────────────────────────────────────────── */
.sobre__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem; align-items: center;
}
/* grid children — explicit so grid works regardless of class name */
.sobre__left { min-width: 0; }
.sobre__right { min-width: 0; display: flex; justify-content: center; }

.sobre__body {
  margin: 1.75rem 0 2.25rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.sobre__body p {
  font-size: 0.97rem; color: var(--text-muted); line-height: 1.8;
}

.sobre__pillars { display: flex; flex-direction: column; gap: 0.9rem; }
.pillar {
  display: flex; align-items: center; gap: 0.85rem;
  font-size: 0.88rem; color: rgba(255,255,255,0.72); font-weight: 500;
  opacity: 0; transform: translateX(-14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.pillar.is-visible { opacity: 1; transform: translateX(0); }
.pillar__icon { color: var(--red); font-size: 0.7rem; flex-shrink: 0; }

.sobre__visual {
  width: 100%; max-width: 460px;
  margin: 0 auto;
  filter: drop-shadow(0 0 60px rgba(225,6,0,0.1));
}
.sobre__visual svg { width: 100%; height: auto; }

/* ─── NUMBERS ────────────────────────────────────────── */
.numbers__texture {
  position: absolute; inset: 0; z-index: 0;
  background:
    repeating-linear-gradient(0deg,   transparent, transparent 79px, rgba(255,255,255,0.015) 80px),
    repeating-linear-gradient(90deg,  transparent, transparent 79px, rgba(255,255,255,0.01)  80px);
  pointer-events: none;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border-2);
  border-radius: 4px;
  overflow: hidden;
  position: relative; z-index: 1;
}

.number-block {
  background: var(--surface-2);
  padding: 3.5rem 3rem;
  display: flex; flex-direction: column; gap: 1.2rem;
  position: relative; overflow: hidden;
  transition: background 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  z-index: 1;
}
.number-block::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--red); opacity: 0;
  transition: opacity 0.5s var(--ease);
  box-shadow: 0 0 15px var(--red);
}
.number-block:hover::before { opacity: 1; }
.number-block:hover { 
  background: #1a1e26; 
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5), 0 0 30px rgba(225,6,0,0.08);
  z-index: 2;
}

.number-block__top {
  display: flex; align-items: baseline;
  gap: 0.6rem;
}
.number-block__val {
  font-family: var(--font-head);
  font-size: clamp(4rem, 6vw, 5.5rem);
  font-weight: 900; line-height: 1;
  color: var(--red);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 25px rgba(225,6,0,0.35);
  transition: text-shadow 0.4s var(--ease);
}
.number-block:hover .number-block__val {
  text-shadow: 0 0 35px rgba(225,6,0,0.6);
}
.number-block__unit {
  font-family: var(--font-mono);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-dim);
}
.number-block__bar {
  width: 32px; height: 2px;
  background: var(--red); opacity: 0.6;
}
.number-block__label {
  font-size: 0.85rem;
  color: var(--text-muted); line-height: 1.6;
}

/* ─── TICKER ─────────────────────────────────────────── */
.section--ticker {
  overflow: hidden;
  padding: 0;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ticker__track {
  padding: 1.4rem 0;
  position: relative;
}
.ticker__track::before,
.ticker__track::after {
  content: ''; position: absolute;
  top: 0; width: 120px; height: 100%; z-index: 1;
  pointer-events: none;
}
.ticker__track::before {
  left: 0;
  background: linear-gradient(to right, var(--surface-2), transparent);
}
.ticker__track::after {
  right: 0;
  background: linear-gradient(to left, var(--surface-2), transparent);
}
.ticker__inner {
  display: flex; align-items: center; gap: 2rem;
  white-space: nowrap;
  animation: tickerScroll 28s linear infinite;
  width: max-content;
}
.ticker__inner span {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted);
  flex-shrink: 0;
}
.ticker__inner:hover { animation-play-state: paused; }
.ticker__dot { color: var(--red) !important; font-size: 0.4rem !important; }
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── CTA SECTION ────────────────────────────────────── */
.cta__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 80% at 80% 50%, rgba(225,6,0,0.08) 0%, transparent 70%),
    repeating-linear-gradient(0deg,  transparent, transparent 59px, rgba(255,255,255,0.012) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(255,255,255,0.008) 60px);
  pointer-events: none;
}
.cta__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5rem; align-items: center;
  padding: 5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta__title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900; line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 0.8rem 0 1.2rem;
}
.cta__sub {
  font-size: 0.97rem; color: var(--text-muted);
  max-width: 440px; line-height: 1.75;
}
.cta__right {
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 1.5rem; flex-shrink: 0;
}
.cta__detail {
  display: flex; flex-direction: column; gap: 0.15rem;
}
.cta__detail-label {
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-dim);
}
.cta__detail-val {
  font-size: 0.88rem; color: var(--text-muted);
}

/* ─── FOOTER ─────────────────────────────────────────── */
.footer {
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  padding: 5.5rem 0 0;
  position: relative;
}
.footer__top-line {
  position: absolute; top: 0; left: 0;
  width: 0; height: 1px;
  background: var(--red);
  animation: footerLine 1.4s var(--ease) 0.5s forwards;
}
@keyframes footerLine { to { width: 100%; } }

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: 4rem; padding-bottom: 4.5rem;
  border-bottom: 1px solid var(--border);
}
.footer__brand p {
  font-size: 0.88rem; color: var(--text-dim);
  line-height: 1.7; max-width: 300px;
  margin-top: 1rem;
}
.footer__tagline {
  display: block; margin-top: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--red); opacity: 0.65;
}
.footer__col h4 {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 1.3rem;
}
.footer__col a {
  display: block; font-size: 0.88rem;
  color: var(--text-muted); margin-bottom: 0.7rem;
  transition: color 0.25s;
}
.footer__col a:hover { color: #fff; }
.footer__bottom { padding: 1.5rem 0; }
.footer__bottom-inner {
  display: flex; align-items: center;
  justify-content: space-between;
}
.footer__bottom-inner p {
  font-size: 0.78rem; color: var(--text-dim);
}

/* ─── GENERIC REVEAL ─────────────────────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition:
    opacity  1s var(--ease),
    transform 1s var(--ease);
  will-change: transform, opacity;
}
.reveal-up.visible { opacity: 1; transform: translateY(0) scale(1); }

/* delay aliases reused for reveal-up */
.reveal-up.delay-1 { transition-delay: 0.1s; }
.reveal-up.delay-2 { transition-delay: 0.2s; }
.reveal-up.delay-3 { transition-delay: 0.3s; }
.reveal-up.delay-4 { transition-delay: 0.4s; }

/* ─── TAGS ───────────────────────────────────────────── */
.ctag {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--border-2);
  border-radius: var(--r);
  font-size: 0.82rem; font-weight: 500;
  color: var(--text-muted);
  cursor: default;
  opacity: 0; transform: scale(0.92) translateY(8px);
  transition:
    opacity 0.45s var(--ease),
    transform 0.45s var(--ease),
    border-color 0.3s, color 0.3s, background 0.3s;
}
.ctag.is-visible { opacity: 1; transform: scale(1) translateY(0); }
.ctag:hover { border-color: var(--border-2); color: #fff; }
.ctag--accent { border-color: rgba(225,6,0,0.22); color: rgba(225,6,0,0.75); }
.ctag--accent:hover { border-color: var(--red); color: var(--red); background: rgba(225,6,0,0.05); }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1100px) {
  .sobre__inner { grid-template-columns: 1fr; gap: 4rem; }
  .sobre__visual { max-width: 380px; }
  .numbers-grid  { grid-template-columns: repeat(2, 1fr); }
  .cta__inner    { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 900px) {
  .areas-grid { grid-template-columns: 1fr; }
  .area-card  { min-height: 360px; }
  .area-card__text { max-height: 100px; opacity: 1; }
  .hero__strip-inner { flex-wrap: wrap; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
  .section { padding: 5.5rem 0; }
  .nav { display: none; }
  .btn--cta { display: none; }
  .nav-toggle { display: flex; }
  .hero__headline { font-size: 2.8rem; }
  .hero__scroll-indicator { display: none; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
}
@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero__btns { flex-direction: column; align-items: flex-start; }
  .numbers-grid { grid-template-columns: 1fr; }
  .number-block { padding: 2rem 1.5rem; }
}
