/*
  Francesco Evangelisti — Design System
  Futuristic Premium Aesthetic
*/

:root {
  --bg: #020204;
  --surface: #08080f;
  --surface-hover: #0f0f1a;
  --surface-border: rgba(255, 255, 255, 0.06);
  --surface-border-strong: rgba(255, 255, 255, 0.14);

  --primary: #f0f0ff;
  --secondary: #8888aa;
  --muted: #50506a;

  --accent-cyan: #00e5ff;
  --accent-violet: #9b6dff;
  --accent-coral: #ff4466;
  --accent-gold: #ffb830;

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;

  --container-max: 1200px;
  --nav-height: 68px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition: 0.4s var(--ease);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-cyan), var(--accent-violet));
  border-radius: 3px;
}

/* ===== BASE ===== */
body {
  background-color: var(--bg);
  color: var(--primary);
  font-family: var(--font-main);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Grid background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 75% 75% at 50% 40%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 40%, black 30%, transparent 100%);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--primary);
}

h1 { font-size: clamp(2.8rem, 7.5vw, 5.2rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h3 { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; }

p { color: var(--secondary); font-size: 1.05rem; line-height: 1.75; }

a { color: inherit; }

.grad-text {
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.55) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.grad-accent {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-violet) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== LAYOUT ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

section {
  padding: 130px 0;
  position: relative;
  overflow: hidden;
}

/* ===== SCROLL PROGRESS ===== */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet), var(--accent-coral));
  z-index: 9999;
  width: 0%;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.6);
  transition: width 0.1s linear;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-stagger.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.35s; }
.reveal-stagger.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.45s; }
.reveal-stagger.visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.55s; }

/* ===== NAVIGATION ===== */
nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: background 0.4s var(--ease), border-color 0.4s;
}

nav.scrolled {
  background: rgba(2, 2, 4, 0.88);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border-bottom: 1px solid var(--surface-border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 800;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.logo img {
  height: 28px; width: auto;
  filter: invert(1);
  border-radius: 4px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a.active-nav { color: var(--primary); }
.nav-links a:hover::after,
.nav-links a.active-nav::after { width: 100%; }

.nav-cta {
  position: relative;
  overflow: hidden;
  background: transparent;
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.86rem;
  border: 1px solid var(--surface-border-strong);
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.nav-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,229,255,0.08), rgba(155,109,255,0.08));
  opacity: 0;
  transition: opacity 0.3s;
}

.nav-cta:hover {
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.12);
}

.nav-cta:hover::before { opacity: 1; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  z-index: 1001;
  position: relative;
}

.nav-toggle span {
  width: 22px; height: 1.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
  display: block;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* Mobile full-screen nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 2, 4, 0.97);
  backdrop-filter: blur(24px);
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.nav-overlay a {
  text-decoration: none;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  transition: color 0.25s;
  opacity: 0;
  transform: translateY(20px);
  transition: color 0.25s, opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.nav-overlay.active a {
  opacity: 1;
  transform: translateY(0);
}

.nav-overlay.active a:nth-child(1) { transition-delay: 0.1s; }
.nav-overlay.active a:nth-child(2) { transition-delay: 0.16s; }
.nav-overlay.active a:nth-child(3) { transition-delay: 0.22s; }
.nav-overlay.active a:nth-child(4) { transition-delay: 0.28s; }
.nav-overlay.active a:nth-child(5) { transition-delay: 0.34s; }
.nav-overlay.active a:nth-child(6) { transition-delay: 0.40s; }
.nav-overlay.active a:nth-child(7) { transition-delay: 0.46s; }

.nav-overlay a:hover { color: var(--accent-cyan); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  animation: orb-drift 18s ease-in-out infinite;
}

.hero-orb-1 {
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(0,229,255,0.11) 0%, transparent 70%);
  top: -300px; left: -300px;
  animation-duration: 20s;
}

