/* Adapt IT — brand palette derived from the logo:
   near-black #060005, green #1f6922. */
:root {
  --color-black: #0a0a0a;
  --color-black-soft: #171717;
  --color-green: #1f6922;
  --color-green-hover: #2e8a34;
  --color-green-press: #154718;
  --color-green-tint: #eaf3ea;
  --color-green-glow: rgba(46, 138, 52, 0.35);
  --color-gray-50: #f7f7f6;
  --color-gray-100: #efeeec;
  --color-gray-200: #e2e0dd;
  --color-gray-400: #a8a49e;
  --color-gray-600: #6b6660;
  --color-white: #ffffff;

  --text-primary: var(--color-black);
  --text-secondary: var(--color-gray-600);
  --text-on-dark: #f2f1ef;
  --text-on-dark-secondary: #b8b5b0;

  --border-color: var(--color-gray-200);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 10, 10, 0.05), 0 1px 1px rgba(10, 10, 10, 0.04);
  --shadow: 0 4px 16px rgba(10, 10, 10, 0.06), 0 1px 2px rgba(10, 10, 10, 0.05);
  --shadow-lg: 0 24px 48px -12px rgba(10, 10, 10, 0.18), 0 4px 10px rgba(10, 10, 10, 0.06);
  --shadow-green: 0 12px 28px -8px rgba(31, 105, 34, 0.45);
  --content-width: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--color-green);
  color: var(--color-white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-green);
  text-decoration: none;
  transition: color 0.15s var(--ease);
}
a:hover {
  color: var(--color-green-hover);
  text-decoration: underline;
}

h1, h2, h3, h4 {
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.25rem, 1.75rem + 2.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 1.35rem + 1vw, 2.25rem); }
h3 { font-size: 1.3rem; font-weight: 700; }

p { margin: 0 0 1em; }

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(10, 10, 10, 0.06);
  transition: box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(10, 10, 10, 0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  transition: opacity 0.15s var(--ease);
}
.brand:hover { opacity: 0.75; }
.brand img {
  height: 32px;
  width: auto;
}
.nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  position: relative;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--color-green);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s var(--ease);
}
.nav-links a:hover {
  color: var(--color-green);
  text-decoration: none;
}
.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.lang-switch {
  display: flex;
  gap: 2px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 2px;
}
.lang-switch a, .lang-switch span {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.lang-switch a:hover {
  text-decoration: none;
  color: var(--color-green);
}
.lang-switch .active {
  background: var(--color-black);
  color: var(--color-white);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-black);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--color-green);
  color: var(--color-white);
  box-shadow: var(--shadow-green);
}
.btn-primary:hover { background: var(--color-green-hover); color: var(--color-white); box-shadow: 0 16px 32px -8px rgba(31, 105, 34, 0.55); }
.btn-primary:active { background: var(--color-green-press); }
.btn-outline {
  background: transparent;
  border-color: var(--color-gray-200);
  color: var(--text-primary);
}
.btn-outline:hover { border-color: var(--color-green); color: var(--color-green); box-shadow: var(--shadow); }
.btn-dark {
  background: var(--color-black);
  color: var(--color-white);
}
.btn-dark:hover { background: var(--color-black-soft); color: var(--color-white); box-shadow: var(--shadow-lg); }
.btn-outline-dark {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--text-on-dark);
}
.btn-outline-dark:hover { border-color: rgba(255, 255, 255, 0.55); color: var(--color-white); }

/* Hero */
.hero {
  position: relative;
  background: var(--color-black);
  color: var(--text-on-dark);
  padding: 96px 0 104px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -1;
  pointer-events: none;
}
.hero::before {
  width: 520px;
  height: 520px;
  right: -120px;
  top: -180px;
  background: radial-gradient(circle, var(--color-green-glow), transparent 70%);
}
.hero::after {
  width: 420px;
  height: 420px;
  left: -160px;
  bottom: -220px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 70%);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-on-dark);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-green-hover);
  box-shadow: 0 0 0 3px rgba(46, 138, 52, 0.25);
}
.hero h1 { color: var(--text-on-dark); }
.hero p.lead {
  color: var(--text-on-dark-secondary);
  font-size: 1.2rem;
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* Quick credibility signals under the hero intro - kept to a single slim
   row so it reads as a fact strip, not another heavy section. */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 4px 0 40px;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--color-gray-50);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}
.trust-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-green);
  flex-shrink: 0;
}
.hero-art {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
}

