/* ============================================
   MAD PROTOTYPE — STYLES
   ============================================ */

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

:root {
  --bg: #0a0a0a;
  --bg2: #111;
  --fg: #f0f0f0;
  --fg2: #888;
  --accent: #00ff88;
  --accent2: #7b61ff;
  --accent3: #ff3366;
  --radius: 16px;
  --nav-h: 72px;
  --font: 'Space Grotesk', sans-serif;
  --mono: 'Space Mono', monospace;
  --display: 'Syne', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  cursor: none;
}
body.no-scroll { overflow: hidden; }
body.loaded .hero__grain { animation: grain 0.5s steps(6) infinite; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: none; border: none; background: none; font-family: inherit; color: inherit; }
input, textarea { font-family: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 60px); }

/* ---------- CURSOR ---------- */
.cursor-dot {
  position: fixed; top: -4px; left: -4px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); z-index: 10000;
  pointer-events: none; will-change: transform;
  transition: width .2s, height .2s, background .2s;
}
.cursor-ring {
  position: fixed; top: -20px; left: -20px;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid rgba(0,255,136,.4);
  z-index: 10000; pointer-events: none; will-change: transform;
  transition: width .3s, height .3s, border-color .3s, top .3s, left .3s;
}
.cursor-ring--hover { width: 60px; height: 60px; top: -30px; left: -30px; border-color: var(--accent); }
.cursor-dot--hover { width: 4px; height: 4px; top: -2px; left: -2px; background: var(--accent3); }

@media (pointer: coarse) {
  body { cursor: auto; }
  button { cursor: pointer; }
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ---------- LOADER ---------- */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg); display: flex;
  align-items: center; justify-content: center;
  transition: opacity .6s, visibility .6s;
}
.loader--done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__inner { text-align: center; }
.loader__text { display: flex; gap: 4px; justify-content: center; margin-bottom: 32px; }
.loader__letter {
  font-family: var(--display); font-size: clamp(48px, 10vw, 100px);
  font-weight: 800; color: var(--accent);
  animation: loaderBounce .6s ease-in-out calc(var(--i) * .1s) infinite alternate;
}
@keyframes loaderBounce {
  to { transform: translateY(-20px); color: var(--accent2); }
}
.loader__bar {
  width: 200px; height: 3px; background: #222;
  border-radius: 3px; margin: 0 auto 16px; overflow: hidden;
}
.loader__fill { height: 100%; background: var(--accent); border-radius: 3px; transition: width .15s; width: 0; }
.loader__sub { font-family: var(--mono); font-size: 12px; color: var(--fg2); }

