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

/* Global Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

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

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  overflow-wrap: break-word;
}

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

.hidden {
  display: none !important;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

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

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

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

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

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

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

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

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-full {
  width: 100%;
}

/* Navigation */
.navbar {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

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

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

.nav-links a {
  color: var(--foreground);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--secondary);
}

.metronovae_mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--foreground);
  font-size: 1.5rem;
  cursor: pointer;
}

.metronovae_mobile-menu {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 1rem;
}

.metronovae_mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  color: var(--card-foreground);
  border-bottom: 1px solid var(--border);
}

.metronovae_mobile-menu a:last-child {
  border-bottom: none;
}

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

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

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  .4;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(245,159,10,0.3) 100%);
}

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff 0%, #F59F0A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

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

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

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

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

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

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

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

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

/* Cards */
.feature-card, .service-card, .pricing-card {
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(51, 65, 85, 0.5);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover, .service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

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

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

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

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

/* Icons */
.icon-box {
  width: 60px;
  height: 60px;
  background: rgba(245, 159, 10, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

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

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

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

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

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

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

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

.rounded-image {
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Process Steps */
.process-steps {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}

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

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

.step-number {
  position: absolute;
  top: -10px;
  right: 10px;
  background: var(--secondary);
  color: var(--secondary-foreground);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

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

.process-step p {
  color: var(--muted-foreground);
}

/* Stats Counter */
.stats-counter {
  background: var(--primary);
  color: var(--primary-foreground);
}

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

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

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

.stat-label {
  color: var(--primary-foreground);
  font-weight: 500;
}

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

/* Why Choose Us */
.why-choose-us {
  background: linear-gradient(180deg, var(--muted) 0%, var(--background) 100%);
}

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

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

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

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

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

.testimonial-item {
  display: none;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 400px;
}

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

.testimonial-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.testimonial-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.testimonial-content {
  position: relative;
  z-index: 2;
  padding: 3rem;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 400px;
}

.testimonial-content blockquote {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.testimonial-author strong {
  display: block;
  margin-bottom: 0.5rem;
}

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

.testimonial-prev, .testimonial-next {
  background: rgba(245, 159, 10, 0.2);
  border: 1px solid var(--secondary);
  color: var(--secondary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

/* CTA Section */
.cta {
  background: var(--background);
}

.cta-card {
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(51, 65, 85, 0.5);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

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

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

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

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

.service-features li {
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.service-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

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

.accordion {
  max-width: 1000px;
  margin: 0 auto;
}

.accordion-item {
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(51, 65, 85, 0.5);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-header {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.2);
}

.accordion-header h3 {
  color: var(--foreground);
  margin: 0;
}

.accordion-icon {
  color: var(--secondary);
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--muted-foreground);
  display: none;
}

.accordion-item.active .accordion-content {
  display: block;
}

.accordion-content h4 {
  color: var(--foreground);
  margin: 1rem 0 0.5rem;
}

.accordion-content ul {
  list-style: none;
  padding: 0;
}

.accordion-content li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.accordion-content li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

.accordion-image {
  border-radius: var(--radius);
  margin-top: 1rem;
}

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

.pricing-card {
  position: relative;
  padding: 2rem;
  text-align: center;
}

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

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

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

.price {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.currency {
  font-size: 1.25rem;
  color: var(--secondary);
}

.amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0.25rem;
}

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

.pricing-features ul {
  text-align: left;
  margin-bottom: 2rem;
}

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

.check-icon {
  color: var(--accent);
  margin-right: 0.75rem;
  width: 20px;
  height: 20px;
}

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

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

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

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

.mission-card, .vision-card {
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(51, 65, 85, 0.5);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

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

.mission-card p, .vision-card p {
  color: var(--muted-foreground);
}

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

.value-card {
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(51, 65, 85, 0.5);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
}

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

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

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

.team-member {
  text-align: center;
}

.member-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  background: rgba(245, 159, 10, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-icon {
  width: 60px;
  height: 60px;
  color: var(--secondary);
}

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

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

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

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

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

.achievement-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: flex-start;
}

.achievement-year {
  background: var(--secondary);
  color: var(--secondary-foreground);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  min-width: 80px;
  text-align: center;
}

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

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

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

.choose-content h2 {
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.choose-content p {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.choose-benefits {
  margin-bottom: 2rem;
}

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

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

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

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

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

.metronovae_contact-form-container p {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

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

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

.form-input {
  width: 100%;
  padding: 0.75rem;
  background: rgba(51, 65, 85, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 2px rgba(245, 159, 10, 0.2);
}

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

.contact-info > p {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

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

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

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

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

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

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

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

.contact-option {
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(51, 65, 85, 0.5);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

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

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

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

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

.faq-item {
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(51, 65, 85, 0.5);
  border-radius: var(--radius);
  padding: 1.5rem;
}

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

.faq-item p {
  color: var(--muted-foreground);
  margin: 0;
}

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

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

.success-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

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

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

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

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

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

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

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

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

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

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

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

.legal-text ul, .legal-text ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.legal-text li {
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.legal-text a {
  color: var(--secondary);
  text-decoration: underline;
}

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

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: rgba(30, 41, 59, 0.5);
  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: rgba(0, 0, 0, 0.3);
  color: var(--foreground);
  font-weight: 600;
}

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

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

/* Footer */
.footer {
  background: #111827;
  color: #f9fafb;
  padding: 3rem 0 1rem;
}

.footer-content {
  margin-bottom: 2rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand h3 {
  color: #f9fafb;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: #d1d5db;
  margin-bottom: 1rem;
}

.footer-address {
  color: #d1d5db;
  font-size: 0.9rem;
}

.footer-address p {
  margin-bottom: 0.5rem;
}

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

.footer-column h4 {
  color: #f9fafb;
  margin-bottom: 1rem;
  font-size: 1rem;
}

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

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

.footer-column a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #f59e0b;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom p {
  color: #9ca3af;
  margin: 0;
  font-size: 0.9rem;
}

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

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