/*
  DESIGN SYSTEM: "Bohemian Editorial — Premium Edition"
  
  A premium Czech lifestyle editorial identity refined for SaaS-level quality,
  Google Ads compliance and 95+ Lighthouse performance. The visual language
  draws from European cultural magazines and Baroque Czech architecture,
  enhanced with controlled glassmorphism, gradient borders, layered depth
  and subtle motion.

  COLOR PALETTE
  --bg:            #F7F4EF   Warm archival paper background
  --surface:       rgba(255,255,255,0.82)  Glassmorphism surface
  --surface-solid: #FFFFFF   Opaque surface fallback
  --accent1:       #B85C38   Terracotta / Prague rooftop tone
  --accent2:       #2D5A4A   Deep forest green
  --accent3:       #C9A227   Muted Baroque gold
  --text:          #2C2723   Warm charcoal (WCAG AA on --bg)
  --muted:         #5E5953   Darkened taupe for 4.5:1+ contrast
  --border:        rgba(44,39,35,0.08)    Subtle borders

  TYPOGRAPHY
  - Headings: Cormorant Garamond, Georgia, Times New Roman, serif
  - Body:     Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif
  - UI/Labels: Space Grotesk, system-ui, sans-serif
  - Base: 16px (1.6rem), line-height 1.5
  - Headings: line-height 1.2
  - Fluid sizes via clamp()
  - font-display: swap on Google Fonts

  SPACING SCALE (px → rem at 62.5%)
  --space-1: 4px   (0.4rem)
  --space-2: 8px   (0.8rem)
  --space-3: 16px  (1.6rem)
  --space-4: 24px  (2.4rem)
  --space-5: 32px  (3.2rem)
  --space-6: 48px  (4.8rem)
  --space-7: 64px  (6.4rem)
  --space-8: 96px  (9.6rem)

  LAYOUT
  - Container max-width: 1200px (120rem)
  - Section vertical padding: 32px mobile → 80px desktop
  - Grid/flex gaps: min 24px
  - Mobile-first media queries: 640, 768, 1024, 1280
*/

/* ---------------- Reset & base ---------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

:root {
  --bg: #F7F4EF;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: #FFFFFF;
  --accent1: #B85C38;
  --accent2: #2D5A4A;
  --accent3: #C9A227;
  --text: #2C2723;
  --muted: #5E5953;
  --border: rgba(44, 39, 35, 0.08);

  --space-1: 0.4rem;
  --space-2: 0.8rem;
  --space-3: 1.6rem;
  --space-4: 2.4rem;
  --space-5: 3.2rem;
  --space-6: 4.8rem;
  --space-7: 6.4rem;
  --space-8: 9.6rem;

  --container: 120rem;
  --gutter: clamp(1.6rem, 4vw, 4.8rem);
  --section-y: clamp(3.2rem, 6vw, 8rem);

  --radius-sm: 1.2rem;
  --radius-md: 1.6rem;
  --radius-lg: 2.4rem;
  --radius-xl: 3.2rem;

  --shadow-sm: 0 0.4rem 1.2rem rgba(44, 39, 35, 0.06);
  --shadow-md: 0 1.2rem 3.2rem rgba(44, 39, 35, 0.1);
  --shadow-lg: 0 2.4rem 6.4rem rgba(44, 39, 35, 0.12);
  --shadow-glow: 0 0 2.4rem rgba(184, 92, 56, 0.22);
  --shadow-glow-green: 0 0 2.4rem rgba(45, 90, 74, 0.22);
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}

:focus-visible {
  outline: 0.2rem solid var(--accent1);
  outline-offset: 0.2rem;
}

/* ---------------- Typography ---------------- */
.heading-display,
h1, h2, h3, h4 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
}

h1 {
  font-size: clamp(3.2rem, 6vw, 6rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2.6rem, 4vw, 4rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(2rem, 2.5vw, 2.6rem);
}

h4 {
  font-size: clamp(1.7rem, 1.8vw, 2rem);
}

p, li {
  max-width: 72ch;
}

.text-lead {
  font-size: clamp(1.7rem, 2vw, 2rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 68ch;
}

.text-body {
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--text);
  max-width: 72ch;
}

.text-small {
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--muted);
}

