:root {
  --qd-green-900: #0d2b1a;
  --qd-green-800: #1a4a2e;
  --qd-green-700: #245e3a;
  --qd-green-600: #2e7a4a;
  --qd-green-500: #3a9a5c;
  --qd-green-400: #5ab87a;
  --qd-green-300: #8dd4a4;
  --qd-green-100: #e8f7ee;
  --qd-green-50: #f2fbf5;
  --qd-earth-800: #3d2b1a;
  --qd-earth-600: #7a5c3a;
  --qd-earth-400: #b8926a;
  --qd-earth-100: #f5ede3;
  --qd-accent: #e8a040;
  --qd-accent-dark: #c47a20;
  --qd-text-dark: #1a2818;
  --qd-text-body: #2d3d2a;
  --qd-text-muted: #5a6e54;
  --qd-text-light: #f0f7f2;
  --qd-bg-page: #f5f9f4;
  --qd-bg-white: #fafcf8;
  --qd-bg-dark: #0d2b1a;
  --qd-border: #d0e8d5;
  --qd-radius-sm: 8px;
  --qd-radius-md: 14px;
  --qd-radius-lg: 20px;
  --qd-radius-xl: 28px;
  --qd-radius-pill: 100px;
  --qd-shadow-sm: 0 2px 8px rgba(13,43,26,0.07), 0 1px 3px rgba(13,43,26,0.04);
  --qd-shadow-md: 0 6px 20px rgba(13,43,26,0.10), 0 2px 8px rgba(13,43,26,0.06);
  --qd-shadow-lg: 0 16px 48px rgba(13,43,26,0.14), 0 4px 16px rgba(13,43,26,0.08);
  --qd-shadow-xl: 0 32px 80px rgba(13,43,26,0.18), 0 8px 24px rgba(13,43,26,0.10);
  --qd-transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --qd-transition-fast: 0.16s cubic-bezier(0.4, 0, 0.2, 1);
  --qd-transition-slow: 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  --qd-space-xs: 0.5rem;
  --qd-space-sm: 1rem;
  --qd-space-md: 1.5rem;
  --qd-space-lg: 2.5rem;
  --qd-space-xl: 4rem;
  --qd-space-2xl: 6rem;
  --qd-space-3xl: 8rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--qd-bg-page);
  color: var(--qd-text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Gabarito', sans-serif;
  color: var(--qd-text-dark);
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: color var(--qd-transition-fast); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
address { font-style: normal; }

.qd-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--qd-space-md);
}

.qd-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--qd-radius-pill);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--qd-transition);
  cursor: pointer;
  white-space: nowrap;
  min-height: 48px;
}

.qd-btn-primary {
  background: var(--qd-green-600);
  color: #fff;
  box-shadow: 0 4px 16px rgba(46,122,74,0.35), 0 1px 4px rgba(46,122,74,0.2);
}
.qd-btn-primary:hover {
  background: var(--qd-green-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(46,122,74,0.4), 0 2px 8px rgba(46,122,74,0.25);
  color: #fff;
}
.qd-btn-primary:active { transform: translateY(0); }

.qd-btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}
.qd-btn-ghost:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
  color: #fff;
}

.qd-btn-sm { padding: 0.65rem 1.4rem; font-size: 0.88rem; min-height: 40px; }
.qd-btn-full { width: 100%; justify-content: center; }

.qd-section-tag {
  display: inline-block;
  background: var(--qd-green-100);
  color: var(--qd-green-700);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: var(--qd-radius-pill);
  margin-bottom: 0.9rem;
}

.qd-tag-light {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
}

.qd-section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--qd-text-dark);
  margin-bottom: 1rem;
}
.qd-title-light { color: var(--qd-text-light); }

.qd-section-intro {
  font-size: 1.05rem;
  color: var(--qd-text-muted);
  max-width: 600px;
  line-height: 1.7;
}

