:root {
  --paper-light: #f8f6f1;
  --paper-warm: #f2efe8;
  --ink-black: #1a1614;
  --ink-soft: #2d2825;
  --ink-medium: #4a4541;
  --ink-light: #6b6560;
  --accent-terracotta: #c16b4a;
  --accent-terracotta-soft: #d4886f;
  --accent-sage: #7a8871;
  --border-subtle: rgba(26, 22, 20, 0.08);
  --border-medium: rgba(26, 22, 20, 0.15);
  
  --shadow-xs: 0 1px 2px rgba(26, 22, 20, 0.04);
  --shadow-sm: 0 2px 4px rgba(26, 22, 20, 0.06), 0 1px 2px rgba(26, 22, 20, 0.04);
  --shadow-md: 0 4px 8px rgba(26, 22, 20, 0.08), 0 2px 4px rgba(26, 22, 20, 0.06);
  --shadow-lg: 0 8px 16px rgba(26, 22, 20, 0.1), 0 4px 8px rgba(26, 22, 20, 0.08);
  --shadow-xl: 0 16px 32px rgba(26, 22, 20, 0.12), 0 8px 16px rgba(26, 22, 20, 0.1);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-pill: 100px;
  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;
  
  --font-heading: 'Vollkorn', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, system-ui, sans-serif;
  
  --transition-fast: 150ms ease-out;
  --transition-base: 250ms ease-out;
  --transition-slow: 400ms ease-out;
}

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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--paper-light);
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 1px 1px, rgba(26, 22, 20, 0.02) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 1;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--ink-black);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
}

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

a {
  color: var(--accent-terracotta);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--accent-terracotta-soft);
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-text {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(248, 246, 241, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-base);
}

header.scrolled {
  background: rgba(248, 246, 241, 0.96);
  box-shadow: var(--shadow-sm);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  max-width: 1440px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink-black);
  text-decoration: none;
  transition: opacity var(--transition-base);
}

.logo:hover {
  opacity: 0.8;
}

.logo img {
  height: 36px;
  width: auto;
}

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

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

.nav-links a {
  position: relative;
  padding: var(--space-xs) var(--space-md);
  color: var(--ink-medium);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition-base);
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  color: var(--ink-black);
  background: rgba(26, 22, 20, 0.04);
}

.nav-links a.active {
  color: var(--paper-light);
  background: var(--ink-black);
  box-shadow: var(--shadow-sm);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  background: var(--paper-warm);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
}

.lang-btn {
  padding: 4px 10px;
  color: var(--ink-medium);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  letter-spacing: 0.02em;
}

.lang-btn:hover {
  color: var(--ink-black);
  background: rgba(26, 22, 20, 0.06);
}

.lang-btn.active {
  color: var(--accent-terracotta);
  background: rgba(193, 107, 74, 0.1);
}

.lang-divider {
  color: var(--border-medium);
  font-weight: 300;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink-black);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

section {
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  position: relative;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--space-3xl) 0 var(--space-2xl);
  background: linear-gradient(135deg, var(--paper-light) 0%, var(--paper-warm) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(circle, rgba(193, 107, 74, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.hero-text h1 {
  margin-bottom: var(--space-lg);
  color: var(--ink-black);
}

.hero-text .subtitle {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  color: var(--ink-medium);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
  font-weight: 400;
}

.hero-text .disclaimer {
  font-size: 0.9rem;
  color: var(--ink-light);
  font-style: italic;
  margin-top: var(--space-lg);
  padding: var(--space-md);
  background: rgba(26, 22, 20, 0.03);
  border-left: 3px solid var(--accent-terracotta);
  border-radius: var(--radius-sm);
}

.cta-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width var(--transition-slow), height var(--transition-slow);
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--ink-black);
  color: var(--paper-light);
}

.btn-primary:hover {
  background: var(--ink-soft);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--paper-light);
  color: var(--ink-black);
  border: 2px solid var(--ink-black);
}

.btn-secondary:hover {
  background: var(--ink-black);
  color: var(--paper-light);
  transform: translateY(-2px);
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-subtle);
}

.section-standard {
  padding: var(--space-3xl) 0;
  background: var(--paper-light);
}

.section-alt {
  padding: var(--space-3xl) 0;
  background: var(--paper-warm);
}

.section-dark {
  padding: var(--space-3xl) 0;
  background: var(--ink-black);
  color: var(--paper-warm);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--paper-light);
}

.section-dark p {
  color: rgba(248, 246, 241, 0.85);
}

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

.section-header .eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-terracotta);
  margin-bottom: var(--space-sm);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  font-size: 1.15rem;
  color: var(--ink-medium);
  max-width: 720px;
  margin: 0 auto;
}

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