.label {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent1);
}

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

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section-header {
  margin-bottom: clamp(2.4rem, 4vw, 4.8rem);
}

.section-header--center {
  text-align: center;
  max-width: 78rem;
  margin-inline: auto;
}

.section-header .label {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.6rem;
}

.section-header .label::after {
  content: "";
  display: block;
  width: 4rem;
  height: 0.1rem;
  background: var(--accent3);
}

.section-header--center .label {
  justify-content: center;
}

.section-header h2 {
  margin-bottom: 1.6rem;
}

.section-header .text-lead {
  margin-inline: auto;
}

/* ---------------- Header ---------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(247, 244, 239, 0.85);
  backdrop-filter: blur(1.6rem);
  -webkit-backdrop-filter: blur(1.6rem);
  border-bottom: 0.1rem solid var(--border);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header--scrolled {
  background: rgba(247, 244, 239, 0.96);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 7.2rem;
  gap: 2.4rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
  min-height: 4.4rem;
}

.logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  background: var(--accent1);
  color: var(--surface-solid);
  border-radius: 50%;
  font-size: 1.6rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4.4rem;
  padding-inline: 1.6rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--accent1);
  background: rgba(184, 92, 56, 0.08);
}

.main-nav a:active {
  transform: translateY(0.1rem);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
}

.lang-switcher button {
  width: 4.4rem;
  height: 4rem;
  border: 0.1rem solid var(--border);
  background: var(--surface);
  color: var(--muted);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  backdrop-filter: blur(0.4rem);
}

.lang-switcher button[aria-pressed="true"] {
  background: var(--text);
  color: var(--surface-solid);
  border-color: var(--text);
}

.lang-switcher button:not([aria-pressed="true"]):hover {
  border-color: var(--accent1);
  color: var(--accent1);
}

.menu-toggle {
  display: none;
  width: 4.4rem;
  height: 4.4rem;
  border: 0.1rem solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-sm);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  backdrop-filter: blur(0.4rem);
}

.menu-toggle span {
  display: block;
  width: 2rem;
  height: 0.2rem;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(0.7rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-0.7rem) rotate(-45deg);
}

/* ---------------- Hero ---------------- */
.hero {
  padding-top: calc(7.2rem + var(--section-y));
  padding-bottom: var(--section-y);
  overflow: hidden;
  position: relative;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3.2rem, 6vw, 7.2rem);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.hero__label::before {
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  background: var(--accent3);
  border-radius: 50%;
}

.hero h1 {
  margin-bottom: 2.4rem;
  max-width: 18ch;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent1);
}

.hero__lead {
  max-width: 54rem;
  margin-bottom: 3.2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 4rem;
}

.hero__stats {
  display: flex;
  gap: 3.2rem;
  padding-top: 2.4rem;
  border-top: 0.1rem solid var(--border);
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.hero__stat strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 3vw, 3.2rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1;
}

.hero__stat span {
  font-size: 1.3rem;
  color: var(--muted);
}

.hero__visual {
  position: relative;
  min-height: 44rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__card {
  position: relative;
  width: 100%;
  max-width: 52rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 3.2rem;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  backdrop-filter: blur(1.2rem);
  -webkit-backdrop-filter: blur(1.2rem);
  border: 0.1rem solid rgba(255, 255, 255, 0.5);
}

.hero__card::before {
  content: "";
  position: absolute;
  inset: -1.6rem auto auto -1.6rem;
  width: 100%;
  height: 100%;
  border: 0.1rem solid var(--accent3);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.6;
}

.hero__pattern {
  position: absolute;
  right: -4rem;
  top: -4rem;
  width: 24rem;
  height: 24rem;
  opacity: 0.2;
  z-index: 1;
}

.hero__blob {
  position: absolute;
  left: -6rem;
  bottom: -6rem;
  width: 28rem;
  height: 28rem;
  fill: var(--accent2);
  opacity: 0.08;
  z-index: 0;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 4.4rem;
  padding-inline: 2.4rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  border: 0.1rem solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-0.2rem);
}