.qd-section-header {
  text-align: center;
  margin-bottom: var(--qd-space-xl);
}
.qd-section-header .qd-section-intro { margin: 0 auto; }

/* NAV */
.qd-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--qd-bg-white);
  box-shadow: var(--qd-shadow-sm);
  transition: box-shadow var(--qd-transition);
}
.qd-nav.qd-nav-scrolled {
  box-shadow: 0 4px 24px rgba(13,43,26,0.12), 0 1px 6px rgba(13,43,26,0.07);
}
.qd-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--qd-space-md);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.qd-nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Gabarito', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--qd-text-dark);
  transition: opacity var(--qd-transition-fast);
}
.qd-nav-logo:hover { opacity: 0.8; }
.qd-logo-img { width: 32px; height: 32px; }
.qd-logo-accent { color: var(--qd-green-600); margin-left: 1px; }
.qd-nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.qd-nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--qd-text-body);
  padding: 0.5rem 0.85rem;
  border-radius: var(--qd-radius-sm);
  transition: all var(--qd-transition-fast);
}
.qd-nav-links a:hover {
  color: var(--qd-green-600);
  background: var(--qd-green-50);
}
.qd-nav-cta {
  background: var(--qd-green-600) !important;
  color: #fff !important;
  padding: 0.55rem 1.2rem !important;
  border-radius: var(--qd-radius-pill) !important;
  box-shadow: 0 2px 10px rgba(46,122,74,0.3);
}
.qd-nav-cta:hover {
  background: var(--qd-green-700) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(46,122,74,0.4) !important;
}

.qd-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--qd-radius-sm);
  transition: background var(--qd-transition-fast);
}
.qd-hamburger:hover { background: var(--qd-green-50); }
.qd-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--qd-text-dark);
  border-radius: 2px;
  transition: all var(--qd-transition);
}
.qd-hamburger.qd-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.qd-hamburger.qd-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.qd-hamburger.qd-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE MENU */
.qd-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,43,26,0.5);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--qd-transition);
  backdrop-filter: blur(2px);
}
.qd-mobile-overlay.qd-active {
  opacity: 1;
  pointer-events: all;
}
.qd-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: var(--qd-green-900);
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform var(--qd-transition-slow);
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  box-shadow: var(--qd-shadow-xl);
}
.qd-mobile-menu.qd-active { transform: translateX(0); }
.qd-mobile-close {
  align-self: flex-end;
  color: rgba(255,255,255,0.7);
  font-size: 1.4rem;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--qd-radius-sm);
  transition: all var(--qd-transition-fast);
  margin-bottom: 1.5rem;
}
.qd-mobile-close:hover { color: #fff; background: rgba(255,255,255,0.1); }
.qd-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}
.qd-mobile-link {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.85rem 1rem;
  border-radius: var(--qd-radius-sm);
  transition: all var(--qd-transition-fast);
  opacity: 0;
  transform: translateX(-16px);
}
.qd-mobile-menu.qd-active .qd-mobile-link {
  opacity: 1;
  transform: translateX(0);
}
.qd-mobile-menu.qd-active .qd-mobile-link:nth-child(1) { transition-delay: 0.08s; }
.qd-mobile-menu.qd-active .qd-mobile-link:nth-child(2) { transition-delay: 0.14s; }
.qd-mobile-menu.qd-active .qd-mobile-link:nth-child(3) { transition-delay: 0.20s; }
.qd-mobile-menu.qd-active .qd-mobile-link:nth-child(4) { transition-delay: 0.26s; }
.qd-mobile-menu.qd-active .qd-mobile-link:nth-child(5) { transition-delay: 0.32s; }
.qd-mobile-link:hover { color: #fff; background: rgba(255,255,255,0.1); }
.qd-mobile-cta {
  background: var(--qd-green-500) !important;
  color: #fff !important;
  margin-top: 0.75rem;
  text-align: center;
  justify-content: center;
}
.qd-mobile-cta:hover { background: var(--qd-green-400) !important; }
.qd-mobile-footer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}
.qd-mobile-footer p {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  line-height: 1.8;
}

