:root {
  --paper: #faf8f5;
  --paper-dark: #f5f2ed;
  --ink: #1a1614;
  --ink-soft: #4a4542;
  --ink-lighter: #6a6562;
  --accent: #8b7355;
  --accent-light: #a68968;
  --border: #e5e0d8;
  --shadow-sm: 0 1px 2px rgba(26, 22, 20, 0.04), 0 2px 4px rgba(26, 22, 20, 0.02);
  --shadow-md: 0 2px 4px rgba(26, 22, 20, 0.04), 0 4px 8px rgba(26, 22, 20, 0.03), 0 8px 16px rgba(26, 22, 20, 0.02);
  --shadow-lg: 0 4px 8px rgba(26, 22, 20, 0.04), 0 8px 16px rgba(26, 22, 20, 0.03), 0 16px 32px rgba(26, 22, 20, 0.02), 0 24px 48px rgba(26, 22, 20, 0.01);
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(139, 115, 85, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(139, 115, 85, 0.02) 0%, transparent 50%);
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' /%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

.content-wrapper {
  position: relative;
  z-index: 2;
}

header {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s ease;
}

header.scrolled {
  box-shadow: var(--shadow-md);
}

nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--space-sm) var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

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

.nav-links {
  display: flex;
  gap: var(--space-md);
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after {
  width: 100%;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: var(--space-sm);
  padding-left: var(--space-sm);
  border-left: 1px solid var(--border);
}

.lang-btn {
  color: var(--ink-lighter);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 0.3s ease;
  padding: 0.25rem 0.5rem;
}

.lang-btn:hover {
  color: var(--ink);
}

.lang-btn.active {
  color: var(--accent);
  font-weight: 600;
}

.lang-divider {
  color: var(--border);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--ink);
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s ease;
}

.mobile-menu-toggle:hover {
  color: var(--accent);
}

.hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-md) var(--space-xl);
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content {
  max-width: 900px;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  letter-spacing: -0.03em;
}

.highlight {
  color: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--ink-soft);
  margin-bottom: var(--space-lg);
  max-width: 700px;
  line-height: 1.5;
}

.hero-cta {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  padding: 1rem 2.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.hero-cta:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

section {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--ink-soft);
  max-width: 700px;
  margin: 0 auto;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.bento-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.bento-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(139, 115, 85, 0.03) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.bento-item:hover::before {
  opacity: 1;
}

.bento-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-light);
}

.bento-item.span-2 {
  grid-column: span 2;
}

.bento-item.span-3 {
  grid-column: span 3;
}

.bento-item.span-4 {
  grid-column: span 4;
}

.bento-item.tall {
  grid-row: span 2;
}

.icon-wrapper {
  width: 64px;
  height: 64px;
  background: var(--paper-dark);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--accent);
  font-size: 1.75rem;
  transition: all 0.3s ease;
}

.bento-item:hover .icon-wrapper {
  background: var(--accent);
  color: white;
  transform: scale(1.05);
}

.bento-item h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--ink);
}

.bento-item p {
  color: var(--ink-soft);
  line-height: 1.7;
}

.tabs-container {
  margin-top: var(--space-lg);
}

.tabs-nav {
  display: flex;
  gap: var(--space-sm);
  border-bottom: 2px solid var(--border);
  margin-bottom: var(--space-lg);
  overflow-x: auto;
  overflow-y: hidden;
}

.tab-btn {
  background: none;
  border: none;
  padding: var(--space-sm) var(--space-md);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink-lighter);
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
  white-space: nowrap;
  font-family: 'Space Grotesk', sans-serif;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.tab-btn:hover {
  color: var(--ink);
}

.tab-btn.active {
  color: var(--ink);
}

.tab-btn.active::after {
  width: 100%;
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-content-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.tab-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.tab-text h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.tab-text p {
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-light);
}

.feature-card .icon-wrapper {
  margin-bottom: var(--space-md);
}

.feature-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.feature-card p {
  color: var(--ink-soft);
  line-height: 1.7;
}

.process-section {
  background: var(--paper-dark);
  padding: var(--space-xl) var(--space-md);
  margin: var(--space-xl) 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.step {
  position: relative;
  padding-left: var(--space-lg);
}

.step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.step h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  padding-top: 0.5rem;
}

.step p {
  color: var(--ink-soft);
  line-height: 1.7;
}

.image-text-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  margin: var(--space-xl) 0;
}

.image-text-section.reverse {
  direction: rtl;
}

.image-text-section.reverse > * {
  direction: ltr;
}

.section-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.text-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.text-content p {
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
  font-size: 1.1rem;
}

.text-content ul {
  list-style: none;
  margin-top: var(--space-md);
}

.text-content li {
  padding-left: var(--space-md);
  position: relative;
  margin-bottom: var(--space-sm);
  color: var(--ink-soft);
  line-height: 1.7;
}

.text-content li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.cta-section {
  background: var(--ink);
  color: var(--paper);
  padding: var(--space-xl) var(--space-md);
  text-align: center;
  margin: var(--space-xl) 0 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 1rem 2.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.cta-button:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-lg);
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.contact-info p {
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.contact-item i {
  color: var(--accent);
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

.contact-item div h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-item div p {
  margin: 0;
  color: var(--ink-soft);
}

.contact-item div a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item div a:hover {
  color: var(--accent);
}

.contact-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--ink);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--paper);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.25rem;
  width: auto;
  cursor: pointer;
}

