/* CSS Variables */
:root {
  --primary: #000000;
  --primary-foreground: #FFFFFF;
  --secondary: #8b5cf6;
  --secondary-foreground: #FFFFFF;
  --accent: #2563eb;
  --accent-foreground: #FFFFFF;
  --background: #F8FAFC;
  --foreground: #0F172A;
  --card: #FFFFFF;
  --card-foreground: #0F172A;
  --border: #E2E8F0;
  --input: #E2E8F0;
  --ring: #000000;
  --muted: #F1F5F9;
  --muted-foreground: #64748B;
  --font-family: 'Roboto', sans-serif;
  --radius: 0.5rem;
}

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

html {
  scroll-behavior: smooth;
}

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

.hidden {
  display: none !important;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 1rem 0;
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin: 0 0 1rem 0;
}

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

a:hover {
  opacity: 0.8;
}

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

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

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

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

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

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

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

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

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

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

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

/* Buttons */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary:hover {
  opacity: 0.9;
  color: var(--primary-foreground);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--primary);
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

/* 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: rgba(0, 0, 0, 0.1);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Header and Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  padding: 1rem 0;
}

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

.nav-brand {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 2rem;
  max-width: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--foreground);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.aurelorvix-top_mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--foreground);
}

.aurelorvix-top_mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(12px);
  z-index: 1001;
  padding: 2rem;
}

.aurelorvix-top_mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 4rem;
}

.mobile-nav-link {
  color: var(--foreground);
  font-size: 1.25rem;
  font-weight: 500;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .aurelorvix-top_mobile-menu-toggle {
    display: block;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text {
  z-index: 2;
}

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

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  .9;
}

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

.hero-image {
  position: relative;
  clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-image {
    clip-path: none;
  }
}

/* Sections */
.section {
  padding: 3rem 0;
}

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

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

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

/* Cards */
.feature-card,
.service-card,
.pricing-card,
.value-card,
.team-card,
.achievement-card,
.info-card,
.contact-department-card,
.pricing-preview-card,
.service-category-card,
.testimonial-card {
  background: var(--card);
  color: var(--card-foreground);
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-left: 4px solid var(--primary);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover,
.service-card:hover,
.pricing-card:hover,
.value-card:hover,
.team-card:hover,
.achievement-card:hover,
.info-card:hover,
.contact-department-card:hover,
.pricing-preview-card:hover,
.service-category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.15);
}

.feature-card h3,
.service-card h3,
.value-card h3,
.team-card h3,
.achievement-card h3,
.info-card h3,
.contact-department-card h3,
.pricing-preview-card h3,
.service-category-card h3 {
  margin-bottom: 0.5rem;
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.pricing-card {
  position: relative;
  padding: 2rem 1rem;
  text-align: center;
}

.pricing-card.featured {
  border-color: var(--secondary);
  transform: scale(1.05);
}

.pricing-badge {
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: var(--secondary-foreground);
  padding: 0.25rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-header {
  margin-bottom: 2rem;
}

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

.pricing-features {
  margin-bottom: 2rem;
  text-align: left;
}

.pricing-features h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--muted-foreground);
}

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

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.pricing-note {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.featured {
    transform: none;
  }
}

/* Services */
.service-section {
  padding: 3rem 0;
}

.service-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.service-content.reverse {
  direction: rtl;
}

.service-content.reverse > * {
  direction: ltr;
}

.service-text h2 {
  margin-bottom: 1rem;
}

.service-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
}

@media (max-width: 768px) {
  .service-content {
    grid-template-columns: 1fr;
  }
  
  .service-content.reverse {
    direction: ltr;
  }
}

/* About Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-marker {
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 50%;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  z-index: 2;
  margin: 0 2rem;
}

.timeline-content {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  flex: 1;
  border-left: 4px solid var(--primary);
}

.timeline-year {
  font-size: 0.875rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 1rem;
  }
  
  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row;
  }
  
  .timeline-marker {
    margin: 0 1rem 0 0;
    width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
  }
}

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

.team-info h3 {
  margin-bottom: 0.25rem;
}

.team-info p:nth-child(2) {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

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

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

/* Contact */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.aurelorvix-top_contact-form-section h2 {
  margin-bottom: 1rem;
}

