/* ============================================================
   CONYCA — Landing de campaña (/contacto/)
   Se carga DESPUÉS de default.css, solo en esta página.
   Paleta heredada: #491D74 violeta · #7d922a / #B3D335 verde · #121212 fondo
   ============================================================ */

/* ---------- HERO ----------
   Mismo fondo lima que las carteleras de los productos (#main / #main-content),
   composición centrada: fila de equipos, título y bajada. */
body.landing #main-content { background: url(../img/shadow-top.png) top center no-repeat; }

.lp-hero {
  text-align: center;
  padding: clamp(28px, 4.2vw, 64px) 5% clamp(34px, 4.6vw, 70px);
}

.lp-equipos-row {
  list-style: none; margin: 0 auto clamp(18px, 2.4vw, 36px); padding: 0;
  display: -webkit-box; display: -ms-flexbox; display: flex;
  -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center;
  -webkit-box-align: center; -ms-flex-align: center; align-items: center;
  gap: clamp(14px, 3vw, 56px);
}
.lp-equipos-row li {
  margin: 0; padding: 0;
  width: clamp(62px, 8.2vw, 150px);
  height: clamp(48px, 5.8vw, 110px);
}
.lp-equipos-row img { display: block; width: 100%; height: 100%; -o-object-fit: contain; object-fit: contain; }

.lp-hero h1 {
  font-family: 'FuturaStdMediumCondensed', 'Trebuchet MS', Arial, sans-serif;
  font-size: clamp(30px, 4vw, 60px);
  line-height: 1.05;
  text-transform: uppercase;
  color: #fff;
  max-width: 13em;
  margin: 0 auto 14px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .22);
  text-wrap: balance;
}
.lp-hero .lp-sub {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.4;
  max-width: 38em;
  margin: 0 auto;
  color: #241041;
}

