/* ================================================================
   JEB Entreprise ApS — Shared Stylesheet
   jeb-entreprise.dk
   Fonts are loaded via <link> in each page's <head>.
   ================================================================ */

/* ── Tokens ─────────────────────────────────────────────────────── */
:root {
  --black:      #141414;
  --bs:         #1C1B19;
  --g900:       #2A2A28;
  --g800:       #3D3D3A;
  --g700:       #555552;
  --g600:       #6E6E6A;
  --g500:       #8A8A85;
  --g400:       #A8A8A3;
  --g300:       #C4C4BE;
  --g200:       #D8D3CB;
  --g100:       #EDEBE5;
  --surface:    #F5F1EB;
  --white:      #FAFAF8;
  --a900:       #0F2E1E;
  --a700:       #1F5236;
  --a500:       #2D7A52;
  --a300:       #72B896;
  --a100:       #D0EDDE;

  --fd: 'Barlow Condensed', sans-serif;
  --fb: 'DM Sans', sans-serif;
  --fm: 'JetBrains Mono', monospace;

  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --section-py: 100px;
  --section-px: 40px;
}

/* ── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fb);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--black);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ── Utilities ──────────────────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Layout ─────────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--section-px);
}

/* ── Overline ───────────────────────────────────────────────────── */
.overline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fb);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--a500);
  margin-bottom: 14px;
}
.overline-line {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--a500);
  flex-shrink: 0;
}

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--fb);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 13px 28px;
  border-radius: 4px;
  border: 1.5px solid transparent;
  transition: background 0.2s var(--ease-out), transform 0.15s var(--ease-out), border-color 0.2s, color 0.2s;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
}
.btn-sm { font-size: 0.8125rem; padding: 9px 20px; }

.btn-accent  { background: var(--a500); color: var(--white); border-color: var(--a500); }
.btn-accent:hover { background: var(--a700); border-color: var(--a700); transform: scale(1.02); color: var(--white); }

.btn-dark    { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-dark:hover { background: var(--g900); border-color: var(--g900); }

.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: rgba(255,255,255,0.7); color: var(--white); }

.btn-ghost   { background: transparent; color: var(--black); border-color: var(--g200); }
.btn-ghost:hover { border-color: var(--g400); }

/* ── Section header ─────────────────────────────────────────────── */
.section-header { margin-bottom: 52px; }
.section-header h2 {
  font-family: var(--fd);
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--black);
  line-height: 1.05;
}
.section-header h2.light { color: var(--white); }
.section-header .sub {
  font-size: 1rem;
  color: var(--g600);
  line-height: 1.7;
  margin-top: 12px;
  max-width: 520px;
}

/* ================================================================
   HEADER / NAV
   ================================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 var(--section-px);
  background: transparent;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(20, 20, 20, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255,255,255,0.08);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  z-index: 110;
}
.header-logo .logo-icon { height: 36px; filter: invert(1); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: var(--fd);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.logo-tagline {
  font-family: var(--fb);
  font-size: 0.625rem;
  color: var(--g500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 3px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--g300);
  letter-spacing: 0.01em;
  padding: 4px 0;
  border-bottom: 1.5px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  text-decoration: none;
}
.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--a500);
  border-bottom-color: var(--a500);
}
.nav-cta { margin-left: 8px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 110;
  position: relative;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
body.menu-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .hamburger span:nth-child(2) { opacity: 0; }
body.menu-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   HERO — Full-bleed (forside)
   ================================================================ */
