:root {
  --color-bg: #fdfaf6;
  --color-text: #2d3748;
  --color-text-light: #4a5568;
  --color-accent: #8fb9a8;
  --color-accent-hover: #76a08f;
  --color-card-bg: #ffffff;
  --color-glass: rgba(255, 255, 255, 0.85);
  --color-border: #e2e8f0;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 40px;
  --space-7: 64px;

  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
  padding: 0;
}

ul[role='list'], ol[role='list'] {
  list-style: none;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.6;
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  overflow-wrap: anywhere;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
  color: var(--color-accent);
}

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

input, button, textarea, select {
  font: inherit;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* Typography */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-text);
  overflow-wrap: anywhere;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: var(--space-5); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); margin-bottom: var(--space-4); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); margin-bottom: var(--space-4); }

p { margin-bottom: var(--space-4); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-5);
  min-width: 0;
}

/* Header */
.site-header {
  height: 64px;
  display: flex;
  align-items: center;
  background-color: var(--color-bg);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
  font-weight: 800;
  font-size: 1.25rem;
  overflow-wrap: anywhere;
}

.brand svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  gap: var(--space-5);
}

.nav-link {
  text-decoration: none;
  color: var(--color-text-light);
  font-weight: 500;
  transition: color 0.2s ease;
  overflow-wrap: anywhere;
}

.nav-link:hover {
  color: var(--color-accent);
}

.cta-button {
  background-color: var(--color-accent);
  color: #fff;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background-color: var(--color-accent-hover);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
  fill: var(--color-text);
}

@media (max-width: 768px) {
  .site-header {
    height: 52px;
  }
  .nav-toggle {
    display: block;
  }
  .nav-wrapper {
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    background-color: var(--color-bg);
    padding: var(--space-5);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    gap: var(--space-4);
    display: none;
    z-index: 50;
  }
  .nav-wrapper.is-visible {
    display: flex;
  }
  .nav-menu {
    flex-direction: column;
    gap: var(--space-4);
  }
  .header-cta {
    display: none;
  }
}

/* Hero Section */
.hero {
  padding: var(--space-7) 0;
  text-align: center;
  background: linear-gradient(135deg, #fdfaf6 0%, #eef5f1 100%);
}

.hero p {
  font-size: 1.25rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto var(--space-5);
}

/* Cards Grid */
.section {
  padding: var(--space-7) 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  min-width: 0;
}

/* Glass Overlay Card */
.glass-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--color-text);
  display: block;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 0;
  aspect-ratio: 4/5;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.glass-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.glass-card:hover img {
  transform: scale(1.05);
}

.glass-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-5);
  background: var(--color-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.glass-panel h3 {
  margin-bottom: var(--space-2);
  font-size: 1.25rem;
}

.glass-panel p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-4);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* Content Pages */
.content-page {
  padding: var(--space-7) 0;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-card-bg);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.content-wrapper img {
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
  width: 100%;
  height: auto;
}

.content-wrapper h2 {
  margin-top: var(--space-6);
}

.content-wrapper ul {
  margin-bottom: var(--space-4);
  padding-left: var(--space-5);
}

.content-wrapper li {
  margin-bottom: var(--space-2);
}

.stats-block {
  display: flex;
  gap: var(--space-5);
  background: var(--color-bg);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
}

/* Footer */
.site-footer {
  background-color: #fff;
  padding: var(--space-7) 0 var(--space-5);
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.footer-col h4 {
  margin-bottom: var(--space-4);
  font-size: 1.1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: var(--space-2);
}

.footer-col a {
  text-decoration: none;
  color: var(--color-text-light);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: var(--space-4);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  z-index: 100;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .cookie-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.cookie-buttons {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  justify-content: center;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: var(--color-border);
}

/* Contact Form */
.form-group {
  margin-bottom: var(--space-4);
}

.form-label {
  display: block;
  margin-bottom: var(--space-2);
  font-weight: 600;
}

.form-input {
  width: 100%;
  padding: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-text);
}

.form-input.is-invalid {
  border-color: #e53e3e;
}

.form-error {
  display: none;
  color: #e53e3e;
  font-size: 0.85rem;
  margin-top: var(--space-1);
}

.is-invalid + .form-error {
  display: block;
}

/* Tables */
.table-wrapper {
  overflow-x: auto;
  margin-bottom: var(--space-5);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th, td {
  padding: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}

th {
  background: var(--color-bg);
  font-weight: 600;
}

/* Map Block */
.map-block {
  width: 100%;
  height: 300px;
  background: #e2e8f0;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.map-block svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 400px) {
  .content-wrapper {
    padding: var(--space-4);
  }
  .glass-panel {
    padding: var(--space-3);
  }
}