.lp-btn {
  display: inline-block; padding: 14px 28px;
  font-family: 'FuturaStdMediumCondensed', 'Trebuchet MS', Arial, sans-serif;
  font-size: 20px; text-transform: uppercase; letter-spacing: .5px;
  border: none; cursor: pointer; text-align: center;
}
.lp-btn-primary { background: #7d922a; color: #fff; }
.lp-btn-primary:hover { background: #B3D335; color: #1c1c1c; }
.lp-btn-wa { background: #25d366; color: #04371a; }
.lp-btn-wa:hover { background: #1ebe5b; }
.lp-btn-ghost { background: rgba(255,255,255,.12); color: #fff; }
.lp-btn-ghost:hover { background: rgba(255,255,255,.22); }

/* ---------- BLOQUE FORM ---------- */
body.landing #content { padding-top: 34px; }
.lp-grid { width: 90%; max-width: 1100px; margin: 0 auto; }

@media (min-width: 900px) {
  .lp-grid { display: flex; gap: 46px; align-items: flex-start; }
  .lp-grid .lp-form-col { flex: 1 1 55%; }
  .lp-grid .lp-aside    { flex: 1 1 45%; }
}

.lp-form-col > h2,
.lp-aside > h2 {
  color: #491D74; font-size: 26px; text-transform: uppercase;
  margin: 0 0 6px;
}
.lp-form-col > p.lp-note { color: #555; font-size: 14px; margin: 0 0 18px; }

.lp-form label {
  display: block; font-size: 20px; text-transform: uppercase;
  color: #491D74; background: none; text-align: left;
  padding: 8px 2px 3px;
}
.lp-form label .req { color: #b00; }
.lp-form input,
.lp-form select,
.lp-form textarea {
  width: 100%; padding: 13px; border: solid 1px #ccc; background: #fff;
  color: #282828; margin: 3px 0 12px; font-size: 15px;
  -webkit-appearance: none; appearance: none;
}
.lp-form textarea { height: 120px; }
.lp-form select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='%23491D74'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat; background-position: right 12px center;
  padding-right: 38px;
}
.lp-form .field-error input,
.lp-form .field-error select,
.lp-form .field-error textarea { border-color: #b00; background: #fff6f6; }
.lp-form .err-msg { color: #b00; font-size: 13px; margin: -8px 0 12px; }

/* honeypot */
.lp-form .lp-hp {
  position: absolute; left: -5000px; width: 1px; height: 1px;
  overflow: hidden; opacity: 0;
}

.lp-form .cf-turnstile { margin: 6px 0 14px; }

.lp-form button[type="submit"] {
  display: inline-block; width: 100%; padding: 16px 24px;
  font-family: 'FuturaStdMediumCondensed', 'Trebuchet MS', Arial, sans-serif;
  font-size: 22px; text-transform: uppercase; letter-spacing: .5px;
  background: #7d922a; color: #fff; border: none; cursor: pointer;
}
.lp-form button[type="submit"]:hover { background: #491D74; }

.lp-form-error {
  background: #fdeaea; border: 1px solid #e3b7b7; color: #8a1f1f;
  padding: 12px 14px; margin-bottom: 16px; font-size: 14px;
}

/* ---------- ASIDE ---------- */
body.landing .lp-aside { color: #231F20; }
body.landing .lp-aside ul {
  list-style: none; margin: 8px 0 22px; padding: 0;
  display: block; width: 100%;
}
body.landing .lp-aside ul li {
  display: block; width: 100%; float: none;
  padding: 10px 0 10px 26px; position: relative; border-bottom: 1px solid #e5e5e5;
  font-size: 15px; line-height: 1.4;
}
body.landing .lp-aside ul li::before {
  content: "›"; position: absolute; left: 6px; top: 8px;
  color: #7d922a; font-size: 20px; font-weight: bold;
}
.lp-contact-box {
  background: #f4f2f7; border-left: 4px solid #491D74; padding: 16px 18px;
  font-size: 14px; line-height: 1.5;
}
.lp-contact-box a { color: #491D74; font-weight: bold; }
.lp-contact-box strong { display: block; text-transform: uppercase; margin-bottom: 4px; color: #491D74; }

#map { width: 100%; height: 280px; margin-top: 18px; background: #ddd; }

/* ---------- GRACIAS ---------- */
.lp-btn-outline { background: #fff; color: #491D74; border: 2px solid #491D74; padding: 12px 26px; }
.lp-btn-outline:hover { background: #491D74; color: #fff; }

.lp-check {
  display: -webkit-box; display: -ms-flexbox; display: flex;
  -webkit-box-align: center; -ms-flex-align: center; align-items: center;
  -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center;
  width: 76px; height: 76px; margin: 0 auto 22px;
  border-radius: 50%; background: #491D74;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .32);
}
.lp-check svg { width: 40px; height: 40px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

body.landing .lp-ok { padding: 64px 0 72px; }

.lp-ok-tit {
  text-align: center; color: #491D74; font-size: 36px; line-height: 1;
  text-transform: uppercase; margin: 0 0 40px;
}

.lp-steps {
  list-style: none; margin: 0 auto; padding: 0;
  width: 90%; max-width: 1000px;
  display: grid; grid-template-columns: 1fr; gap: 34px;
  counter-reset: none;
}
.lp-steps li { text-align: center; padding: 0 10px; }
.lp-n {
  display: block; width: 46px; height: 46px; line-height: 46px; margin: 0 auto 14px;
  border-radius: 50%; background: #491D74; color: #fff;
  font-family: 'FuturaStdMediumCondensed', 'Trebuchet MS', Arial, sans-serif; font-size: 24px;
}
.lp-steps h3 {
  background: none; padding: 0; margin: 0 0 8px;
  color: #231F20; font-size: 22px; line-height: 1.1; text-transform: uppercase;
}
.lp-steps p { color: #4a4a50; line-height: 1.55; font-size: 15px; margin: 0; }

.lp-urgente {
  width: 90%; max-width: 1000px; margin: 60px auto 0;
  background: #f4f2f7; border-left: 5px solid #491D74;
  padding: 30px 32px;
}
.lp-urgente p { color: #231F20; line-height: 1.5; margin: 0; }
.lp-urgente .lp-urgente-t {
  font-family: 'FuturaStdMediumCondensed', 'Trebuchet MS', Arial, sans-serif;
  font-size: 28px; line-height: 1.1; text-transform: uppercase; color: #491D74; margin-bottom: 6px;
}
.lp-urgente-btns { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; gap: 14px; margin-top: 22px; }

@media (min-width: 800px) {
  .lp-steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .lp-urgente { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; gap: 40px; }
  .lp-urgente-btns { margin-top: 0; -ms-flex-wrap: nowrap; flex-wrap: nowrap; white-space: nowrap; }
}

/* "Conozca nuestros equipos": las 6 tarjetas en 3 x 2 */
.franja-otros.franja-todos { margin-bottom: 0; }
.franja-otros.franja-todos .caja { max-width: 1000px; }
@media only screen and (min-width : 800px) {
  .franja-otros.franja-todos div.botones > a,
  .franja-otros.franja-todos div.botones > a:last-child:nth-child(odd) {
    -ms-flex: 0 0 calc(33.333% - 12px);
    flex: 0 0 calc(33.333% - 12px);
  }
  .franja-otros.franja-todos div.botones a h2 { font-size: 20px; padding: 6px 4px 24px; }
}
.franja-otros.franja-todos div.botones a h2 { font-size: 16px; padding: 6px 4px 20px; }

@media (max-width: 560px) {
  .lp-urgente-btns .lp-btn { width: 100%; }
  .lp-ok-tit { font-size: 30px; }
}

/* aire entre el formulario y el footer */
body.landing .lp-grid { margin-bottom: 100px; }

/* ---------- TELÉFONO en 3 partes ---------- */
.lp-label {
  display: block; padding: 8px 2px 3px; text-align: left;
  font-family: 'FuturaStdMediumCondensed', 'Trebuchet MS', Arial, sans-serif;
  font-size: 20px; text-transform: uppercase; color: #491D74;
}
.lp-label .req { color: #b00; }
.lp-phone-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lp-phone-row select { grid-column: 1 / -1; }
.lp-form .lp-phone-row select,
.lp-form .lp-phone-row input { margin: 3px 0 0; }
@media (min-width: 560px) {
  .lp-phone-row { grid-template-columns: 1.25fr .8fr 1.2fr; }
  .lp-phone-row select { grid-column: auto; }
}
.lp-privacidad { font-size: 13px; color: #666; line-height: 1.4; margin: 12px 0 0; }
.lp-hint { font-size: 13px; color: #666; margin: 8px 0 0; line-height: 1.4; }
.lp-tel-preview { font-size: 14px; color: #2f5d17; background: #eef6e0; padding: 8px 12px; margin: 8px 0 0; }
.lp-phone { margin-bottom: 12px; }
.lp-phone .err-msg { margin: 8px 0 0; }

/* ---------- VENTANA DE CONFIRMACIÓN ---------- */
body.lp-noscroll { overflow: hidden; }
.lp-modal {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 10000;
  background: rgba(20, 10, 35, .74);
  display: -webkit-box; display: -ms-flexbox; display: flex;
  -webkit-box-align: center; -ms-flex-align: center; align-items: center;
  -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center;
  padding: 20px;
}
.lp-modal[hidden] { display: none; }
.lp-modal-box {
  background: #fff; width: 100%; max-width: 520px; max-height: 92vh; overflow: auto;
  padding: 30px 30px 26px; border-top: 6px solid #7d922a;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
}
.lp-modal-box h2 { color: #491D74; font-size: 30px; line-height: 1; text-transform: uppercase; margin: 0 0 8px; }
.lp-modal-sub { color: #555; font-size: 15px; line-height: 1.4; margin: 0 0 14px; }
.lp-resumen { margin: 0; }
.lp-resumen dt {
  font-family: 'FuturaStdMediumCondensed', 'Trebuchet MS', Arial, sans-serif;
  text-transform: uppercase; color: #491D74; font-size: 15px; margin-top: 12px;
}
.lp-resumen dd { margin: 2px 0 0; font-size: 17px; color: #231F20; word-break: break-word; }
.lp-aviso { background: #fff6e0; border: 1px solid #f0d58a; color: #7a5300; padding: 10px 12px; font-size: 14px; line-height: 1.4; margin: 18px 0 0; }
.lp-modal-btns { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.lp-modal-btns .lp-btn { -webkit-box-flex: 1; -ms-flex: 1 1 180px; flex: 1 1 180px; }
button.lp-btn-primary:hover { background: #B3D335; color: #1c1c1c; }
button.lp-btn-outline:hover { background: #491D74; color: #fff; }
button.lp-btn:disabled { opacity: .6; cursor: default; }

/* placeholders discretos (el estilo global los pintaba de verde y en negrita) */
.lp-form ::-webkit-input-placeholder { color: #8f8f98; font-weight: 400; opacity: 1; }
.lp-form ::-moz-placeholder { color: #8f8f98; font-weight: 400; opacity: 1; }
.lp-form ::placeholder { color: #8f8f98; font-weight: 400; opacity: 1; }

/* móvil: separar el bloque "Por qué CONYCA" del botón de envío */
@media (max-width: 899px) {
  .lp-aside { margin-top: 56px; }
}