/* HERO */
.qd-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 68px;
  overflow: hidden;
}
.qd-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.qd-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.qd-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,43,26,0.82) 0%, rgba(13,43,26,0.55) 60%, rgba(26,74,46,0.4) 100%);
}
.qd-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--qd-space-3xl) var(--qd-space-md) var(--qd-space-2xl);
  width: 100%;
}
.qd-hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: var(--qd-radius-pill);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
}
.qd-hero-title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 700px;
}
.qd-hero-highlight {
  color: var(--qd-green-300);
  position: relative;
}
.qd-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.82);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 2.25rem;
}
.qd-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* STATS BAR */
.qd-stats-bar {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 1.5rem var(--qd-space-md);
  margin-top: auto;
}
.qd-stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 2rem;
  flex: 1;
  min-width: 200px;
}
.qd-stat-icon {
  font-size: 1.6rem;
  color: var(--qd-green-300);
  flex-shrink: 0;
}
.qd-stat-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.qd-stat-label {
  font-family: 'Gabarito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}
.qd-stat-desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
}
.qd-stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* INTRO */
.qd-intro {
  padding: var(--qd-space-3xl) 0;
  background: var(--qd-bg-white);
}
.qd-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--qd-space-2xl);
  align-items: center;
}
.qd-intro-text { padding-right: var(--qd-space-lg); }
.qd-intro-body {
  color: var(--qd-text-body);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  font-size: 1.02rem;
}
.qd-intro-img-wrap {
  position: relative;
  border-radius: var(--qd-radius-xl);
  overflow: hidden;
  box-shadow: var(--qd-shadow-xl);
}
.qd-intro-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform var(--qd-transition-slow);
}
.qd-intro-img-wrap:hover .qd-intro-img { transform: scale(1.04); }
.qd-intro-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--qd-radius-md);
  padding: 0.75rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: var(--qd-shadow-md);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--qd-green-700);
}
.qd-intro-badge i { color: var(--qd-green-500); font-size: 1.1rem; }

/* SERVICES */
.qd-services {
  padding: var(--qd-space-3xl) 0;
  background: var(--qd-bg-page);
}
.qd-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.qd-service-card {
  background: var(--qd-bg-white);
  border-radius: var(--qd-radius-xl);
  overflow: hidden;
  box-shadow: var(--qd-shadow-sm);
  border: 1px solid var(--qd-border);
  transition: all var(--qd-transition);
  container-type: inline-size;
  container-name: service-card;
}
.qd-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--qd-shadow-lg);
  border-color: var(--qd-green-300);
}
.qd-service-img-wrap {
  height: 200px;
  overflow: hidden;
}
.qd-service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--qd-transition-slow);
}
.qd-service-card:hover .qd-service-img { transform: scale(1.06); }
.qd-service-body { padding: 1.5rem; }
.qd-service-icon {
  width: 44px;
  height: 44px;
  background: var(--qd-green-100);
  border-radius: var(--qd-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--qd-green-600);
  font-size: 1.15rem;
  margin-bottom: 0.9rem;
  transition: all var(--qd-transition);
}
.qd-service-card:hover .qd-service-icon {
  background: var(--qd-green-600);
  color: #fff;
}
.qd-service-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--qd-text-dark);
}
.qd-service-desc {
  font-size: 0.9rem;
  color: var(--qd-text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.qd-service-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.qd-service-list li {
  font-size: 0.83rem;
  color: var(--qd-text-muted);
  padding-left: 1.1rem;
  position: relative;
}
.qd-service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: var(--qd-green-400);
  border-radius: 50%;
}

/* PROCESS / TIMELINE */
.qd-process {
  padding: var(--qd-space-3xl) 0;
  background: var(--qd-green-900);
  position: relative;
  overflow: hidden;
}
.qd-process::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(58,154,92,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.qd-process .qd-section-tag { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.8); }
.qd-process .qd-section-title { color: #fff; }
.qd-process .qd-section-intro { color: rgba(255,255,255,0.65); }

.qd-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.qd-timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, rgba(90,184,122,0.6) 10%, rgba(90,184,122,0.6) 90%, transparent);
  transform: translateX(-50%);
}
.qd-timeline-item {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  align-items: start;
  gap: 0;
  margin-bottom: 3rem;
}
.qd-timeline-item:last-child { margin-bottom: 0; }
.qd-timeline-dot {
  width: 48px;
  height: 48px;
  background: var(--qd-green-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 6px rgba(58,154,92,0.2), var(--qd-shadow-md);
  flex-shrink: 0;
}
.qd-timeline-dot span {
  font-family: 'Gabarito', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
}
.qd-timeline-content {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--qd-radius-lg);
  padding: 1.5rem;
  transition: all var(--qd-transition);
}
.qd-timeline-content:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(90,184,122,0.3);
  transform: scale(1.02);
}
.qd-timeline-left { margin-right: 1.5rem; }
.qd-timeline-right { margin-left: 1.5rem; grid-column: 3; }
.qd-timeline-item .qd-timeline-left { grid-column: 1; }
.qd-timeline-date {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--qd-green-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.4rem;
}
.qd-timeline-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.qd-timeline-content p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}