/* ---------- LANG SWITCH ---------- */
.lang-switch {
  font-family: var(--mono); font-size: 13px;
  padding: 6px 12px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.15);
  background: transparent;
  transition: border-color .3s;
  margin-left: 8px;
}
.lang-switch:hover { border-color: var(--accent); }
.lang-switch__active { color: var(--accent); font-weight: 700; }
.lang-switch__sep { color: var(--fg2); margin: 0 4px; }
.lang-switch__inactive { color: var(--fg2); }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 60px);
  z-index: 1000; transition: transform .4s, background .3s, backdrop-filter .3s;
}
.nav--solid { background: rgba(10,10,10,.85); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav--hidden { transform: translateY(-100%); }
.nav__logo { display: flex; align-items: baseline; gap: 6px; }
.nav__logo-mad {
  font-family: var(--display); font-weight: 800; font-size: 22px;
  color: var(--accent); letter-spacing: -1px;
}
.nav__logo-proto { font-family: var(--mono); font-size: 11px; color: var(--fg2); text-transform: uppercase; letter-spacing: 2px; }
.nav__links { display: flex; align-items: center; gap: 32px; }
.nav__link {
  font-size: 14px; color: var(--fg2); position: relative;
  transition: color .3s; font-weight: 500;
}
.nav__link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px; background: var(--accent);
  transition: width .3s;
}
.nav__link:hover { color: var(--fg); }
.nav__link:hover::after { width: 100%; }
.nav__link--cta {
  background: var(--accent); color: #000 !important; padding: 8px 20px;
  border-radius: 100px; font-weight: 600;
  transition: transform .3s, box-shadow .3s;
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover { transform: scale(1.05); box-shadow: 0 0 24px rgba(0,255,136,.3); }

.nav__burger { display: none; flex-direction: column; gap: 5px; width: 28px; padding: 4px 0; }
.nav__burger span { display: block; height: 2px; background: var(--fg); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav__burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger--open span:nth-child(2) { opacity: 0; }
.nav__burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
}

/* ---------- MOBILE MENU ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(10,10,10,.97); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.mobile-menu--open { opacity: 1; visibility: visible; }
.mobile-menu__link { font-family: var(--display); font-size: 32px; font-weight: 700; transition: color .3s; }
.mobile-menu__link:hover { color: var(--accent); }
.mobile-menu__link--cta {
  background: var(--accent); color: #000; padding: 12px 32px;
  border-radius: 100px; font-size: 20px;
}

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex;
  align-items: center; justify-content: center; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__grain {
  position: absolute; inset: -50%; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  background-size: 256px; opacity: .5; pointer-events: none;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); }
  10% { transform: translate(-5%,-10%); }
  30% { transform: translate(3%,5%); }
  50% { transform: translate(-3%,8%); }
  70% { transform: translate(8%,-5%); }
  90% { transform: translate(-8%,3%); }
}
.hero__gradient {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(0,255,136,.08), transparent),
    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(123,97,255,.08), transparent),
    radial-gradient(ellipse 40% 40% at 50% 80%, rgba(255,51,102,.05), transparent);
}
.hero__grid-lines { position: absolute; inset: 0; z-index: 0; }
.grid-line {
  position: absolute; background: rgba(255,255,255,.03);
}
.grid-line--v { top: 0; bottom: 0; left: var(--pos); width: 1px; }
.grid-line--h { left: 0; right: 0; top: var(--pos); height: 1px; }

.hero__content { position: relative; z-index: 2; text-align: center; padding: 0 20px; max-width: 900px; }
.hero__tag {
  font-family: var(--mono); font-size: clamp(11px, 1.5vw, 14px);
  text-transform: uppercase; letter-spacing: 4px; color: var(--accent);
  margin-bottom: 24px; opacity: 0; transform: translateY(20px);
  transition: opacity .6s, transform .6s;
}
.hero__tag--visible { opacity: 1; transform: translateY(0); }

.hero__title { margin-bottom: 28px; }
.hero__title-line {
  display: block; font-family: var(--display);
  font-size: clamp(40px, 8vw, 96px); font-weight: 800;
  line-height: 1.05; letter-spacing: -2px;
  opacity: 0; transform: translateY(60px);
  transition: opacity .8s ease-out, transform .8s ease-out;
}
.hero__title-line--visible { opacity: 1; transform: translateY(0); }
.hero__title-line--outline {
  -webkit-text-stroke: 1.5px var(--fg);
  color: transparent;
}
.hero__title-line--accent { color: var(--accent); }

.hero__sub {
  font-size: clamp(16px, 2vw, 20px); color: var(--fg2);
  max-width: 600px; margin: 0 auto 36px; line-height: 1.6;
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s .2s, transform .6s .2s;
}
.hero__sub--visible { opacity: 1; transform: translateY(0); }

.hero__ctas {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s .4s, transform .6s .4s;
}
.hero__ctas--visible { opacity: 1; transform: translateY(0); }

.hero__scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; transition: opacity .8s 1.2s;
}
.hero__scroll--visible { opacity: 1; }
.hero__scroll span { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 3px; color: var(--fg2); }
.hero__scroll-line {
  width: 1px; height: 48px; background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: .4; transform: scaleY(.6); }
}

/* Floating shapes */
.hero__float {
  position: absolute; z-index: 1; color: rgba(255,255,255,.08);
  pointer-events: none; will-change: transform;
}
.hero__float--1 { top: 15%; left: 8%; width: 80px; }
.hero__float--2 { top: 60%; right: 10%; width: 60px; }
.hero__float--3 { bottom: 20%; left: 20%; width: 80px; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; border-radius: 100px;
  font-size: 15px; font-weight: 600; letter-spacing: .5px;
  transition: transform .3s, box-shadow .3s, background .3s, color .3s;
  will-change: transform;
}
.btn--primary {
  background: var(--accent); color: #000;
}
.btn--primary:hover { box-shadow: 0 0 32px rgba(0,255,136,.35); }
.btn--ghost {
  border: 1.5px solid rgba(255,255,255,.2); color: var(--fg);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--full { width: 100%; }

/* ---------- MARQUEE ---------- */
.marquee {
  padding: 20px 0; border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  overflow: hidden; background: var(--bg);
}
.marquee__track {
  display: flex; width: max-content;
  animation: marqueeScroll 30s linear infinite;
}
.marquee__content {
  display: flex; align-items: center; gap: 40px; padding-right: 40px;
  font-family: var(--display); font-size: clamp(14px, 2vw, 18px);
  font-weight: 700; text-transform: uppercase; letter-spacing: 4px;
  color: var(--fg2); white-space: nowrap;
}
.marquee__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}
@keyframes marqueeScroll {
  to { transform: translateX(-50%); }
}

/* ---------- SECTIONS COMMON ---------- */
.section-label {
  font-family: var(--mono); font-size: 12px; text-transform: uppercase;
  letter-spacing: 3px; color: var(--accent); margin-bottom: 20px;
}

[data-scroll-reveal] {
  opacity: 0; transform: translateY(40px);
  transition: opacity .7s ease-out, transform .7s ease-out;
}
[data-scroll-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ---------- MANIFESTO ---------- */
.manifesto { padding: clamp(80px, 10vw, 160px) 0; }
.manifesto__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px);
  margin-bottom: clamp(60px, 8vw, 120px);
}
.manifesto__title {
  font-family: var(--display); font-size: clamp(32px, 4vw, 56px);
  font-weight: 800; line-height: 1.1; letter-spacing: -1px;
  position: sticky; top: 100px;
}
.manifesto__accent-line {
  width: 60px; height: 3px; background: var(--accent);
  margin-top: 24px; border-radius: 3px;
}
.manifesto__text { font-size: clamp(16px, 1.8vw, 19px); line-height: 1.7; color: var(--fg2); margin-bottom: 20px; }
.manifesto__text--big { font-size: clamp(18px, 2.2vw, 24px); color: var(--fg); font-weight: 500; line-height: 1.5; }

