/* CSS Variables */
:root {
  --primary: #64748b;
  --primary-foreground: #FFFFFF;
  --secondary: #EC4699;
  --secondary-foreground: #111827;
  --accent: #07B6D5;
  --accent-foreground: #111827;
  --background: #0F172A;
  --foreground: #F8FAFC;
  --card: #1E293B;
  --card-foreground: #F8FAFC;
  --border: #334155;
  --input: #334155;
  --ring: #64748b;
  --muted: #1E293B;
  --muted-foreground: #94A3B8;
  --font-family: 'Roboto', sans-serif;
  --radius: 1rem;
}

/* Global Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background: var(--background);
  color: var(--foreground);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  overflow-wrap: break-word;
}

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

/* Utility Classes */
.hidden {
  display: none !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.text-primary {
  color: var(--primary);
}

.text-muted {
  color: var(--muted-foreground);
}

.text-lg {
  font-size: 1.125rem;
}

.text-sm {
  font-size: 0.875rem;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.mb-4 {
  margin-bottom: 1rem;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Icons */
.icon-sm {
  width: 1rem;
  height: 1rem;
}

.icon-md {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-lg {
  width: 2rem;
  height: 2rem;
}

.icon-xl {
  width: 3rem;
  height: 3rem;
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: var(--muted);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: 8px 8px 16px rgba(15, 23, 42, 0.3), -8px -8px 16px rgba(51, 65, 85, 0.1);
}

/* Buttons */
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid var(--primary);
}

.btn-primary:hover {
  border-bottom: 3px solid var(--secondary);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-foreground);
  border: 2px solid var(--primary-foreground);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid var(--primary-foreground);
}

.btn-outline:hover {
  border-bottom: 3px solid var(--secondary);
  background: rgba(255, 255, 255, 0.1);
}

/* Form Elements */
.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--input);
  color: var(--foreground);
  font-family: var(--font-family);
  transition: border-color 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 2px rgba(100, 116, 139, 0.2);
}

/* Success Message */
.success-message {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--primary-foreground);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 1rem;
  box-shadow: 8px 8px 16px rgba(15, 23, 42, 0.3), -8px -8px 16px rgba(51, 65, 85, 0.1);
}

.success-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.success-content h3 {
  margin: 0;
  font-size: 1.25rem;
}

.success-content p {
  margin: 0;
  .9;
}

/* Navigation */
.navigation {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.nav-brand a {
  text-decoration: none;
}

.logo-img {
  height: 2.5rem;
  width: auto;
}

.hamburger-btn {
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius);
  transition: background-color 0.3s ease;
}

.hamburger-btn:hover {
  background: var(--muted);
}

.sigmahunovaes_mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--background);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sigmahunovaes_mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.mobile-nav-link {
  color: var(--foreground);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 500;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.mobile-nav-link:hover {
  border-bottom: 3px solid var(--primary);
  background: var(--muted);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--primary-foreground);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(100, 116, 139, 0.9), rgba(236, 72, 153, 0.8));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 5rem 0;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  .95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* Page Header */
.page-header {
  background: var(--background);
  padding: 5rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.page-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
}

/* Sections */
section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
}

/* CTA Section */
.cta-section {
  background: var(--primary);
  color: var(--primary-foreground);
  text-align: center;
}

.cta-content h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  .95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Cards */
.feature-card,
.service-card,
.team-card,
.advantage-card,
.value-card,
.achievement-item,
.benefit-item,
.team-member-card {
  background: var(--card);
  color: var(--card-foreground);
  padding: 1.5rem;
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 8px 8px 16px rgba(15, 23, 42, 0.3), -8px -8px 16px rgba(51, 65, 85, 0.1);
  
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-card.animate-in,
.service-card.animate-in,
.team-card.animate-in,
.advantage-card.animate-in,
.value-card.animate-in,
.achievement-item.animate-in,
.benefit-item.animate-in,
.team-member-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover,
.service-card:hover,
.team-card:hover,
.advantage-card:hover,
.value-card:hover,
.achievement-item:hover,
.benefit-item:hover,
.team-member-card:hover {
  transform: scale(1.03) translateY(0);
  box-shadow: 12px 12px 24px rgba(15, 23, 42, 0.4), -12px -12px 24px rgba(51, 65, 85, 0.15);
}

.feature-card h3,
.service-card h3,
.team-card h3,
.advantage-card h3,
.value-card h3,
.achievement-item h3,
.benefit-item h3,
.team-member-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--card-foreground);
}