.hero {
  background: var(--black);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px var(--section-px) 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 45%; height: 100%;
  background: linear-gradient(135deg, transparent 40%, rgba(45,122,82,0.05) 100%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; right: 5%;
  width: 320px; height: 320px;
  background: rgba(45,122,82,0.04);
  border-radius: 50%;
  pointer-events: none;
}
.hero-watermark {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  height: 340px;
  opacity: 0.04;
  filter: invert(1);
  pointer-events: none;
  user-select: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
}
.hero .overline { margin-bottom: 24px; }
.hero-headline {
  font-family: var(--fd);
  font-size: clamp(3.25rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
  max-width: 780px;
  margin-bottom: 24px;
}
.hero-headline .accent { color: var(--a500); }
.hero-sub {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--g500);
  max-width: 520px;
  margin-bottom: 48px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.stat-num {
  font-family: var(--fd);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--a500);
  line-height: 1;
}
.stat-label { font-size: 0.8125rem; color: var(--g600); margin-top: 4px; }

/* ================================================================
   PAGE HERO — Underpages
   ================================================================ */
.page-hero {
  background: var(--black);
  padding: 140px var(--section-px) 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%; height: 100%;
  background: linear-gradient(135deg, transparent 30%, rgba(45,122,82,0.04) 100%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 {
  font-family: var(--fd);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.05;
  max-width: 700px;
}
.page-hero p {
  color: var(--g500);
  margin-top: 16px;
  max-width: 500px;
  line-height: 1.7;
}

/* ================================================================
   SERVICES
   ================================================================ */
.services-section {
  background: var(--surface);
  padding: var(--section-py) var(--section-px);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--g200);
  border-radius: 4px;
  padding: 32px 28px;
  transition: box-shadow 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.service-card:hover {
  box-shadow: 0 8px 32px rgba(20,20,20,0.12);
  transform: translateY(-3px);
}
.service-icon { color: var(--a500); margin-bottom: 20px; }
.service-card h3 {
  font-family: var(--fd);
  font-size: 1.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-bottom: 12px;
  line-height: 1.15;
}
.service-card p { font-size: 0.875rem; line-height: 1.7; color: var(--g700); margin-bottom: 20px; }
.service-bullets { display: flex; flex-direction: column; gap: 6px; }
.service-bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--g800);
}
.service-bullets li::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--a500);
  flex-shrink: 0;
}
.services-cta { text-align: center; }

/* ================================================================
   ABOUT
   ================================================================ */