.btn:focus-visible {
  outline-offset: 0.3rem;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent1) 0%, #9c4d2e 100%);
  color: var(--surface-solid);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #a04e2e 0%, #8a4226 100%);
  box-shadow: var(--shadow-glow);
}

.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.btn--primary:hover::before {
  transform: translateX(100%);
}

.btn--secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
  backdrop-filter: blur(0.4rem);
}

.btn--secondary:hover {
  border-color: var(--accent1);
  color: var(--accent1);
  box-shadow: var(--shadow-sm);
}

.btn--text {
  height: auto;
  padding: 0;
  background: transparent;
  color: var(--accent1);
  border: none;
  font-size: 1.4rem;
}

.btn--text::after {
  content: "→";
  transition: transform 0.2s ease;
}

.btn--text:hover::after {
  transform: translateX(0.4rem);
}

/* ---------------- Cards ---------------- */
.card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 0.1rem solid rgba(255, 255, 255, 0.5);
  padding: clamp(2rem, 3vw, 3.2rem);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  backdrop-filter: blur(1rem);
  -webkit-backdrop-filter: blur(1rem);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 0.1rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.6), rgba(201,162,39,0.15), rgba(255,255,255,0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-0.6rem);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  border-color: rgba(184, 92, 56, 0.2);
}

.card:hover::before {
  opacity: 1;
}

.card__icon {
  width: 4.8rem;
  height: 4.8rem;
  margin-bottom: 2rem;
  color: var(--accent1);
}

.card__icon svg {
  width: 100%;
  height: 100%;
}

.card h3 {
  margin-bottom: 1.2rem;
}

.card p {
  color: var(--muted);
}

/* ---------------- Editorial features ---------------- */
.feature-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3.2rem, 6vw, 7.2rem);
  align-items: center;
}

@media (min-width: 1024px) {
  .feature-split {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-split__visual {
  position: relative;
  min-height: 36rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-split__frame {
  position: relative;
  width: 100%;
  max-width: 48rem;
  aspect-ratio: 4 / 5;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  backdrop-filter: blur(0.8rem);
  border: 0.1rem solid rgba(255, 255, 255, 0.5);
}

.feature-split__frame svg {
  width: 100%;
  height: 100%;
}

.feature-split__accent {
  position: absolute;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  z-index: -1;
  filter: blur(1.2rem);
}

.feature-split__accent--top {
  top: -2rem;
  right: -2rem;
  background: var(--accent3);
  opacity: 0.2;
}

.feature-split__accent--bottom {
  bottom: -3rem;
  left: -3rem;
  background: var(--accent1);
  opacity: 0.15;
}

.feature-split__body h2 {
  margin-bottom: 2rem;
}

.feature-split__body p + p {
  margin-top: 1.6rem;
}

.feature-list {
  margin-top: 2.4rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.2rem 0;
  border-bottom: 0.1rem solid var(--border);
  color: var(--text);
}

.feature-list li::before {
  content: "";
  flex: 0 0 2.2rem;
  width: 2.2rem;
  height: 2.2rem;
  min-width: 2.2rem;
  min-height: 2.2rem;
  margin-top: 0.2rem;
  background: var(--accent2);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 1.2rem;
  background-repeat: no-repeat;
  background-position: center;
}

/* ---------------- Grids ---------------- */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 3vw, 3.2rem);
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.6rem, 2.5vw, 2.4rem);
}

.grid-auto {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 3vw, 3.2rem);
}

