/* CSS Variables */
:root {
  --primary: #64748b;
  --primary-foreground: #FFFFFF;
  --secondary: #8b5cf6;
  --secondary-foreground: #FFFFFF;
  --accent: #dc2626;
  --accent-foreground: #FFFFFF;
  --background: #FFFFFF;
  --foreground: #111827;
  --card: #FFFFFF;
  --card-foreground: #111827;
  --border: #E5E7EB;
  --input: #E5E7EB;
  --ring: #64748b;
  --muted: #F3F4F6;
  --muted-foreground: #6B7280;
  --font-family: 'Poppins', sans-serif;
  --radius: 0.75rem;
}

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

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
  margin: 0;
  padding: 0;
  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 {
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1rem 0;
  color: var(--foreground);
}

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;
  color: var(--foreground);
}

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

a:hover {
  color: var(--accent);
}

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

/* Utility Classes */
.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: repeat(2, 1fr);
  gap: 2rem;
}

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

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

/* Icons */
.icon-sm { width: 1rem; height: 1rem; }
.icon-md { width: 1.5rem; height: 1.5rem; }
.icon-lg { width: 2rem; height: 2rem; }

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: var(--muted);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

/* Buttons */
.btn-primary,
.btn-outline,
.btn-outline-white {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-decoration: none;
}

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

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

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

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

.btn-outline-white {
  background: transparent;
  color: var(--primary-foreground);
  border-color: var(--primary-foreground);
}

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

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

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

/* Success Message */
.success-message {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 2rem;
}

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

.success-icon {
  width: 3rem;
  height: 3rem;
  color: white;
}

/* Cookie Banner & Modal */
.synchubnexum_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 -2px 10px rgba(0, 0, 0, 0.1);
}

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

.synchubnexum_cookie-banner-text {
  flex: 1;
  color: var(--card-foreground);
}

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

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

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

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

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

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

.synchubnexum_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,
.topbar-hours {
  display: flex;
  gap: 1rem;
  align-items: center;
}

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

.topbar a:hover {
  color: var(--accent-foreground);
}

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

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

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

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

.nav-link {
  color: var(--foreground);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
}

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

.synchubnexum_mobile-menu {
  background: var(--background);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.synchubnexum_mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

@media (max-width: 768px) {
  .topbar-content {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .synchubnexum_mobile-menu-toggle {
    display: block;
  }
}

/* Hero Section */
.hero {
  position: relative;
  background: #111;
  color: #fff;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

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

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

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

.hero-image img {
  border-radius: var(--radius);
}

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

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

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

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

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

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

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

/* Features Section */
.features-section {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
  padding: 7rem 0;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

.feature-content {
  padding: 2rem;
  color: var(--card-foreground);
}

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

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--primary-foreground);
  padding: 7rem 0;
}

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

.stat-item {
  text-align: center;
}

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

.stat-label {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
}

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

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

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

.about-text h2 {
  color: var(--foreground);
  margin-bottom: 2rem;
}

.about-text p {
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.about-image img {
  border-radius: var(--radius);
}

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

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
  padding: 7rem 0;
}

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

.newsletter-text h2 {
  color: var(--foreground);
  margin-bottom: 1rem;
}

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

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

.newsletter-input {
  flex: 1;
}

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

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

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

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

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

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

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

.testimonial-text p {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--foreground);
}

.author-info h4 {
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.author-info p {
  color: var(--muted-foreground);
}

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

.testimonial-prev,
.testimonial-next {
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: var(--accent);
}

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

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

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

/* Process Section */
.process-section {
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
  padding: 7rem 0;
}

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

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

.step-number {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  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;
}

.step-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem 2rem 2rem;
  color: var(--card-foreground);
}

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

.step-content p {
  color: var(--card-foreground);
}

/* CTA Section */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--primary-foreground);
  padding: 7rem 0;
  text-align: center;
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  .3;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-foreground);
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

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

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

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

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

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

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

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

.service-text h2 {
  color: var(--foreground);
  margin: 1rem 0 2rem;
}

.service-text p {
  color: var(--foreground);
  margin-bottom: 2rem;
}

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

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.service-image img {
  border-radius: var(--radius);
}

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

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

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

