:root {
  --primary: #1a4d7a;
  --primary-dark: #0f3251;
  --secondary: #e85d35;
  --accent: #f7a541;
  --bg-light: #fafbfc;
  --bg-white: #ffffff;
  --text-dark: #1a2332;
  --text-medium: #4a5568;
  --text-light: #718096;
  --border: #e2e8f0;
  
  --shadow-sm: 0 1px 2px rgba(26, 77, 122, 0.05),
               0 1px 3px rgba(26, 77, 122, 0.08);
  --shadow-md: 0 4px 6px rgba(26, 77, 122, 0.07),
               0 2px 4px rgba(26, 77, 122, 0.06),
               0 8px 16px rgba(26, 77, 122, 0.05);
  --shadow-lg: 0 10px 15px rgba(26, 77, 122, 0.08),
               0 4px 6px rgba(26, 77, 122, 0.05),
               0 20px 25px rgba(26, 77, 122, 0.1);
  --shadow-xl: 0 20px 25px rgba(26, 77, 122, 0.1),
               0 10px 10px rgba(26, 77, 122, 0.04),
               0 30px 40px rgba(26, 77, 122, 0.12);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  --space-xs: clamp(0.5rem, 1vw, 0.75rem);
  --space-sm: clamp(1rem, 2vw, 1.5rem);
  --space-md: clamp(2rem, 4vw, 3rem);
  --space-lg: clamp(3rem, 6vw, 5rem);
  --space-xl: clamp(5rem, 10vw, 8rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Wix Madefor Text', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--bg-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Wix Madefor Display', sans-serif;
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-dark);
}

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

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

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

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

p {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-medium);
  margin-bottom: 1.25rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

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

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

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: all 0.3s ease;
}

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

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Wix Madefor Display', sans-serif;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 0.5rem 0;
}

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

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

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

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1.5rem;
}

.lang-btn {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-medium);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.lang-btn:hover {
  color: var(--primary);
  background: var(--bg-light);
}

.lang-btn.active {
  color: var(--primary);
  background: var(--bg-light);
}

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

.cta-button {
  padding: 0.875rem 2rem;
  background: var(--secondary);
  color: white;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  display: inline-block;
}

.cta-button:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: white;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 77, 122, 0.92) 0%, rgba(15, 50, 81, 0.88) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  padding: var(--space-lg) var(--space-sm);
}

.hero h1 {
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero .cta-button {
  font-size: 1.125rem;
  padding: 1.125rem 2.5rem;
}

.cutout-section {
  position: relative;
  padding: var(--space-xl) 0;
  background: var(--primary);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 80px), 0 100%);
  margin-bottom: -80px;
}

.cutout-section-alt {
  position: relative;
  padding: calc(var(--space-xl) + 80px) 0 var(--space-xl) 0;
  background: var(--bg-white);
}

.cutout-reveal {
  position: relative;
  background: var(--bg-white);
  padding: var(--space-lg) 0;
}

.cutout-reveal::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 10%;
  width: 400px;
  height: 400px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.08;
  z-index: 0;
}

.section-cutout-circle {
  position: relative;
  padding: var(--space-xl) 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.circle-cutout {
  position: absolute;
  top: 50%;
  right: 5%;
  width: 300px;
  height: 300px;
  background: var(--bg-light);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: inset var(--shadow-lg);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
  position: relative;
  z-index: 1;
}

.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

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

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.feature-icon i {
  font-size: 1.75rem;
  color: white;
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-medium);
  margin-bottom: 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

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

.section-header p {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--text-medium);
  max-width: 700px;
  margin: 0 auto;
}

.section-header.light h2,
.section-header.light p {
  color: white;
}

.decorative-strip {
  height: 8px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 50%, var(--primary) 100%);
  margin: var(--space-lg) 0;
  position: relative;
}

.decorative-strip::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: var(--bg-white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

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

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

.content-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.content-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

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

.content-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.content-card p {
  margin-bottom: 1.25rem;
}

.content-card .cta-button {
  font-size: 0.9375rem;
  padding: 0.75rem 1.75rem;
}

.two-column-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  padding: var(--space-xl) 0;
}

.column-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.column-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.column-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.column-content h2 {
  margin-bottom: 1.5rem;
}

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

.column-content ul li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--text-medium);
  font-size: 1.0625rem;
}

.column-content ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-size: 1rem;
}

