/* 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: 'Roboto', sans-serif;
  --radius: 0.75rem;
}

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

body {
  font-family: var(--font-family);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  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-center {
  text-align: center;
}

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

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

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

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

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

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

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

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

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

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

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

/* Button Styles */
.btn-primary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-family);
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

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

.btn-outline:hover {
  text-decoration: underline;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Icon Styles */
.icon-sm {
  width: 16px;
  height: 16px;
}

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

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

.icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.avatar-icon {
  width: 80px;
  height: 80px;
  color: var(--primary);
}

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

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

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

.topbar-link {
  color: var(--primary-foreground);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.business-hours {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .topbar-content {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .contact-info {
    gap: 1rem;
  }
}

/* Navigation */
.navbar {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: relative;
  z-index: 1000;
}

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

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

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

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

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

.zenorlanix-top_mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 1rem;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  color: var(--foreground);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  
  .zenorlanix-top_mobile-menu-toggle {
    display: block;
  }
  
  .zenorlanix-top_mobile-menu:not(.hidden) {
    display: flex;
  }
}

/* Hero Section */
.hero {
  background: var(--background);
  color: var(--foreground);
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

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

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--primary);
}

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

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

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

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

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--primary);
}

.page-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.last-updated {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Section Styles */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--primary);
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

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

/* Testimonials */
.testimonials-section {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
  padding: 5rem 0;
}

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

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

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

.testimonial-quote {
  margin-bottom: 2rem;
}

.quote-icon {
  width: 48px;
  height: 48px;
  color: var(--primary);
  margin-bottom: 1rem;
}

.testimonial-quote p {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--foreground);
  line-height: 1.8;
}

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

.author-name {
  font-weight: 600;
  color: var(--foreground);
  margin: 0;
}

.author-role {
  color: var(--muted-foreground);
  margin: 0;
}

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

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

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

/* About Preview */
.about-preview-section {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
  padding: 5rem 0;
}

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

.about-preview-text {
  margin-bottom: 1.5rem;
  color: var(--foreground);
  line-height: 1.7;
}

.about-features {
  margin: 2rem 0;
}

