.site-footer {
  --sf-pad: clamp(1rem, 3vw, 1.75rem);
  background: #0d0f14;
  color: #cbd5e1;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 10;
}

html.dp-site-header footer.l-f,
html.dp-site-header .s-f,
html.dp-site-header .wnd-free-stripe,
html.dp-site-header .l-f {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

.site-footer a {
  color: #f1f5f9;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #f5c518;
  text-decoration: none;
}

/* 1. Bloque de Cotización / Contacto */
.dp-contact {
  max-width: 1220px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 3.5vw, 2rem) clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}

.dp-contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: start;
}

.dp-contact-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f5c518;
  margin-bottom: 0.6rem;
}

.dp-contact-title {
  margin: 0 0 0.65rem;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.dp-contact-lead {
  margin: 0 0 1.25rem;
  color: #94a3b8;
  font-size: clamp(0.88rem, 1.8vw, 0.98rem);
  line-height: 1.6;
  max-width: 30rem;
}

.dp-contact-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  border-radius: 9999px;
  background: #25d366;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.dp-contact-wa:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.dp-contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: clamp(1.2rem, 2.5vw, 1.75rem);
  box-sizing: border-box;
}

.dp-contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 600;
}

.dp-contact-form input,
.dp-contact-form select,
.dp-contact-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 0.85rem;
  border: 1px solid #2a3140;
  border-radius: 8px;
  background: #141720;
  color: #fff;
  font: inherit;
  font-size: 0.92rem;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.dp-contact-form select {
  cursor: pointer;
}

.dp-contact-form input:focus,
.dp-contact-form select:focus,
.dp-contact-form textarea:focus {
  border-color: #f5c518;
  outline: none;
  box-shadow: 0 0 0 2px rgba(245, 197, 24, 0.2);
}

.dp-contact-form textarea {
  min-height: 5.5rem;
  resize: vertical;
}

.dp-contact-full,
.dp-contact-actions,
.dp-contact-status {
  grid-column: 1 / -1;
}

.dp-contact-form button {
  min-height: 48px;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 8px;
  background: #f5c518;
  color: #0b0f17;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.dp-contact-form button:hover {
  background: #ffd633;
  transform: translateY(-1px);
}

.dp-contact-form button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.dp-contact-status {
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}

.dp-contact-status.is-ok {
  background: #ecfdf5;
  color: #047857;
}

.dp-contact-status.is-err {
  background: #fef2f2;
  color: #b91c1c;
}

.dp-contact-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

/* 2. Navegación Principal del Footer */
.site-footer-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 3.5vw, 2rem) 1.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  box-sizing: border-box;
}

.site-footer-logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.site-footer-logo img {
  height: 38px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.site-footer-brand p {
  margin: 0.85rem 0 0;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 26rem;
}

.site-footer-title {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 700;
}

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

.site-footer li + li {
  margin-top: 0.4rem;
}

.site-footer-nav a,
.site-footer-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  font-size: 0.9rem;
}

.site-footer-contact li {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* 3. Barra Legal y Copyright */
.site-footer-bottom {
  max-width: 1220px;
  margin: 0 auto;
  padding: 1.25rem clamp(1rem, 3.5vw, 2rem) calc(1.5rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  align-items: center;
  color: #64748b;
  font-size: 0.85rem;
  box-sizing: border-box;
}

.site-footer-bottom p {
  margin: 0;
}

.site-footer-bottom a {
  margin-left: 1rem;
  color: #94a3b8;
  font-size: 0.85rem;
}

.site-footer-bottom a:hover {
  color: #f5c518;
}

/* Formulario dedicado en /contacto/ */
.dp-contact-form--page {
  max-width: 36rem;
  padding: 0.25rem 0 1rem;
}

.dp-contact-form--page label {
  color: #1f2937;
}

.dp-contact-form--page input,
.dp-contact-form--page textarea {
  background: #fff;
  color: #111;
  border-color: #d1d5db;
}

/* Responsive */
@media (max-width: 860px) {
  .site-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }
  .site-footer-brand {
    grid-column: 1 / -1;
  }
  .dp-contact-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 520px) {
  .dp-contact-form {
    grid-template-columns: 1fr;
  }
  .site-footer-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .site-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .site-footer-bottom a {
    margin-left: 0;
    margin-right: 1rem;
  }
  .dp-contact-wa {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
}
