:root {
  --aurora-purple: #8B5CF6;
  --aurora-blue: #3B82F6;
  --aurora-teal: #14B8A6;
  --aurora-pink: #EC4899;
  --aurora-indigo: #6366F1;
  
  --text-primary: #1F2937;
  --text-secondary: #4B5563;
  --text-light: #6B7280;
  
  --surface-white: #FFFFFF;
  --surface-frosted: rgba(255, 255, 255, 0.85);
  --surface-light: #F9FAFB;
  
  --accent-primary: var(--aurora-teal);
  --accent-secondary: var(--aurora-purple);
  
  --spacing-xs: clamp(0.5rem, 2vw, 0.75rem);
  --spacing-sm: clamp(1rem, 3vw, 1.5rem);
  --spacing-md: clamp(2rem, 5vw, 3rem);
  --spacing-lg: clamp(3rem, 8vw, 5rem);
  --spacing-xl: clamp(4rem, 10vw, 7rem);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 15px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08), 0 20px 40px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(139, 92, 246, 0.15), 0 0 40px rgba(59, 130, 246, 0.1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  background: #0F172A;
}

.aurora-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
}

.aurora-layer {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  opacity: 0.4;
}

.aurora-layer-1 {
  background: radial-gradient(ellipse at 20% 30%, var(--aurora-purple) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 70%, var(--aurora-blue) 0%, transparent 50%);
  animation: aurora-drift-1 25s ease-in-out infinite;
}

.aurora-layer-2 {
  background: radial-gradient(ellipse at 60% 20%, var(--aurora-teal) 0%, transparent 50%),
              radial-gradient(ellipse at 40% 80%, var(--aurora-pink) 0%, transparent 50%);
  animation: aurora-drift-2 30s ease-in-out infinite;
  animation-delay: -5s;
}

.aurora-layer-3 {
  background: radial-gradient(ellipse at 50% 50%, var(--aurora-indigo) 0%, transparent 60%);
  animation: aurora-drift-3 35s ease-in-out infinite;
  animation-delay: -10s;
}

@keyframes aurora-drift-1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-5%, 5%) rotate(5deg); }
  66% { transform: translate(5%, -3%) rotate(-3deg); }
}

@keyframes aurora-drift-2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(4%, -4%) rotate(-4deg); }
  66% { transform: translate(-6%, 4%) rotate(4deg); }
}

@keyframes aurora-drift-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-3%, 3%) scale(1.05); }
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

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

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

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.container-narrow {
  max-width: 1000px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--surface-frosted);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Merriweather', serif;
  font-weight: 900;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.logo:hover {
  opacity: 0.8;
}

.logo img {
  width: 45px;
  height: 45px;
}

nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

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

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--aurora-teal), var(--aurora-purple));
  transition: width 0.3s ease;
}

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

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

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(139, 92, 246, 0.1);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

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

.lang-btn:hover {
  color: var(--accent-secondary);
  background: rgba(139, 92, 246, 0.1);
}

.lang-btn.active {
  color: var(--aurora-purple);
  background: rgba(139, 92, 246, 0.15);
}

.lang-divider {
  color: var(--text-light);
  opacity: 0.5;
}

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

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

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

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

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

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xl) 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--spacing-lg);
  background: var(--surface-frosted);
  backdrop-filter: blur(30px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.hero h1 {
  background: linear-gradient(135deg, var(--aurora-purple) 0%, var(--aurora-teal) 50%, var(--aurora-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-sm);
  animation: gradient-shift 8s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero p {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
}

.cta-group {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--spacing-md);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  justify-content: center;
  min-width: 180px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--aurora-teal), var(--aurora-blue));
  color: white;
  box-shadow: var(--shadow-md), 0 0 20px rgba(20, 184, 166, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(20, 184, 166, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--text-primary);
  border: 2px solid rgba(139, 92, 246, 0.3);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--aurora-purple);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

section {
  padding: var(--spacing-xl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.section-header p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--surface-white);
  line-height: 1.8;
}

.card-masonry {
  column-count: 3;
  column-gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.card {
  break-inside: avoid;
  margin-bottom: var(--spacing-md);
  background: var(--surface-frosted);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: rgba(139, 92, 246, 0.3);
}

.card-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--aurora-purple), var(--aurora-teal));
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-sm);
  color: white;
  font-size: 1.75rem;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.card h3 {
  margin-bottom: var(--spacing-xs);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

.card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.card img {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-sm);
  box-shadow: var(--shadow-sm);
}

.certifications {
  background: var(--surface-frosted);
  backdrop-filter: blur(30px);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-lg);
}

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

.cert-item {
  text-align: center;
  padding: var(--spacing-md);
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid rgba(139, 92, 246, 0.1);
  transition: all 0.3s ease;
}

.cert-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--aurora-purple);
}

.cert-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--aurora-teal), var(--aurora-blue));
  border-radius: 50%;
  color: white;
  font-size: 2rem;
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.3);
}

.cert-item h4 {
  margin-bottom: var(--spacing-xs);
  font-size: 1.15rem;
}

.cert-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.team-section {
  background: var(--surface-frosted);
  backdrop-filter: blur(30px);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-lg);
}

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