.module-card {
  background: var(--paper-light);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-terracotta), var(--accent-terracotta-soft));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

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

.module-card:hover::before {
  transform: scaleX(1);
}

.module-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(193, 107, 74, 0.1);
  color: var(--accent-terracotta);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.module-card h3 {
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
}

.module-card p {
  color: var(--ink-medium);
  margin-bottom: var(--space-md);
}

.module-features {
  list-style: none;
  margin-top: var(--space-md);
}

.module-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-xs) 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.module-features li::before {
  content: '✓';
  color: var(--accent-terracotta);
  font-weight: 700;
  flex-shrink: 0;
}

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

.feature-card {
  text-align: center;
  padding: var(--space-xl);
  background: var(--paper-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-base);
}

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

.feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(193, 107, 74, 0.1), rgba(122, 136, 113, 0.1));
  border-radius: var(--radius-xl);
  font-size: 2rem;
  color: var(--accent-terracotta);
  transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: var(--space-md);
}

.feature-card p {
  color: var(--ink-medium);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about-text h2 {
  margin-bottom: var(--space-lg);
}

.about-text p {
  font-size: 1.05rem;
  margin-bottom: var(--space-lg);
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
}

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

.stat-card {
  text-align: center;
  padding: var(--space-lg);
  background: rgba(26, 22, 20, 0.03);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-terracotta);
  display: block;
  margin-bottom: var(--space-xs);
}

.stat-label {
  color: var(--ink-medium);
  font-size: 0.95rem;
  font-weight: 500;
}

.faq-section {
  max-width: 920px;
  margin: 0 auto;
}

.faq-item {
  background: var(--paper-light);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: var(--space-lg);
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink-black);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  transition: all var(--transition-base);
}

.faq-question:hover {
  color: var(--accent-terracotta);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-terracotta);
  font-size: 1.25rem;
  transition: transform var(--transition-base);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-answer-content {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--ink-medium);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
}

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

.contact-card {
  background: var(--paper-light);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
}

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

.contact-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(193, 107, 74, 0.1);
  border-radius: var(--radius-md);
  color: var(--accent-terracotta);
  font-size: 1.5rem;
}

.contact-card h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}

.contact-card a {
  color: var(--ink-soft);
  word-break: break-word;
  transition: color var(--transition-base);
}

.contact-card a:hover {
  color: var(--accent-terracotta);
}

.contact-form-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.form-intro h2 {
  margin-bottom: var(--space-lg);
}

.form-intro p {
  font-size: 1.05rem;
  margin-bottom: var(--space-md);
}

.contact-form {
  background: var(--paper-light);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-soft);
  background: var(--paper-warm);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-terracotta);
  box-shadow: 0 0 0 3px rgba(193, 107, 74, 0.1);
}

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

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

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

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

.checkbox-group a {
  color: var(--accent-terracotta);
  text-decoration: underline;
}

.map-container {
  margin-top: var(--space-2xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

.testimonials-slider {
  position: relative;
  padding: var(--space-xl) 0;
}

.swiper-container {
  overflow: hidden;
  padding: var(--space-lg) 0;
}

.testimonial-card {
  background: var(--paper-light);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  height: auto;
}

.testimonial-text {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-subtle);
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.author-info p {
  font-size: 0.9rem;
  color: var(--ink-light);
  margin: 0;
}

.swiper-pagination {
  position: relative;
  margin-top: var(--space-lg);
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--ink-medium);
  opacity: 0.3;
  transition: all var(--transition-base);
}

.swiper-pagination-bullet-active {
  background: var(--accent-terracotta);
  opacity: 1;
  transform: scale(1.2);
}

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

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-terracotta), var(--accent-terracotta-soft));
  color: var(--paper-light);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.process-step p {
  color: var(--ink-medium);
  font-size: 0.95rem;
  margin: 0;
}

footer {
  background: var(--ink-black);
  color: rgba(248, 246, 241, 0.85);
  padding: var(--space-2xl) 0 var(--space-lg);
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--paper-light);
  margin-bottom: var(--space-md);
}

.footer-brand p {
  color: rgba(248, 246, 241, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

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

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: rgba(248, 246, 241, 0.7);
  font-size: 0.95rem;
  transition: all var(--transition-base);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent-terracotta);
  transform: translateX(4px);
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(248, 246, 241, 0.1);
  text-align: center;
  color: rgba(248, 246, 241, 0.5);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: rgba(248, 246, 241, 0.7);
  transition: color var(--transition-base);
}

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink-black);
  color: var(--paper-light);
  padding: var(--space-lg);
  box-shadow: var(--shadow-xl);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform var(--transition-slow);
  border-top: 2px solid var(--accent-terracotta);
}

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

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

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