.timeline-section {
  padding: var(--space-xl) 0;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.timeline-section::before {
  content: '';
  position: absolute;
  top: 20%;
  right: -200px;
  width: 600px;
  height: 600px;
  background: var(--primary);
  opacity: 0.03;
  border-radius: 50%;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-md) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--secondary), var(--accent));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.timeline-item:nth-child(even) .timeline-content {
  grid-column: 1;
  grid-row: 1;
}

.timeline-item:nth-child(even) .timeline-date {
  grid-column: 2;
  grid-row: 1;
  text-align: left;
}

.timeline-content {
  background: var(--bg-white);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: all 0.3s ease;
}

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

.timeline-content h3 {
  margin-bottom: 0.75rem;
  font-size: 1.375rem;
}

.timeline-date {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
  font-family: 'Wix Madefor Display', sans-serif;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  top: 2rem;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--secondary);
  border: 4px solid var(--bg-white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.glossary-section {
  padding: var(--space-xl) 0;
  background: var(--bg-white);
}

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

.glossary-term {
  background: var(--bg-light);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--secondary);
  transition: all 0.3s ease;
}

.glossary-term:hover {
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.glossary-term h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.glossary-term p {
  margin-bottom: 0;
  font-size: 1rem;
}

.comparison-section {
  padding: var(--space-xl) 0;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
  position: relative;
}

.comparison-table {
  max-width: 1000px;
  margin: var(--space-md) auto 0;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.comparison-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-header {
  background: var(--primary);
  color: white;
  font-weight: 700;
}

.comparison-header .comparison-cell {
  color: white;
  font-size: 1.125rem;
}

.comparison-cell {
  padding: var(--space-sm);
  display: flex;
  align-items: center;
  color: var(--text-dark);
}

.comparison-cell:not(:last-child) {
  border-right: 1px solid var(--border);
}

.comparison-cell i {
  font-size: 1.25rem;
  margin-right: 0.5rem;
}

.comparison-cell i.fa-check {
  color: var(--secondary);
}

.comparison-cell i.fa-xmark {
  color: var(--text-light);
}

.news-section {
  padding: var(--space-xl) 0;
  background: var(--bg-white);
}

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

.news-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.news-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.news-card-content {
  padding: var(--space-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

.news-meta span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.news-card h3 {
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
}

.news-card p {
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.news-card .cta-button {
  align-self: flex-start;
  font-size: 0.9375rem;
  padding: 0.75rem 1.5rem;
}

.contact-section {
  padding: var(--space-xl) 0;
  background: var(--bg-light);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  background: var(--primary);
  color: white;
  padding: var(--space-lg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.contact-info h3 {
  color: white;
  margin-bottom: var(--space-md);
  font-size: 2rem;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-md);
  font-size: 1.0625rem;
}

.contact-details {
  margin-top: var(--space-md);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(4px);
}

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

.contact-item-content h4 {
  color: white;
  margin-bottom: 0.375rem;
  font-size: 1.125rem;
}

.contact-item-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

.contact-item-content a {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s ease;
}

.contact-item-content a:hover {
  color: white;
}

.contact-form-wrapper {
  background: var(--bg-white);
  padding: var(--space-lg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
  margin-bottom: var(--space-md);
  font-size: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-family: 'Wix Madefor Text', sans-serif;
  font-size: 1rem;
  color: var(--text-dark);
  transition: all 0.3s ease;
  background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 77, 122, 0.1);
}

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

.iti {
  width: 100%;
}

#phone {
  width: 100%;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

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

.checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
  cursor: pointer;
  font-size: 0.9375rem;
}

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

.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;
}

footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-lg) 0 var(--space-md);
  margin-top: auto;
}

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

.footer-section h4 {
  color: white;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  font-size: 0.9375rem;
  display: inline-block;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-md);
  text-align: center;
  font-size: 0.875rem;
}

.footer-bottom-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.footer-bottom-links a:hover {
  color: white;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-white);
  box-shadow: var(--shadow-xl);
  padding: var(--space-md);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  border-top: 3px solid var(--primary);
}

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

