/*
  style.css - getarticai.com one-pager
  Premium dark visual system. Mobile-first med fluid typography (clamp).
  Sektioner deler tokens fra :root, scroll-reveal styres via .reveal-klassen
  i kombination med IntersectionObserver i script.js.
  Layout-grid: 12-kolonner i container, max-width 1240px.
*/

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  /* surface */
  --bg: #07070a;
  --bg-2: #0c0c10;
  --bg-3: #11111a;
  --surface: #14141d;
  --surface-2: #1a1a25;
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.14);

  /* text */
  --text: #f5f5f7;
  --text-dim: rgba(245,245,247,0.7);
  --text-mute: rgba(245,245,247,0.5);

  /* accent (kold blaa-violet gradient) */
  --accent: #b8c0ff;
  --accent-2: #6c7dff;
  --accent-3: #2a2dff;
  --grad-1: linear-gradient(135deg, #b8c0ff 0%, #6c7dff 50%, #2a2dff 100%);
  --grad-2: radial-gradient(60% 80% at 50% 0%, rgba(108,125,255,0.35) 0%, rgba(108,125,255,0) 60%);

  /* type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Instrument Serif', 'Times New Roman', serif;

  /* spacing/radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* timing */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* layout */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
input, select, textarea { font-family: inherit; color: inherit; background: none; border: 0; outline: 0; width: 100%; }
::selection { background: var(--accent-2); color: #07070a; }

/* container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ============================================================
   SHARED
   ============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 12px var(--accent-2);
}

.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section__head { max-width: 880px; margin-bottom: clamp(48px, 7vw, 80px); }
.section__title {
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-top: 18px;
  color: var(--text);
}
.section__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section__lede {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-dim);
  margin-top: 22px;
  max-width: 640px;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--text);
  color: #07070a;
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(255,255,255,0.18);
}
.btn--ghost {
  border-color: var(--line-2);
  color: var(--text);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.28);
}
.btn--small { padding: 10px 18px; font-size: 13.5px; }
.btn--full { width: 100%; }

/* reveal-on-scroll: starter usynlig + lidt nede, IntersectionObserver tilfoejer .is-in */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .35s var(--ease), border-color .35s var(--ease), padding .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7,7,10,0.78);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--line);
  padding: 12px 0;
}
.nav__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  margin-right: auto;
}
.nav__logo-mark {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--grad-1);
  box-shadow: 0 0 24px rgba(108,125,255,0.5);
  position: relative;
}
.nav__logo-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 3px;
  background: var(--bg);
}
.nav__links {
  display: flex;
  gap: 32px;
}
.nav__links a {
  font-size: 14.5px;
  color: var(--text-dim);
  transition: color .2s var(--ease);
  font-weight: 400;
}
.nav__links a:hover { color: var(--text); }

.nav__burger { display: none; flex-direction: column; gap: 4px; padding: 8px; }
.nav__burger span {
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 24px var(--gutter);
  background: rgba(7,7,10,0.96);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
}
.nav__mobile a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
}
.nav__mobile a:last-child { border-bottom: 0; margin-top: 8px; }
.nav__mobile.is-open { display: flex; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0.85;
}
.hero__noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(80% 50% at 50% 0%, rgba(108,125,255,0.18) 0%, rgba(7,7,10,0) 60%),
    radial-gradient(40% 30% at 100% 100%, rgba(184,192,255,0.10) 0%, rgba(7,7,10,0) 60%),
    linear-gradient(180deg, rgba(7,7,10,0) 50%, var(--bg) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
}
.hero__title {
  font-size: clamp(3.2rem, 9vw, 8rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-top: 28px;
  color: var(--text);
}
.hero__title span { display: block; }
.hero__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}
.hero__lede {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--text-dim);
  margin-top: 32px;
  max-width: 580px;
  line-height: 1.55;
}
.hero__cta {
  margin-top: 44px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-mute);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero__scroll span {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, var(--text-mute));
  position: relative;
  overflow: hidden;
}
.hero__scroll span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, var(--text));
  animation: scrollPulse 2.4s var(--ease) infinite;
}
@keyframes scrollPulse {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(40px, 6vw, 60px) 0;
  background: var(--bg-2);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: center;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat__num {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-flex;
  align-items: baseline;
}
.stat__num small {
  font-size: 0.5em;
  margin-left: 4px;
  font-weight: 500;
}
.stat__label {
  font-size: 14px;
  color: var(--text-dim);
  letter-spacing: 0.005em;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--bg); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.service {
  background: var(--bg-2);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 240px;
  transition: background .35s var(--ease);
  position: relative;
}
.service:hover {
  background: var(--surface);
}
.service__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--accent);
  opacity: 0.7;
  letter-spacing: -0.01em;
}
.service h3 {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: auto;
}
.service p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.55;
}

/* ============================================================
   CASES / CAROUSEL
   ============================================================ */
.cases { background: var(--bg-2); }
.carousel {
  position: relative;
  overflow: hidden;
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter);
}
.carousel__track {
  display: flex;
  gap: 24px;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }

.case-frame {
  flex: 0 0 clamp(280px, 32vw, 420px);
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  background:
    linear-gradient(135deg, rgba(108,125,255,0.10) 0%, rgba(108,125,255,0) 50%),
    var(--surface);
  border: 1px solid var(--line);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.case-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(0deg, transparent 95%, rgba(255,255,255,0.04) 95%),
    linear-gradient(90deg, transparent 95%, rgba(255,255,255,0.04) 95%);
  background-size: 40px 40px;
  opacity: 0.4;
  pointer-events: none;
}
.case-frame::after {
  content: "";
  position: absolute;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--grad-2);
  filter: blur(40px);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.6;
  pointer-events: none;
  transition: opacity .5s var(--ease);
}
.case-frame:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
}
.case-frame:hover::after { opacity: 0.9; }
.case-frame__brand {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}
.case-frame__service {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  position: relative;
  z-index: 1;
}
.case-frame__index {
  position: absolute;
  bottom: 20px;
  right: 24px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--text-mute);
  z-index: 1;
}