.manifesto__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  padding-top: clamp(40px, 6vw, 80px);
  border-top: 1px solid rgba(255,255,255,.08);
}
.stat { text-align: center; }
.stat__number {
  font-family: var(--display); font-size: clamp(36px, 5vw, 64px);
  font-weight: 800; color: var(--accent); line-height: 1;
}
.stat__suffix {
  display: inline; font-family: var(--display); font-size: clamp(24px, 3vw, 40px);
  font-weight: 800; color: var(--accent);
}
.stat__label { font-size: 13px; color: var(--fg2); margin-top: 8px; text-transform: uppercase; letter-spacing: 1px; }

@media (max-width: 768px) {
  .manifesto__grid { grid-template-columns: 1fr; }
  .manifesto__title { position: static; }
  .manifesto__stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- SERVICES ---------- */
.services {
  padding: clamp(80px, 10vw, 160px) 0;
  background: var(--bg2);
}
.services__title {
  font-family: var(--display); font-size: clamp(32px, 5vw, 64px);
  font-weight: 800; margin-bottom: clamp(40px, 5vw, 72px);
  letter-spacing: -1px;
}
.services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius); padding: clamp(28px, 3vw, 40px);
  transition: transform .4s, border-color .3s, box-shadow .3s;
  will-change: transform;
}
.service-card:hover {
  border-color: rgba(0,255,136,.2);
  box-shadow: 0 8px 40px rgba(0,255,136,.06);
}
.service-card--highlight {
  background: linear-gradient(135deg, rgba(0,255,136,.08), rgba(123,97,255,.08));
  border-color: rgba(0,255,136,.15);
}
.service-card__icon {
  width: 48px; height: 48px; color: var(--accent); margin-bottom: 20px;
}
.service-card__title {
  font-family: var(--display); font-size: 20px; font-weight: 700;
  margin-bottom: 12px;
}
.service-card__text { font-size: 14px; color: var(--fg2); line-height: 1.6; margin-bottom: 20px; }
.service-card__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  font-family: var(--mono); font-size: 11px; padding: 4px 10px;
  border-radius: 100px; border: 1px solid rgba(255,255,255,.1);
  color: var(--fg2); text-transform: uppercase; letter-spacing: 1px;
}

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