.checkbox-group label {
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--ink-soft);
  cursor: pointer;
}

.checkbox-group a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.checkbox-group a:hover {
  color: var(--accent-light);
}

.submit-btn {
  width: 100%;
  background: var(--ink);
  color: var(--paper);
  padding: 1rem;
  border: none;
  border-radius: var(--radius-md);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.submit-btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.map-container {
  margin-top: var(--space-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.workshops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.workshop-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s ease;
}

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

.workshop-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.workshop-content {
  padding: var(--space-md);
}

.workshop-meta {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
  font-size: 0.9rem;
  color: var(--ink-lighter);
}

.workshop-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.workshop-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.workshop-card p {
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.workshop-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: gap 0.3s ease;
}

.workshop-link:hover {
  gap: 0.75rem;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

.legal-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.legal-updated {
  color: var(--ink-lighter);
  margin-bottom: var(--space-lg);
  font-size: 0.95rem;
}

.legal-content h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
}

.legal-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
}

.legal-content p {
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.legal-content ul,
.legal-content ol {
  margin-left: var(--space-md);
  margin-bottom: var(--space-md);
  color: var(--ink-soft);
  line-height: 1.8;
}

.legal-content li {
  margin-bottom: var(--space-xs);
}

.thanks-container {
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
}

.thanks-icon {
  width: 80px;
  height: 80px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto var(--space-lg);
  box-shadow: var(--shadow-lg);
}

.thanks-container h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.thanks-container p {
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.thanks-container .cta-button {
  margin-top: var(--space-md);
}

footer {
  background: var(--ink);
  color: var(--paper);
  padding: var(--space-xl) var(--space-md) var(--space-md);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(250, 248, 245, 0.1);
}

.footer-about h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.footer-about p {
  opacity: 0.8;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.footer-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: var(--paper);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: var(--space-md);
  text-align: center;
  opacity: 0.7;
  font-size: 0.9rem;
}

.floating-contact {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
}

.floating-toggle {
  width: 60px;
  height: 60px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-toggle:hover {
  background: var(--accent-light);
  transform: scale(1.05);
}

.floating-options {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-sm);
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  gap: var(--space-xs);
  min-width: 200px;
}

.floating-options.active {
  display: flex;
}

.floating-option {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm);
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: background 0.3s ease;
}

.floating-option:hover {
  background: var(--paper-dark);
}

.floating-option i {
  color: var(--accent);
  font-size: 1.25rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--border);
  padding: var(--space-md);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  display: none;
}

.cookie-banner.active {
  display: block;
}

.cookie-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-text p {
  color: var(--ink-soft);
  margin-bottom: var(--space-xs);
}

.cookie-text a {
  color: var(--accent);
  text-decoration: none;
}

.cookie-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius-md);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-btn.accept {
  background: var(--ink);
  color: var(--paper);
}

.cookie-btn.accept:hover {
  background: var(--accent);
}

.cookie-btn.decline {
  background: var(--paper-dark);
  color: var(--ink);
}

.cookie-btn.decline:hover {
  background: var(--border);
}

.cookie-btn.customize {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.cookie-btn.customize:hover {
  background: var(--accent);
  color: white;
}

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 22, 20, 0.7);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.cookie-modal.active {
  display: flex;
}

.cookie-modal-content {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.cookie-modal-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.cookie-category {
  margin-bottom: var(--space-md);
  padding: var(--space-md);
  background: var(--paper-dark);
  border-radius: var(--radius-md);
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xs);
}

.cookie-category h4 {
  font-weight: 600;
}

.cookie-toggle {
  position: relative;
  width: 50px;
  height: 26px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--border);
  transition: 0.3s;
  border-radius: 26px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: white;
  transition: 0.3s;
  border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-slider {
  background: var(--accent);
}

.cookie-toggle input:checked + .cookie-slider:before {
  transform: translateX(24px);
}

.cookie-toggle input:disabled + .cookie-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-category p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.cookie-modal-buttons {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.iti {
  width: 100%;
}

@media (max-width: 1024px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 300px;
    background: var(--paper);
    flex-direction: column;
    padding: var(--space-xl) var(--space-md);
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    align-items: flex-start;
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .lang-switcher {
    border-left: none;
    border-top: 1px solid var(--border);
    padding-top: var(--space-sm);
    padding-left: 0;
    margin-left: 0;
    margin-top: var(--space-sm);
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-item.span-2,
  .bento-item.span-3,
  .bento-item.span-4 {
    grid-column: span 1;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .image-text-section {
    grid-template-columns: 1fr;
  }

  .tab-content-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: var(--space-xl) var(--space-md);
    min-height: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --space-lg: 3rem;
    --space-xl: 4rem;
    --space-2xl: 5rem;
  }

  nav {
    padding: var(--space-sm);
  }

  section {
    padding: var(--space-lg) var(--space-sm);
  }

  .hero {
    padding: var(--space-lg) var(--space-sm);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .workshops-grid {
    grid-template-columns: 1fr;
  }

  .cookie-content {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-buttons {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
  }

  .floating-contact {
    bottom: 1rem;
    right: 1rem;
  }

  .floating-toggle {
    width: 56px;
    height: 56px;
  }

  .tabs-nav {
    flex-wrap: nowrap;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
  }
}

.char {
  display: inline-block;
  opacity: 0;
  animation: charFadeIn 0.5s ease forwards;
}

@keyframes charFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}