.cookie-content {
  max-width: 1200px;
  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 {
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

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

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: var(--secondary);
  color: white;
}

.cookie-btn-accept:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.cookie-btn-reject {
  background: var(--bg-light);
  color: var(--text-dark);
  border: 2px solid var(--border);
}

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

.cookie-btn-customize {
  background: var(--bg-white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

.cookie-settings {
  display: none;
  max-width: 600px;
  margin: var(--space-md) auto 0;
  padding: var(--space-md);
  background: var(--bg-light);
  border-radius: var(--radius-md);
}

.cookie-settings.show {
  display: block;
}

.cookie-category {
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: var(--bg-white);
  border-radius: var(--radius-sm);
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

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

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

.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-color: var(--border);
  transition: 0.3s;
  border-radius: 34px;
}

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

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

.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.875rem;
  color: var(--text-medium);
  margin-bottom: 0;
}

.cookie-settings-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: var(--space-md);
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-hero {
  padding: calc(80px + var(--space-xl)) 0 var(--space-xl);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.about-hero h1 {
  color: white;
  margin-bottom: 1.5rem;
}

.about-hero p {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: rgba(255, 255, 255, 0.95);
  max-width: 800px;
  margin: 0 auto;
}

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

.value-card {
  background: var(--bg-white);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-sm);
}

.value-icon i {
  font-size: 2rem;
  color: white;
}

.value-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.guides-hero {
  padding: calc(80px + var(--space-xl)) 0 var(--space-xl);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
}

.guides-hero h1 {
  color: white;
  margin-bottom: 1.5rem;
}

.guides-hero p {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: rgba(255, 255, 255, 0.95);
  max-width: 800px;
  margin: 0 auto;
}

.guide-category {
  margin-bottom: var(--space-xl);
}

.guide-category h2 {
  margin-bottom: var(--space-md);
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--secondary);
  display: inline-block;
}

.guide-list {
  display: grid;
  gap: var(--space-md);
}

.guide-item {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border-left: 4px solid var(--secondary);
}

.guide-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-lg);
}

.guide-item h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--primary);
}

.guide-item p {
  margin-bottom: 1rem;
}

.guide-item ul {
  list-style: none;
  margin: 1rem 0;
}

.guide-item ul li {
  padding: 0.5rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--text-medium);
}

.guide-item ul li::before {
  content: '\f0da';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--secondary);
}

.legal-hero {
  padding: calc(80px + var(--space-lg)) 0 var(--space-md);
  background: var(--bg-light);
  text-align: center;
}

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

.legal-content h1 {
  margin-bottom: 1rem;
}

.legal-updated {
  color: var(--text-light);
  font-size: 0.9375rem;
  margin-bottom: var(--space-md);
}

.legal-content h2 {
  margin-top: var(--space-md);
  margin-bottom: 1rem;
  font-size: 1.75rem;
  color: var(--primary);
}

.legal-content h3 {
  margin-top: var(--space-sm);
  margin-bottom: 0.75rem;
  font-size: 1.375rem;
}

.legal-content ul,
.legal-content ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.legal-content li {
  margin-bottom: 0.75rem;
  color: var(--text-medium);
}

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

.thanks-content {
  max-width: 600px;
  background: var(--bg-white);
  padding: var(--space-lg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.thanks-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  box-shadow: var(--shadow-md);
}

.thanks-icon i {
  font-size: 3rem;
  color: white;
}

.thanks-content h1 {
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.thanks-content p {
  margin-bottom: var(--space-md);
  font-size: 1.125rem;
}

@media (max-width: 968px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 0;
    box-shadow: var(--shadow-xl);
    transition: right 0.4s ease;
    z-index: 999;
  }

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

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a {
    display: block;
    padding: 1rem 0;
    width: 100%;
  }

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

  .mobile-menu-toggle {
    display: flex;
    z-index: 1000;
  }

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

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

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

  .two-column-section {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

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

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    padding-left: 60px;
  }

  .timeline-item:nth-child(even) .timeline-content {
    grid-column: 1;
  }

  .timeline-item:nth-child(even) .timeline-date {
    grid-column: 1;
    text-align: left;
  }

  .timeline-marker {
    left: 20px;
  }

  .timeline-date {
    justify-content: flex-start;
  }

  .comparison-row {
    grid-template-columns: 1fr;
  }

  .comparison-cell:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

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

  .cookie-buttons {
    justify-content: stretch;
  }

  .cookie-btn {
    flex: 1;
  }
}

@media (max-width: 640px) {
  .feature-grid,
  .content-grid,
  .news-grid,
  .glossary-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .circle-cutout {
    width: 200px;
    height: 200px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

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