.hero-orb-2 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(155,109,255,0.1) 0%, transparent 70%);
  bottom: -200px; right: -200px;
  animation-duration: 24s;
  animation-direction: reverse;
}

.hero-orb-3 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,68,102,0.06) 0%, transparent 70%);
  top: 40%; left: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 30s;
  animation-delay: -8s;
}

@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(50px, -40px) scale(1.06); }
  50% { transform: translate(20px, 60px) scale(0.96); }
  75% { transform: translate(-40px, -20px) scale(1.03); }
}

.hero .container { position: relative; z-index: 2; }

/* Eyebrow badge */
.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 18px 6px 10px;
  background: rgba(0,229,255,0.06);
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 99px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 36px;
  color: var(--accent-cyan);
  animation: badge-shimmer 3.5s ease-in-out infinite;
}

.eyebrow-badge .dot {
  width: 6px; height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes badge-shimmer {
  0%, 100% { border-color: rgba(0,229,255,0.2); }
  50% { border-color: rgba(0,229,255,0.45); box-shadow: 0 0 24px rgba(0,229,255,0.1); }
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.6); }
}

.hero h1 {
  max-width: 980px;
  margin: 0 auto 28px;
  line-height: 1.0;
}

.hero-subtitle {
  max-width: 560px;
  margin: 0 auto 52px;
  font-size: 1.18rem;
  color: var(--secondary);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--primary);
  color: #080810;
  padding: 15px 30px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.93rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.01em;
}

.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,229,255,0.25), rgba(155,109,255,0.25));
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(255,255,255,0.14), 0 0 0 1px rgba(255,255,255,0.08);
}

.btn-primary:hover::before { opacity: 1; }

.btn-secondary {
  position: relative;
  overflow: hidden;
  background: transparent;
  color: var(--primary);
  padding: 15px 30px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.93rem;
  border: 1px solid var(--surface-border-strong);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  border-color: rgba(0,229,255,0.35);
  color: var(--accent-cyan);
  box-shadow: 0 0 24px rgba(0,229,255,0.1);
}

/* ===== GLASS CARDS ===== */
.glass-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  padding: 36px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s, background 0.4s;
  position: relative;
}

.glass-card:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  transform: translateY(-5px);
  border-color: rgba(0, 229, 255, 0.22);
  box-shadow:
    0 0 0 1px rgba(0,229,255,0.1),
    0 24px 60px rgba(0,0,0,0.5),
    0 0 50px rgba(0,229,255,0.04);
}

/* ===== EYEBROW / SECTION LABEL ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-violet);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 16px; height: 1px;
  background: currentColor;
  display: block;
  flex-shrink: 0;
}

.section-header { margin-bottom: 64px; }

/* Bio grid */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: center;
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.service-item h3 { margin: 18px 0 10px; }

.service-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(0,229,255,0.1), rgba(155,109,255,0.08));
  border: 1px solid rgba(0,229,255,0.18);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  transition: var(--transition);
}

.glass-card:hover .service-icon {
  box-shadow: 0 0 24px rgba(0,229,255,0.25);
  border-color: rgba(0,229,255,0.4);
}

/* Process step numbers */
.process-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 20px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.08);
  transition: -webkit-text-stroke-color 0.4s;
}

.glass-card:hover .process-num {
  -webkit-text-stroke-color: var(--accent-cyan);
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  max-width: 740px;
  margin: 0 auto;
  padding-left: 28px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 10px; bottom: 20px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent-cyan) 0%, var(--accent-violet) 60%, transparent 100%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  margin-bottom: 44px;
  position: relative;
  align-items: start;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 14px var(--accent-cyan), 0 0 28px rgba(0,229,255,0.3);
  border: 2px solid var(--bg);
}

.timeline-year {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--accent-cyan);
  padding-top: 5px;
  text-align: right;
  letter-spacing: 0.03em;
}

