:root {
  --primary: #64748b;
  --primary-foreground: #FFFFFF;
  --secondary: #3C4E67;
  --secondary-foreground: #FFFFFF;
  --accent: #16A249;
  --accent-foreground: #111827;
  --background: #0F172A;
  --foreground: #F8FAFC;
  --card: #1E293B;
  --card-foreground: #F8FAFC;
  --border: #334155;
  --input: #334155;
  --ring: #64748b;
  --muted: #1E293B;
  --muted-foreground: #94A3B8;
  --font-family: 'Roboto', sans-serif;
  --radius: 0.25rem;
}

/* 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 Class */
.hidden {
  display: none !important;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 1rem 0;
  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;
}

ul, ol {
  margin: 0 0 1rem 0;
  padding-left: 1.5rem;
  color: var(--foreground);
}

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

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

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

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

.btn-outline:hover {
  text-decoration: underline;
}

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

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

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

/* Navigation */
.nav-transparent {
  background: transparent;
  padding: 1rem 0;
  position: relative;
  z-index: 1000;
}

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

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

.hamburger-btn {
  background: transparent;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 0.5rem;
}

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

/* Mobile Menu */
.digitalproaes_mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--background);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.digitalproaes_mobile-menu-content {
  text-align: center;
}

.digitalproaes_mobile-menu-link {
  display: block;
  color: var(--foreground);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 1rem 0;
  text-decoration: none;
}

.digitalproaes_mobile-menu-link:hover {
  color: var(--primary);
}

/* Hero Section */
.hero {
  isolation: isolate;
  background: var(--background);
  color: var(--foreground);
  padding: 5rem 0;
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  .3;
}

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

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

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

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

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

.page-header-content h1 {
  font-size: 2.5rem;
  color: var(--foreground);
  margin-bottom: 1rem;
}

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

/* Section Styles */
.features-section,
.team-preview-section,
.testimonials-section,
.newsletter-section,
.why-choose-section,
.gallery-preview-section,
.services-overview,
.team-intro,
.team-members,
.team-culture,
.join-team,
.story-timeline,
.mission-values,
.values-section,
.achievements-section,
.location-section,
.digitalproaes_contact-form-section,
.contact-methods,
.specialised-contact,
.service-support {
  background: var(--background);
  padding: 5rem 0;
}

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

.section-title {
  font-size: 2.5rem;
  color: var(--foreground);
  margin-bottom: 1rem;
}

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

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

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

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

/* Feature Cards */
.feature-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  color: var(--card-foreground);
}

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

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

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

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

/* Team Preview */
.team-preview-content h2 {
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

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

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

/* Testimonials */
.testimonial-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  color: var(--card-foreground);
}

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

.testimonial-author strong {
  color: var(--card-foreground);
  display: block;
}

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

/* Newsletter */
.newsletter-section {
  background: var(--card);
  color: var(--card-foreground);
}

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

.newsletter-text h2 {
  color: var(--card-foreground);
  margin-bottom: 1rem;
}

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

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

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

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

/* Why Choose Us */
.benefit-card {
  text-align: center;
  padding: 1.5rem;
}

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

.benefit-card p {
  color: var(--foreground);
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  padding: 1.5rem;
}

.gallery-overlay h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.gallery-overlay p {
  color: rgba(255,255,255,0.9);
  margin: 0;
}

/* CTA Section */
.cta-section {
  isolation: isolate;
  background: var(--background);
  padding: 5rem 0;
}

.cta-container {
  background: var(--background);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
}

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

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

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

/* Services Page */
.services-accordion {
  max-width: 800px;
  margin: 0 auto;
}

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

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  background: var(--card);
  color: var(--card-foreground);
}

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

.accordion-title h3 {
  color: var(--card-foreground);
  margin: 0;
}

.accordion-toggle {
  background: transparent;
  border: none;
  color: var(--card-foreground);
  cursor: pointer;
}

.accordion-icon {
  width: 1.5rem;
  height: 1.5rem;
  transition: transform 0.3s ease;
}

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

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

.accordion-item.active .accordion-content {
  max-height: 2000px;
}

.accordion-body {
  padding: 1.5rem;
  background: var(--background);
  color: var(--foreground);
}

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

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

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

.service-features li:before {
  content: "✓";
  color: var(--primary);
  font-weight: bold;
  margin-right: 0.5rem;
}

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