/* Page hero (simpler, for non-home pages) */
.page-hero {
  position: relative;
  background: var(--color-gray-50);
  border-bottom: 1px solid var(--border-color);
  padding: 64px 0;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -140px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 105, 34, 0.1), transparent 70%);
  pointer-events: none;
}
.page-hero .eyebrow {
  color: var(--color-green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
  margin-bottom: 10px;
}
.page-hero p.lead {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 60ch;
}

/* Sections */
.section { padding: 80px 0; }
.section-tight { padding: 40px 0; }
.section-alt { background: var(--color-gray-50); }
.section-dark { background: var(--color-black); color: var(--text-on-dark); }
.section-dark h2, .section-dark h3 { color: var(--text-on-dark); }
.section-dark p { color: var(--text-on-dark-secondary); }
.section-header { margin: 0 0 44px; }
.section-header p { max-width: 85ch; line-height: 1.65; margin-bottom: 1.3em; }
.section-header .eyebrow {
  display: inline-block;
  color: var(--color-green);
  background: var(--color-green-tint);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.76rem;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* Feature / value grid */
.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Full-width service rows: a boxed grid of only a few items always reads
   as small, boxy tiles surrounded by empty space. Rows that span the full
   container width read as substantial regardless of how little text is
   in them. */
.service-list {
  border-top: 1px solid var(--border-color);
}
.service-row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 32px 8px;
  border-bottom: 1px solid var(--border-color);
  color: inherit;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.service-row:hover {
  text-decoration: none;
  background: var(--color-gray-50);
  transform: translateX(4px);
}
.service-row .icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-green-tint), #dcefe0);
  color: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* Inline Font Awesome icons (self-hosted as inline SVG paths, no CDN/webfont
   request) - fill: currentColor so they pick up the green .icon color. */
.icon-svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  display: block;
}
.service-row-body { flex: 1; min-width: 0; }
.service-row-body h3 { margin-bottom: 4px; font-size: 1.25rem; }
.service-row-body p { margin: 0; color: var(--text-secondary); }
.service-row-arrow {
  flex-shrink: 0;
  font-size: 1.4rem;
  color: var(--color-gray-400);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.service-row:hover .service-row-arrow {
  color: var(--color-green);
  transform: translateX(4px);
}
@media (max-width: 620px) {
  .service-row { padding: 22px 4px; gap: 16px; }
  .service-row .icon { width: 44px; height: 44px; font-size: 1.2rem; }
}

.card {
  background: var(--color-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card .icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-green-tint), #dcefe0);
  color: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.card h3 a { color: inherit; }
.card h3 a:hover { color: var(--color-green); text-decoration: none; }
.card p { color: var(--text-secondary); margin: 0; }
.card .card-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* About-page intro: photo + running bio text side by side. Text usually
   runs longer than the photo, so the columns are top-aligned rather than
   centered, and the photo stays in view as you scroll past it. */
.about-intro {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}
.about-intro img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: sticky;
  top: 96px;
}
.about-intro .lede {
  font-size: 1.15rem;
  color: var(--text-primary);
}
.about-intro .lede strong { color: var(--color-black); }
.about-intro .lede h2 { margin-top: 1.1em; font-size: 1.5rem; }

/* Readable single-column prose, used below the wider intro/highlights */
.prose {
  max-width: 85ch;
  margin: 80px 0 0;
}

.pull-quote {
  margin: 1.8em 0;
  padding: 4px 24px;
  border-left: 3px solid var(--color-green);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-black);
  letter-spacing: -0.01em;
}

/* Personal-trait list: a livelier alternative to boxed cards for a short,
   first-person set of statements - a numbered row you read down through,
   with a small nudge of motion on hover. */
.trait-list {
  border-top: 1px solid var(--border-color);
}
.trait-list-item {
  display: flex;
  align-items: baseline;
  gap: 28px;
  padding: 30px 4px;
  border-bottom: 1px solid var(--border-color);
  transition: transform 0.25s var(--ease);
}
.trait-list-item:hover { transform: translateX(8px); }
.trait-list-item .trait-num {
  flex-shrink: 0;
  width: 48px;
  font-size: 1.3rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--color-gray-200);
  transition: color 0.25s var(--ease);
}
.trait-list-item:hover .trait-num { color: var(--color-green); }
.trait-list-item h3 { margin-bottom: 6px; font-size: 1.15rem; }
.trait-list-item p { margin: 0; color: var(--text-secondary); }

@media (max-width: 780px) {
  .about-intro { grid-template-columns: 1fr; gap: 24px; }
  .about-intro img { position: static; }
  .trait-list-item { gap: 18px; }
}

/* CTA banner (used for shop / appointment / contact pages linking out) */
.cta-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, var(--color-green-tint), #f7fbf7);
  border: 1px solid rgba(31, 105, 34, 0.25);
  border-radius: var(--radius);
  padding: 30px 34px;
  margin: 36px 0;
  overflow: hidden;
}
.cta-banner h3 { margin: 0 0 4px; }
.cta-banner p { margin: 0; color: var(--text-secondary); }
.cta-note {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 10px;
}