/* FEATURES */
.qd-features {
  padding: var(--qd-space-3xl) 0;
  background: var(--qd-bg-white);
}
.qd-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--qd-space-2xl);
  align-items: center;
}
.qd-features-col { display: flex; flex-direction: column; }
.qd-feature-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 0;
}
.qd-feature-icon-wrap {
  width: 46px;
  height: 46px;
  background: var(--qd-green-100);
  border-radius: var(--qd-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--qd-green-600);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all var(--qd-transition);
}
.qd-feature-item:hover .qd-feature-icon-wrap {
  background: var(--qd-green-600);
  color: #fff;
  transform: rotate(-4deg);
}
.qd-feature-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--qd-text-dark);
  margin-bottom: 0.4rem;
}
.qd-feature-text p {
  font-size: 0.88rem;
  color: var(--qd-text-muted);
  line-height: 1.65;
}
.qd-feature-separator {
  height: 1px;
  background: var(--qd-border);
  margin: 0;
}
.qd-features-img-wrap {
  position: relative;
  border-radius: var(--qd-radius-xl);
  overflow: hidden;
  box-shadow: var(--qd-shadow-xl);
  height: 520px;
}
.qd-features-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--qd-transition-slow);
}
.qd-features-img-wrap:hover .qd-features-img { transform: scale(1.04); }
.qd-features-img-card {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  left: 1.5rem;
  background: rgba(13,43,26,0.88);
  backdrop-filter: blur(16px);
  border-radius: var(--qd-radius-md);
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border: 1px solid rgba(90,184,122,0.25);
}
.qd-features-img-card i {
  color: var(--qd-green-400);
  font-size: 1.3rem;
  flex-shrink: 0;
}
.qd-features-img-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

