/* CSS Variables */
:root {
  --primary: #64748b;
  --primary-foreground: #FFFFFF;
  --secondary: #DC2626;
  --secondary-foreground: #FFFFFF;
  --accent: #2563eb;
  --accent-foreground: #111827;
  --background: #FFFFFF;
  --foreground: #111827;
  --card: #FFFFFF;
  --card-foreground: #111827;
  --border: #E5E7EB;
  --input: #E5E7EB;
  --ring: #64748b;
  --muted: #F3F4F6;
  --muted-foreground: #6B7280;
  --font-family: 'Open Sans', sans-serif;
  --radius: 0.5rem;
}

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

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
  overflow-wrap: break-word;
}

.hidden {
  display: none !important;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 1rem 0;
  font-weight: 600;
  line-height: 1.3;
  color: var(--foreground);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin: 0 0 1rem 0;
  color: var(--foreground);
}

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

a:hover {
  text-decoration: underline;
}

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

/* Utility Classes */
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-muted { color: var(--muted-foreground); }
.text-lg { font-size: 1.125rem; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.text-sm { font-size: 0.875rem; }
.mb-4 { margin-bottom: 1rem; }

/* Layout Classes */
.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;
    gap: 1rem;
  }
}

/* Button Styles - Sharp Square */
.btn-primary,
.btn-outline,
.btn-outline-white {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  font-family: var(--font-family);
  font-size: 0.875rem;
}

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

.btn-primary:hover {
  background: var(--secondary);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

.btn-outline-white {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.btn-outline-white:hover {
  background: #FFFFFF;
  color: var(--primary);
  text-decoration: none;
}

/* Icon Styles */
.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: rgba(100, 116, 139, 0.1);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

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

/* Header Styles - Top Centered Logo */
.header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

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

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

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

.nav-links a {
  color: var(--foreground);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--muted);
  text-decoration: none;
}

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

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

.openframehubae_mobile-menu a {
  color: var(--foreground);
  padding: 0.75rem;
  border-radius: var(--radius);
}

.openframehubae_mobile-menu a:hover,
.openframehubae_mobile-menu a.active {
  background: var(--muted);
  text-decoration: none;
}

@media (max-width: 768px) {
  .nav-center {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .nav-links {
    display: none;
  }
  
  .openframehubae_mobile-menu-toggle {
    display: block;
  }
}

/* Hero Styles - Dark Overlay */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: 1;
}

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
}

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

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

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

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

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--foreground);
}

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

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

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

/* Card Styles - Image Top */
.feature-card,
.service-card,
.value-card,
.achievement-card,
.team-card,
.pricing-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 231, 235, 0.7);
  border-radius: var(--radius);
  padding: 1rem;
  transition: all 0.3s ease;
}

.feature-card:hover,
.service-card:hover,
.value-card:hover,
.achievement-card:hover,
.team-card:hover,
.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.service-content,
.feature-card,
.value-card,
.achievement-card {
  color: var(--card-foreground);
}

.service-content h3,
.feature-card h3,
.value-card h3,
.achievement-card h3 {
  margin-bottom: 1rem;
}

.service-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.service-content li {
  margin-bottom: 0.5rem;
}

/* CTA Styles - Card Centered */
.cta-section,
.service-cta-section,
.final-cta,
.about-cta,
.contact-cta,
.faq-cta {
  background: var(--background);
  padding: 4rem 0;
}

.cta-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 231, 235, 0.7);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

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

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

/* Partner Logos */
.partner-logos {
  text-align: center;
}

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

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

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

/* Gallery Preview */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 231, 235, 0.7);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

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

.gallery-content h3 {
  margin-bottom: 0.5rem;
}

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

.process-step {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 231, 235, 0.7);
  border-radius: var(--radius);
}

.step-number {
  display: inline-block;
  width: 3rem;
  height: 3rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 50%;
  line-height: 3rem;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

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

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

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

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

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-foreground);
}

.stat-label {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
}

/* About Preview */
.about-preview {
  background: var(--background);
}

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

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

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

/* Testimonials */
.testimonials {
  position: relative;
  background: var(--muted);
}

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

.testimonial-card {
  display: none;
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  border: 1px solid rgba(229, 231, 235, 0.7);
}

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

.testimonial-content p {
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.testimonial-author strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--foreground);
}

