/* CSS Variables */
:root {
  --primary: #64748b;
  --primary-foreground: #FFFFFF;
  --secondary: #8b5cf6;
  --secondary-foreground: #FFFFFF;
  --accent: #16a34a;
  --accent-foreground: #111827;
  --background: #0F172A;
  --foreground: #F8FAFC;
  --card: #1E293B;
  --card-foreground: #F8FAFC;
  --border: #334155;
  --input: #334155;
  --ring: #64748b;
  --muted: #1E293B;
  --muted-foreground: #94A3B8;
  --font-family: 'Roboto', sans-serif;
  --radius: 1rem;
}

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

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

.hidden {
  display: none !important;
}

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

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

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

p {
  margin: 0 0 1rem 0;
}

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

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

/* Layout Grids */
.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-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 {
  background: rgba(100, 116, 139, 0.1);
  border-radius: var(--radius);
  padding: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

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

/* Buttons */
.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: none;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.btn-primary:hover {
  background: var(--secondary);
  color: var(--secondary-foreground);
  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 {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

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

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

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

.topbar-contact {
  display: flex;
  gap: 2rem;
  align-items: center;
}

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

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

.topbar-contact a:hover {
  opacity: 0.8;
}

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

/* Navigation */
.navbar {
  background: rgba(30, 41, 59, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(51, 65, 85, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

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

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

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

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

.nav-link {
  color: var(--foreground);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(100, 116, 139, 0.2);
  color: var(--primary);
}

.astroprouxae_mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 0.5rem;
}

.astroprouxae_mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.mobile-nav-link {
  color: var(--foreground);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: rgba(100, 116, 139, 0.2);
  color: var(--primary);
}

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

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--primary-foreground);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(100, 116, 139, 0.8), rgba(139, 92, 246, 0.8));
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 3rem 0;
}

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

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

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

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

.hero-diagonal {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: var(--background);
  clip-path: polygon(0 100%, 100% 50%, 100% 100%);
  z-index: 2;
}

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

/* Page Header */
.page-header {
  background: var(--muted);
  color: var(--foreground);
  padding: 3rem 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.125rem;
  .8;
}

/* Section Styles */
section {
  padding: 3rem 0;
}

section:nth-child(even) {
  background: var(--muted);
}

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

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

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

/* Cards */
.feature-card,
.advantage-card,
.service-card,
.testimonial-card,
.team-member,
.achievement-card,
.category-card {
  background: var(--card);
  color: var(--card-foreground);
  border-radius: var(--radius);
  padding: 1rem;
  border-left: 4px solid var(--primary);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.feature-card:hover,
.advantage-card:hover,
.service-card:hover,
.testimonial-card:hover,
.team-member:hover,
.achievement-card:hover,
.category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.feature-card {
  overflow: hidden;
}

.feature-image,
.service-img,
.about-img,
.story-img,
.tech-img,
.gallery-img,
.location-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.feature-content,
.service-content {
  padding: 1rem;
}

.feature-content h3,
.advantage-card h3,
.service-content h3,
.achievement-card h3,
.category-card h3 {
  color: var(--card-foreground);
  margin-bottom: 0.5rem;
}

/* Process Steps */
.process-steps {
  background: var(--background);
  color: var(--foreground);
}

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

.step-card {
  background: var(--card);
  color: var(--card-foreground);
  padding: 1rem;
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  border-left: 4px solid var(--primary);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.step-number {
  background: var(--primary);
  color: var(--primary-foreground);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  margin: 0 auto 1rem auto;
}

/* About Section */
.about-preview,
.company-story,
.tech-content,
.culture-content {
  background: var(--muted);
  color: var(--foreground);
}

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

.about-content.reverse,
.story-content.reverse {
  direction: rtl;
}

.about-content.reverse > *,
.story-content.reverse > * {
  direction: ltr;
}

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

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

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

/* Stats Section */
.stats-section {
  background: var(--background);
  color: var(--foreground);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  text-align: center;
}

.stat-item {
  padding: 1rem;
}

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

.stat-label {
  font-size: 1.125rem;
  color: var(--foreground);
}

/* Partner Logos */
.partner-logos {
  background: var(--muted);
  color: var(--foreground);
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  text-align: center;
}

.logo-placeholder {
  background: var(--card);
  color: var(--card-foreground);
  padding: 2rem 1rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Gallery */
.gallery-preview {
  background: var(--background);
  color: var(--foreground);
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 16/10;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 1.5rem 1rem 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonials {
  background: var(--muted);
  color: var(--foreground);
}

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

.testimonial-card {
  padding: 1.5rem;
}

.testimonial-content {
  margin-bottom: 1rem;
}

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

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

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

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

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

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(100, 116, 139, 0.8), rgba(22, 163, 74, 0.8));
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

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

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

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

@media (max-width: 768px) {
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}

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

.service-section:nth-child(even) {
  background: var(--muted);
}

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

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

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

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

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

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

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

.service-pricing {
  background: var(--card);
  color: var(--card-foreground);
  padding: 1rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
  border-left: 4px solid var(--accent);
}

.service-pricing h4 {
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.service-pricing p {
  color: var(--card-foreground);
  font-size: 0.875rem;
  margin: 0;
}

/* Team Section */
.team-section {
  background: var(--muted);
  color: var(--foreground);
}

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

.team-member {
  text-align: center;
  padding: 1.5rem;
}

.member-avatar {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

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

.member-bio {
  color: var(--card-foreground);
  font-size: 0.875rem;
}

/* Mission and Values */
.mission-values {
  background: var(--background);
  color: var(--foreground);
}

.mission-card,
.values-card {
  background: var(--card);
  color: var(--card-foreground);
  padding: 1.5rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.values-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}

.values-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--card-foreground);
}

/* Technology Features */
.tech-features {
  margin-top: 2rem;
}

.tech-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.tech-feature .icon-box {
  margin-bottom: 0;
  flex-shrink: 0;
}

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

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

/* Culture Values */
.culture-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.culture-value {
  text-align: center;
  padding: 1rem;
  background: var(--card);
  color: var(--card-foreground);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}

.culture-value h4 {
  color: var(--card-foreground);
  margin-bottom: 0.5rem;
}

.culture-value p {
  color: var(--card-foreground);
  font-size: 0.875rem;
  margin: 0;
}

/* Contact Page */
.contact-info-bar {
  background: var(--background);
  color: var(--foreground);
  padding: 2rem 0;
}

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

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--card);
  color: var(--card-foreground);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

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

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

/* Forms */
.astroprouxae_contact-form-section {
  background: var(--muted);
  color: var(--foreground);
  padding: 3rem 0;
}

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

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

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

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

.astroprouxae_contact-form {
  background: var(--card);
  color: var(--card-foreground);
  padding: 2rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

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

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

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

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.1);
}

.form-input::placeholder {
  color: var(--muted-foreground);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

.checkbox-label {
  display: flex !important;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  margin-bottom: 0 !important;
}

.checkbox-label input[type="checkbox"] {
  width: auto !important;
  margin: 0;
  flex-shrink: 0;
}

.checkmark {
  flex: 1;
  font-size: 0.875rem;
  color: var(--card-foreground);
}

.form-actions {
  text-align: center;
  margin-top: 1.5rem;
}

.success-message {
  background: rgba(22, 163, 74, 0.1);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin-top: 1rem;
}

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

.success-content h3 {
  color: var(--accent);
  margin: 0;
}

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

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

/* Business Hours */
.business-hours {
  background: var(--background);
  color: var(--foreground);
}

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

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

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

.hours-schedule {
  background: var(--card);
  color: var(--card-foreground);
  padding: 1.5rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.hours-item:last-child {
  border-bottom: none;
}

.day {
  font-weight: 500;
  color: var(--card-foreground);
}

.time {
  color: var(--primary);
  font-weight: 500;
}

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

.hours-note p {
  font-size: 0.875rem;
  color: var(--card-foreground);
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

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

/* Office Location */
.office-location {
  background: var(--muted);
  color: var(--foreground);
}

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

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

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

.location-details {
  background: var(--card);
  color: var(--card-foreground);
  padding: 1.5rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--card-foreground);
}

.detail-item:last-child {
  margin-bottom: 0;
}

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

/* Alternative Contact */
.alternative-contact {
  background: var(--background);
  color: var(--foreground);
}

.contact-method {
  background: var(--card);
  color: var(--card-foreground);
  padding: 1.5rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

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

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

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.

/* === BASELINE SAFETY CSS (injected by engine) === */

/* Ensure .hidden works consistently even with ID-specific overrides */
.hidden { display: none !important; }

/* Prevent content overflow breaking layout */
img, video, iframe { max-width: 100%; height: auto; }
* { box-sizing: border-box; }

/* Ensure container has responsive padding */
.container { width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }

/* Prevent flex/grid children from overflowing */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Responsive grid fallbacks */
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Ensure forms don't break layout */
.form-input, input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%;
  max-width: 100%;
}

/* Success message styling */
.success-message {
  margin-top: 1rem;
  padding: 1rem;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: 0.5rem;
  color: #065f46;
  text-align: center;
}

/* Stacking context for hero sections — prevents z-index:-1 children from going behind the page */
.hero, .hero-section, .page-header, .cta, .cta-section { isolation: isolate; position: relative; }

/* Desktop nav injected by engine — show on desktop, hide on mobile */
.nav-menu { display: flex; align-items: center; gap: 1.5rem; }
.nav-menu .nav-link { text-decoration: none; color: var(--foreground, #1f2937); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-menu .nav-link:hover { color: var(--primary, #2563eb); }
@media (max-width: 768px) {
  .nav-menu { display: none !important; }
}

/* Fixed header body padding safety */
body { min-height: 100vh; }

/* Prevent long words breaking layout */
h1, h2, h3, h4, p, li, td, th { overflow-wrap: break-word; word-wrap: break-word; }

/* === END BASELINE SAFETY CSS === */

/* Cookie banner visibility rules */
#astroprouxae_cookie-banner.hidden, #cookie-consent-banner.hidden { display: none !important; }
#astroprouxae_cookie-banner:not(.hidden), #cookie-consent-banner:not(.hidden) { display: block !important; }
#astroprouxae_cookie-modal.hidden { display: none !important; }
.hidden { display: none !important; }