/* FAQ */
.qd-faq {
  padding: var(--qd-space-3xl) 0;
  background: var(--qd-bg-page);
}
.qd-faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.qd-faq-item {
  background: var(--qd-bg-white);
  border-radius: var(--qd-radius-lg);
  border: 1px solid var(--qd-border);
  overflow: hidden;
  transition: all var(--qd-transition);
  box-shadow: var(--qd-shadow-sm);
}
.qd-faq-item:hover {
  border-color: var(--qd-green-300);
  box-shadow: var(--qd-shadow-md);
}
.qd-faq-item.qd-faq-open {
  border-color: var(--qd-green-400);
  box-shadow: var(--qd-shadow-md);
}
.qd-faq-question {
  width: 100%;
  text-align: left;
  padding: 1.3rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--qd-text-dark);
  background: none;
  cursor: pointer;
  min-height: 60px;
  transition: color var(--qd-transition-fast);
}
.qd-faq-question:hover { color: var(--qd-green-700); }
.qd-faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--qd-green-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--qd-green-600);
  font-size: 0.75rem;
  transition: all var(--qd-transition);
}
.qd-faq-open .qd-faq-icon {
  background: var(--qd-green-600);
  color: #fff;
  transform: rotate(45deg);
}
.qd-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--qd-transition-slow), padding var(--qd-transition);
}
.qd-faq-answer p {
  padding: 0 1.5rem 1.3rem;
  font-size: 0.9rem;
  color: var(--qd-text-muted);
  line-height: 1.72;
}
.qd-faq-open .qd-faq-answer { max-height: 400px; }

/* CONTACT */
.qd-contact {
  padding: var(--qd-space-3xl) 0;
  background: linear-gradient(135deg, var(--qd-green-800) 0%, var(--qd-green-900) 100%);
  position: relative;
  overflow: hidden;
}
.qd-contact::after {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(58,154,92,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.qd-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--qd-space-2xl);
  align-items: start;
  position: relative;
  z-index: 1;
}
.qd-contact-body {
  color: rgba(255,255,255,0.75);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.qd-contact-details { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.qd-contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.qd-contact-detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--qd-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--qd-green-300);
  font-size: 0.95rem;
  flex-shrink: 0;
}
.qd-contact-detail-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}
.qd-contact-detail-value {
  display: block;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}
.qd-contact-link:hover { color: var(--qd-green-300); }
.qd-contact-map { border-radius: var(--qd-radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,0.1); }

.qd-contact-form-wrap {
  background: var(--qd-bg-white);
  border-radius: var(--qd-radius-xl);
  padding: 2.25rem;
  box-shadow: var(--qd-shadow-xl);
}
.qd-form-group { margin-bottom: 1.25rem; }
.qd-form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--qd-text-dark);
  margin-bottom: 0.5rem;
}
.qd-form-input,
.qd-form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--qd-border);
  border-radius: var(--qd-radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--qd-text-dark);
  background: var(--qd-bg-page);
  transition: all var(--qd-transition-fast);
  outline: none;
}
.qd-form-input:focus,
.qd-form-textarea:focus {
  border-color: var(--qd-green-500);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(58,154,92,0.12);
}
.qd-form-textarea { resize: vertical; min-height: 120px; }
.qd-form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.qd-form-checkbox {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--qd-green-600);
  cursor: pointer;
}
.qd-form-check-label {
  font-size: 0.83rem;
  color: var(--qd-text-muted);
  line-height: 1.5;
}
.qd-form-link { color: var(--qd-green-600); text-decoration: underline; }
.qd-form-link:hover { color: var(--qd-green-700); }

/* FOOTER */
.qd-footer {
  background: var(--qd-green-900);
  position: relative;
  padding-bottom: 1rem;
}
.qd-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--qd-space-2xl) var(--qd-space-md) var(--qd-space-lg);
}
.qd-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--qd-space-xl);
  margin-bottom: var(--qd-space-xl);
}
.qd-footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Gabarito', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 1rem;
  transition: opacity var(--qd-transition-fast);
}
.qd-footer-logo:hover { opacity: 0.8; }
.qd-footer-logo-img { width: 30px; height: 30px; filter: brightness(0) invert(1); }
.qd-footer-logo-accent { color: var(--qd-green-400); }
.qd-footer-tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  max-width: 280px;
}
.qd-footer-address {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}
.qd-footer-heading {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.qd-footer-heading-mt { margin-top: 1.75rem; }
.qd-footer-list { display: flex; flex-direction: column; gap: 0.5rem; }
.qd-footer-list a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--qd-transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 28px;
}
.qd-footer-list a:hover { color: var(--qd-green-300); }
.qd-footer-contact a { font-size: 0.87rem; }
.qd-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.qd-footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.qd-footer-domain { font-family: 'Gabarito', sans-serif; font-weight: 600; }

