/* Proud Roofing: barra de contacto, formulario corto y arreglos de portada */
:root {
  --prx-red: #e8022c;
  --prx-red-dark: #b8001f;
  --prx-navy: #001351;
  --prx-ink: #14161c;
  --prx-muted: #5b6070;
  --prx-line: #d9dce3;
  --prx-bg: #f5f6f8;
  --prx-white: #ffffff;
}

/* ---------- portada en celular: foto fija y liviana en lugar del video ---------- */
@media (max-width: 767px) {
  .elementor-29 .elementor-element.elementor-element-691fb6a {
    background: linear-gradient(141deg, rgba(0, 0, 0, .86) 2%, rgba(0, 0, 0, .2) 100%),
                url("/wp-content/uploads/2026/05/aerial-view-of-neighborhood-mobile.webp") 50% 50% / cover no-repeat !important;
  }
  .elementor-29 .elementor-element-691fb6a > .elementor-motion-effects-container,
  .elementor-29 .elementor-element-691fb6a > .elementor-background-video-container { display: none !important; }
}

/* ---------- formulario corto ---------- */
.prx-lead {
  background: var(--prx-navy);
  color: var(--prx-white);
  padding: 64px 16px;
  font-family: "Poppins", sans-serif;
  scroll-margin-top: 90px;
}
.prx-lead--full { background: transparent; color: var(--prx-ink); padding: 0; }
.prx-lead__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.prx-lead--full .prx-lead__inner { grid-template-columns: 1fr; gap: 0; }
.prx-lead--full .prx-lead__copy { display: none; }
.prx-lead__eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #ff8a9e;
}
.prx-lead__title {
  margin: 0 0 14px;
  font-family: "Poppins", sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  font-weight: 700;
  color: var(--prx-white);
}
.prx-lead__text { margin: 0 0 20px; font-size: 17px; line-height: 1.55; color: #d6dbea; }
.prx-lead__list { margin: 0 0 22px; padding: 0; list-style: none; }
.prx-lead__list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
  font-size: 15px;
  color: #eef1f8;
}
.prx-lead__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 9px;
  border-left: 3px solid var(--prx-red);
  border-bottom: 3px solid var(--prx-red);
  transform: rotate(-45deg);
}
.prx-lead__call { margin: 0; font-size: 16px; color: #d6dbea; }
.prx-lead__call a { color: var(--prx-white); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.prx-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  background: var(--prx-white);
  color: var(--prx-ink);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}
.prx-lead--full .prx-form { box-shadow: none; border: 1px solid var(--prx-line); }
.prx-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.prx-field--wide, .prx-consent, .prx-form__submit, .prx-form__status { grid-column: 1 / -1; }
.prx-field label { font-size: 14px; font-weight: 600; color: var(--prx-ink); }
.prx-field label span { font-weight: 400; color: var(--prx-muted); }
.prx-field input, .prx-field select, .prx-field textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 11px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--prx-ink);
  background: var(--prx-white);
  border: 1px solid var(--prx-line);
  border-radius: 8px;
  outline: none;
}
.prx-field textarea { min-height: 72px; resize: vertical; }
.prx-field input:focus, .prx-field select:focus, .prx-field textarea:focus {
  border-color: var(--prx-navy);
  box-shadow: 0 0 0 3px rgba(0, 19, 81, .15);
}
.prx-field input[aria-invalid="true"], .prx-field select[aria-invalid="true"] { border-color: var(--prx-red); }
.prx-hp { position: absolute !important; left: -9999px !important; }
.prx-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.45; color: var(--prx-muted); cursor: pointer; }
.prx-consent input { margin-top: 2px; width: 18px; height: 18px; flex: none; }
.prx-consent a { color: var(--prx-navy); }
.prx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.prx-btn--red { background: var(--prx-red); color: var(--prx-white); }
.prx-btn--red:hover { background: var(--prx-red-dark); }
.prx-btn[disabled] { opacity: .7; cursor: wait; }
.prx-form__status { margin: 0; font-size: 15px; min-height: 1px; }
.prx-form__status.is-ok { color: #0a7a3b; font-weight: 600; }
.prx-form__status.is-error { color: var(--prx-red); }

@media (max-width: 900px) {
  .prx-lead { padding: 48px 16px; }
  .prx-lead__inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .prx-form { grid-template-columns: 1fr; padding: 20px; }
}

/* ---------- barra fija para llamar (solo celular) ---------- */
.prx-bar { display: none; }
@media (max-width: 767px) {
  .prx-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: var(--prx-white);
    box-shadow: 0 -4px 18px rgba(0, 0, 0, .15);
  }
  .prx-bar__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border-radius: 8px;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none !important;
  }
  .prx-bar__btn--call { background: var(--prx-navy); color: var(--prx-white) !important; }
  .prx-bar__btn--inspect { background: var(--prx-red); color: var(--prx-white) !important; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}