.about-section {
  background: var(--black);
  padding: var(--section-py) var(--section-px);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-section .section-header h2 { color: var(--white); }
.about-lead { font-size: 1rem; line-height: 1.75; color: var(--g500); margin-bottom: 20px; }
.about-values { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.value-item { display: flex; gap: 14px; align-items: flex-start; }
.value-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--a500);
  margin-top: 6px;
  flex-shrink: 0;
}
.value-title { font-size: 0.875rem; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.value-text  { font-size: 0.8125rem; color: var(--g600); }

/* Founder card */
.founder-photo {
  background: var(--bs);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
}
.founder-photo-label { font-size: 0.75rem; color: var(--g700); letter-spacing: 0.06em; }
.founder-caption {
  margin-top: 14px;
  padding: 16px 20px;
  background: var(--bs);
  border-radius: 4px;
  display: flex;
  align-items: center;
}
.founder-name {
  font-family: var(--fd);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: -0.01em;
}
.founder-role { font-size: 0.75rem; color: var(--g600); margin-top: 2px; }
.founder-cvr {
  font-family: var(--fm);
  font-size: 0.6875rem;
  color: var(--a500);
  white-space: nowrap;
  margin-left: auto;
}

/* ================================================================
   PROJECTS
   ================================================================ */
.projects-section {
  background: var(--white);
  padding: var(--section-py) var(--section-px);
}
.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}
.projects-header .section-header { margin-bottom: 0; }
.projects-header-note { font-size: 0.875rem; color: var(--g600); max-width: 340px; line-height: 1.6; text-align: right; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.project-card {
  background: var(--surface);
  border: 1px solid var(--g200);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s var(--ease-out), transform 0.2s var(--ease-out);
  cursor: default;
}
.project-card:hover {
  box-shadow: 0 8px 32px rgba(20,20,20,0.12);
  transform: translateY(-2px);
}
.project-img {
  height: 160px;
  background: var(--g100);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.project-img svg { opacity: 0.4; }
.project-year {
  position: absolute;
  top: 10px; right: 10px;
  font-family: var(--fm);
  font-size: 0.625rem;
  color: var(--g400);
}
.project-body { padding: 16px 18px; }
.project-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.tag-renovering    { background: #D0EDDE; color: #0F2E1E; }
.tag-tomrer        { background: var(--black); color: var(--white); }
.tag-entreprise    { background: var(--a500); color: var(--white); }
.tag-byggeledelse  { background: var(--g100); color: var(--black); }
.project-title {
  font-family: var(--fd);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--black);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  line-height: 1.15;
}
.project-desc { font-size: 0.8125rem; color: var(--g600); line-height: 1.55; }

/* ================================================================
   CTA BANNER
   ================================================================ */
.cta-section {
  background: var(--black);
  padding: 80px var(--section-px);
  text-align: center;
}
.cta-section h2 {
  font-family: var(--fd);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-section p { color: var(--g500); font-size: 1.0625rem; line-height: 1.7; max-width: 480px; margin: 0 auto 36px; }

/* ================================================================
   CONTACT
   ================================================================ */
.contact-section {
  background: var(--surface);
  padding: var(--section-py) var(--section-px);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: flex-start;
}
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--g200);
  border-radius: 4px;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 0.75rem; font-weight: 600; color: var(--black); }
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--fb);
  font-size: 0.875rem;
  color: var(--black);
  background: var(--surface);
  border: 1.5px solid var(--g200);
  border-radius: 4px;
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--black); }
.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555552' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-color: var(--surface);
  padding-right: 36px;
}
.form-group textarea { resize: vertical; line-height: 1.6; }

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid { border-color: #C0392B; }
.form-error {
  font-size: 0.75rem;
  font-weight: 500;
  color: #C0392B;
  margin-top: 2px;
}

.form-success {
  background: var(--white);
  border: 1px solid var(--g200);
  border-radius: 4px;
  padding: 48px 40px;
  text-align: center;
  display: none;
}
.form-success.visible { display: block; }
.form-success-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #D4EDDA;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.form-success h3 {
  font-family: var(--fd);
  font-size: 1.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 8px;
}
.form-success p { color: var(--g600); font-size: 0.875rem; }