.about-feature {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.feature-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

.preview-img {
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

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

.services-grid {
  margin-bottom: 3rem;
}

.service-card {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
  transform: translateX(-40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

.service-card:nth-child(even) {
  transform: translateX(40px);
}

.service-card:nth-child(even).animate-in {
  transform: translateX(0);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.service-description {
  color: var(--muted-foreground);
  line-height: 1.6;
}

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

.team-preview-grid {
  margin-bottom: 3rem;
}

.team-member-card {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
  transform: translateX(-40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

.team-member-card:nth-child(even) {
  transform: translateX(40px);
}

.team-member-card:nth-child(even).animate-in {
  transform: translateX(0);
}

.team-member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.member-avatar {
  margin-bottom: 1rem;
}

.member-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

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

.member-description {
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
}

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

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--primary);
}

.cta-description {
  font-size: 1.125rem;
  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;
}

@media (max-width: 768px) {
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* Services Page */
.service-row {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
}

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

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

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

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

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

.service-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0;
}

.service-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.features-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--foreground);
}

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

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

.feature-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.service-img {
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.additional-services-section {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
  padding: 5rem 0;
}

.service-cta {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.service-cta:hover {
  border-bottom-color: var(--primary);
}

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

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

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

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

.story-img {
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

.mission-content {
  text-align: center;
  margin-bottom: 4rem;
}

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

.values-grid {
  margin-top: 3rem;
}

.value-card {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
  transform: translateX(-40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

.value-card:nth-child(even) {
  transform: translateX(40px);
}

.value-card:nth-child(even).animate-in {
  transform: translateX(0);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.value-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.value-description {
  color: var(--muted-foreground);
  line-height: 1.6;
}

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

.achievements-grid {
  margin-top: 2rem;
}

.achievement-card {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
  transform: translateX(-40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

.achievement-card:nth-child(even) {
  transform: translateX(40px);
}

.achievement-card:nth-child(even).animate-in {
  transform: translateX(0);
}

.achievement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.achievement-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.achievement-description {
  color: var(--muted-foreground);
  line-height: 1.6;
}

.company-info-section {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
  padding: 5rem 0;
}

.info-grid {
  margin-top: 2rem;
}

.detail-item {
  margin-bottom: 1.5rem;
}

.detail-label {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.detail-value {
  color: var(--muted-foreground);
  margin: 0;
}

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

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-label {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

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

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

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

/* Contact Page */
.contact-info-bar {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--primary-foreground);
  padding: 3rem 0;
}

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

.contact-info-item {
  text-align: center;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.contact-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-text {
  margin: 0;
  .9;
}

.contact-text a {
  color: inherit;
  text-decoration: none;
}

.zenorlanix-top_contact-form-section {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
  padding: 5rem 0;
}

.zenorlanix-top_contact-form-container {
  max-width: 800px;
  margin: 0 auto;
}

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

.zenorlanix-top_contact-form {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

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

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

.success-message {
  background: var(--card);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 2rem;
  text-align: center;
}

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

.success-icon {
  width: 48px;
  height: 48px;
  color: var(--primary);
}

.success-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0;
}

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

.additional-contact-section {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
  padding: 5rem 0;
}

.contact-options-grid {
  margin-top: 2rem;
}

.contact-option-card {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
  transform: translateX(-40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

.contact-option-card:nth-child(even) {
  transform: translateX(40px);
}

.contact-option-card:nth-child(even).animate-in {
  transform: translateX(0);
}

.contact-option-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.option-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.option-description {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.option-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.option-link:hover {
  border-bottom-color: var(--primary);
}

@media (max-width: 768px) {
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

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

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card);
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--foreground);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.5rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

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

.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--foreground);
}

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

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

.legal-content a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.legal-content a:hover {
  border-bottom-color: var(--primary);
}

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

.cookie-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--background);
  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(--primary);
  color: var(--primary-foreground);
  font-weight: 600;
}

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

/* FAQ Page */
.faq-section {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
  padding: 5rem 0;
}

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

.faq-item {
  background: var(--card);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  
  transform: translateX(-40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

.faq-item:nth-child(even) {
  transform: translateX(40px);
}

.faq-item:nth-child(even).animate-in {
  transform: translateX(0);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-family);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--primary);
}

.question-text {
  flex: 1;
}

.faq-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

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

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

.faq-answer.active {
  max-height: 500px;
}

.answer-content {
  padding: 0 1.5rem 1.5rem;
}

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

.answer-content p:last-child {
  margin-bottom: 0;
}

.contact-cta-section {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
  padding: 5rem 0;
}

.contact-cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* Team Page */
.team-intro-section {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
  padding: 5rem 0;
}

.team-intro-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro-text {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: var(--foreground);
  line-height: 1.7;
}

.team-members-section {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
  padding: 5rem 0;
}

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

.team-member-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
  transform: translateX(-40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

.team-member-card:nth-child(even) {
  transform: translateX(40px);
}

.team-member-card:nth-child(even).animate-in {
  transform: translateX(0);
}

.team-member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.member-info {
  text-align: left;
}

.member-expertise {
  margin-top: 1.5rem;
}

.expertise-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

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

.expertise-list li {
  padding: 0.25rem 0;
  color: var(--muted-foreground);
  border-left: 3px solid var(--primary);
  padding-left: 0.75rem;
  margin-bottom: 0.5rem;
}

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

.join-team-section {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
  padding: 5rem 0;
}

.join-team-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

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

/* Cookie Consent */
.zenorlanix-top_cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 1rem 0;
  z-index: 1000;
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

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

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

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

.zenorlanix-top_cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.zenorlanix-top_cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zenorlanix-top_cookie-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.zenorlanix-top_cookie-modal-content {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.25);
}

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

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

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

.zenorlanix-top_cookie-modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .zenorlanix-top_cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .zenorlanix-top_cookie-banner-actions {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .zenorlanix-top_cookie-modal-actions {
    flex-direction: column;
  }
}

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

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

footer a:hover {
  opacity: 0.8;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

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

.footer-company-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.footer-email {
  font-size: 1.125rem;
  font-weight: 500;
}

.footer-tagline {
  font-style: italic;
  color: var(--muted-foreground);
}

.footer-tagline p {
  margin: 0;
}

.footer-nav,
.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 2rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.footer-bottom p {
  margin: 0.25rem 0;
}

.footer-address,
.footer-phone {
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .footer-nav,
  .footer-legal {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Animation Classes */
.animate-in {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 3rem 0;
  }
  
  .page-header {
    padding: 2rem 0;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .cta-container {
    padding: 2rem;
  }
  
  .service-row {
    padding: 3rem 0;
  }
}

/* === CLASS ALIAS FIXES (injected by engine) === */
.hero-text { /* alias for .hero-content */ }
.hero-text {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 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 */
#zenorlanix-top_cookie-banner.hidden, #cookie-consent-banner.hidden { display: none !important; }
#zenorlanix-top_cookie-banner:not(.hidden), #cookie-consent-banner:not(.hidden) { display: block !important; }
#zenorlanix-top_cookie-modal.hidden { display: none !important; }
.hidden { display: none !important; }
