/* CSS Variables */
:root {
  --primary: #16A34A;
  --primary-foreground: #FFFFFF;
  --secondary: #15803D;
  --secondary-foreground: #FFFFFF;
  --accent: #CA8A04;
  --accent-foreground: #422006;
  --background: #FEFCE8;
  --foreground: #1C1917;
  --card: #FFFFFF;
  --card-foreground: #1C1917;
  --border: #D6D3D1;
  --input: #D6D3D1;
  --ring: #16A34A;
  --muted: #F5F5F4;
  --muted-foreground: #78716C;
  --font-family: 'Open Sans', sans-serif;
  --radius: 0.75rem;
}

/* 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;
}

/* 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: 16px;
  height: 16px;
}

.icon-md {
  width: 24px;
  height: 24px;
}

.icon-lg {
  width: 32px;
  height: 32px;
}

.icon-xl {
  width: 48px;
  height: 48px;
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--muted);
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px #d1d1d1, -8px -8px 16px #ffffff;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--primary);
  text-decoration: none;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

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

/* Success Message */
.success-message {
  padding: 1.5rem;
  background: var(--card);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  margin-top: 1rem;
  box-shadow: 8px 8px 16px #d1d1d1, -8px -8px 16px #ffffff;
}

.success-content {
  text-align: center;
}

.success-content h3 {
  margin: 0.5rem 0;
  color: var(--primary);
}

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

/* Cookie Banner and Modal */
.lumorvantis-top_cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card);
  border-top: 2px solid var(--border);
  z-index: 1000;
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
}

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

.lumorvantis-top_cookie-banner-text {
  flex: 1;
}

.lumorvantis-top_cookie-banner-text p {
  margin: 0;
  font-size: 0.875rem;
}

.lumorvantis-top_cookie-banner-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.lumorvantis-top_cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
}

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

.lumorvantis-top_cookie-modal-content {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  max-width: 500px;
  width: 100%;
  box-shadow: 8px 8px 16px #d1d1d1, -8px -8px 16px #ffffff;
}

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

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

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

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

/* Top Bar */
.topbar {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

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

.topbar-contact {
  display: flex;
  gap: 1.5rem;
}

.topbar-contact span,
.topbar-hours span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

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

/* Navigation */
.header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar {
  padding: 1rem 0;
}

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

.nav-brand {
  font-weight: 700;
  font-size: 1.5rem;
}

.nav-brand a {
  color: var(--foreground);
  text-decoration: none;
}

.logo-img {
  height: 40px;
  max-width: 200px;
}

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

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

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

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

.lumorvantis-top_mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.mobile-nav-link {
  color: var(--foreground);
  text-decoration: none;
  padding: 0.5rem 0;
  font-weight: 500;
}

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .lumorvantis-top_mobile-menu-toggle {
    display: block;
  }
  
  .lumorvantis-top_mobile-menu {
    display: flex;
  }
  
  .lumorvantis-top_mobile-menu.hidden {
    display: none;
  }
  
  .topbar-content {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  
  .topbar-contact {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .lumorvantis-top_cookie-banner-inner {
    flex-direction: column;
    gap: 1rem;
  }
  
  .lumorvantis-top_cookie-banner-actions {
    width: 100%;
    justify-content: center;
  }
}

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

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

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

.hero-description {
  font-size: 1.25rem;
  margin: 0 0 2rem 0;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Page Header */
.page-header {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
  padding: 3rem 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.page-header p {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin: 0;
}

/* Sections */
section {
  padding: 5rem 0;
}

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

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.section-header p {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin: 0;
}

/* CTA Section */
.cta-section {
  background: var(--background);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  margin: 2rem 0;
}

.cta-content {
  text-align: center;
  padding: 3rem 2rem;
}

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

.cta-content p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin: 0 0 2rem 0;
}

/* Team Section */
.team-preview,
.team-section {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.team-card,
.team-member {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 8px 8px 16px #d1d1d1, -8px -8px 16px #ffffff;
}

.team-icon,
.team-avatar {
  margin-bottom: 1rem;
}

.team-card h3,
.team-member h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

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

/* Stats Section */
.stats-section {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
}

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

.stat-item {
  text-align: center;
  padding: 2rem;
}

.stat-icon {
  margin-bottom: 1rem;
}

.stat-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

/* Partners Section */
.partners-section {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}

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

.partner-item {
  text-align: center;
  padding: 1.5rem;
}

.partner-icon {
  margin-bottom: 1rem;
}

/* Services Page */
.services-section {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px #d1d1d1, -8px -8px 16px #ffffff;
}

.service-icon {
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
}

.service-card p {
  margin: 0 0 1.5rem 0;
  color: var(--muted-foreground);
}

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

.service-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.service-features li:last-child {
  border-bottom: none;
}

/* Pricing Section */
.pricing-section {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.pricing-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  position: relative;
  box-shadow: 8px 8px 16px #d1d1d1, -8px -8px 16px #ffffff;
}

.pricing-card.featured {
  border: 2px solid var(--primary);
}

.pricing-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
}

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

.pricing-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.price span {
  font-size: 1rem;
  color: var(--muted-foreground);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0;
}

/* About Page */
.story-section {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
}

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

.story-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 1.5rem 0;
}

.story-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px #d1d1d1, -8px -8px 16px #ffffff;
}

.values-section {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 8px 8px 16px #d1d1d1, -8px -8px 16px #ffffff;
}

.value-icon {
  margin-bottom: 1.5rem;
}

.value-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
}