.qd-back-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--qd-green-600);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(46,122,74,0.4), 0 2px 6px rgba(46,122,74,0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all var(--qd-transition);
  z-index: 900;
}
.qd-back-top.qd-visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.qd-back-top:hover {
  background: var(--qd-green-700);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(46,122,74,0.5);
}

/* LEGAL PAGE STYLES */
.qd-legal-hero {
  background: linear-gradient(135deg, var(--qd-green-800) 0%, var(--qd-green-900) 100%);
  padding: calc(68px + 3rem) var(--qd-space-md) 3rem;
  text-align: center;
}
.qd-legal-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #fff;
  margin-bottom: 0.75rem;
}
.qd-legal-hero p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
}

.qd-legal-body {
  padding: var(--qd-space-2xl) 0 var(--qd-space-3xl);
  background: var(--qd-bg-page);
}
.qd-legal-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--qd-space-md);
}

/* Privacy - timeline style */
.qd-privacy-timeline { position: relative; padding-left: 2.5rem; }
.qd-privacy-timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--qd-green-400), var(--qd-green-200));
  border-radius: 2px;
}
.qd-privacy-section {
  position: relative;
  margin-bottom: 2.5rem;
  background: var(--qd-bg-white);
  border-radius: var(--qd-radius-lg);
  padding: 1.75rem;
  box-shadow: var(--qd-shadow-sm);
  border: 1px solid var(--qd-border);
}
.qd-privacy-section::before {
  content: '';
  position: absolute;
  left: -2.1rem;
  top: 1.5rem;
  width: 12px;
  height: 12px;
  background: var(--qd-green-500);
  border-radius: 50%;
  border: 3px solid var(--qd-bg-page);
  box-shadow: 0 0 0 2px var(--qd-green-400);
}
.qd-privacy-date {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--qd-green-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  display: block;
}
.qd-privacy-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--qd-text-dark);
  margin-bottom: 0.9rem;
}
.qd-privacy-section p,
.qd-privacy-section li {
  font-size: 0.9rem;
  color: var(--qd-text-muted);
  line-height: 1.72;
  margin-bottom: 0.6rem;
}
.qd-privacy-section ul { padding-left: 1.25rem; list-style: disc; }
.qd-privacy-section strong { color: var(--qd-text-dark); }

/* Terms - lettered sections */
.qd-terms-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--qd-border);
}
.qd-terms-section:last-child { border-bottom: none; }
.qd-terms-letter {
  display: inline-flex;
  width: 36px;
  height: 36px;
  background: var(--qd-green-600);
  color: #fff;
  border-radius: var(--qd-radius-sm);
  align-items: center;
  justify-content: center;
  font-family: 'Gabarito', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.qd-terms-section h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--qd-text-dark);
  margin-bottom: 0.9rem;
}
.qd-terms-section p,
.qd-terms-section li {
  font-size: 0.9rem;
  color: var(--qd-text-muted);
  line-height: 1.72;
  margin-bottom: 0.6rem;
}
.qd-terms-section ul { padding-left: 1.25rem; list-style: disc; }