.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(7,7,10,0.6);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: background .25s var(--ease), border-color .25s var(--ease), opacity .25s var(--ease);
}
.carousel__arrow:hover {
  background: rgba(7,7,10,0.9);
  border-color: var(--accent-2);
}
.carousel__arrow svg { width: 20px; height: 20px; }
.carousel__arrow--prev { left: 12px; }
.carousel__arrow--next { right: 12px; }
.carousel__arrow:disabled { opacity: 0.3; cursor: default; }

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.carousel__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--line-2);
  transition: background .25s var(--ease), width .25s var(--ease);
}
.carousel__dot.is-active {
  background: var(--text);
  width: 24px;
  border-radius: 3px;
}

/* ============================================================
   PACKAGES
   ============================================================ */
.packages { background: var(--bg); }
.packages__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.package {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.package:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
}
.package--featured {
  background: linear-gradient(180deg, rgba(108,125,255,0.08) 0%, var(--bg-2) 100%);
  border-color: rgba(108,125,255,0.3);
  box-shadow: 0 24px 80px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
}
.package__badge {
  position: absolute;
  top: 0; right: 24px;
  transform: translateY(-50%);
  background: var(--grad-1);
  color: #07070a;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  letter-spacing: 0.02em;
}
.package__head h3 {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.package__head p {
  color: var(--text-dim);
  font-size: 14.5px;
}
.package__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.package__from {
  font-size: 13px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  width: 100%;
}
.package__amount {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.package__currency {
  font-size: 14px;
  color: var(--text-dim);
}
.package__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.package__list li {
  font-size: 14.5px;
  color: var(--text-dim);
  padding-left: 24px;
  position: relative;
}
.package__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 1px;
  background: var(--accent);
}
.package .btn { margin-top: auto; }

/* ============================================================
   PROCESS
   ============================================================ */
.process { background: var(--bg-2); }
.process__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.process__step {
  background: var(--bg-2);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
}
.process__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 36px;
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}
.process__step h3 {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.process__step p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.55;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--bg); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact__copy { padding-top: 8px; }
.contact__points {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact__points li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15.5px;
  color: var(--text-dim);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.contact__points li span {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(108,125,255,0.18);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.contact__form {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.field input, .field select, .field textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  font-size: 15px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent-2);
  background: var(--bg-3);
}
.field textarea { resize: vertical; min-height: 100px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a0a0aa' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field select option { background: var(--bg-2); color: var(--text); }
.contact__form .btn { grid-column: 1 / -1; margin-top: 8px; }
.contact__legal { grid-column: 1 / -1; font-size: 12px; color: var(--text-mute); text-align: center; }

/* ============================================================
   AI DISCLAIMER
   ============================================================ */
.disclaimer {
  background: var(--bg);
  padding: 0 0 clamp(60px, 10vw, 100px);
}
.disclaimer__box {
  background: linear-gradient(135deg, rgba(108,125,255,0.08), rgba(108,125,255,0.02));
  border: 1px solid rgba(108,125,255,0.2);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.disclaimer__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.disclaimer__box p {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-dim);
  line-height: 1.55;
  max-width: 880px;
}
.disclaimer__box strong { color: var(--text); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: clamp(56px, 8vw, 96px) 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
.footer__brand p { color: var(--text-dim); font-size: 14.5px; max-width: 280px; line-height: 1.6; }
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 16px;
}
.footer__col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 18px;
}
.footer__col a {
  display: block;
  padding: 6px 0;
  font-size: 14.5px;
  color: var(--text-dim);
  transition: color .2s var(--ease);
}
.footer__col a:hover { color: var(--text); }
.footer__base {
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-mute);
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie {
  position: fixed;
  bottom: 24px; left: 24px; right: 24px;
  z-index: 90;
  max-width: 720px;
  margin: 0 auto;
  background: rgba(20,20,29,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  transform: translateY(150%);
  transition: transform .6s var(--ease);
}
.cookie.is-visible { transform: translateY(0); }
.cookie__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie__copy { flex: 1 1 320px; }
.cookie__copy strong { display: block; font-size: 14.5px; margin-bottom: 4px; }
.cookie__copy p { font-size: 13px; color: var(--text-dim); line-height: 1.5; }
.cookie__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translate(-50%, 200%);
  z-index: 200;
  background: var(--text);
  color: #07070a;
  padding: 16px 22px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  transition: transform .5s var(--ease);
  max-width: 380px;
}
.toast.is-visible { transform: translate(-50%, 0); }
.toast__icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-2);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.toast strong { display: block; font-size: 14px; }
.toast span { font-size: 13px; color: rgba(7,7,10,0.65); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__inner > .btn { display: none; }
  .nav__burger { display: inline-flex; }

  .hero { padding-top: 100px; }
  .hero__scroll { display: none; }

  .stats__grid { grid-template-columns: 1fr; gap: 24px; }
  .stat { flex-direction: row; align-items: baseline; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .stat__num { font-size: 2.6rem; }

  .contact__grid { grid-template-columns: 1fr; }
  .contact__form { grid-template-columns: 1fr; padding: 24px; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__base { flex-direction: column; gap: 8px; }

  .case-frame { flex: 0 0 78vw; }

  .cookie { left: 16px; right: 16px; bottom: 16px; padding: 16px; }
  .cookie__inner { flex-direction: column; align-items: stretch; gap: 16px; }
  .cookie__actions { justify-content: stretch; }
  .cookie__actions .btn { flex: 1; }
}

@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