/* ---------- SHOWCASE ---------- */
.showcase {
  padding: clamp(80px, 10vw, 160px) 0;
  overflow: hidden;
}
.showcase__title {
  font-family: var(--display); font-size: clamp(32px, 5vw, 56px);
  font-weight: 800; margin-bottom: clamp(40px, 5vw, 64px);
  letter-spacing: -1px;
}
.showcase__track {
  display: flex; gap: 24px; padding: 0 clamp(20px, 4vw, 60px);
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.showcase__track::-webkit-scrollbar { display: none; }
.showcase__item {
  flex: 0 0 clamp(280px, 30vw, 400px); scroll-snap-align: start;
  transition: transform .4s;
}
.showcase__item:hover { transform: translateY(-8px); }
.showcase__img-wrap {
  border-radius: var(--radius); overflow: hidden;
  margin-bottom: 16px; aspect-ratio: 3/4;
}
.showcase__img { width: 100%; height: 100%; object-fit: cover; }
.showcase__img--placeholder {
  background: linear-gradient(135deg,
    hsl(var(--hue), 60%, 15%),
    hsl(calc(var(--hue) + 40), 60%, 8%)
  );
  display: flex; align-items: center; justify-content: center;
}
.showcase__img-text {
  font-family: var(--display); font-size: clamp(28px, 3vw, 40px);
  font-weight: 800; text-align: center; line-height: 1.1;
  color: rgba(255,255,255,.12); letter-spacing: 4px;
}
.showcase__cat {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 2px; color: var(--accent); display: block; margin-bottom: 6px;
}
.showcase__info h3 { font-size: 16px; font-weight: 600; }

/* ---------- PROCESS ---------- */
.process {
  padding: clamp(80px, 10vw, 160px) 0;
  background: var(--bg2);
}
.process__title {
  font-family: var(--display); font-size: clamp(32px, 5vw, 56px);
  font-weight: 800; margin-bottom: clamp(48px, 6vw, 80px);
  letter-spacing: -1px;
}
.process__steps { position: relative; max-width: 700px; }
.process__step {
  display: flex; gap: 48px; position: relative;
  padding-bottom: clamp(40px, 5vw, 64px);
}
.process__step-num {
  font-family: var(--display); font-size: clamp(40px, 5vw, 64px);
  font-weight: 800; color: var(--accent); line-height: 1;
  flex-shrink: 0; width: 80px;
}
.process__step-content h3 {
  font-family: var(--display); font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700; margin-bottom: 8px;
}
.process__step-content p { font-size: 15px; color: var(--fg2); line-height: 1.7; }
.process__step-line {
  position: absolute; left: 40px; top: 70px; bottom: 0;
  width: 1px; background: linear-gradient(to bottom, var(--accent), rgba(0,255,136,.05));
}

@media (max-width: 640px) {
  .process__step { flex-direction: column; gap: 12px; }
  .process__step-line { display: none; }
}

/* ---------- TEAM ---------- */
.team { padding: clamp(80px, 10vw, 160px) 0; }
.team__title {
  font-family: var(--display); font-size: clamp(32px, 5vw, 56px);
  font-weight: 800; letter-spacing: -1px; margin-bottom: 16px;
}
.team__sub { font-size: 18px; color: var(--fg2); margin-bottom: clamp(40px, 5vw, 64px); max-width: 600px; }
.team__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.team__card {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius); padding: clamp(24px, 2.5vw, 36px);
  transition: border-color .3s, transform .3s;
}
.team__card:hover { border-color: rgba(0,255,136,.2); transform: translateY(-4px); }
.team__card-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, hsl(var(--hue),50%,20%), hsl(var(--hue),50%,10%));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.team__card h4 { font-family: var(--display); font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.team__card p { font-size: 14px; color: var(--fg2); line-height: 1.6; margin-bottom: 16px; }
.team__card-loc { display: flex; gap: 8px; flex-wrap: wrap; }
.team__card-loc span {
  font-family: var(--mono); font-size: 10px; padding: 3px 8px;
  border-radius: 100px; background: rgba(255,255,255,.05);
  color: var(--fg2); text-transform: uppercase; letter-spacing: 1px;
}

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

/* ---------- QUOTES ---------- */
.quotes {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--bg2);
  text-align: center;
}
.quotes__carousel { position: relative; min-height: 200px; }
.quote {
  position: absolute; inset: 0; display: flex;
  flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .6s; pointer-events: none;
}
.quote.active { opacity: 1; pointer-events: auto; position: relative; }
.quote blockquote {
  font-family: var(--display); font-size: clamp(20px, 3vw, 36px);
  font-weight: 600; line-height: 1.4; max-width: 800px;
  margin-bottom: 24px; font-style: italic;
}
.quote cite { font-family: var(--mono); font-size: 13px; color: var(--accent); font-style: normal; }
.quotes__dots { display: flex; gap: 8px; justify-content: center; margin-top: 32px; }
.quotes__dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: 1.5px solid var(--fg2); background: transparent;
  transition: background .3s, border-color .3s;
  cursor: none;
}
.quotes__dot.active { background: var(--accent); border-color: var(--accent); }