/* Timeline */
.timeline-section {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
}

.timeline-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 3rem 0;
}

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

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

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 80px;
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  background: var(--card);
  border: 3px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 8px 8px 16px #d1d1d1, -8px -8px 16px #ffffff;
}

.timeline-content {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px #d1d1d1, -8px -8px 16px #ffffff;
}

.timeline-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: var(--primary);
}

.achievements-section {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.achievement-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 8px 8px 16px #d1d1d1, -8px -8px 16px #ffffff;
}

.achievement-icon {
  margin-bottom: 1.5rem;
}

.achievement-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
}

/* Contact Page */
.contact-section {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.lumorvantis-top_contact-form-container h2,
.contact-info h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 1.5rem 0;
}

.lumorvantis-top_contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  color: var(--foreground);
}

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

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

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

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

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

.contact-divider {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 2rem 0;
}

.support-info {
  padding: 1.5rem;
  background: var(--muted);
  border-radius: var(--radius);
}

.support-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
}

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

.faq-section {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.faq-item {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px #d1d1d1, -8px -8px 16px #ffffff;
}

.faq-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: var(--primary);
}

/* Legal Pages */
.legal-content {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
}

.legal-document {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card);
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px #d1d1d1, -8px -8px 16px #ffffff;
}

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

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

.legal-document p {
  margin: 1rem 0;
  line-height: 1.7;
}

.legal-document ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

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

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

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

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

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

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

.cookie-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 8px 8px 16px #d1d1d1, -8px -8px 16px #ffffff;
}

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

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

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

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

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

.footer-column h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
}

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

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

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

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

.footer-legal {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.footer-legal a {
  margin-right: 1rem;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .story-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .timeline::before {
    left: 15px;
  }
  
  .timeline-item {
    padding-left: 60px;
  }
  
  .timeline-marker {
    width: 40px;
    height: 40px;
  }
}

/* Animation Classes */
.animate-slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-in {
  opacity: 1;
  transform: translateX(0);
}

/* === CLASS ALIAS FIXES (injected by engine) === */
.hero-image { /* alias for .hero-img */ }
.hero-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.hero-text { /* alias for .hero-content */ }
.hero-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* === 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 */
#lumorvantis-top_cookie-banner.hidden, #cookie-consent-banner.hidden { display: none !important; }
#lumorvantis-top_cookie-banner:not(.hidden), #cookie-consent-banner:not(.hidden) { display: block !important; }
#lumorvantis-top_cookie-modal.hidden { display: none !important; }
.hidden { display: none !important; }
