/* =========================================
   NOEMA CLINIC — Design System
   ========================================= */

:root {
  --bg-0: #0E1711;
  --bg-1: #152019;
  --bg-2: #1B2A1E;
  --bg-3: #223324;
  --bg-4: #2A3E2D;

  --text-0: #EFF0EB;
  --text-1: #B3C4B8;
  --text-2: #6A8872;
  --text-3: #3A5240;

  --accent:       #D4AA7D;
  --accent-light: #E8C99A;
  --accent-dark:  #A87E4A;
  --teal:         #6B9B8A;

  --border:        rgba(140, 185, 155, 0.08);
  --border-md:     rgba(140, 185, 155, 0.14);
  --border-accent: rgba(212, 170, 125, 0.25);

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.35);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.45);
  --shadow-lg: 0 24px 72px rgba(0,0,0,0.55);

  --transition-fast: 150ms cubic-bezier(0.4,0,0.2,1);
  --transition-base: 260ms cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 440ms cubic-bezier(0.4,0,0.2,1);

  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

  --nav-h: 76px;
  --container: 1200px;
  --pad: clamp(1.25rem, 5vw, 3.5rem);
}

/* ── Scrollbar ────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: var(--bg-4); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }

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

/* ── Typography ───────────────────────────── */
.display {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 8.5rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.02em;
}
h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 500;
  line-height: 1.25;
}
h4 {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
p { max-width: 60ch; }
p.wide { max-width: 72ch; }
p.narrow { max-width: 44ch; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ── Layout ───────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section {
  padding: clamp(5rem, 12vw, 10rem) 0;
}
.section--sm {
  padding: clamp(3rem, 7vw, 6rem) 0;
}
.section-header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.section-header.center {
  align-items: center;
  text-align: center;
}
.section-header.center .eyebrow::before { display: none; }

/* ── Buttons ──────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: all var(--transition-base);
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn--accent {
  background: var(--accent);
  color: var(--bg-0);
  font-weight: 600;
}
.btn--accent:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(212,170,125,0.3);
}
.btn--outline {
  border: 1px solid var(--border-md);
  color: var(--text-0);
}
.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}
.btn--ghost {
  color: var(--text-1);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--border-md);
  color: var(--text-0);
  transform: translateY(-1px);
}
.btn--lg {
  padding: 1.1rem 2.25rem;
  font-size: 1rem;
}
.btn--sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.825rem;
}
.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 500;
  transition: gap var(--transition-base);
}
.btn-arrow:hover { gap: 0.85rem; }
.btn-arrow svg { width: 16px; height: 16px; }

/* ── Navigation ───────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  max-width: 100vw;
  overflow: hidden;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 var(--pad);
  transition: background var(--transition-slow), backdrop-filter var(--transition-slow), border-color var(--transition-slow);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(14, 23, 17, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo img {
  height: 72px;
  width: auto;
  display: block;
  opacity: 0.95;
  transition: opacity var(--transition-fast);
}
.nav__logo:hover img { opacity: 1; }
.footer__brand .nav__logo img {
  height: 88px;
}
@media (max-width: 768px) {
  .nav__logo img { height: 48px; }
  .footer__brand .nav__logo img { height: 64px; }
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-left: auto;
}
.nav__links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--text-1);
  transition: color var(--transition-fast);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}
.nav__links a:hover,
.nav__links a.active { color: var(--text-0); }
.nav__links a:hover::after,
.nav__links a.active::after { transform: scaleX(1); }
.nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 2.5rem;
}
.lang-toggle {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-2);
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.lang-toggle:hover {
  color: var(--text-0);
  border-color: var(--border-md);
}
/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-0);
  transition: transform var(--transition-base), opacity var(--transition-base);
  transform-origin: center;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-0);
  z-index: 99;
  padding: calc(var(--nav-h) + 2rem) var(--pad) 3rem;
  flex-direction: column;
  gap: 2.5rem;
  opacity: 0;
  transition: opacity var(--transition-slow);
}
.nav__mobile.open {
  display: flex;
  opacity: 1;
}
.nav__mobile a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3.5rem);
  color: var(--text-0);
  transition: color var(--transition-fast);
}
.nav__mobile a:hover { color: var(--accent); }
.nav__mobile-footer {
  margin-top: auto;
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* ── Hero ─────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bg-0);
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(9,11,16,0) 0%,
    rgba(9,11,16,0.3) 50%,
    rgba(9,11,16,0.85) 100%
  );
}
.hero__watermark {
  position: absolute;
  right: -4vw;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(12rem, 28vw, 30rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  color: rgba(212,170,125,0.035);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 var(--pad) clamp(4rem, 8vw, 7rem);
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
}
.hero__logo-bg {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: clamp(400px, 70vw, 700px);
  width: auto;
  opacity: 1;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
.hero__headline {
  margin-bottom: 2.5rem;
}
.hero__headline-name {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-0);
}
.hero__headline-name em {
  font-style: italic;
  font-weight: 300;
}
.hero__headline-divider { display: none; }
.hero__headline-tagline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-top: 0.75rem;
}
@media (max-width: 768px) {
  .hero__logo-bg { height: clamp(180px, 50vw, 240px); top: 22%; }
}
.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 9.5rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--text-0);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 1s ease 0.4s forwards;
}
.hero__title em {
  font-style: italic;
  color: var(--accent);
}
.hero__sub {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--text-1);
  line-height: 1.7;
  max-width: 46ch;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.65s forwards;
}
.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.85s forwards;
}
.hero__scroll {
  position: absolute;
  bottom: clamp(1.5rem, 4vw, 3rem);
  right: var(--pad);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.1s forwards;
}
.hero__scroll-line {
  width: 1px;
  height: 3.5rem;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: scrollPulse 2s ease infinite;
}
.hero__scroll-text {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  writing-mode: vertical-rl;
}

/* ── Trust bar ────────────────────────────── */
.trust {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.trust__item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0 1.5rem;
  border-right: 1px solid var(--border);
}
.trust__item:last-child { border-right: none; }
.trust__number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}
.trust__label {
  font-size: 0.8rem;
  color: var(--text-2);
  letter-spacing: 0.04em;
}

/* ── Services ─────────────────────────────── */
.services {
  background: var(--bg-1);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-card {
  background: var(--bg-2);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: background var(--transition-base);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}
.service-card:hover { background: var(--bg-3); }
.service-card:hover::after { transform: scaleX(1); }
.service-card__num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--text-3);
  line-height: 1;
}
.service-card__icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
}
.service-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
}
.service-card__body {
  font-size: 0.9rem;
  color: var(--text-1);
  line-height: 1.75;
  flex: 1;
}
.service-card__link {
  margin-top: auto;
}