/* ---------- FAQ ---------- */
.faq { padding: clamp(80px, 10vw, 160px) 0; }
.faq__title {
  font-family: var(--display); font-size: clamp(32px, 5vw, 56px);
  font-weight: 800; margin-bottom: clamp(40px, 5vw, 64px);
  letter-spacing: -1px;
}
.faq__list { max-width: 800px; }
.faq__item {
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}
.faq__item summary {
  font-family: var(--display); font-size: clamp(16px, 2vw, 20px);
  font-weight: 600; cursor: none; list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  transition: color .3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+'; font-size: 24px; color: var(--accent);
  transition: transform .3s; flex-shrink: 0; margin-left: 16px;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item[open] summary { color: var(--accent); }
.faq__item p {
  font-size: 15px; color: var(--fg2); line-height: 1.7;
  padding-top: 12px; max-width: 700px;
  animation: faqOpen .3s ease-out;
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- CONTACT ---------- */
.contact {
  padding: clamp(80px, 10vw, 160px) 0;
  background: var(--bg2);
}
.contact__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.contact__title {
  font-family: var(--display); font-size: clamp(32px, 4vw, 52px);
  font-weight: 800; line-height: 1.1; margin-bottom: 16px;
  letter-spacing: -1px;
}
.contact__sub { font-size: 17px; color: var(--fg2); line-height: 1.6; margin-bottom: 32px; }
.contact__link {
  font-family: var(--mono); font-size: 16px; color: var(--accent);
  display: block; margin-bottom: 8px;
  transition: opacity .3s;
}
.contact__link:hover { opacity: .7; }
.contact__loc { font-size: 14px; color: var(--fg2); }

.contact__form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { position: relative; }
.form-group--full { grid-column: 1 / -1; }
.form-group input, .form-group textarea {
  width: 100%; padding: 16px; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1); border-radius: 12px;
  color: var(--fg); font-size: 15px; outline: none;
  transition: border-color .3s, background .3s;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--accent); background: rgba(0,255,136,.03);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group label {
  position: absolute; top: 16px; left: 16px;
  font-size: 14px; color: var(--fg2);
  transition: all .2s; pointer-events: none;
}
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -8px; left: 12px; font-size: 11px; color: var(--accent);
  background: var(--bg2); padding: 0 4px;
}

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

/* ---------- FOOTER ---------- */
.footer {
  padding: clamp(48px, 6vw, 80px) 0 32px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer__inner {
  display: flex; justify-content: space-between;
  gap: 40px; margin-bottom: 48px;
}
.footer__logo {
  font-family: var(--display); font-size: 28px; font-weight: 800;
  color: var(--accent); line-height: 1.1; letter-spacing: -1px;
}
.footer__tagline { font-family: var(--mono); font-size: 13px; color: var(--fg2); margin-top: 8px; }
.footer__links { display: flex; gap: clamp(32px, 5vw, 80px); }
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__col h5 {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 2px; color: var(--accent); margin-bottom: 4px;
}
.footer__col a { font-size: 14px; color: var(--fg2); transition: color .3s; }
.footer__col a:hover { color: var(--fg); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 24px; text-align: center;
}
.footer__bottom p { font-size: 13px; color: var(--fg2); }

@media (max-width: 768px) {
  .footer__inner { flex-direction: column; }
  .footer__links { flex-wrap: wrap; gap: 32px; }
}

/* ---------- SELECTION ---------- */
::selection { background: var(--accent); color: #000; }

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #00cc6e; }