/* Blog list */
.blog-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.post-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.post-card:hover {
  border-color: transparent;
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.post-card-media {
  aspect-ratio: 16 / 9;
  background: var(--color-gray-100);
  overflow: hidden;
}
.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.post-card:hover .post-card-media img { transform: scale(1.06); }
.post-card-media.no-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-black) 0%, var(--color-green-press) 55%, var(--color-green) 100%);
}
.post-card-media.no-cover img {
  width: 34%;
  height: auto;
  object-fit: contain;
  opacity: 0.5;
  filter: brightness(0) invert(1);
  transition: transform 0.4s var(--ease);
}
.post-card:hover .post-card-media.no-cover img { transform: scale(1.06); }
.post-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.post-card .date {
  font-size: 0.78rem;
  color: var(--color-gray-600);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.post-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.post-card h3 a { color: var(--text-primary); }
.post-card h3 a:hover { color: var(--color-green); text-decoration: none; }
.post-card p { color: var(--text-secondary); font-size: 0.92rem; margin: 0; }

/* Article */
.article-header { padding: 52px 0 32px; border-bottom: 1px solid var(--border-color); }
.article-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 14px;
}
.article-cover {
  margin: 32px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.article-cover.no-cover {
  aspect-ratio: 21 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-black) 0%, var(--color-green-press) 55%, var(--color-green) 100%);
}
.article-cover.no-cover img {
  width: 16%;
  height: auto;
  object-fit: contain;
  opacity: 0.5;
  filter: brightness(0) invert(1);
}
.article-body {
  max-width: 74ch;
  margin: 0 auto;
  padding: 40px 24px 0;
  font-size: 1.05rem;
}
.article-body h2 { margin-top: 1.6em; }
.article-body h3 { margin-top: 1.3em; }
.article-body img { border-radius: var(--radius-sm); margin: 1.2em 0; box-shadow: var(--shadow); }
.article-body blockquote {
  margin: 1.4em 0;
  padding: 4px 20px;
  border-left: 3px solid var(--color-green);
  color: var(--text-secondary);
}
.article-body pre {
  background: var(--color-black);
  color: var(--text-on-dark);
  padding: 16px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
}
.article-body code {
  background: var(--color-gray-100);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
}
.article-body pre code { background: none; padding: 0; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.4em 0; }
.article-body th, .article-body td {
  border: 1px solid var(--border-color);
  padding: 8px 12px;
  text-align: left;
}
.no-translation-note {
  max-width: 74ch;
  margin: 32px auto 0;
  padding: 14px 18px;
  background: var(--color-gray-50);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Footer */
.site-footer {
  background: var(--color-black);
  color: var(--text-on-dark-secondary);
  padding: 60px 0 28px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}
.footer-grid h4 {
  color: var(--text-on-dark);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--text-on-dark-secondary); }
.footer-grid a:hover { color: var(--color-green-hover); text-decoration: none; }
.footer-brand img {
  height: 28px;
  margin-bottom: 14px;
  /* logo is near-black on transparent - invisible on the dark footer
     background without this, so render it as a white silhouette here. */
  filter: brightness(0) invert(1);
}
.footer-brand p { max-width: 34ch; font-size: 0.9rem; }
.footer-badge {
  height: 64px;
  width: auto;
  margin-top: 18px;
  background: #fff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}

/* Scroll-reveal (progressive enhancement - see main.js) */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  }
  [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  .grid .card:nth-child(2) { transition-delay: 0.08s; }
  .grid .card:nth-child(3) { transition-delay: 0.16s; }
  .grid .card:nth-child(4) { transition-delay: 0.24s; }
  .blog-grid .post-card:nth-child(2) { transition-delay: 0.06s; }
  .blog-grid .post-card:nth-child(3) { transition-delay: 0.12s; }
  .trait-list-item:nth-child(2) { transition-delay: 0.08s; }
  .trait-list-item:nth-child(3) { transition-delay: 0.16s; }
}

/* Responsive */
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    background: var(--color-white);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 24px 24px;
    box-shadow: var(--shadow);
  }
  .nav.open .nav-menu { display: flex; }
  .nav-links {
    flex-direction: column;
    gap: 14px;
  }
  .nav-links a::after { display: none; }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
}

/* Cookie notice */
.cookie-bar {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--color-black);
  color: var(--text-on-dark-secondary);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  max-width: 720px;
  margin: 0 auto;
  transform: translateY(140%);
  transition: transform 0.35s var(--ease);
}
.cookie-bar.is-visible { transform: translateY(0); }
.cookie-bar p { margin: 0; font-size: 0.88rem; }
.cookie-bar a { color: var(--text-on-dark); text-decoration: underline; }
.cookie-bar-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-bar .btn { flex-shrink: 0; padding: 10px 20px; font-size: 0.88rem; }

@media (max-width: 560px) {
  .cookie-bar { left: 12px; right: 12px; bottom: 12px; padding: 16px; }
  .cookie-bar-actions { width: 100%; }
  .cookie-bar-actions .btn { flex: 1; }
}

/* 404 */
.error-page {
  padding: 90px 0;
  text-align: center;
}
.error-code {
  font-size: 6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-green);
  margin-bottom: 8px;
}
.error-lang { max-width: 52ch; margin: 0 auto; }
.error-lang h1 { font-size: 1.5rem; margin-bottom: 10px; }
.error-lang p { color: var(--text-secondary); margin-bottom: 22px; }
.error-divider {
  width: 64px;
  height: 1px;
  background: var(--border-color);
  margin: 44px auto;
}