.timeline-content h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--primary);
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ===== STAT NUMBERS ===== */
.stat-number {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== TARGET ICONS ===== */
.target-badge {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  margin-bottom: 22px;
}

.target-badge.cyan {
  background: linear-gradient(135deg, rgba(0,229,255,0.14), rgba(0,229,255,0.04));
  border: 1px solid rgba(0,229,255,0.25);
  color: var(--accent-cyan);
}

.target-badge.violet {
  background: linear-gradient(135deg, rgba(155,109,255,0.14), rgba(155,109,255,0.04));
  border: 1px solid rgba(155,109,255,0.25);
  color: var(--accent-violet);
}

.target-badge.coral {
  background: linear-gradient(135deg, rgba(255,68,102,0.14), rgba(255,68,102,0.04));
  border: 1px solid rgba(255,68,102,0.25);
  color: var(--accent-coral);
  font-size: 0.85rem;
}

/* ===== REVIEWS ===== */
.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
}

.review-stars span {
  color: var(--accent-gold);
  font-size: 1rem;
  text-shadow: 0 0 8px rgba(255,184,48,0.5);
}

/* ===== ARTICOLI ===== */
.article-card {
  text-decoration: none;
  display: block;
}

.article-meta {
  font-size: 0.76rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.article-card h3 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 10px;
  transition: color 0.3s;
}

.article-card:hover h3 { color: var(--accent-cyan); }

.article-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ===== DOCENZE ===== */
.docenza-line {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.docenza-dot {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(155,109,255,0.15), rgba(0,229,255,0.08));
  border: 1px solid rgba(155,109,255,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== FAQ ===== */
.faq-item {
  cursor: pointer;
  margin-bottom: 10px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.faq-question h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
}

.faq-toggle {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--surface-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-cyan);
  font-size: 1.1rem;
  font-weight: 300;
  transition: var(--transition);
}

.faq-item.faq-open .faq-toggle {
  background: rgba(0,229,255,0.1);
  border-color: rgba(0,229,255,0.3);
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-content p {
  padding-top: 16px;
  font-size: 0.95rem;
  color: var(--secondary);
}

/* ===== CONTACT ===== */
.contact-card {
  background: linear-gradient(135deg,
    rgba(0,229,255,0.04) 0%,
    rgba(155,109,255,0.04) 50%,
    rgba(255,255,255,0.02) 100%
  );
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 28px;
  padding: 90px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
}

.contact-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-violet), transparent);
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #060610;
  padding: 18px 38px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  margin-bottom: 28px;
}

.contact-email:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(255,255,255,0.14);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--surface-border);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  width: 240px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-violet), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 14px;
  max-width: 260px;
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin-bottom: 20px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links-col a:hover { color: var(--primary); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--surface-border);
}

.footer-bottom p {
  font-size: 0.84rem;
  color: var(--muted);
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 30px));
  width: calc(100% - 40px);
  max-width: 860px;
  background: rgba(8, 8, 16, 0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--surface-border-strong);
  border-radius: 16px;
  padding: 22px 28px;
  z-index: 2000;
  transition: transform 0.6s var(--ease);
}

.cookie-banner.show {
  transform: translateX(-50%) translateY(0);
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
}

.cookie-content p {
  font-size: 0.9rem;
  color: var(--secondary);
  margin: 0;
}

.cookie-content a { color: var(--accent-cyan); }

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > *:first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  section { padding: 90px 0; }
  .hero { min-height: 100svh; }

  .bio-grid { grid-template-columns: 1fr !important; }

  .contact-card { padding: 52px 24px; }
  .contact-email { font-size: 0.9rem; padding: 15px 22px; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid > *:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .timeline { padding-left: 22px; }
  .timeline-item { grid-template-columns: 1fr; gap: 4px; }
  .timeline-year { text-align: left; }

  .cookie-content { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cookie-actions { width: 100%; }
  .cookie-actions button { flex: 1; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { justify-content: center; }
  .glass-card { padding: 28px 22px; }
}