.cookie-text p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(248, 246, 241, 0.9);
}

.cookie-text a {
  color: var(--accent-terracotta-soft);
  text-decoration: underline;
}

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

.cookie-btn {
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.cookie-btn-accept {
  background: var(--accent-terracotta);
  color: var(--paper-light);
}

.cookie-btn-accept:hover {
  background: var(--accent-terracotta-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cookie-btn-decline {
  background: transparent;
  color: var(--paper-light);
  border: 1px solid rgba(248, 246, 241, 0.3);
}

.cookie-btn-decline:hover {
  border-color: var(--paper-light);
  background: rgba(248, 246, 241, 0.1);
}

.cookie-btn-customize {
  background: transparent;
  color: var(--paper-light);
  border: 1px solid rgba(248, 246, 241, 0.3);
}

.cookie-btn-customize:hover {
  border-color: var(--paper-light);
  background: rgba(248, 246, 241, 0.1);
}

.cookie-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 22, 20, 0.8);
  backdrop-filter: blur(4px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

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

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

.cookie-modal h3 {
  margin-bottom: var(--space-lg);
  color: var(--ink-black);
}

.cookie-category {
  margin-bottom: var(--space-lg);
  padding: var(--space-md);
  background: var(--paper-warm);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

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

.cookie-category h4 {
  font-size: 1.1rem;
  margin: 0;
}

.cookie-toggle {
  position: relative;
  width: 48px;
  height: 24px;
}

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

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--ink-light);
  border-radius: 24px;
  transition: all var(--transition-base);
}

.cookie-toggle-slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: all var(--transition-base);
}

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

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

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

.cookie-category p {
  font-size: 0.9rem;
  color: var(--ink-medium);
  margin: 0;
}

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

.cookie-modal-buttons .btn {
  flex: 1;
}

.legal-content {
  max-width: 860px;
  margin: 0 auto;
}

.legal-content h1 {
  margin-bottom: var(--space-lg);
}

.legal-content .last-updated {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: rgba(193, 107, 74, 0.1);
  color: var(--accent-terracotta);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: var(--space-xl);
}

.legal-content h2 {
  font-size: 1.75rem;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-lg);
}

.legal-content h3 {
  font-size: 1.35rem;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-content p {
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

.legal-content li {
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .hero-content,
  .about-content,
  .contact-form-section {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .modules-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 5rem;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--paper-light);
    box-shadow: var(--shadow-xl);
    padding: 80px var(--space-lg) var(--space-lg);
    transition: right var(--transition-slow);
    z-index: 999;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
  
  nav.active {
    right: 0;
  }
  
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0;
  }
  
  .nav-links a {
    width: 100%;
    padding: var(--space-md);
    border-radius: var(--radius-md);
  }
  
  .lang-switcher {
    width: 100%;
    justify-content: center;
  }
  
  .hero {
    min-height: auto;
    padding: calc(var(--space-3xl) + 60px) 0 var(--space-2xl);
  }
  
  .cta-group {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .features-grid,
  .stats-grid,
  .contact-preview,
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-buttons {
    width: 100%;
  }
  
  .cookie-btn {
    flex: 1;
    min-width: 0;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .container,
  .container-narrow,
  .container-text {
    padding: 0 var(--space-md);
  }
  
  .header-content {
    padding: var(--space-md);
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .module-card,
  .feature-card,
  .contact-card {
    padding: var(--space-lg);
  }
  
  .cookie-modal-content {
    padding: var(--space-lg);
  }
  
  .cookie-modal-buttons {
    flex-direction: column;
  }
}

.iti {
  width: 100%;
}

#phone {
  width: 100%;
}

[data-aos] {
  pointer-events: auto;
}

.scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--ink-light);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: bounce 2s infinite;
}

.scroll-indicator i {
  font-size: 1.5rem;
  color: var(--accent-terracotta);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.thanks-content {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3xl) 0;
}

.thanks-box {
  max-width: 600px;
  padding: var(--space-2xl);
  background: var(--paper-light);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.thanks-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(193, 107, 74, 0.1), rgba(122, 136, 113, 0.1));
  border-radius: 50%;
  font-size: 2.5rem;
  color: var(--accent-terracotta);
}

.thanks-box h1 {
  margin-bottom: var(--space-md);
}

.thanks-box p {
  font-size: 1.1rem;
  color: var(--ink-medium);
  margin-bottom: var(--space-xl);
}

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

.image-text-section:nth-child(even) {
  direction: rtl;
}

.image-text-section:nth-child(even) > * {
  direction: ltr;
}

.image-text-section img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
}

@media (max-width: 768px) {
  .image-text-section {
    grid-template-columns: 1fr;
  }
  
  .image-text-section:nth-child(even) {
    direction: ltr;
  }
}