/* Quality Digital — premium 2026: SEO, IA, UX, rendimiento */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  z-index: 100000;
  padding: 0.75rem 1rem;
  background: #1a1a2e;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Anula reglas legacy que rompen layout */
.subMenu,
div.header,
.header,
.h_right,
.nav {
  display: none !important;
}

.qd-hero h1,
.qd-hero h2 {
  text-indent: 0 !important;
  font-size: clamp(1.6rem, 4.5vw, 2.6rem) !important;
  line-height: 1.2 !important;
  border: none !important;
  cursor: default !important;
  overflow: visible !important;
}

/* Cabecera fija sobre el hero */
.qd-site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 0.85rem 0;
  background: rgba(10, 12, 24, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.qd-header-inner {
  width: min(1140px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.qd-header-logo img {
  display: block;
  height: auto;
  max-height: 46px;
  width: auto;
  filter: brightness(1.05);
}

.qd-header-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem 0.35rem;
}

.qd-header-nav a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.qd-header-nav a:hover {
  background: rgba(232, 93, 4, 0.85);
  color: #fff;
}

.qd-header-toggle {
  display: none;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.65);
  color: #fff;
  border-radius: 8px;
  font-size: 1.2rem;
  line-height: 1;
  padding: 0.35rem 0.55rem;
  cursor: pointer;
}

/* Hero — sustituye slider legacy roto */
.qd-hero {
  position: relative;
  min-height: clamp(480px, 78vh, 680px);
  background: #1a1a2e url('../images/bg.jpg') center center / cover no-repeat;
  overflow: hidden;
}

.qd-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 18, 35, 0.55) 0%, rgba(15, 18, 35, 0.72) 100%);
  z-index: 1;
}

.qd-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: clamp(480px, 78vh, 680px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5.5rem 1.5rem 5rem;
  box-sizing: border-box;
}

.qd-hero-stage {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 92%;
  margin: 0 auto;
  padding: 7rem 0 5.5rem;
  text-align: center;
}

.qd-hero-slides {
  position: relative;
  min-height: 160px;
}

.qd-hero-slide {
  display: none;
}

.qd-hero-slide.is-active {
  display: block;
  animation: qdHeroIn 0.6s ease;
}

.qd-hero-slide h1,
.qd-hero-slide h2 {
  margin: 0 0 1rem;
  font-family: 'Noto Sans', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #fff !important;
  line-height: 1.2;
  text-indent: 0 !important;
}

.qd-hero-slide p {
  margin: 0 auto;
  max-width: 720px;
  font-family: 'Noto Sans', sans-serif;
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.qd-hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.25rem;
}

.qd-hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.qd-hero-dots button.is-active,
.qd-hero-dots button:hover {
  background: #e85d04;
  border-color: #e85d04;
  transform: scale(1.1);
}

@keyframes qdHeroIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.qd-hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  text-decoration: none;
}

.qd-hero-scroll span {
  display: block;
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  margin: 14px auto 0;
}

.qd-map iframe {
  max-height: 320px;
  display: block;
  width: 100%;
}