/* Cookies - compact cards */
.qd-cookies-grid { display: flex; flex-direction: column; gap: 1.25rem; }
.qd-cookie-card {
  background: var(--qd-bg-white);
  border-radius: var(--qd-radius-lg);
  padding: 1.5rem;
  border-left: 4px solid var(--qd-green-500);
  box-shadow: var(--qd-shadow-sm);
}
.qd-cookie-card h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--qd-text-dark);
  margin-bottom: 0.7rem;
}
.qd-cookie-card p,
.qd-cookie-card li {
  font-size: 0.88rem;
  color: var(--qd-text-muted);
  line-height: 1.68;
  margin-bottom: 0.5rem;
}
.qd-cookie-card ul { padding-left: 1.25rem; list-style: disc; }
.qd-cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.83rem;
  margin-top: 0.75rem;
}
.qd-cookie-table th {
  background: var(--qd-green-100);
  color: var(--qd-green-800);
  padding: 0.6rem 0.9rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid var(--qd-green-200);
}
.qd-cookie-table td {
  padding: 0.55rem 0.9rem;
  border-bottom: 1px solid var(--qd-border);
  color: var(--qd-text-muted);
  vertical-align: top;
}

/* Aviso Legal */
.qd-aviso-section {
  background: var(--qd-bg-white);
  border-radius: var(--qd-radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--qd-shadow-sm);
  border: 1px solid var(--qd-border);
}
.qd-aviso-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--qd-green-700);
  margin-bottom: 0.9rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--qd-green-100);
}
.qd-aviso-section p,
.qd-aviso-section li {
  font-size: 0.9rem;
  color: var(--qd-text-muted);
  line-height: 1.72;
  margin-bottom: 0.6rem;
}
.qd-aviso-section ul { padding-left: 1.25rem; list-style: disc; }
.qd-aviso-section strong { color: var(--qd-text-dark); }

