/* CSS Variables */
:root {
  --primary: #EC4899;
  --primary-foreground: #FFFFFF;
  --secondary: #8B5CF6;
  --secondary-foreground: #FFFFFF;
  --accent: #F472B6;
  --accent-foreground: #1E1B4B;
  --background: #0F172A;
  --foreground: #F8FAFC;
  --card: #1E293B;
  --card-foreground: #F8FAFC;
  --border: #334155;
  --input: #334155;
  --ring: #EC4899;
  --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;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 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;
  }
}

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

p {
  margin: 0 0 1rem 0;
}

a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: border-color 0.3s ease;
}

a:hover {
  border-bottom-color: var(--primary);
}

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

.btn-primary:hover {
  background: #DB2777;
  border-bottom-color: #DB2777;
}

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

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

/* Header Navigation */
.header-nav {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

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

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

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

.nav-link {
  color: var(--foreground);
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 3px solid transparent;
  transition: border-color 0.3s ease;
}

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

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

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

.mobile-nav-link {
  color: var(--foreground);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}

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

/* Hero Section */
.hero {
  background: var(--foreground);
  color: var(--background);
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 5rem 0;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--foreground);
  opacity: 0.9;
}

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

.btn-hero-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border-bottom: 3px solid var(--primary);
  transition: all 0.3s ease;
}

.btn-hero-primary:hover {
  background: #DB2777;
  border-bottom-color: #DB2777;
}

.btn-hero-secondary {
  background: transparent;
  color: var(--foreground);
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: 2px solid var(--foreground);
  border-radius: var(--radius);
  border-bottom: 3px solid var(--foreground);
  transition: all 0.3s ease;
}

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

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

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

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

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

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

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

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

/* Cards */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

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

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

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

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

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

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

/* Stats Section */
.stats-section {
  background: var(--muted);
  padding: 5rem 0;
}

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

.stat-item {
  text-align: center;
  padding: 2rem;
  background: var(--card);
  border-radius: var(--radius);
}

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

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

/* Pricing Section */
.pricing-preview {
  background: var(--background);
  padding: 5rem 0;
}

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

.pricing-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

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

.pricing-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 1rem 0;
}

.pricing-price {
  margin: 1.5rem 0;
}

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

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

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

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

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

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.feature-icon {
  color: var(--primary);
  width: 16px;
  height: 16px;
}

.btn-pricing {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  width: 100%;
  border-bottom: 3px solid var(--primary);
  transition: all 0.3s ease;
}

.btn-pricing:hover {
  background: #DB2777;
  border-bottom-color: #DB2777;
}

/* Partners Section */
.partners-section {
  background: var(--muted);
  padding: 5rem 0;
  text-align: center;
}

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

.partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
}

.partner-name {
  margin-top: 1rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

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

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

.cta-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

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

.btn-cta-primary {
  background: #fff;
  color: var(--primary);
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: var(--radius);
  border-bottom: 3px solid #fff;
  transition: all 0.3s ease;
}

.btn-cta-primary:hover {
  background: #f1f5f9;
  border-bottom-color: #f1f5f9;
}

.btn-cta-secondary {
  background: transparent;
  color: #fff;
  padding: 1rem 2rem;
  font-weight: 600;
  border: 2px solid #fff;
  border-radius: var(--radius);
  border-bottom: 3px solid #fff;
  transition: all 0.3s ease;
}

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

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

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

.service-reverse {
  grid-template-columns: 1fr 1fr;
}

.service-reverse .service-text {
  order: 2;
}

.service-reverse .service-image {
  order: 1;
}

.service-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 1rem 0;
}

.service-description {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: var(--muted-foreground);
}

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

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.service-pricing {
  margin: 2rem 0;
}

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

.price-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-left: 0.5rem;
}

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

.btn-service {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  border-bottom: 3px solid var(--primary);
  transition: all 0.3s ease;
}

.btn-service:hover {
  background: #DB2777;
  border-bottom-color: #DB2777;
}

.service-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
}

.service-alt {
  background: var(--muted);
}

@media (max-width: 768px) {
  .service-content,
  .service-reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .service-reverse .service-text,
  .service-reverse .service-image {
    order: unset;
  }
}

/* Features Overview */
.features-overview {
  background: var(--muted);
  padding: 5rem 0;
}

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

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

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1rem 0;
}

.feature-description {
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* About Page */
.mission-section {
  background: var(--background);
  padding: 5rem 0;
  text-align: center;
}

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

.mission-statement {
  font-size: 1.3rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
  color: var(--muted-foreground);
}

.story-section {
  background: var(--muted);
  padding: 5rem 0;
}

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

.story-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.story-description {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--muted-foreground);
}