@media (min-width: 640px) {
  .grid-auto {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .grid-auto {
    grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
  }
}

/* ---------------- Numbered list ---------------- */
.numbered-list {
  counter-reset: item;
}

.numbered-list li {
  position: relative;
  padding-left: 5.6rem;
  padding-block: 2.4rem;
  border-bottom: 0.1rem solid var(--border);
}

.numbered-list li::before {
  counter-increment: item;
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2.2rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 3.2rem;
  font-weight: 600;
  color: var(--accent3);
  line-height: 1;
}

.numbered-list h4 {
  margin-bottom: 0.6rem;
}

.numbered-list p {
  color: var(--muted);
}

/* ---------------- Info banner ---------------- */
.info-banner {
  position: relative;
  background: linear-gradient(135deg, var(--accent2) 0%, #21483a 100%);
  color: var(--surface-solid);
  border-radius: var(--radius-lg);
  padding: clamp(3.2rem, 5vw, 5.6rem);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.info-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  pointer-events: none;
}

.info-banner h2 {
  color: var(--surface-solid);
  margin-bottom: 1.6rem;
  position: relative;
}

.info-banner p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 72rem;
  position: relative;
}

.info-banner__actions {
  margin-top: 2.4rem;
  position: relative;
}

/* ---------------- FAQ ---------------- */
.faq-list {
  max-width: 88rem;
  margin-inline: auto;
}

.faq-list h2 {
  margin-top: var(--space-6);
  margin-bottom: var(--space-4);
}

.faq-list h2:first-of-type {
  margin-top: 0;
}

.faq-item {
  border-bottom: 0.1rem solid var(--border);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 2rem;
  background: transparent;
  border: none;
  text-align: left;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 2.2vw, 2.2rem);
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  min-height: 4.4rem;
}

.faq-item__icon {
  flex: 0 0 2.4rem;
  width: 2.4rem;
  height: 2.4rem;
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  padding-bottom: 2rem;
  color: var(--muted);
  max-width: 72rem;
}

/* ---------------- Search ---------------- */
.search-bar {
  position: relative;
  max-width: 64rem;
  margin-inline: auto;
}

.search-bar input {
  width: 100%;
  min-height: 5.6rem;
  padding-inline: 2rem 5.6rem;
  font-size: 1.6rem;
  color: var(--text);
  background: var(--surface);
  border: 0.1rem solid var(--border);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(0.4rem);
}

.search-bar input:focus {
  border-color: var(--accent1);
  box-shadow: 0 0 0 0.3rem rgba(184, 92, 56, 0.12);
}

.search-bar__icon {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  color: var(--muted);
  pointer-events: none;
}

/* ---------------- Anchor nav ---------------- */
.anchor-nav {
  position: sticky;
  top: 7.2rem;
  z-index: 50;
  background: rgba(247, 244, 239, 0.92);
  border-bottom: 0.1rem solid var(--border);
  backdrop-filter: blur(1.2rem);
  -webkit-backdrop-filter: blur(1.2rem);
}

.anchor-nav__list {
  display: flex;
  gap: 0.8rem;
  padding-block: 1.2rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.anchor-nav__list::-webkit-scrollbar {
  display: none;
}

.anchor-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4.4rem;
  white-space: nowrap;
  padding: 0.8rem 1.6rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--muted);
  border: 0.1rem solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  background: var(--surface);
}

.anchor-nav a:hover,
.anchor-nav a.is-active {
  background: var(--text);
  color: var(--surface-solid);
  border-color: var(--text);
}

/* ---------------- Cookie banner ---------------- */
.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 1100;
  background: rgba(44, 39, 35, 0.96);
  color: var(--surface-solid);
  padding: 1.6rem 0;
  transform: translateY(100%);
  transition: transform 0.35s ease;
  backdrop-filter: blur(1.2rem);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.4rem;
  flex-wrap: wrap;
}

.cookie-banner p {
  font-size: 1.4rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  max-width: 72rem;
}

.cookie-banner a {
  text-decoration: underline;
  color: var(--accent3);
}

.cookie-banner__actions {
  display: flex;
  gap: 1.2rem;
}

.cookie-banner .btn {
  min-height: 4.4rem;
  padding-inline: 1.8rem;
}