/* ── About ────────────────────────────────── */
.about {
  background: var(--bg-0);
  position: relative;
  overflow: hidden;
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}
.about__text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.about__visual {
  position: relative;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__visual-inner {
  width: 80%;
  height: 80%;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.about__visual-inner::before {
  content: 'Noema';
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 300;
  color: rgba(212,170,125,0.08);
  letter-spacing: -0.03em;
  font-style: italic;
}
.about__visual-ring {
  position: absolute;
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  animation: rotate 20s linear infinite;
}
.about__visual-ring:nth-child(1) {
  width: 110%; height: 110%;
  animation-direction: normal;
}
.about__visual-ring:nth-child(2) {
  width: 80%; height: 80%;
  animation-direction: reverse;
  animation-duration: 15s;
}
.about__visual-dot {
  position: absolute;
  top: 0; left: 50%;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateX(-50%);
}
.about__stat-row {
  display: flex;
  gap: 2.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}
.about__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}
.about__stat span {
  font-size: 0.8rem;
  color: var(--text-2);
}

/* ── Team ─────────────────────────────────── */
.team {
  background: var(--bg-1);
}
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.team-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
  cursor: default;
}
.team-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.team-card__avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.team-card__avatar--photo {
  width: calc(100% + clamp(3rem, 6vw, 4rem));
  height: 260px;
  margin: calc(-1 * clamp(1.5rem, 3vw, 2rem));
  margin-bottom: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  background: var(--bg-3);
}
.team-card__avatar--photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
  filter: blur(0.4px) contrast(0.96);
  transition: transform var(--transition-slow);
}
.team-card:hover .team-card__avatar--photo img { transform: scale(1.04); }
.avatar--na { background: rgba(107,155,150,0.18); color: var(--teal); }
.avatar--kh { background: rgba(212,170,125,0.12); color: var(--accent); }
.avatar--db { background: rgba(155,168,192,0.12); color: var(--text-1); }
.avatar--sa { background: rgba(168,126,74,0.15); color: var(--accent-dark); }
.team-card__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.3;
}
.team-card__role {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: -0.5rem;
}
.team-card__bio {
  font-size: 0.875rem;
  color: var(--text-1);
  line-height: 1.7;
  flex: 1;
}
.team-card__tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.tag {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--border-md);
  border-radius: 100px;
  color: var(--text-2);
}

