/* CSS Variables */
:root {
  --primary: #000000;
  --primary-foreground: #FFFFFF;
  --secondary: #8b5cf6;
  --secondary-foreground: #FFFFFF;
  --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: 'Open Sans', sans-serif;
  --radius: 0.5rem;
}

/* 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-wrap: break-word;
}

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

/* Utility Classes */
.hidden {
  display: none !important;
}

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

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

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

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

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

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

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

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

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

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

.success-content h3 {
  margin: 0;
  font-size: 1.25rem;
}

.success-content p {
  margin: 0;
  .9;
}

/* Button Styles - Rounded Pill */
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #333;
  transform: translateY(-2px);
}

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

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

.btn-outline-white {
  background: transparent;
  color: white;
  padding: 0.75rem 2rem;
  border: 2px solid white;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.btn-white {
  background: white;
  color: var(--primary);
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-white:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
}

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

/* Icon Styles */
.icon-sm {
  width: 1rem;
  height: 1rem;
}

.icon-md {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-lg {
  width: 2rem;
  height: 2rem;
}

.icon-xl {
  width: 3rem;
  height: 3rem;
}

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

/* Top Bar */
.topbar {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: white;
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.topbar-content {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

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

.topbar-item a {
  color: white;
  text-decoration: none;
}

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

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

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

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

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

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

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

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

.nav-link:hover,
.nav-link.active {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: white;
}

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

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

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

.mobile-nav-link:hover {
  background: var(--muted);
}

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

/* Hero Section - Primary Bold */
.hero {
  background: var(--primary);
  color: #fff;
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
}

.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;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  .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;
  }
}

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

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

.page-header-content p {
  font-size: 1.25rem;
  color: var(--muted-foreground);
}

@media (max-width: 768px) {
  .page-header-content h1 {
    font-size: 2rem;
  }
  
  .page-header-content p {
    font-size: 1.1rem;
  }
}

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

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

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

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

/* CTA Section - Gradient Background */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  padding: 5rem 0;
}

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

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

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

/* Cards - Elevated Style */
.feature-card,
.service-card,
.testimonial-card,
.pricing-card,
.value-card,
.team-card,
.achievement-card {
  background: var(--card);
  color: var(--card-foreground);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.feature-card:hover,
.service-card:hover,
.testimonial-card:hover,
.pricing-card:hover,
.value-card:hover,
.team-card:hover,
.achievement-card:hover {
  transform: translateY(-5px);
}

.feature-card h3,
.service-card h3,
.value-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-card p,
.service-card p,
.value-card p {
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Service Features List */
.service-features {
  list-style: none;
  margin-top: 1rem;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--muted-foreground);
  border-bottom: 1px solid var(--border);
}

.service-features li:last-child {
  border-bottom: none;
}

/* Testimonials */
.testimonial-content {
  text-align: center;
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.star-filled {
  color: #fbbf24;
  fill: currentColor;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

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

.author-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.author-title {
  color: var(--muted-foreground);
  font-size: 0.9rem;
}

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

.partner-logo-placeholder {
  text-align: center;
  padding: 2rem;
  background: var(--card);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  .7;
  transition: opacity 0.3s ease;
}

.partner-logo-placeholder:hover {
  opacity: 1;
}

.partner-logo-placeholder span {
  font-weight: 500;
  color: var(--muted-foreground);
}

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

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

.about-preview-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about-preview-text p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

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

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

.stat-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.stat-content p {
  color: var(--muted-foreground);
  margin: 0;
  font-size: 0.95rem;
}

.feature-image {
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

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

/* Accordion Styles */
.accordion-container {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--card);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background: var(--muted);
}

.accordion-title {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.accordion-title h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.accordion-icon {
  transition: transform 0.3s ease;
}

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

.accordion-content {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

.accordion-features {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

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

/* Pricing Cards */
.pricing-card {
  position: relative;
  text-align: center;
}

.pricing-card.featured {
  border: 2px solid var(--accent);
  transform: scale(1.05);
}

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

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

.pricing-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.price-currency {
  font-size: 1.2rem;
  font-weight: 500;
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
}

.price-period {
  font-size: 1rem;
  color: var(--muted-foreground);
}

.price-text {
  font-size: 2rem;
  font-weight: 700;
}

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

.pricing-features ul {
  list-style: none;
  text-align: left;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
  border-bottom: none;
}

/* Team Cards */
.team-card {
  text-align: center;
}

.team-avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
}

.team-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

.team-card p {
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Achievement Cards */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

.achievement-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.achievement-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.achievement-card p {
  color: var(--muted-foreground);
  line-height: 1.5;
}

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

/* Company Information */
.company-info-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.company-details h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

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

.detail-item h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.detail-item p {
  color: var(--muted-foreground);
  line-height: 1.5;
}

.detail-item a {
  color: var(--primary);
  text-decoration: none;
}

.detail-item a:hover {
  text-decoration: underline;
}

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

/* Contact Form */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.kronavstel-top_contact-form-container h2,
.contact-info-container h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.kronavstel-top_contact-form-container p,
.contact-info-container p {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.kronavstel-top_contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

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

.contact-details h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-details p {
  color: var(--muted-foreground);
  margin: 0;
  line-height: 1.5;
}

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

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

.contact-note {
  font-size: 0.9rem;
  .8;
}

.additional-contacts {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.additional-contacts h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.specialist-contacts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.specialist-contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.specialist-contact strong {
  display: block;
  font-weight: 600;
}

.specialist-contact p {
  margin: 0;
  font-size: 0.9rem;
}

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

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

.company-details-section {
  background: var(--muted);
}

.company-details-content h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.company-details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.detail-card {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
}

.detail-card h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

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

@media (max-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .company-details-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .company-details-grid {
    grid-template-columns: 1fr;
  }
}

/* Legal Content */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-document {
  background: var(--card);
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.legal-meta {
  background: var(--muted);
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  border-left: 4px solid var(--accent);
}

.legal-meta p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.legal-document h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
  color: var(--foreground);
}

.legal-document h2:first-of-type {
  margin-top: 0;
}

.legal-document h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  margin-top: 2rem;
  color: var(--foreground);
}

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

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

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

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

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

.contact-details {
  background: var(--muted);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin: 2rem 0;
}

.contact-details p {
  margin: 0.5rem 0;
}

.legal-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.legal-footer em {
  color: var(--muted-foreground);
  font-size: 0.9rem;
}

/* Cookie Table */
.cookie-table-container {
  overflow-x: auto;
  margin: 2rem 0;
}

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

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

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

/* FAQ Styles */
.faq-content {
  max-width: 800px;
  margin: 0 auto;
}

.faq-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-intro h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.faq-intro p {
  font-size: 1.1rem;
  color: var(--muted-foreground);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--muted);
}

.faq-question h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.faq-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

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

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

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

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

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

/* Contact CTA */
.contact-cta-section {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: white;
}

.contact-cta-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  text-align: left;
}

.cta-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-text p {
  font-size: 1.1rem;
  .9;
  margin: 0;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

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

.contact-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

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

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

@media (max-width: 768px) {
  .contact-cta-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .cta-actions {
    align-items: center;
  }
  
  .contact-options {
    flex-direction: column;
    gap: 0.75rem;
  }
}

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

footer a {
  color: var(--primary);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

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

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

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

.footer-brand h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.footer-tagline {
  color: var(--muted-foreground);
  margin: 0;
  font-size: 0.9rem;
}

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

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

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

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info h4 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--muted-foreground);
}

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

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

.footer-bottom p {
  color: var(--muted-foreground);
  margin: 0;
  font-size: 0.9rem;
}

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

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

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

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

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

.kronavstel-top_cookie-banner-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

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

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

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

.cookie-toggles {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.kronavstel-top_cookie-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  background: var(--muted);
  border-radius: var(--radius);
}

.kronavstel-top_cookie-toggle-row input[type="checkbox"] {
  width: auto;
  margin: 0;
}

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

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

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

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

/* Mission Statement */
.mission-statement {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.mission-statement h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.mission-text {
  font-size: 1.3rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  margin: 0;
}

/* Story Section */
.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.story-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

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

/* Responsive Design */
@media (max-width: 480px) {
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .page-header-content h1 {
    font-size: 1.75rem;
  }
  
  .cta-content h2 {
    font-size: 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 */
#kronavstel-top_cookie-banner.hidden, #cookie-consent-banner.hidden { display: none !important; }
#kronavstel-top_cookie-banner:not(.hidden), #cookie-consent-banner:not(.hidden) { display: block !important; }
#kronavstel-top_cookie-modal.hidden { display: none !important; }
.hidden { display: none !important; }