/* Feature Cards */
.feature-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.feature-image {
  flex-shrink: 0;
  width: 200px;
  height: 150px;
  border-radius: var(--radius);
  overflow: hidden;
}

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

.feature-content {
  flex: 1;
}

@media (max-width: 768px) {
  .feature-card {
    flex-direction: column;
  }
  
  .feature-image {
    width: 100%;
  }
}

/* Service Cards */
.service-card {
  display: flex;
  flex-direction: column;
}

.service-image {
  width: 100%;
  height: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

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

.service-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.service-features li {
  padding: 0.25rem 0;
  color: var(--muted-foreground);
}

.service-features li::before {
  content: "✓ ";
  color: var(--primary);
  font-weight: bold;
  margin-right: 0.5rem;
}

.service-pricing {
  margin: 1.5rem 0;
}

.pricing-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
}

.pricing-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0.25rem 0 0 0;
}

/* Process Steps */
.process-step {
  text-align: center;
  position: relative;
  padding: 1.5rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px rgba(15, 23, 42, 0.3), -8px -8px 16px rgba(51, 65, 85, 0.1);
  
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.process-step.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.process-number {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--primary-foreground);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
}

.process-step h3 {
  margin-top: 1rem;
  color: var(--card-foreground);
}

/* Team Cards */
.team-avatar {
  text-align: center;
  margin-bottom: 1rem;
}

