/* CSS Variables */
:root {
  --primary: #64748b;
  --primary-foreground: #FFFFFF;
  --secondary: #16a34a;
  --secondary-foreground: #FFFFFF;
  --accent: #8b5cf6;
  --accent-foreground: #1E1B4B;
  --background: #F8FAFC;
  --foreground: #0F172A;
  --card: #FFFFFF;
  --card-foreground: #0F172A;
  --border: #E2E8F0;
  --input: #E2E8F0;
  --ring: #64748b;
  --muted: #F1F5F9;
  --muted-foreground: #64748B;
  --font-family: 'Open Sans', sans-serif;
  --radius: 0.5rem;
}

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

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

.img-responsive {
  width: 100%;
  height: auto;
}

/* Grid Layouts */
.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;
  }
}

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

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

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

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

/* Forms */
.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--input);
  border-radius: var(--radius);
  font-family: var(--font-family);
  font-size: 1rem;
}

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

.success-message {
  background: #dcfce7;
  border: 1px solid #16a34a;
  color: #15803d;
  padding: 1rem;
  border-radius: var(--radius);
  margin-top: 1rem;
  text-align: center;
}

.success-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 0.5rem;
}

/* Header & Navigation */
.header {
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav {
  padding: 1rem 0;
}

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

.nav-brand {
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--foreground);
}

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

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

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

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

.qorzanvile-top_mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.qorzanvile-top_mobile-menu {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.qorzanvile-top_mobile-menu-link {
  display: block;
  padding: 0.75rem 0;
  text-decoration: none;
  color: var(--foreground);
  border-bottom: 1px solid var(--border);
}

.qorzanvile-top_mobile-menu-link:last-child {
  border-bottom: none;
}

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

/* Hero Section */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: #111;
  color: #fff;
  padding: 7rem 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

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

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

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

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

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

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

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

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

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

/* Page Header */
.page-header {
  background: var(--muted);
  padding: 4rem 0;
  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);
}

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

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

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

/* Cards */
.feature-card,
.service-card,
.value-card,
.achievement-card,
.result-card,
.package-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

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

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

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

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

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

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

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

/* Newsletter */
.newsletter {
  background: var(--background);
}

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

.newsletter-content h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

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

.newsletter-input-group {
  display: flex;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
}

@media (max-width: 768px) {
  .newsletter-input-group {
    flex-direction: column;
  }
}

/* Testimonials */
.testimonials {
  background: var(--muted);
  text-align: center;
}

.testimonial-large {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-quote {
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--foreground);
}

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

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-icon {
  width: 40px;
  height: 40px;
  color: var(--muted-foreground);
}

.testimonial-name {
  font-weight: 600;
  font-style: normal;
}

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

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

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

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

.partner-icon {
  width: 48px;
  height: 48px;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Services Page */
.service-row {
  padding: 4rem 0;
}

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

.service-row-reverse .service-content {
  flex-direction: row-reverse;
}

.service-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.service-text {
  flex: 1;
}

.service-image {
  flex: 1;
}

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

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

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

.feature-icon {
  width: 20px;
  height: 20px;
  color: var(--secondary);
}

@media (max-width: 768px) {
  .service-content {
    flex-direction: column;
  }
  
  .service-row-reverse .service-content {
    flex-direction: column;
  }
}

/* Service Packages */
.service-packages {
  background: var(--background);
}

.package-card {
  position: relative;
}

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

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

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

.package-subtitle {
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

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

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

/* About Page */
.company-story {
  background: var(--background);
}

.story-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.story-text {
  flex: 1;
}

.story-image {
  flex: 1;
}

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

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

@media (max-width: 768px) {
  .story-content {
    flex-direction: column;
  }
}

.mission-vision {
  background: var(--muted);
}

.mission-card,
.vision-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.mission-card h3,
.vision-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-section {
  background: var(--background);
}

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

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

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

.choose-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.choose-text {
  flex: 1;
}

.choose-image {
  flex: 1;
}

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

.point-content h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

@media (max-width: 768px) {
  .choose-content {
    flex-direction: column;
  }
}

/* Contact Page */
.contact-section {
  background: var(--background);
}

.contact-content {
  display: flex;
  gap: 4rem;
}

.qorzanvile-top_contact-form-container {
  flex: 1;
}

.contact-info-container {
  flex: 1;
}

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

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

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

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.contact-info-items {
  margin-bottom: 2rem;
}

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

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

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

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

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

.contact-cta h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
  }
}

.additional-contact {
  background: var(--muted);
}

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

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

.contact-faq {
  background: var(--background);
}

.faq-item {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1rem;
}

.faq-item h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.faq-cta {
  text-align: center;
  margin-top: 2rem;
}

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

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

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

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 600;
}

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

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.2s;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

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

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

.faq-contact-content h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.faq-contact-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Portfolio Page */
.portfolio-section {
  background: var(--background);
}

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

.portfolio-item {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.portfolio-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.portfolio-category {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
}

.portfolio-content {
  padding: 2rem;
}

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

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

.portfolio-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

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

.portfolio-results {
  background: var(--muted);
}

.portfolio-process {
  background: var(--background);
}

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

.process-timeline .process-step {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
  text-align: left;
}

.process-timeline .process-number {
  flex-shrink: 0;
  margin: 0;
}

.process-timeline .process-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* CTA Section */
.cta {
  background: var(--background);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  margin: 2rem 0;
}

.cta-content {
  text-align: center;
  padding: 4rem 2rem;
}

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

.cta-content p {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Legal Pages */
.legal-content {
  background: var(--background);
  padding: 4rem 0;
}

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

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

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

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

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

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.legal-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

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

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

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

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

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

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

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

.cookie-table table {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid var(--border);
  border-radius: var(--radius);
}

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

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

/* Cookie Banner & Modal */
.qorzanvile-top_cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card);
  border-top: 2px solid var(--border);
  padding: 1rem 0;
  z-index: 2000;
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

.qorzanvile-top_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-bottom: 2rem;
}

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

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

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

@media (max-width: 768px) {
  .qorzanvile-top_cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .qorzanvile-top_cookie-banner-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .qorzanvile-top_cookie-modal-actions {
    flex-direction: column;
  }
}

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

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

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

.footer-content {
  text-align: center;
}

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

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

.footer-contact {
  margin-bottom: 1rem;
}

.footer-contact a {
  font-size: 1.125rem;
  font-weight: 500;
}

.footer-tagline {
  margin-bottom: 2rem;
  color: var(--muted-foreground);
}

.footer-nav {
  margin-bottom: 1rem;
}

.footer-nav a {
  margin: 0 1rem;
  padding: 0.5rem 0;
  display: inline-block;
}

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

.footer-legal a {
  margin: 0 1rem;
  padding: 0.5rem 0;
  display: inline-block;
  font-size: 0.875rem;
}

.footer-info {
  margin-bottom: 2rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

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

.footer-copyright {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .footer-nav a,
  .footer-legal a {
    display: block;
    margin: 0.5rem 0;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .section-header p {
    font-size: 1rem;
  }
  
  .page-header-content h1 {
    font-size: 2rem;
  }
  
  .page-header-content p {
    font-size: 1rem;
  }
  
  .legal-header h1 {
    font-size: 2rem;
  }
  
  .legal-body {
    padding: 2rem;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .cta-content p {
    font-size: 1rem;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* === CLASS ALIAS FIXES (injected by engine) === */
.hero-text { /* alias for .hero-content */ }
.hero-text {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

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