.story-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
}

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

/* Values Section */
.values-section {
  background: var(--background);
  padding: 5rem 0;
}

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

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

.value-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1rem 0;
}

.value-description {
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Team Section */
.team-section {
  background: var(--muted);
  padding: 5rem 0;
}

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

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

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

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

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

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

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

/* Achievements Section */
.achievements-section {
  background: var(--background);
  padding: 5rem 0;
}

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

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

.achievement-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1rem 0;
}

.achievement-description {
  color: var(--muted-foreground);
  line-height: 1.6;
}

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

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

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--card);
  border-radius: var(--radius);
}

.contact-info-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

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

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

.qorventila-top_contact-form-section {
  background: var(--muted);
  padding: 5rem 0;
}

.qorventila-top_contact-form-container {
  max-width: 800px;
  margin: 0 auto;
}

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

.qorventila-top_contact-form-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.qorventila-top_contact-form-subtitle {
  color: var(--muted-foreground);
  font-size: 1.1rem;
}

.qorventila-top_contact-form {
  background: var(--card);
  padding: 3rem;
  border-radius: var(--radius);
}

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

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

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

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

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

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

.btn-form-submit {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
  border-bottom: 3px solid var(--primary);
  transition: all 0.3s ease;
}

.btn-form-submit:hover {
  background: #DB2777;
  border-bottom-color: #DB2777;
}

.success-message {
  background: #10B981;
  color: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 2rem;
}

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

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

.success-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.success-text {
  margin: 0;
  opacity: 0.9;
}

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

/* Contact Options */
.contact-options {
  background: var(--background);
  padding: 5rem 0;
}

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

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

.option-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1rem 0;
}

.option-description {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.option-link {
  color: var(--primary);
  font-weight: 600;
}

/* FAQ Page */
.faq-section {
  background: var(--background);
  padding: 5rem 0;
}

.faq-content {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--foreground);
  font-size: 1.1rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

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

.faq-question-text {
  flex: 1;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .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-answer.expanded {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin: 0;
}

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

.faq-cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.faq-cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 1rem 0;
}

.faq-cta-subtitle {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.6;
}

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

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

/* Legal Pages */
.legal-page {
  background: var(--background);
  padding: 3rem 0 5rem 0;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card);
  padding: 3rem;
  border-radius: var(--radius);
}

.legal-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

.legal-section {
  margin-bottom: 3rem;
}

.legal-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.5rem;
}

.legal-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 1rem 0;
}

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

.legal-section ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

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

.legal-section a {
  color: var(--primary);
  font-weight: 500;
}

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

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

@media (max-width: 768px) {
  .legal-content {
    padding: 2rem;
  }
  
  .legal-title {
    font-size: 2rem;
  }
  
  .cookie-table {
    font-size: 0.9rem;
  }
}

/* Footer */
.footer {
  background: var(--primary);
  color: #fff;
  padding: 3rem 0 1rem 0;
}

.footer a {
  color: rgba(255, 255, 255, 0.85);
  border-bottom-color: transparent;
}

.footer a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

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

.footer-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-info p {
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

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

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.legal-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

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

/* Cookie Consent */
.qorventila-top_cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card);
  border-top: 1px solid var(--border);
  z-index: 9999;
  padding: 1rem 0;
}

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

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

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

.qorventila-top_cookie-banner-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.qorventila-top_cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

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

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

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

.qorventila-top_cookie-toggle-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
}

.qorventila-top_cookie-modal-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

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

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

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

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

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

@media (max-width: 768px) {
  .qorventila-top_cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .qorventila-top_cookie-banner-text {
    min-width: unset;
  }
  
  .qorventila-top_cookie-modal-content {
    padding: 1.5rem;
  }
  
  .qorventila-top_cookie-modal-actions {
    flex-direction: column;
  }
}

/* Animation Classes */
.animate-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

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

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

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

/* Image Responsive */
img {
  max-width: 100%;
  height: auto;
}

/* === CLASS ALIAS FIXES (injected by engine) === */
.hero-text { /* alias for .hero-content */ }
.hero-text {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 5rem 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 */
#qorventila-top_cookie-banner.hidden, #cookie-consent-banner.hidden { display: none !important; }
#qorventila-top_cookie-banner:not(.hidden), #cookie-consent-banner:not(.hidden) { display: block !important; }
#qorventila-top_cookie-modal.hidden { display: none !important; }
.hidden { display: none !important; }
