/* Home quote block — PROMPT 14.1
   Scoped to .home-quote so PPC landings and global chrome stay untouched. */

#cotizar,
#contacto {
  scroll-margin-top: 96px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.home-quote {
  --hq-blue: #202877;
  --hq-blue-dark: #161c54;
  --hq-wa: #0f6b4c;
  --hq-bg: #f6f7fb;
  --hq-text: #1b1f33;
  --hq-muted: #4a5068;
  --hq-line: #e4e7f0;
  --hq-radius: 12px;
  --hq-shadow: 0 8px 24px rgba(32, 40, 119, 0.06);
  color: var(--hq-text);
  overflow-x: hidden;
  position: relative;
}

.home-quote__alias {
  display: block;
  height: 0;
  width: 0;
  overflow: hidden;
}

.home-quote__grid {
  display: grid;
  gap: 28px;
  align-items: start;
}

.home-quote__form-col,
.home-quote__whatsapp {
  min-width: 0;
}

.home-quote__form-col h2 {
  margin: 0 0 12px;
  color: var(--hq-blue);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.home-quote__lead,
.home-quote__help {
  color: var(--hq-muted);
  max-width: 68ch;
  margin: 0 0 12px;
  overflow-wrap: break-word;
}

.home-quote__promise {
  margin: 0 0 16px;
  color: var(--hq-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.home-quote__form {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.home-quote__field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.home-quote__field label {
  font-weight: 600;
  color: var(--hq-text);
  margin: 0;
}

.home-quote__optional {
  font-weight: 400;
  color: var(--hq-muted);
}

.home-quote__field input,
.home-quote__field select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  border: 1px solid #cfd3e2;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
  color: var(--hq-text);
}

.home-quote__field select {
  appearance: auto;
}

.home-quote__micro {
  margin: 0;
  font-size: 0.92rem;
  color: var(--hq-muted);
  line-height: 1.5;
  overflow-wrap: break-word;
}

.home-quote__legal {
  margin: 0;
  font-size: 0.9rem;
  color: var(--hq-muted);
}

.home-quote__legal a {
  color: var(--hq-blue);
  text-decoration: underline;
}

.home-quote__legal a:hover {
  color: #6730e3;
}

.home-quote__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
}

.home-quote__btn--primary {
  background: var(--hq-blue);
  color: #fff;
}

.home-quote__btn--primary:hover,
.home-quote__btn--primary:focus {
  background: var(--hq-blue-dark);
  color: #fff;
}

a.home-quote__btn--wa {
  background: var(--hq-wa);
  color: #fff;
  text-decoration: none;
}

a.home-quote__btn--wa:hover,
a.home-quote__btn--wa:focus {
  background: #0b513a;
  color: #fff;
  text-decoration: none;
}

.home-quote__whatsapp {
  background: var(--hq-bg);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--hq-line);
  height: fit-content;
  box-shadow: var(--hq-shadow);
}

.home-quote__whatsapp h3 {
  margin: 0 0 8px;
  color: var(--hq-blue);
  font-size: 1.15rem;
}

.home-quote__whatsapp p {
  margin: 0 0 16px;
  color: var(--hq-muted);
}

.home-quote__whatsapp .home-quote__btn {
  margin-bottom: 16px;
}

.home-quote__wa-note {
  margin: 0;
  color: var(--hq-muted);
  font-size: 0.92rem;
}

.home-quote__email {
  margin: 24px 0 0;
  font-size: 0.9rem;
  color: var(--hq-muted);
}

.home-quote__email a {
  color: var(--hq-blue);
}

.home-quote__hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-quote__message {
  margin: 12px 0 0;
}

.home-quote__message--ok,
.home-quote__message--error {
  padding: 10px 12px;
  border-radius: 10px;
}

.home-quote__message--ok {
  background: #e8f6ee;
  border: 1px solid #b7e0c7;
  color: #14532d;
}

.home-quote__message--error {
  background: #fdecec;
  border: 1px solid #f3c1c1;
  color: #7a1d1d;
}

@media (min-width: 768px) {
  .home-quote__grid {
    grid-template-columns: 1.3fr 0.7fr;
    gap: 32px;
  }
}

@media (min-width: 1024px) {
  .home-quote__grid {
    grid-template-columns: 1.35fr 0.65fr;
  }
}

@media (max-width: 767px) {
  .home-quote__whatsapp {
    padding: 20px;
  }
}

@media (max-width: 374px) {
  .home-quote__field input,
  .home-quote__field select,
  .home-quote__btn {
    min-height: 44px;
  }
}