.pricing-tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.pricing-tier {
  background: var(--card);
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

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

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

.pricing-tier ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-tier li {
  color: var(--card-foreground);
  font-size: 0.875rem;
  padding: 0.25rem 0;
}

@media (max-width: 768px) {
  .service-details {
    grid-template-columns: 1fr;
  }
  
  .pricing-tiers {
    grid-template-columns: 1fr;
  }
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

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

.benefit-icon {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

.benefit-item span {
  color: var(--foreground);
  font-size: 0.875rem;
}

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

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

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

.process-step h5 {
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

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

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

/* Compliance Features */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

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

.compliance-icon {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.compliance-item h5 {
  color: var(--card-foreground);
  margin-bottom: 0.5rem;
}

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

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

/* Support Features */
.support-features {
  margin-top: 2rem;
}

.support-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

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

.support-feature p {
  color: var(--muted-foreground);
  margin: 0;
}

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

/* About Page - Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

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

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-year {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: bold;
  font-size: 0.875rem;
}

.timeline-content {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  width: calc(50% - 2rem);
  color: var(--card-foreground);
}

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

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

@media (max-width: 768px) {
  .timeline:before {
    left: 1rem;
  }
  
  .timeline-item {
    flex-direction: row !important;
  }
  
  .timeline-marker {
    left: 1rem;
    transform: none;
  }
  
  .timeline-content {
    width: calc(100% - 3rem);
    margin-left: 3rem;
  }
}

/* Mission and Values */
.mission-content h2 {
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

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

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

.value-card {
  text-align: center;
  padding: 1.5rem;
}

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

.value-card p {
  color: var(--foreground);
}

/* Achievements */
.achievement-list {
  margin-top: 2rem;
}

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

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

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

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

/* Location */
.location-content h2 {
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

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

.location-details {
  margin-top: 2rem;
}

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

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

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

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

/* Team Page */
.team-intro-content h2 {
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

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

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

/* Team Member Cards */
.team-member-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  color: var(--card-foreground);
}

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

.avatar-icon {
  width: 4rem;
  height: 4rem;
  color: var(--primary);
}

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

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

.member-description {
  color: var(--card-foreground);
  margin-bottom: 1.5rem;
}

.member-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.expertise-tag {
  background: var(--background);
  color: var(--primary);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 500;
}

/* Team Culture */
.culture-card {
  text-align: center;
  padding: 1.5rem;
}

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

.culture-card p {
  color: var(--foreground);
}

/* Join Team */
.join-team-content h2 {
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

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

.team-benefits {
  margin-bottom: 2rem;
}

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

/* Contact Page */
.contact-header {
  background: var(--background);
  padding: 2rem 0;
}

.contact-info-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  border: 2px solid var(--border);
}

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

.contact-info-item h4 {
  color: var(--card-foreground);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

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

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

@media (max-width: 480px) {
  .contact-info-bar {
    grid-template-columns: 1fr;
  }
}

/* Contact Form */
.digitalproaes_contact-form-container {
  max-width: 800px;
  margin: 0 auto;
}

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

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

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

.digitalproaes_contact-form {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  color: var(--card-foreground);
}

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

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

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

.form-group .form-input {
  background: var(--background);
  border: 1px solid var(--border);
  color: var(--foreground);
}

.form-group select.form-input {
  cursor: pointer;
}

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

.checkbox-group {
  margin-bottom: 2rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  color: var(--card-foreground);
}

.checkbox-text {
  font-size: 0.875rem;
  line-height: 1.4;
}

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

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

/* Success Message */
.success-message {
  background: var(--card);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
  color: var(--card-foreground);
}

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

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

/* Contact Methods */
.contact-method-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  color: var(--card-foreground);
}

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

.contact-method-card p {
  color: var(--card-foreground);
  margin-bottom: 1.5rem;
}

.contact-details p {
  color: var(--card-foreground);
  margin-bottom: 0.5rem;
}

.contact-details strong {
  color: var(--primary);
}

/* Specialised Contact */
.support-category h3 {
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.support-items {
  margin-top: 1rem;
}

.support-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 2px solid var(--border);
}

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

.support-item p {
  color: var(--card-foreground);
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

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

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

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

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

.legal-body {
  max-width: 800px;
  margin: 0 auto;
  color: var(--foreground);
}

.legal-body h2 {
  color: var(--foreground);
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.5rem;
}

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

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

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

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

.contact-info {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  margin: 2rem 0;
}

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

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

/* 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(--primary);
  color: var(--primary-foreground);
  font-weight: 600;
}

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

/* Cookie Banner */
.digitalproaes_cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card);
  border-top: 2px solid var(--border);
  padding: 1rem 0;
  z-index: 1000;
  color: var(--card-foreground);
}

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

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

.digitalproaes_cookie-banner-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.digitalproaes_cookie-banner-actions button {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  white-space: nowrap;
}

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

/* Cookie Modal */
.digitalproaes_cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
}

.digitalproaes_cookie-modal-overlay {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.digitalproaes_cookie-modal-content {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  color: var(--card-foreground);
}

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

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

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

.font-medium {
  font-weight: 500;
  color: var(--card-foreground);
}

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

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

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

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

@media (max-width: 480px) {
  .digitalproaes_cookie-modal-actions {
    flex-direction: column;
  }
}

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

.footer a {
  color: #d1d5db;
}

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

.footer-brand .footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-tagline {
  color: #d1d5db;
  font-size: 0.875rem;
  margin: 0;
}

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

.footer-nav h4,
.footer-legal h4 {
  color: #f9fafb;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-nav ul,
.footer-legal ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li,
.footer-legal li {
  margin-bottom: 0.5rem;
}

.footer-nav a,
.footer-legal a {
  color: #d1d5db;
  font-size: 0.875rem;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-legal a:hover {
  color: #f9fafb;
  text-decoration: underline;
}

.footer-contact h4 {
  color: #f9fafb;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-contact p {
  color: #d1d5db;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: #d1d5db;
}

.footer-contact a:hover {
  color: #f9fafb;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom p {
  color: #9ca3af;
  font-size: 0.875rem;
  margin: 0;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .page-header-content h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }
  
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .cta-actions {
    flex-direction: column;
  }
}

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