.team-member {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
  border: 1px solid rgba(139, 92, 246, 0.1);
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--aurora-purple);
}

.team-member img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.team-info {
  padding: var(--spacing-md);
  text-align: center;
}

.team-info h4 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.team-info .role {
  color: var(--accent-primary);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.team-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.content-section {
  background: var(--surface-frosted);
  backdrop-filter: blur(30px);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-lg);
  margin: var(--spacing-md) 0;
}

.content-section h2 {
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 3px solid var(--accent-primary);
  display: inline-block;
}

.content-section h3 {
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  color: var(--aurora-purple);
}

.content-section p {
  margin-bottom: var(--spacing-sm);
  color: var(--text-secondary);
  line-height: 1.8;
}

.content-section ul, .content-section ol {
  margin-left: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  color: var(--text-secondary);
}

.content-section li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.feature-highlight {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(20, 184, 166, 0.1));
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--aurora-purple);
  margin: var(--spacing-md) 0;
}

.contact-section {
  background: var(--surface-frosted);
  backdrop-filter: blur(30px);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-lg);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-md);
}

.contact-info h3 {
  margin-bottom: var(--spacing-md);
  color: var(--aurora-purple);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  padding: var(--spacing-sm);
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid rgba(139, 92, 246, 0.1);
  transition: all 0.3s ease;
}

.contact-item:hover {
  border-color: var(--aurora-purple);
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--aurora-purple), var(--aurora-teal));
  border-radius: var(--radius-sm);
  color: white;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-details h4 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.contact-details p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-details a {
  color: var(--accent-primary);
  transition: all 0.3s ease;
}

.contact-details a:hover {
  color: var(--aurora-purple);
}

.contact-form {
  background: white;
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(139, 92, 246, 0.1);
}

.form-group {
  margin-bottom: var(--spacing-sm);
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--surface-light);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--aurora-purple);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
  background: white;
}

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

.iti {
  width: 100%;
}

#phone {
  width: 100%;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: var(--spacing-sm) 0;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 0.25rem;
  cursor: pointer;
  accent-color: var(--aurora-purple);
}

.checkbox-group label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  cursor: pointer;
}

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

.map-container {
  margin-top: var(--spacing-md);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(139, 92, 246, 0.1);
}

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

footer {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  margin-top: var(--spacing-xl);
}

.footer-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--aurora-purple), var(--aurora-teal), var(--aurora-blue));
}

.footer-content {
  padding: var(--spacing-lg) 0 var(--spacing-md);
}

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

.footer-about h3 {
  color: white;
  margin-bottom: var(--spacing-sm);
  font-size: 1.5rem;
}

.footer-about p {
  line-height: 1.7;
  margin-bottom: var(--spacing-sm);
  color: rgba(255, 255, 255, 0.7);
}

.footer-column h4 {
  color: white;
  margin-bottom: var(--spacing-sm);
  font-size: 1.1rem;
}

.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;
  display: inline-block;
}

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

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

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--aurora-purple), var(--aurora-teal));
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg), 0 0 20px rgba(139, 92, 246, 0.4);
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(139, 92, 246, 0.6);
}

.back-to-top.visible {
  display: flex;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface-frosted);
  backdrop-filter: blur(30px);
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  padding: var(--spacing-md);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  display: none;
}

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

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

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

.cookie-text p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

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

.cookie-buttons {
  display: flex;
  gap: var(--spacing-xs);
  flex-wrap: wrap;
}

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

.cookie-btn.accept {
  background: linear-gradient(135deg, var(--aurora-teal), var(--aurora-blue));
  color: white;
}

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

.cookie-btn.reject {
  background: white;
  color: var(--text-primary);
  border: 2px solid rgba(139, 92, 246, 0.3);
}

.cookie-btn.reject:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--aurora-purple);
}

.cookie-btn.customize {
  background: transparent;
  color: var(--aurora-purple);
  border: 2px solid var(--aurora-purple);
}

.cookie-btn.customize:hover {
  background: rgba(139, 92, 246, 0.1);
}

.cookie-settings {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  z-index: 10000;
}

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

.cookie-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

.cookie-overlay.visible {
  display: block;
}

.cookie-category {
  padding: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-sm);
}

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

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

.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-color: #ccc;
  transition: 0.3s;
  border-radius: 26px;
}

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

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

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

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

@media (max-width: 1024px) {
  .card-masonry {
    column-count: 2;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--surface-frosted);
    backdrop-filter: blur(30px);
    flex-direction: column;
    padding: var(--spacing-xl) var(--spacing-md);
    transition: right 0.4s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
  }
  
  nav.active {
    right: 0;
  }
  
  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  
  .nav-links a {
    padding: var(--spacing-sm);
    width: 100%;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
  }
  
  .lang-switcher {
    margin-top: var(--spacing-md);
    width: 100%;
    justify-content: center;
  }
  
  .card-masonry {
    column-count: 1;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-group {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .cert-grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-lg: 2.5rem;
    --spacing-xl: 3.5rem;
  }
  
  .hero-content {
    padding: var(--spacing-md);
  }
  
  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
  }
}