/* ── Philosophy / Quote ───────────────────── */
.philosophy {
  background: var(--bg-0);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(5rem, 10vw, 9rem) 0;
  position: relative;
  overflow: hidden;
}
.philosophy__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(212,170,125,0.04) 0%, transparent 70%);
}
.philosophy__quote {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--pad);
  text-align: center;
}
.philosophy__mark {
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 300;
  color: var(--accent);
  opacity: 0.25;
  line-height: 0.5;
  display: block;
  margin-bottom: 1rem;
}
.philosophy__text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: var(--text-0);
  max-width: none;
}
.philosophy__attr {
  margin-top: 2rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
}

/* ── CTA Banner ───────────────────────────── */
.cta-banner {
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(212,170,125,0.07) 0%, transparent 60%);
}
.cta-banner__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 640px;
}
.cta-banner h2 { color: var(--text-0); }
.cta-banner p { color: var(--text-1); max-width: none; }

/* ── Footer ───────────────────────────────── */
.footer {
  background: var(--bg-0);
  border-top: 1px solid var(--border);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__brand .nav__logo { margin-bottom: 1rem; }
.footer__brand p {
  font-size: 0.875rem;
  color: var(--text-2);
  max-width: 28ch;
}
.footer__col h5 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 1rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__col a {
  font-size: 0.875rem;
  color: var(--text-2);
  transition: color var(--transition-fast);
}
.footer__col a:hover { color: var(--text-0); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-3);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── Page-specific: Om os ─────────────────── */
.page-hero {
  padding-top: calc(var(--nav-h) + clamp(4rem, 10vw, 8rem));
  padding-bottom: clamp(4rem, 8vw, 7rem);
  background: var(--bg-0);
  border-bottom: 1px solid var(--border);
}
.page-hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 700px;
}
.team-full__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.team-full-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
  transition: border-color var(--transition-base);
}
.team-full-card:hover { border-color: var(--border-accent); }
.team-full-card__avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  flex-shrink: 0;
}
.team-full-card__avatar--photo {
  width: 160px; height: 160px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-md);
  background: var(--bg-3);
}
.team-full-card__avatar--photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform var(--transition-slow);
}
.team-full-card:hover .team-full-card__avatar--photo img {
  transform: scale(1.04);
}
.team-full-card__body { display: flex; flex-direction: column; gap: 0.75rem; }
.team-full-card__name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; }
.team-full-card__role { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.team-full-card__bio { font-size: 0.9rem; color: var(--text-1); line-height: 1.75; max-width: none; }

/* ── Page-specific: Ydelser ───────────────── */
.service-detail {
  border-top: 1px solid var(--border);
  padding: clamp(3rem, 7vw, 6rem) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}
.service-detail:first-child { border-top: none; }
.service-detail__num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 300;
  color: var(--text-3);
  line-height: 1;
  margin-bottom: 1rem;
}
.service-detail__title { margin-bottom: 1.5rem; }
.service-detail__list { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
.service-detail__list li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-1);
  align-items: flex-start;
}
.service-detail__list li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 0.55rem;
  flex-shrink: 0;
}
.service-detail__aside {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

/* ── Page-specific: Priser ────────────────── */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.price-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: border-color var(--transition-base), transform var(--transition-base);
}
.price-card:hover { border-color: var(--border-accent); transform: translateY(-3px); }
.price-card--featured {
  border-color: var(--border-accent);
  background: var(--bg-3);
}
.price-card__name { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); }
.price-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}
.price-card__amount {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--text-0);
}
.price-card__unit { font-size: 0.85rem; color: var(--text-2); }
.price-card__divider { height: 1px; background: var(--border); }
.price-card__items { display: flex; flex-direction: column; gap: 0.6rem; }
.price-card__items li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-1);
}
.price-card__items li svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }

/* ── Page-specific: Kontakt ───────────────── */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}
.contact__info { display: flex; flex-direction: column; gap: 2.5rem; }
.contact__info-block { display: flex; flex-direction: column; gap: 0.5rem; }
.contact__info-block h4 { color: var(--text-2); font-size: 0.72rem; letter-spacing: 0.12em; }
.contact__info-block p, .contact__info-block a {
  font-size: 1rem;
  color: var(--text-0);
  max-width: none;
}
.contact__info-block a:hover { color: var(--accent); }
.form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-2);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  color: var(--text-0);
  font-family: var(--font-body);
  font-size: 0.95rem;
  width: 100%;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212,170,125,0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }
.form-group textarea { min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: 0.8rem; color: var(--text-2); }

/* ── Animations ───────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.4,0,0.2,1),
              transform 0.75s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal--d1 { transition-delay: 0.1s; }
.reveal--d2 { transition-delay: 0.2s; }
.reveal--d3 { transition-delay: 0.3s; }
.reveal--d4 { transition-delay: 0.4s; }
.reveal--d5 { transition-delay: 0.5s; }

/* ── Divider ──────────────────────────────── */
.divider { height: 1px; background: var(--border); }
.divider--accent { background: linear-gradient(to right, var(--accent), transparent); width: 80px; height: 1px; }

/* ── Utilities ────────────────────────────── */
.text-accent { color: var(--accent); }
.text-muted  { color: var(--text-2); }
.text-italic { font-style: italic; }
.flex-col    { display: flex; flex-direction: column; gap: 1rem; }
.mt-sm { margin-top: 0.75rem; }
.mt-md { margin-top: 1.5rem; }
.mt-lg { margin-top: 2.5rem; }

/* ── Reduced motion ───────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.visible {
    opacity: 1; transform: none;
    transition: none;
  }
  .hero__eyebrow, .hero__title, .hero__sub,
  .hero__cta, .hero__scroll {
    opacity: 1; animation: none;
  }
  #particleCanvas { display: none; }
  .about__visual-ring { animation: none; }
}

/* ── Responsive ───────────────────────────── */
@media (max-width: 1024px) {
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(2) { border-right: none; }
}

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

  .hero__title { font-size: clamp(3rem, 12vw, 5rem); }
  .services__grid { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; }
  .about__visual { display: none; }
  .team__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .team-full__grid { grid-template-columns: 1fr; }
  .team-full-card { grid-template-columns: 1fr; }
  .team-full-card__avatar--photo { width: 100%; height: 200px; border-radius: var(--radius-lg); }
  .section--sm .container > div[style*="repeat(3"] { grid-template-columns: 1fr !important; }
  .pricing__grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .trust__grid { grid-template-columns: 1fr 1fr !important; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  :root { --nav-h: 64px; }
  .trust__grid { grid-template-columns: 1fr !important; }
  .hero__cta { flex-direction: column; }
  .about__stat-row { flex-direction: column; gap: 1.5rem; }
}

/* ── Cookie Consent ──────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--bg-2);
  border-top: 1px solid var(--border-md);
  padding: 1.25rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner__text {
  font-size: 0.825rem;
  color: var(--text-1);
  max-width: 520px;
  line-height: 1.6;
}
.cookie-banner__text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__actions {
  display: flex;
  gap: 0.65rem;
  flex-shrink: 0;
}
.cookie-banner__btn {
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.cookie-banner__btn--accept {
  background: var(--accent);
  color: var(--bg-0);
  border: none;
}
.cookie-banner__btn--accept:hover { background: var(--accent-light); }
.cookie-banner__btn--decline {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border-md);
}
.cookie-banner__btn--decline:hover { color: var(--text-0); border-color: var(--text-3); }
@media (max-width: 768px) {
  .cookie-banner { flex-direction: column; gap: 1rem; text-align: center; }
}
