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

* {
  box-sizing: border-box;
}

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

.hidden {
  display: none !important;
}

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

/* Navigation */
.navigation {
  background: var(--card);
  box-shadow: 8px 8px 16px rgba(209, 209, 209, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

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

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

.hamburger-btn {
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  padding: 0.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: 8px 8px 16px rgba(209, 209, 209, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.hamburger-btn:hover {
  transform: translateY(-1px);
  box-shadow: 12px 12px 20px rgba(209, 209, 209, 0.4), -12px -12px 20px rgba(255, 255, 255, 0.9);
}

.hamburger-btn:active {
  transform: translateY(1px);
  box-shadow: 4px 4px 8px rgba(209, 209, 209, 0.2), -4px -4px 8px rgba(255, 255, 255, 0.7);
}

.vexorlanix-top_mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vexorlanix-top_mobile-menu-content {
  text-align: center;
}

.vexorlanix-top_mobile-menu-link {
  display: block;
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  padding: 1rem;
  margin: 0.5rem 0;
  transition: color 0.3s ease;
}

.vexorlanix-top_mobile-menu-link:hover {
  color: var(--primary);
}

/* Main content offset for fixed nav */
body {
  padding-top: 80px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 1rem 0;
  font-weight: 600;
  color: var(--foreground);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin: 0 0 1rem 0;
}

/* Buttons */
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 8px 8px 16px rgba(209, 209, 209, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.8);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 12px 12px 20px rgba(209, 209, 209, 0.4), -12px -12px 20px rgba(255, 255, 255, 0.9);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 4px 4px 8px rgba(209, 209, 209, 0.2), -4px -4px 8px rgba(255, 255, 255, 0.7);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 8px 8px 16px rgba(209, 209, 209, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.8);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  transform: translateY(-1px);
  box-shadow: 12px 12px 20px rgba(209, 209, 209, 0.4), -12px -12px 20px rgba(255, 255, 255, 0.9);
}

.btn-outline:active {
  transform: translateY(1px);
  box-shadow: 4px 4px 8px rgba(209, 209, 209, 0.2), -4px -4px 8px rgba(255, 255, 255, 0.7);
}

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

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

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

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

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

/* Icons */
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px rgba(209, 209, 209, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.8);
  padding: 1rem;
  margin-bottom: 1rem;
}

.icon-sm {
  width: 16px;
  height: 16px;
}

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

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

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

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

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

/* Hero Section */
.hero {
  background: var(--background);
  color: var(--foreground);
  padding: 3rem 0;
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
}

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

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--muted-foreground);
}

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

.hero-image {
  text-align: center;
}

.hero-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px rgba(209, 209, 209, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
}

/* CTA Section */
.cta-section {
  background: var(--primary);
  color: #fff;
  padding: 3rem 0;
}

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

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

.cta-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  .9;
}

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

section:nth-child(odd) {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
}

section:nth-child(even) {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}

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

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

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

/* Feature Cards */
.feature-card {
  background: var(--card);
  color: var(--card-foreground);
  padding: 1rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 8px 8px 16px rgba(209, 209, 209, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.8);
}

.feature-card h3 {
  margin-bottom: 1rem;
}

/* Partner Logos */
.partner-logos {
  text-align: center;
}

.partner-logos h2 {
  margin-bottom: 2rem;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: center;
}

.logo-placeholder {
  text-align: center;
}

.logo-placeholder span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

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

/* Process Steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  background: var(--primary);
  color: var(--primary-foreground);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0 auto 1rem auto;
  box-shadow: 8px 8px 16px rgba(209, 209, 209, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.8);
}

.step-content h3 {
  margin-bottom: 1rem;
}

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

/* Newsletter */
.newsletter {
  background: var(--card);
  border-radius: var(--radius);
  padding: 3rem;
  margin: 2rem 0;
  box-shadow: 8px 8px 16px rgba(209, 209, 209, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.8);
}

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

.newsletter-form {
  display: flex;
  gap: 1rem;
}