.nbs-flexisel-item a {
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.nbs-flexisel-item a:focus-visible {
  outline: 2px solid #e85d04;
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .qd-header-toggle { display: block; }
  .qd-header-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 4%;
    left: 4%;
    flex-direction: column;
    align-items: stretch;
    background: rgba(15, 18, 35, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 0.5rem;
    margin-top: 0.5rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  }
  .qd-header-nav.is-open { display: flex; }
  .qd-header-nav a { padding: 0.65rem 0.75rem; }
  .qd-header-inner { position: relative; flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .qd-hero-stage { padding: 5.5rem 0 4rem; }
}

.qd-section-ia,
.qd-section-faq {
  background: #f8f9fc;
  padding: 3rem 0;
}

.qd-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.qd-section-ia h2,
.qd-section-faq h2 {
  font-size: 1.75rem;
  color: #1a1a2e;
  text-align: center;
  margin: 0 0 0.5rem;
}

.qd-section-ia .qd-lead,
.qd-section-faq .qd-lead {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2rem;
  line-height: 1.65;
  color: #444;
}

.qd-ia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.qd-ia-card {
  background: #fff;
  border: 1px solid #e4e8ef;
  border-radius: 10px;
  padding: 1.35rem 1.25rem;
  box-shadow: 0 4px 18px rgba(26, 26, 46, 0.06);
}

.qd-ia-card h3 {
  font-size: 1.1rem;
  color: #e85d04;
  margin: 0 0 0.65rem;
}

.qd-ia-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

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

.qd-faq-item {
  background: #fff;
  border: 1px solid #e4e8ef;
  border-radius: 8px;
  margin-bottom: 0.65rem;
  overflow: hidden;
}

.qd-faq-item summary {
  padding: 1rem 1.15rem;
  font-weight: 700;
  color: #1a1a2e;
  cursor: pointer;
  list-style: none;
}

.qd-faq-item summary::-webkit-details-marker { display: none; }

.qd-faq-item p {
  margin: 0;
  padding: 0 1.15rem 1rem;
  line-height: 1.65;
  color: #555;
  font-size: 15px;
}

.qd-internal-nav {
  text-align: center;
  margin: 1.5rem 0 0;
  font-size: 14px;
}

.qd-internal-nav a {
  color: #e85d04;
  margin: 0 0.5rem;
  text-decoration: none;
  font-weight: 600;
}

.qd-internal-nav a:hover { text-decoration: underline; }

/* Contacto — anula CSS legacy (.contact_form span label float) */
.contact .qd-contact-lead {
  font-family: 'Noto Sans', sans-serif;
  font-size: 1.25rem;
  color: #fff;
  margin: 0 auto 2rem;
  max-width: 640px;
  line-height: 1.55;
}

.contact_form.qd-contact-shell {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  float: none;
}

.contact_form.qd-contact-shell span,
.contact_form.qd-contact-shell span label,
.contact_form.qd-contact-shell .qd-field label {
  float: none !important;
  position: static !important;
  top: auto !important;
  right: auto !important;
}

.contact_form.qd-contact-shell input[type="text"],
.contact_form.qd-contact-shell input[type="email"],
.contact_form.qd-contact-shell input[type="tel"],
.contact_form.qd-contact-shell input[type="number"],
.contact_form.qd-contact-shell textarea,
.contact_form.qd-contact-shell select,
.contact_form.qd-contact-shell button.qd-form-submit {
  width: 100%;
  margin: 0;
}

.contact_form.qd-contact-shell input[type="submit"],
.contact_form.qd-contact-shell button.qd-form-submit {
  width: auto;
  background: linear-gradient(135deg, #e85d04 0%, #d45103 100%) !important;
}

.qd-form-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(26, 26, 46, 0.14);
  padding: 1.75rem 1.85rem 1.65rem;
  text-align: left;
}

.qd-form-card-head {
  margin-bottom: 1.35rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid #eceef3;
}

.qd-form-card-head h3 {
  margin: 0 0 0.4rem;
  font-family: 'Noto Sans', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #1a1a2e;
}

.qd-form-card-head p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #5c6370;
}

#formulario.qd-form {
  max-width: none;
  margin: 0;
}

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

.qd-form .qd-field {
  display: block;
  margin: 0;
  float: none !important;
  width: auto !important;
}

.qd-form .qd-field--full {
  grid-column: 1 / -1;
}

.qd-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #2a3140;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.qd-req { color: #e85d04; }
.qd-opt { font-weight: 500; color: #8a919c; font-size: 0.78rem; }

.qd-form input[type="text"],
.qd-form input[type="email"],
.qd-form input[type="tel"],
.qd-form input[type="number"],
.qd-form select,
.qd-form textarea {
  width: 100% !important;
  box-sizing: border-box;
  padding: 12px 14px !important;
  border: 1px solid #d4dae3 !important;
  border-radius: 10px !important;
  font-size: 0.95rem !important;
  font-family: 'Noto Sans', sans-serif !important;
  color: #1a1a2e;
  background: #fafbfc !important;
  text-transform: none !important;
  display: block !important;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.qd-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235c6370' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px !important;
}

.qd-form input:focus,
.qd-form select:focus,
.qd-form textarea:focus {
  border-color: #e85d04 !important;
  box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.15);
  background: #fff !important;
}

.qd-form input.is-invalid,
.qd-form select.is-invalid,
.qd-form textarea.is-invalid {
  border-color: #c62828 !important;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.12);
}

.qd-form textarea {
  min-height: 130px !important;
  height: auto !important;
  resize: vertical;
  margin: 0 !important;
}

.qd-char-count {
  display: block;
  text-align: right;
  font-size: 0.75rem;
  color: #8a919c;
  margin-top: 4px;
}

