/* CSS Variables */
:root {
  --primary: #000000;
  --primary-foreground: #FFFFFF;
  --secondary: #F59F0A;
  --secondary-foreground: #111827;
  --accent: #DC2626;
  --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: 'Inter', sans-serif;
  --radius: 1rem;
}

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

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

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

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

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

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

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

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

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

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

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

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

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

/* Buttons */
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid var(--primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border-bottom-color: var(--secondary);
}

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

.btn-outline:hover {
  border-color: var(--secondary);
  border-bottom-color: var(--secondary);
  color: var(--secondary);
}

.btn-link {
  background: none;
  border: none;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 3px solid var(--primary);
  padding-bottom: 2px;
  transition: all 0.3s ease;
}

.btn-link:hover {
  border-bottom-color: var(--secondary);
  color: var(--secondary);
}

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

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

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

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

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

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

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

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

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

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

.nav-desktop a {
  color: var(--foreground);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 3px solid transparent;
  padding-bottom: 2px;
  transition: all 0.3s ease;
}

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

.astranovae_mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.astranovae_mobile-menu {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.astranovae_mobile-menu a {
  color: var(--foreground);
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
}

.astranovae_mobile-menu a:hover,
.astranovae_mobile-menu a.active {
  border-left-color: var(--secondary);
  background: rgba(245, 159, 10, 0.1);
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  
  .astranovae_mobile-menu-toggle {
    display: block;
  }
  
  .header .container {
    position: relative;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
}

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

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

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

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

.hero-image img {
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 0;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-actions {
    justify-content: center;
  }
}

/* Page Header */
.page-header {
  background: var(--background);
  padding: 4rem 0 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

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

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

/* Sections */
section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

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

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

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

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

/* Cards */
.service-card,
.process-step,
.team-card,
.value-card,
.stat-item,
.partner-item,
.faq-item,
.achievement-card,
.expertise-card,
.result-card,
.project-card,
.package-card,
.contact-option {
  background: var(--card);
  color: var(--card-foreground);
  padding: 1rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--secondary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.service-card:hover,
.process-step:hover,
.team-card:hover,
.value-card:hover,
.achievement-card:hover,
.expertise-card:hover,
.result-card:hover,
.project-card:hover,
.package-card:hover,
.contact-option:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border-left-color: var(--accent);
}

/* About Preview */
.about-preview {
  padding: 3rem 0;
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

/* Partner Logos */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: center;
}

.partner-item {
  text-align: center;
  padding: 2rem 1rem;
}

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

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

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

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

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

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

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

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

.team-cta {
  text-align: center;
  margin-top: 3rem;
}

.team-info h3 {
  margin-bottom: 0.5rem;
}

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

.team-description {
  margin-bottom: 1.5rem;
}

.team-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.skill-tag {
  background: var(--muted);
  color: var(--muted-foreground);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
}

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

/* Newsletter */
.newsletter {
  background: var(--muted);
  padding: 3rem 0;
}

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

.newsletter-form {
  margin-top: 2rem;
}

.form-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

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

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

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

/* CTA Section */
.cta {
  background: var(--primary);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

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

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

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

.cta .btn-outline {
  border-color: #fff;
  color: #fff;
}

.cta .btn-outline:hover {
  background: #fff;
  color: var(--primary);
}

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

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

.astranovae_contact-form-section {
  padding: 4rem 0;
}

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

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

.astranovae_contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.astranovae_contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.astranovae_contact-form label {
  font-weight: 600;
  color: var(--foreground);
}

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

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

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

.success-message {
  background: rgba(34, 197, 94, 0.1);
  border: 2px solid #22c55e;
  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-content h3 {
  color: #22c55e;
  margin: 0;
}

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

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

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

.contact-info-content h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
}

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

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

@media (max-width: 768px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info-item {
    flex-direction: column;
    text-align: center;
  }
}

.additional-contact {
  padding: 3rem 0;
}

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

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

/* Services Page */
.service-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

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

.service-icon {
  padding: 1rem;
}

.service-details h2 {
  margin-bottom: 1rem;
}

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

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

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

.service-packages {
  padding: 4rem 0;
}

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

.package-card {
  text-align: center;
  position: relative;
}

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

.package-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

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

.package-features ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

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

@media (max-width: 768px) {
  .packages-grid {
    grid-template-columns: 1fr;
  }
  
  .package-card.featured {
    transform: none;
  }
}

/* About Page */
.company-story {
  padding: 4rem 0;
}

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

.story-image img {
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

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

.company-timeline {
  padding: 4rem 0;
}

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

.timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 80px;
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  background: var(--card);
  border: 3px solid var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    padding-left: 60px;
  }
  
  .timeline-marker {
    width: 40px;
    height: 40px;
  }
}

.mission-values {
  padding: 4rem 0;
}

.mission-card,
.vision-card {
  text-align: center;
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--secondary);
}

.core-values {
  padding: 4rem 0;
}

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

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

.expertise-areas {
  padding: 4rem 0;
}

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

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

.company-achievements {
  padding: 4rem 0;
}

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

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

/* Team Page */
.team-intro {
  padding: 3rem 0;
}

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

.team-members {
  padding: 4rem 0;
}

.team-values {
  padding: 4rem 0;
}

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

.value-item {
  text-align: center;
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--secondary);
}

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

.join-team {
  background: var(--muted);
  padding: 4rem 0;
}

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

.join-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

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

.highlight-item h4 {
  margin: 0 0 0.25rem 0;
}

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

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

.join-note {
  margin-top: 1rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

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

/* Portfolio Page */
.portfolio-intro {
  padding: 3rem 0;
}

.portfolio-projects {
  padding: 4rem 0;
}

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

.project-card {
  overflow: hidden;
}

.project-image {
  margin-bottom: 1.5rem;
}

.project-image img {
  border-radius: var(--radius);
  transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-category {
  margin-bottom: 1rem;
}

.category-tag {
  background: var(--secondary);
  color: var(--secondary-foreground);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.project-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.highlight {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

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

.results-summary {
  padding: 4rem 0;
}

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

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

.portfolio-cta {
  background: var(--muted);
  padding: 4rem 0;
  text-align: center;
}

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

.legal-text {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

.legal-text h2 {
  color: var(--secondary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-text h3 {
  color: var(--foreground);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-text ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

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

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

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

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

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

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

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

.footer a {
  color: #d1d5db;
  text-decoration: none;
}

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

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

.footer-column h3 {
  margin-bottom: 1rem;
  color: #f9fafb;
}

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

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

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

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

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

/* Cookie Consent */
.astranovae_cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 1rem 0;
  z-index: 2000;
}

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

.astranovae_cookie-banner-text {
  flex: 1;
  min-width: 300px;
}

.astranovae_cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

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

.astranovae_cookie-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

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

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

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

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

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

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

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

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

/* === CLASS ALIAS FIXES (injected by engine) === */
.hero-text { /* alias for .hero-content */ }
.hero-text {
  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 */
#astranovae_cookie-banner.hidden, #cookie-consent-banner.hidden { display: none !important; }
#astranovae_cookie-banner:not(.hidden), #cookie-consent-banner:not(.hidden) { display: block !important; }
#astranovae_cookie-modal.hidden { display: none !important; }
.hidden { display: none !important; }