.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  position: relative;
  color: var(--card-foreground);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

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

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

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

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

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--card-foreground);
}

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

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

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

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

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

.story-image img {
  border-radius: var(--radius);
}

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

.mission-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 4rem;
}

.mission-item {
  text-align: center;
  color: var(--foreground);
}

.mission-item h3 {
  color: var(--foreground);
  margin: 1rem 0;
}

.mission-item p {
  color: var(--foreground);
}

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

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

.value-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  color: var(--card-foreground);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.value-card h3 {
  color: var(--card-foreground);
  margin: 1rem 0;
}

.value-card p {
  color: var(--card-foreground);
}

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

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

.team-member {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  color: var(--card-foreground);
}

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

.team-icon {
  width: 4rem;
  height: 4rem;
  color: var(--muted-foreground);
}

.team-info h3 {
  color: var(--card-foreground);
  margin-bottom: 0.5rem;
}

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

.team-info p {
  color: var(--card-foreground);
}

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

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

.achievements-text h2 {
  color: var(--foreground);
  margin-bottom: 2rem;
}

.achievement-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

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

.achievement-content h3 {
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.achievement-content p {
  color: var(--foreground);
}

.achievements-image img {
  border-radius: var(--radius);
}

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

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

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

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

.contact-info-content h3 {
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.contact-info-content p {
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

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

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

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

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

.synchubnexum_contact-form-header h2 {
  color: var(--foreground);
  margin-bottom: 1rem;
}

.synchubnexum_contact-form-header p {
  color: var(--muted-foreground);
}

.synchubnexum_contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  color: var(--card-foreground);
}

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

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

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

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.4;
}

.checkmark {
  width: 1rem;
  height: 1rem;
  border: 1px solid var(--input);
  border-radius: 0.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

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

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

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

.contact-option {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  color: var(--card-foreground);
}

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

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

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

/* Legal Pages */
.legal-content {
  padding: 4rem 0 7rem;
}

.legal-header {
  text-align: center;
  margin-bottom: 4rem;
}

.legal-header h1 {
  color: var(--foreground);
  margin-bottom: 1rem;
}

.legal-updated {
  color: var(--muted-foreground);
  font-style: italic;
}

.legal-body {
  max-width: 800px;
  margin: 0 auto;
  color: var(--foreground);
}

.legal-body h2 {
  color: var(--foreground);
  margin: 3rem 0 1rem 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.legal-body h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.legal-body h3 {
  color: var(--foreground);
  margin: 2rem 0 1rem 0;
}

.legal-body p {
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.legal-body ul {
  margin: 1rem 0 1.5rem 2rem;
}

.legal-body li {
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.legal-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-style: italic;
  color: var(--muted-foreground);
}

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

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

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

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

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  margin-bottom: 2rem;
}

.footer-brand {
  color: var(--foreground);
}

.footer-logo {
  height: 2rem;
  margin-bottom: 1rem;
}

.footer-brand h3 {
  color: var(--foreground);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.footer-address {
  color: var(--foreground);
}

.footer-address p {
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

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

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

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

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

.footer-legal-links {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted-foreground);
}

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

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

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

.animate-slide-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-slide-up.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.animate-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .page-header-content h1 {
    font-size: 2rem;
  }
  
  .synchubnexum_cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .synchubnexum_cookie-banner-actions {
    justify-content: center;
  }
  
  .hero-actions,
  .cta-actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .btn-primary,
  .btn-outline,
  .btn-outline-white {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
  }
  
  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-actions > *,
  .cta-actions > * {
    width: 100%;
    max-width: 250px;
    text-align: center;
  }
}

/* === CLASS ALIAS FIXES (injected by engine) === */
.hero-text { /* alias for .hero-content */ }
.hero-text {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  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 */
#synchubnexum_cookie-banner.hidden, #cookie-consent-banner.hidden { display: none !important; }
#synchubnexum_cookie-banner:not(.hidden), #cookie-consent-banner:not(.hidden) { display: block !important; }
#synchubnexum_cookie-modal.hidden { display: none !important; }
.hidden { display: none !important; }