.qd-field-hint {
  display: block;
  min-height: 1.1em;
  font-size: 0.78rem;
  color: #c62828;
  margin-top: 4px;
}

.qd-form-security {
  margin-top: 1.15rem;
  padding: 1rem 1.1rem;
  background: #f4f6fa;
  border: 1px solid #e2e7ef;
  border-radius: 12px;
}

.qd-security-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  color: #1a1a2e;
  margin-bottom: 6px;
}

.qd-security-title svg { color: #e85d04; flex-shrink: 0; }

.qd-security-note {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #5c6370;
}

.qd-captcha-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
}

.qd-captcha-label {
  font-weight: 700;
  font-size: 1rem;
  color: #1a1a2e;
  min-width: 5rem;
}

.qd-captcha-row input[type="number"] {
  width: 80px !important;
  text-align: center;
  font-weight: 700;
}

.qd-captcha-refresh {
  background: #fff;
  border: 1px solid #d4dae3;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  color: #5c6370;
  transition: border-color 0.2s, color 0.2s;
}

.qd-captcha-refresh:hover {
  border-color: #e85d04;
  color: #e85d04;
}

.qd-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 1.1rem 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #4a5160;
  cursor: pointer;
}

.qd-privacy input {
  margin-top: 3px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: #e85d04;
}

.qd-privacy a {
  color: #e85d04;
  font-weight: 600;
  text-decoration: none;
}

.qd-privacy a:hover { text-decoration: underline; }

.qd-form-msg {
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.45;
  display: none;
}

.qd-form-msg.is-error {
  display: block;
  background: #fdecea;
  color: #b71c1c;
  border: 1px solid #f5c6cb;
}

.qd-form-msg.is-ok {
  display: block;
  background: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #c8e6c9;
}

.qd-honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

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

.qd-form-submit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 220px;
  background: linear-gradient(135deg, #e85d04 0%, #d45103 100%) !important;
  color: #fff !important;
  border: none !important;
  padding: 14px 32px !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  cursor: pointer;
  border-radius: 10px !important;
  box-shadow: 0 4px 16px rgba(232, 93, 4, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

.qd-form-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232, 93, 4, 0.45);
  background: linear-gradient(135deg, #f06a10 0%, #e85d04 100%) !important;
}

.qd-form-submit:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.qd-btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: qd-spin 0.7s linear infinite;
}

@keyframes qd-spin { to { transform: rotate(360deg); } }

.qd-form-alt {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  color: #5c6370;
}

.qd-form-alt a {
  color: #e85d04;
  font-weight: 700;
  text-decoration: none;
}

.qd-form-alt a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .qd-form-card { padding: 1.25rem 1.1rem; }
  .qd-form-grid { grid-template-columns: 1fr; }
  .qd-form-submit { width: 100%; min-width: 0; }
}

/* WhatsApp flotante */
.qd-whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 99990;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff !important;
  text-decoration: none !important;
  padding: 10px 16px 10px 12px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  font-weight: 700;
  font-size: 14px;
  font-family: Arial, sans-serif;
  transition: transform 0.2s, box-shadow 0.2s;
}

.qd-whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
  color: #fff !important;
}

.qd-whatsapp-float svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

/* Botón IA */
.qd-ai-trigger {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 99991;
  background: linear-gradient(135deg, #1a1a2e 0%, #e85d04 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(232, 93, 4, 0.4);
  font-family: Arial, sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s;
}

.qd-ai-trigger:hover { transform: scale(1.04); }

.qd-ai-panel {
  position: fixed;
  right: 18px;
  bottom: 78px;
  width: min(400px, calc(100vw - 36px));
  max-height: min(560px, calc(100vh - 120px));
  z-index: 99992;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.22);
  display: none;
  flex-direction: column;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
}

.qd-ai-panel.is-open { display: flex; }

.qd-ai-header {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: #fff;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.qd-ai-header h3 {
  margin: 0;
  font-size: 15px;
}

.qd-ai-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

.qd-ai-tabs {
  display: flex;
  border-bottom: 1px solid #e4e8ef;
  background: #f8f9fc;
}

.qd-ai-tabs button {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 6px;
  font-size: 11px;
  font-weight: 700;
  color: #666;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.qd-ai-tabs button.is-active {
  color: #e85d04;
  border-bottom-color: #e85d04;
}