/* Contact sidebar */
.contact-sidebar { display: flex; flex-direction: column; gap: 22px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-icon {
  width: 36px; height: 36px;
  border-radius: 4px;
  background: var(--a100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--a500);
  flex-shrink: 0;
}
.contact-info-label { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--g500); margin-bottom: 2px; }
.contact-info-value { font-size: 0.875rem; color: var(--black); font-weight: 500; }
.contact-info-value a { color: var(--black); transition: color 0.2s; }
.contact-info-value a:hover { color: var(--a500); }
.contact-note {
  background: var(--white);
  border: 1px solid var(--g200);
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 0.75rem;
  color: var(--g600);
  line-height: 1.6;
  margin-top: 4px;
}
.contact-note strong { color: var(--black); }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: #0D0D0D;
  padding: 60px var(--section-px) 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  text-decoration: none;
}
.footer-brand img { height: 32px; filter: invert(1); opacity: 0.85; }
.footer-brand-name { font-family: var(--fd); font-size: 1.125rem; font-weight: 700; text-transform: uppercase; color: var(--white); letter-spacing: -0.01em; }
.footer-brand-tagline { font-size: 0.625rem; color: var(--g700); letter-spacing: 0.08em; text-transform: uppercase; }
.footer-desc { font-size: 0.8125rem; color: var(--g700); line-height: 1.7; max-width: 300px; }
.footer-cvr { margin-top: 16px; font-family: var(--fm); font-size: 0.6875rem; color: var(--g800); }
.footer-col-title { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--g700); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.8125rem; color: var(--g600); transition: color 0.2s; }
.footer-links a:hover { color: var(--a500); }
.footer-contact-list { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-list span,
.footer-contact-list a { font-size: 0.8125rem; color: var(--g600); transition: color 0.2s; }
.footer-contact-list a:hover { color: var(--a500); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy,
.footer-location { font-size: 0.75rem; color: var(--g800); }
.footer-policy { font-size: 0.75rem; color: var(--g800); transition: color 0.2s; }
.footer-policy:hover { color: var(--a500); }

/* ================================================================
   COOKIE BANNER
   ================================================================ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  z-index: 200;
  width: min(720px, calc(100% - 48px));
  background: var(--black);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.cookie-text { flex: 1; font-size: 0.8125rem; line-height: 1.6; color: var(--g400); }
.cookie-text a { color: var(--a300); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ================================================================
   PRIVACY POLICY
   ================================================================ */
.policy-section { background: var(--surface); padding: var(--section-py) var(--section-px); }
.policy-content { max-width: 720px; }
.policy-content h2 {
  font-family: var(--fd);
  font-size: 1.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--black);
  margin: 40px 0 14px;
}
.policy-content h2:first-child { margin-top: 0; }
.policy-content p { font-size: 0.9375rem; line-height: 1.75; color: var(--g700); margin-bottom: 16px; }
.policy-content ul { list-style: disc; margin: 0 0 16px 20px; }
.policy-content ul li { font-size: 0.9375rem; line-height: 1.7; color: var(--g700); margin-bottom: 4px; }
.policy-content strong { color: var(--black); }
.policy-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 0.875rem; }
.policy-table th {
  text-align: left; font-weight: 600; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 8px 12px;
  background: var(--g100); color: var(--g700);
  border: 1px solid var(--g200);
}
.policy-table td { padding: 8px 12px; border: 1px solid var(--g200); color: var(--g700); line-height: 1.5; }

/* ================================================================
   ANIMATIONS
   ================================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-d1 { transition-delay: 0.1s; }
.fade-in-d2 { transition-delay: 0.2s; }
.fade-in-d3 { transition-delay: 0.3s; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 900px) {
  :root {
    --section-py: 64px;
    --section-px: 24px;
  }

  /* Mobile nav overlay */
  .hamburger { display: flex; }
  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--black);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease-out);
    z-index: 105;
  }
  body.menu-open .main-nav  { transform: translateX(0); }
  /* scroll lock handled by JS (position:fixed on body) */
  .nav-link {
    font-family: var(--fd);
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--white);
    border-bottom: none;
    padding: 8px 0;
  }
  .nav-link[aria-current="page"] { color: var(--a500); border-bottom: none; }
  .nav-cta { margin-top: 16px; font-size: 1rem !important; padding: 12px 32px !important; }

  /* Grids */
  .services-grid      { grid-template-columns: 1fr; }
  .about-grid         { grid-template-columns: 1fr; gap: 40px; }
  .projects-grid      { grid-template-columns: 1fr; }
  .contact-grid       { grid-template-columns: 1fr; }
  .footer-grid        { grid-template-columns: 1fr; gap: 32px; }

  /* Hero */
  .hero-watermark { display: none; }
  .hero-stats     { gap: 28px; }

  /* Projects header */
  .projects-header     { flex-direction: column; align-items: flex-start; }
  .projects-header-note { text-align: left; }

  /* CTA */
  .cta-section   { text-align: left; }
  .cta-section p { margin-left: 0; }

  /* Footer */
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  /* Cookie banner */
  .cookie-banner { flex-direction: column; align-items: flex-start; bottom: 16px; }
}

@media (max-width: 600px) {
  .form-row                  { grid-template-columns: 1fr; }
  .hero-ctas                 { flex-direction: column; }
  .hero-ctas .btn            { width: 100%; }
  .cookie-actions            { width: 100%; }
  .cookie-actions .btn       { flex: 1; }
}