.aurelorvix-top_contact-form-section 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;
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--input);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--foreground);
  transition: border-color 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--ring);
}

.contact-info-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--primary);
  height: fit-content;
}

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

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

.contact-icon {
  background: rgba(0, 0, 0, 0.1);
  padding: 0.75rem;
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.contact-text h4 {
  margin-bottom: 0.5rem;
}

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

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

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

.map-address {
  font-weight: 500;
  color: var(--foreground);
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

/* Success Message */
.success-message {
  background: var(--card);
  border: 2px solid #22c55e;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.success-message h3 {
  color: #22c55e;
  margin-bottom: 0.5rem;
}

.success-message p {
  color: var(--muted-foreground);
  margin: 0;
}

/* Testimonials */
.testimonials-container {
  max-width: 800px;
  margin: 0 auto;
}

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

.testimonial-card {
  display: none;
  text-align: center;
  padding: 2rem;
  margin-bottom: 2rem;
}

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

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

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.author-info h4 {
  margin: 0;
  font-weight: 600;
}

.author-info p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-prev,
.testimonial-next {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background: var(--primary);
}

/* Newsletter */
.newsletter-container {
  background: var(--card);
  padding: 3rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--primary);
}

.newsletter-content {
  margin-bottom: 2rem;
}

.newsletter-form-inner {
  display: flex;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
}

@media (max-width: 768px) {
  .newsletter-form-inner {
    flex-direction: column;
  }
}

/* CTA Section */
.cta-container {
  background: var(--background);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
}

.cta-content h2 {
  margin-bottom: 1rem;
}

.cta-content p {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Tables */
.comparison-table-container {
  overflow-x: auto;
  margin: 2rem 0;
}

.comparison-table,
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

.comparison-table th,
.cookie-table th {
  background: var(--muted);
  font-weight: 600;
}

.cookie-table-container {
  margin: 2rem 0;
  overflow-x: auto;
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--muted);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.125rem;
}

.faq-icon {
  transition: transform 0.3s ease;
}

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

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 1.5rem 1.5rem;
}

/* Content Blocks */
.content-block {
  display: flex;
  flex-direction: column;
}

.content-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Legal Content */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.legal-content ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

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

/* Footer */
footer {
  background: transparent;
  border-top: 1px solid var(--border);
  color: var(--foreground);
  padding: 2rem 0;
  margin-top: 3rem;
}

footer a {
  color: var(--primary);
}

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

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

.footer-links a {
  color: var(--primary);
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
}

/* Cookie Banner */
.aurelorvix-top_cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.95);
  color: #fff;
  padding: 1rem 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.aurelorvix-top_cookie-banner-text a {
  color: var(--secondary);
}

.aurelorvix-top_cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.aurelorvix-top_cookie-banner-actions .btn-outline {
  border-color: #fff;
  color: #fff;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.aurelorvix-top_cookie-banner-actions .btn-outline:hover {
  background: #fff;
  color: var(--foreground);
}

.aurelorvix-top_cookie-banner-actions .btn-primary {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Cookie Modal */
.aurelorvix-top_cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
}

.aurelorvix-top_cookie-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.aurelorvix-top_cookie-modal-content {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

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

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

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

.aurelorvix-top_cookie-toggle-row input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
}

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

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

/* Animation Classes */
.fade-in-element {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Responsive Typography */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  .section-title { font-size: 2rem; }
  .hero-title { font-size: 2.25rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  .section-title { font-size: 1.75rem; }
  .hero-title { font-size: 2rem; }
  
  .container {
    padding: 0 0.75rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .hero {
    padding: 2rem 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 */
#aurelorvix-top_cookie-banner.hidden, #cookie-consent-banner.hidden { display: none !important; }
#aurelorvix-top_cookie-banner:not(.hidden), #cookie-consent-banner:not(.hidden) { display: block !important; }
#aurelorvix-top_cookie-modal.hidden { display: none !important; }
.hidden { display: none !important; }