.testimonial-author span {
  color: var(--muted-foreground);
}

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

.testimonial-prev,
.testimonial-next {
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

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

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

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

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

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

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

.link-group h4 {
  margin-bottom: 1rem;
  color: var(--foreground);
  font-size: 1rem;
}

.link-group a {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-size: 0.875rem;
}

.footer-contact h4 {
  margin-bottom: 1rem;
  color: var(--foreground);
  font-size: 1rem;
}

.footer-contact p {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--foreground);
}

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

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

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

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

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

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

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

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

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

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

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

.success-message {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
}

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

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

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

/* Contact Page Styles */
.contact-info-bar {
  background: var(--muted);
}

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

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

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

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

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

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

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

.form-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

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

.contact-option {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 231, 235, 0.7);
  border-radius: var(--radius);
}

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

.contact-option p {
  color: var(--foreground);
}

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

.timeline-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 231, 235, 0.7);
  border-radius: var(--radius);
}

.timeline-number {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
}

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

.timeline-content p {
  margin: 0;
  color: var(--foreground);
  font-size: 0.875rem;
}

/* Services Page Styles */
.service-categories {
  background: var(--background);
}

.detailed-services {
  background: var(--background);
}

.service-section {
  margin-bottom: 4rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 231, 235, 0.7);
  border-radius: var(--radius);
}

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

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

.service-header p {
  color: var(--muted-foreground);
  margin: 0;
}

.service-details ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.service-details li {
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.service-details li strong {
  color: var(--foreground);
}

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

.pricing-info {
  background: var(--muted);
}

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

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

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

.pricing-card ul {
  text-align: left;
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

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

.pricing-cta {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

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

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

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

.mission-text {
  font-size: 1.25rem;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
  color: var(--foreground);
}

.company-story {
  background: var(--background);
}

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

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

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

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

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

.expertise-areas {
  background: var(--background);
}

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

.expertise-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 231, 235, 0.7);
  border-radius: var(--radius);
}

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

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

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

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

.team-card {
  text-align: center;
  padding: 2rem;
}

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

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

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

.team-card p {
  color: var(--foreground);
  font-size: 0.875rem;
}

.company-achievements {
  background: var(--background);
}

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

.why-choose-about {
  background: var(--muted);
}

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

.choose-reasons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.reason-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.reason-item .icon-box {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0;
}

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

.reason-item p {
  margin: 0;
  color: var(--foreground);
  font-size: 0.875rem;
}

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

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

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

.faq-item {
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}

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

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

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

.faq-answer {
  display: none;
  padding: 0 0 1.5rem 0;
}

.faq-answer.show {
  display: block;
}

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

.faq-answer ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.faq-answer li {
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.faq-answer li strong {
  color: var(--foreground);
}

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

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

.legal-document h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

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

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

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

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

.legal-document strong {
  color: var(--foreground);
}

.legal-document em {
  color: var(--muted-foreground);
}

/* Cookie Table */
.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);
  color: var(--card-foreground);
}

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

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

/* Cookie Banner and Modal */
.openframehubae_cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 1rem 0;
  z-index: 10000;
}

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

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

.openframehubae_cookie-banner-text p {
  margin: 0;
  color: var(--foreground);
  font-size: 0.875rem;
}

.openframehubae_cookie-banner-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.openframehubae_cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.openframehubae_cookie-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

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

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

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

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

.openframehubae_cookie-toggle-row p {
  margin: 0;
  color: var(--foreground);
}

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

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

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

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

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

.animate-fade-in.animate-in {
  opacity: 1;
}

.animate-slide-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease;
}

.animate-slide-in-left.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.animate-slide-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease;
}

.animate-slide-in-right.animate-in {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  .hero-title { font-size: 2.75rem; }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  section {
    padding: 2rem 0;
  }
  
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  .hero-title { font-size: 2rem; }
  
  .page-header {
    padding: 2rem 0;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .cta-card {
    padding: 2rem;
  }
  
  .process-grid,
  .stats-grid,
  .logo-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.75rem; }
  .hero-subtitle { font-size: 1rem; }
  
  .cta-card {
    padding: 1.5rem;
  }
  
  .btn-primary,
  .btn-outline,
  .btn-outline-white {
    padding: 0.75rem 1.25rem;
    font-size: 0.75rem;
  }
}

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