.team-role {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-description {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.team-expertise h4 {
  color: var(--card-foreground);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.team-expertise ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.team-expertise li {
  padding: 0.25rem 0;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.team-expertise li::before {
  content: "• ";
  color: var(--primary);
  margin-right: 0.5rem;
}

.team-preview-action {
  text-align: center;
  margin-top: 3rem;
}

/* Testimonials */
.testimonial-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-track {
  position: relative;
  overflow: hidden;
}

.testimonial-card {
  display: none;
  background: var(--card);
  color: var(--card-foreground);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px rgba(15, 23, 42, 0.3), -8px -8px 16px rgba(51, 65, 85, 0.1);
}

.testimonial-card.active {
  display: block;
}

.testimonial-content {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.testimonial-image {
  flex-shrink: 0;
  width: 150px;
  height: 100px;
  border-radius: var(--radius);
  overflow: hidden;
}

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

.testimonial-text {
  flex: 1;
}

.testimonial-text p {
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--card-foreground);
}

.testimonial-author strong {
  color: var(--primary);
  display: block;
  margin-bottom: 0.25rem;
}

.testimonial-author span {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-prev,
.testimonial-next {
  background: var(--muted);
  border: none;
  color: var(--foreground);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 8px 8px 16px rgba(15, 23, 42, 0.3), -8px -8px 16px rgba(51, 65, 85, 0.1);
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

@media (max-width: 768px) {
  .testimonial-content {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonial-image {
    width: 200px;
    height: 130px;
  }
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 8px 8px 16px rgba(15, 23, 42, 0.3), -8px -8px 16px rgba(51, 65, 85, 0.1);
  
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.gallery-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(100, 116, 139, 0.9), rgba(236, 72, 153, 0.8));
  color: var(--primary-foreground);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.gallery-overlay p {
  font-size: 0.875rem;
  opacity: 0.9;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px rgba(15, 23, 42, 0.3), -8px -8px 16px rgba(51, 65, 85, 0.1);
  
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1rem 0 0.5rem;
}

.stat-label {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--card-foreground);
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* Contact Forms */
.contact-section {
  background: var(--background);
}

.sigmahunovaes_contact-form-container {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px rgba(15, 23, 42, 0.3), -8px -8px 16px rgba(51, 65, 85, 0.1);
}

.sigmahunovaes_contact-form-container h2 {
  color: var(--card-foreground);
  margin-bottom: 1rem;
}

.sigmahunovaes_contact-form-container p {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--card-foreground);
}

.contact-info-container {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px rgba(15, 23, 42, 0.3), -8px -8px 16px rgba(51, 65, 85, 0.1);
}

.contact-info-card h2 {
  color: var(--card-foreground);
  margin-bottom: 1rem;
}

.contact-info-card > p {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.contact-details {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.contact-text h4 {
  color: var(--card-foreground);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.contact-text p {
  color: var(--muted-foreground);
  margin: 0;
  line-height: 1.5;
}

.contact-text a {
  color: var(--primary);
  text-decoration: none;
}

.contact-text a:hover {
  text-decoration: underline;
}

.map-placeholder {
  background: var(--muted);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 2rem;
}

.map-content h4 {
  color: var(--card-foreground);
  margin: 1rem 0 0.5rem;
}

.map-content p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.contact-option-card {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 8px 8px 16px rgba(15, 23, 42, 0.3), -8px -8px 16px rgba(51, 65, 85, 0.1);
  
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.contact-option-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.contact-option-card h3 {
  color: var(--card-foreground);
  margin-bottom: 1rem;
}

.contact-option-card p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

/* About Page Specific */
.mission-statement {
  background: var(--background);
  text-align: center;
}

.mission-content h2 {
  color: var(--foreground);
  font-size: 2.25rem;
  margin-bottom: 2rem;
}

.mission-text {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

.story-grid {
  align-items: center;
}

.story-content h2 {
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.story-content p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.story-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 8px 8px 16px rgba(15, 23, 42, 0.3), -8px -8px 16px rgba(51, 65, 85, 0.1);
}

.achievements-grid {
  gap: 2rem;
}

.achievement-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.achievement-image {
  flex-shrink: 0;
  width: 150px;
  height: 100px;
  border-radius: var(--radius);
  overflow: hidden;
}

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

.achievement-content {
  flex: 1;
}

@media (max-width: 768px) {
  .achievement-item {
    flex-direction: column;
  }
  
  .achievement-image {
    width: 100%;
    height: 200px;
  }
}

/* Legal Content */
.legal-content {
  background: var(--background);
}

.legal-document {
  max-width: 800px;
  margin: 0 auto;
  color: var(--foreground);
  line-height: 1.7;
}

.legal-document h2 {
  color: var(--foreground);
  font-size: 1.75rem;
  margin: 2rem 0 1rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.5rem;
}

.legal-document h3 {
  color: var(--foreground);
  font-size: 1.25rem;
  margin: 1.5rem 0 1rem;
}

.legal-document p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.legal-document ul {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-document li {
  margin-bottom: 0.5rem;
}

.legal-document a {
  color: var(--primary);
  text-decoration: none;
}

.legal-document a:hover {
  text-decoration: underline;
}

.contact-info {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

.contact-info p {
  color: var(--card-foreground);
  margin: 0.5rem 0;
}

/* Cookie Table */
.cookie-table {
  overflow-x: auto;
  margin: 2rem 0;
}

.cookie-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
}

.cookie-table th,
.cookie-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.cookie-table th {
  background: var(--muted);
  color: var(--card-foreground);
  font-weight: 600;
}

.cookie-table td {
  color: var(--card-foreground);
}

.cookie-table tr:last-child td {
  border-bottom: none;
}

/* Cookie Consent */
.sigmahunovaes_cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card);
  border-top: 1px solid var(--border);
  z-index: 1000;
  padding: 1rem 0;
}

.sigmahunovaes_cookie-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

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

.sigmahunovaes_cookie-banner-text p {
  margin: 0;
  color: var(--card-foreground);
}

.sigmahunovaes_cookie-banner-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.sigmahunovaes_cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sigmahunovaes_cookie-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(4px);
}

.sigmahunovaes_cookie-modal-content {
  position: relative;
  background: var(--card);
  color: var(--card-foreground);
  padding: 2rem;
  border-radius: var(--radius);
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 8px 8px 16px rgba(15, 23, 42, 0.3), -8px -8px 16px rgba(51, 65, 85, 0.1);
}

.cookie-toggles {
  margin: 1.5rem 0;
}

.sigmahunovaes_cookie-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

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

.sigmahunovaes_cookie-toggle-row div {
  flex: 1;
}

.sigmahunovaes_cookie-toggle-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
}

.sigmahunovaes_cookie-modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .sigmahunovaes_cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .sigmahunovaes_cookie-banner-text {
    min-width: auto;
  }
  
  .sigmahunovaes_cookie-modal-actions {
    flex-direction: column;
  }
}

/* Footer */
.footer {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column h4 {
  margin-bottom: 1rem;
  color: var(--primary-foreground);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

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

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

.footer-contact p {
  margin: 0.5rem 0;
  .85;
}

.footer-contact a {
  color: var(--primary-foreground);
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal p {
  margin: 0;
  .85;
}

.footer-legal-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: var(--primary-foreground);
  text-decoration: none;
  .85;
  transition: opacity 0.3s ease;
}

.footer-legal-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Animation Delays for Staggered Effect */
.grid-2 > *:nth-child(1) { transition-delay: 0ms; }
.grid-2 > *:nth-child(2) { transition-delay: 100ms; }
.grid-3 > *:nth-child(1) { transition-delay: 0ms; }
.grid-3 > *:nth-child(2) { transition-delay: 100ms; }
.grid-3 > *:nth-child(3) { transition-delay: 200ms; }
.grid-3 > *:nth-child(4) { transition-delay: 300ms; }
.grid-3 > *:nth-child(5) { transition-delay: 400ms; }
.grid-3 > *:nth-child(6) { transition-delay: 500ms; }

.gallery-grid > *:nth-child(1) { transition-delay: 0ms; }
.gallery-grid > *:nth-child(2) { transition-delay: 100ms; }
.gallery-grid > *:nth-child(3) { transition-delay: 200ms; }
.gallery-grid > *:nth-child(4) { transition-delay: 300ms; }
.gallery-grid > *:nth-child(5) { transition-delay: 400ms; }
.gallery-grid > *:nth-child(6) { transition-delay: 500ms; }

.stats-grid > *:nth-child(1) { transition-delay: 0ms; }
.stats-grid > *:nth-child(2) { transition-delay: 100ms; }
.stats-grid > *:nth-child(3) { transition-delay: 200ms; }

.process-grid > *:nth-child(1) { transition-delay: 0ms; }
.process-grid > *:nth-child(2) { transition-delay: 100ms; }
.process-grid > *:nth-child(3) { transition-delay: 200ms; }

.contact-options-grid > *:nth-child(1) { transition-delay: 0ms; }
.contact-options-grid > *:nth-child(2) { transition-delay: 100ms; }
.contact-options-grid > *:nth-child(3) { transition-delay: 200ms; }

/* === CLASS ALIAS FIXES (injected by engine) === */
.hero-text { /* alias for .hero-content */ }
.hero-text {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 5rem 0;
}

/* === BASELINE SAFETY CSS (injected by engine) === */

/* Ensure .hidden works consistently even with ID-specific overrides */
.hidden { display: none !important; }

/* Prevent content overflow breaking layout */
img, video, iframe { max-width: 100%; height: auto; }
* { box-sizing: border-box; }

/* Ensure container has responsive padding */
.container { width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }

/* Prevent flex/grid children from overflowing */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Responsive grid fallbacks */
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Ensure forms don't break layout */
.form-input, input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%;
  max-width: 100%;
}

/* Success message styling */
.success-message {
  margin-top: 1rem;
  padding: 1rem;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: 0.5rem;
  color: #065f46;
  text-align: center;
}

/* Stacking context for hero sections — prevents z-index:-1 children from going behind the page */
.hero, .hero-section, .page-header, .cta, .cta-section { isolation: isolate; position: relative; }

/* Desktop nav injected by engine — show on desktop, hide on mobile */
.nav-menu { display: flex; align-items: center; gap: 1.5rem; }
.nav-menu .nav-link { text-decoration: none; color: var(--foreground, #1f2937); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-menu .nav-link:hover { color: var(--primary, #2563eb); }
@media (max-width: 768px) {
  .nav-menu { display: none !important; }
}

/* Fixed header body padding safety */
body { min-height: 100vh; }

/* Prevent long words breaking layout */
h1, h2, h3, h4, p, li, td, th { overflow-wrap: break-word; word-wrap: break-word; }

/* === END BASELINE SAFETY CSS === */

/* Cookie banner visibility rules */
#sigmahunovaes_cookie-banner.hidden, #cookie-consent-banner.hidden { display: none !important; }
#sigmahunovaes_cookie-banner:not(.hidden), #cookie-consent-banner:not(.hidden) { display: block !important; }
#sigmahunovaes_cookie-modal.hidden { display: none !important; }
.hidden { display: none !important; }