.newsletter-input {
  flex: 1;
}

@media (max-width: 768px) {
  .newsletter-content {
    grid-template-columns: 1fr;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
}

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

.faq-item {
  background: var(--card);
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px rgba(209, 209, 209, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.8);
}

.faq-item h3 {
  margin-bottom: 1rem;
}

.faq-cta {
  text-align: center;
}

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

/* Forms */
.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-family);
  font-size: 1rem;
  background: var(--card);
  color: var(--card-foreground);
  box-shadow: inset 8px 8px 16px rgba(209, 209, 209, 0.3), inset -8px -8px 16px rgba(255, 255, 255, 0.8);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
}

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

.page-header h1 {
  margin-bottom: 1rem;
}

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

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

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

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

.service-icon .icon-box {
  padding: 2rem;
}

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

.service-features li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.service-features .icon-box {
  padding: 0.5rem;
  margin: 0;
}

@media (max-width: 768px) {
  .service-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* About Page */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.about-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px rgba(209, 209, 209, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.8);
}

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

/* 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 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-marker .icon-box {
  background: var(--primary);
  color: white;
  padding: 1rem;
}

.timeline-content {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px rgba(209, 209, 209, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.8);
  width: 45%;
}

.timeline-year {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 1rem;
  }
  
  .timeline-item {
    flex-direction: row !important;
  }
  
  .timeline-marker {
    left: 1rem;
  }
  
  .timeline-content {
    width: calc(100% - 4rem);
    margin-left: 3rem;
  }
}

/* Values */
.value-card {
  background: var(--card);
  padding: 1rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 8px 8px 16px rgba(209, 209, 209, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.8);
}

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

.expertise-item {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 8px 8px 16px rgba(209, 209, 209, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.8);
}

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

/* Contact Page */
.contact-info-bar {
  background: var(--card);
  padding: 2rem 0;
  box-shadow: 8px 8px 16px rgba(209, 209, 209, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.8);
}

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

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-info-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.contact-info-item p {
  margin: 0;
  font-size: 0.875rem;
}

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

.vexorlanix-top_contact-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

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

.vexorlanix-top_contact-form {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 8px 8px 16px rgba(209, 209, 209, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.8);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-actions {
  text-align: center;
}

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

.success-message {
  background: var(--card);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
  box-shadow: 8px 8px 16px rgba(209, 209, 209, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.8);
}

.success-message h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 8px 8px 16px rgba(209, 209, 209, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.8);
}

/* FAQ Page */
.faq-item-accordion {
  background: var(--card);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: 8px 8px 16px rgba(209, 209, 209, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

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

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

.faq-question h3 {
  margin: 0;
}

.faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  display: none;
}

.faq-answer.active {
  display: block;
}

.faq-contact {
  background: var(--card);
  padding: 3rem;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 3rem;
  box-shadow: 8px 8px 16px rgba(209, 209, 209, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.8);
}

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

/* Legal Content */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

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

.last-updated {
  color: var(--muted-foreground);
  font-style: italic;
  margin-bottom: 2rem;
}

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

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

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

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

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

.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;
  box-shadow: 8px 8px 16px rgba(209, 209, 209, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.8);
}

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

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

.footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

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

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

.footer-column h4 {
  color: white;
  margin-bottom: 1rem;
}

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

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

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

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

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Cookie Banner */
.vexorlanix-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 12px rgba(0, 0, 0, 0.1);
}

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

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

.vexorlanix-top_cookie-banner-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .vexorlanix-top_cookie-banner-inner {
    flex-direction: column;
    gap: 1rem;
  }
  
  .vexorlanix-top_cookie-banner-actions {
    width: 100%;
    justify-content: center;
  }
}

/* Cookie Modal */
.vexorlanix-top_cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vexorlanix-top_cookie-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.vexorlanix-top_cookie-modal-content {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  position: relative;
  z-index: 1;
  box-shadow: 8px 8px 16px rgba(209, 209, 209, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.8);
}

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

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

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

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

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

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

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

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

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

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
}

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