.qd-ai-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  min-height: 200px;
}

.qd-ai-pane { display: none; }
.qd-ai-pane.is-active { display: block; }

.qd-ai-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
  margin-bottom: 10px;
}

.qd-ai-bubble {
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
  max-width: 92%;
}

.qd-ai-bubble.bot {
  background: #f0f2f8;
  color: #333;
  align-self: flex-start;
}

.qd-ai-bubble.user {
  background: #e85d04;
  color: #fff;
  align-self: flex-end;
}

.qd-ai-input-row {
  display: flex;
  gap: 6px;
}

.qd-ai-input-row input {
  flex: 1;
  padding: 9px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 13px;
}

.qd-ai-input-row button {
  background: #1a1a2e;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 9px 14px;
  font-weight: 700;
  cursor: pointer;
  font-size: 12px;
}

.qd-tool-field {
  margin-bottom: 10px;
}

.qd-tool-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #333;
}

.qd-tool-field input,
.qd-tool-field select,
.qd-tool-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 13px;
}

.qd-tool-result {
  background: #f8f9fc;
  border: 1px solid #e4e8ef;
  border-radius: 8px;
  padding: 10px;
  font-size: 13px;
  line-height: 1.55;
  margin-top: 10px;
  white-space: pre-wrap;
}

.qd-tool-btn {
  width: 100%;
  margin-top: 8px;
  background: #e85d04;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}

img[loading="lazy"] { content-visibility: auto; }

/* Servicios — separación tras hero */
.services.sTop {
  margin-top: 0 !important;
  padding-top: 4.5rem !important;
}

/* Footer premium */
.qd-footer {
  background: #1a1a2e;
  color: rgba(255, 255, 255, 0.88);
  font-family: 'Noto Sans', sans-serif;
}

.qd-footer-cta {
  background: linear-gradient(135deg, #2a3140 0%, #1f2433 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  padding: 2rem 1.25rem;
}

.qd-footer-cta p {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
}

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

.qd-footer-btn {
  display: inline-block;
  padding: 0.75rem 1.35rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
}

.qd-footer-btn--primary {
  background: #e85d04;
  color: #fff !important;
}

.qd-footer-btn--primary:hover { background: #f06a10; transform: translateY(-1px); }

.qd-footer-btn--ghost {
  border: 2px solid rgba(255, 255, 255, 0.45);
  color: #fff !important;
}

.qd-footer-btn--ghost:hover {
  border-color: #e85d04;
  color: #e85d04 !important;
}

.qd-footer-main {
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 2.5rem 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.qd-footer-col {
  flex: 1 1 240px;
  min-width: 200px;
}

.qd-footer-col h3 {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  color: #fff;
  font-weight: 700;
}

.qd-footer-brand img {
  margin-bottom: 0.85rem;
  max-width: 150px;
  height: auto;
  filter: brightness(1.1);
}

.qd-footer-brand p,
.qd-footer-contact p {
  margin: 0 0 0.45rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
}

.qd-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.qd-footer-col li { margin-bottom: 0.4rem; }

.qd-footer-col a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.qd-footer-col a:hover { color: #e85d04; }

.qd-footer-contact a { color: #fff; font-weight: 600; }

.qd-footer-bottom {
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 1.15rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.qd-footer-bottom p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.qd-footer-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
}

.qd-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
  transition: transform 0.2s;
}

.qd-footer-social a:hover { transform: scale(1.08); }
.qd-social-tw { background: #1da1f2; }
.qd-social-fb { background: #1877f2; }

.signup,
.bottom-footer {
  display: none !important;
}

.signup .form p {
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  padding: 1rem 0;
}

.signup .form a {
  color: #e85d04;
  font-weight: 700;
  text-decoration: none;
}

.signup .form a:hover { text-decoration: underline; }

.qd-logo-tag {
  font-size: 11px;
  color: #888;
  margin: 0;
  text-indent: -9999px;
  height: 0;
  overflow: hidden;
}

@media (max-width: 900px) {
  .qd-ia-grid { grid-template-columns: 1fr; }
  .qd-footer-main { flex-direction: column; gap: 1.5rem; }
  .qd-footer-bottom { justify-content: center; text-align: center; }
  .qd-whatsapp-float span { display: none; }
  .qd-whatsapp-float { padding: 12px; border-radius: 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .qd-whatsapp-float,
  .qd-ai-trigger { transition: none; }
}