.cookie-banner .btn--secondary {
  color: var(--surface-solid);
  border-color: rgba(255, 255, 255, 0.3);
}

.cookie-banner .btn--secondary:hover {
  border-color: var(--surface-solid);
  color: var(--surface-solid);
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.78);
  padding-block: clamp(4.8rem, 8vw, 8rem) 3.2rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--surface-solid);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.4rem, 4vw, 4.8rem);
  padding-bottom: 4.8rem;
  border-bottom: 0.1rem solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 768px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer__top {
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  }
}

.footer__brand .logo {
  color: var(--surface-solid);
  margin-bottom: 1.6rem;
}

.footer__brand p {
  max-width: 32rem;
  font-size: 1.4rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.footer__disclaimer {
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  max-width: 32rem;
}

.footer__heading {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--surface-solid);
  margin-bottom: 2rem;
}

.footer__links li + li {
  margin-top: 1.2rem;
}

.footer__links a {
  display: inline-flex;
  min-height: 2.4rem;
  align-items: center;
  font-size: 1.4rem;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 2.4rem;
  flex-wrap: wrap;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------------- Decorative patterns ---------------- */
.pattern-tile {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23C9A227' stroke-width='1' opacity='0.18'%3E%3Cpath d='M30 0v60M0 30h60M10 10l40 40M50 10L10 50'/%3E%3Ccircle cx='30' cy='30' r='8'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 6rem 6rem;
}

.geo-shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

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

.text-center {
  text-align: center;
}

.mt-sm { margin-top: var(--space-3); }
.mt-md { margin-top: var(--space-5); }
.mt-lg { margin-top: var(--space-6); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(2.4rem);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------- Page-specific ---------------- */
.page-header {
  padding-top: calc(7.2rem + var(--section-y));
  padding-bottom: calc(var(--section-y) * 0.5);
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.08) 0%, transparent 100%);
}

.page-header__inner {
  max-width: 88rem;
}

.page-header h1 {
  margin-bottom: 1.6rem;
  max-width: 22ch;
}

.page-header p {
  color: var(--muted);
  font-size: clamp(1.7rem, 2vw, 2rem);
  max-width: 68ch;
}

.content-page article {
  max-width: 88rem;
  margin-inline: auto;
}

.content-page h2 {
  margin-top: var(--space-6);
  margin-bottom: 1.6rem;
}

.content-page p + p,
.content-page ul + p,
.content-page p + ul {
  margin-top: 1.6rem;
}

.content-page ul {
  list-style: disc;
  padding-left: 2rem;
}

.content-page li {
  margin-bottom: 0.8rem;
  color: var(--muted);
}

.content-page a {
  color: var(--accent1);
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3.2rem, 6vw, 6.4rem);
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-card {
  background: var(--surface);
  border: 0.1rem solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-md);
  padding: 2.4rem;
  backdrop-filter: blur(0.8rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-0.3rem);
  box-shadow: var(--shadow-md);
}

.contact-card h3 {
  margin-bottom: 0.8rem;
}

.contact-card p {
  color: var(--muted);
}

/* ---------------- Responsive ---------------- */
@media (min-width: 640px) {
  .hero__stats {
    gap: 4.8rem;
  }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    inset: 7.2rem 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(247, 244, 239, 0.98);
    border-bottom: 0.1rem solid var(--border);
    padding: 1.6rem var(--gutter);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    min-height: 4.8rem;
    border-bottom: 0.1rem solid var(--border);
    border-radius: 0;
    justify-content: flex-start;
  }

  .menu-toggle {
    display: flex;
  }

  .feature-split__visual {
    order: -1;
  }

  .hero__visual {
    min-height: auto;
  }

  .hero__pattern,
  .hero__blob {
    display: none;
  }
}

@media (max-width: 560px) {
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__card {
    padding: 2rem;
  }

  .hero__card::before {
    inset: -0.8rem auto auto -0.8rem;
  }

  .hero__stats {
    gap: 2rem;
    flex-wrap: wrap;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