/* THANKS PAGE */
.qd-thanks-wrap {
  min-height: calc(100vh - 68px - 300px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--qd-space-3xl) var(--qd-space-md);
  background: var(--qd-bg-page);
}
.qd-thanks-card {
  background: var(--qd-bg-white);
  border-radius: var(--qd-radius-xl);
  padding: 3.5rem 2.5rem;
  text-align: center;
  max-width: 520px;
  width: 100%;
  box-shadow: var(--qd-shadow-xl);
  border: 1px solid var(--qd-border);
}
.qd-thanks-icon {
  width: 80px;
  height: 80px;
  background: var(--qd-green-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--qd-green-600);
  margin: 0 auto 1.75rem;
  box-shadow: 0 0 0 12px rgba(58,154,92,0.08);
}
.qd-thanks-card h1 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--qd-text-dark);
  margin-bottom: 0.9rem;
}
.qd-thanks-card p {
  color: var(--qd-text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* COOKIE CONSENT */
.qd-cookie-consent {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 360px;
  max-width: calc(100vw - 3rem);
  background: var(--qd-bg-white);
  border-radius: var(--qd-radius-xl);
  box-shadow: var(--qd-shadow-xl);
  border: 1px solid var(--qd-border);
  z-index: 9999;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: all var(--qd-transition-slow);
}
.qd-cookie-consent.qd-cc-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.qd-cc-body { padding: 1.4rem 1.4rem 0; }
.qd-cc-icon {
  width: 36px;
  height: 36px;
  background: var(--qd-green-100);
  border-radius: var(--qd-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--qd-green-600);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.qd-cc-title {
  font-family: 'Gabarito', sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--qd-text-dark);
  margin-bottom: 0.5rem;
}
.qd-cc-text {
  font-size: 0.8rem;
  color: var(--qd-text-muted);
  line-height: 1.6;
}
.qd-cc-text a { color: var(--qd-green-600); text-decoration: underline; }
.qd-cc-expand {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--qd-transition-slow);
}
.qd-cc-expand.qd-cc-open { max-height: 300px; }
.qd-cc-options {
  padding: 0.9rem 1.4rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.qd-cc-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--qd-text-body);
}
.qd-cc-option span { font-weight: 500; }
.qd-cc-option small { color: var(--qd-text-muted); font-size: 0.72rem; }
.qd-cc-toggle {
  position: relative;
  width: 36px;
  height: 20px;
  flex-shrink: 0;
}
.qd-cc-toggle input { opacity: 0; width: 0; height: 0; }
.qd-cc-slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 20px;
  cursor: pointer;
  transition: background var(--qd-transition-fast);
}
.qd-cc-slider::before {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--qd-transition-fast);
}
.qd-cc-toggle input:checked + .qd-cc-slider { background: var(--qd-green-500); }
.qd-cc-toggle input:checked + .qd-cc-slider::before { transform: translateX(16px); }
.qd-cc-toggle input:disabled + .qd-cc-slider { opacity: 0.6; cursor: not-allowed; }
.qd-cc-actions {
  padding: 1rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.qd-cc-btn {
  width: 100%;
  padding: 0.65rem;
  border-radius: var(--qd-radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--qd-transition-fast);
  border: none;
  font-family: 'Inter', sans-serif;
  min-height: 44px;
}
.qd-cc-btn-accept {
  background: var(--qd-green-600);
  color: #fff;
  box-shadow: 0 2px 10px rgba(46,122,74,0.3);
}
.qd-cc-btn-accept:hover { background: var(--qd-green-700); }
.qd-cc-btn-necessary {
  background: var(--qd-green-50);
  color: var(--qd-green-700);
  border: 1px solid var(--qd-green-200);
}
.qd-cc-btn-necessary:hover { background: var(--qd-green-100); }
.qd-cc-btn-customize {
  background: none;
  color: var(--qd-text-muted);
  font-size: 0.78rem;
  text-decoration: underline;
  padding: 0.25rem;
  min-height: auto;
}
.qd-cc-btn-customize:hover { color: var(--qd-green-600); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .qd-services-grid { grid-template-columns: repeat(2, 1fr); }
  .qd-footer-grid { grid-template-columns: 1fr 1fr; gap: var(--qd-space-lg); }
  .qd-intro-grid { gap: var(--qd-space-lg); }
  .qd-intro-text { padding-right: 0; }
}

@media (max-width: 768px) {
  .qd-nav-links { display: none; }
  .qd-hamburger { display: flex; }
  .qd-hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .qd-stats-bar { flex-direction: column; gap: 0; }
  .qd-stat-item { width: 100%; padding: 0.75rem 1.5rem; }
  .qd-stat-divider { width: 100%; height: 1px; }
  .qd-intro-grid { grid-template-columns: 1fr; }
  .qd-intro-visual { order: -1; }
  .qd-intro-img { height: 280px; }
  .qd-services-grid { grid-template-columns: 1fr; }
  .qd-timeline-line { left: 24px; }
  .qd-timeline-item { grid-template-columns: 48px 1fr; gap: 0; }
  .qd-timeline-dot { grid-column: 1; grid-row: 1; }
  .qd-timeline-content { grid-column: 2; grid-row: 1; margin-left: 1rem; margin-right: 0; }
  .qd-timeline-right { grid-column: 2; margin-left: 1rem; }
  .qd-features-grid { grid-template-columns: 1fr; }
  .qd-features-img-wrap { height: 320px; order: -1; }
  .qd-contact-grid { grid-template-columns: 1fr; }
  .qd-footer-grid { grid-template-columns: 1fr; gap: var(--qd-space-lg); }
  .qd-hero-actions { flex-direction: column; align-items: flex-start; }
  .qd-hero-actions .qd-btn { width: 100%; justify-content: center; }
  .qd-thanks-card { padding: 2.5rem 1.5rem; }
  .qd-contact-form-wrap { padding: 1.5rem; }
  .qd-cookie-consent { left: 1rem; bottom: 1rem; width: calc(100vw - 2rem); }
}

@media (max-width: 480px) {
  :root {
    --qd-space-2xl: 4rem;
    --qd-space-3xl: 5rem;
  }
  .qd-section-title { font-size: 1.6rem; }
  .qd-service-img-wrap { height: 160px; }
  .qd-back-top { bottom: 1.25rem; right: 1.25rem; }
}