/* forms.css — formulario de solicitud y carrusel de opiniones.
   EXTRAÍDO DE premium.css EL 19-09-2026. Motivo: las landings por producto
   pintan .leadform y .reviews pero NO cargan premium.css, así que el
   formulario salía sin estilos y el icono de WhatsApp de .lf-wa sin tamaño.
   Esta hoja lleva solo esas reglas, para no arrastrar a las landings el resto
   de la capa premium (hero, nav, footer), que ya tienen resuelta en styles.css.
   Si se toca una regla de formulario u opiniones en premium.css, replicarla
   aquí, y subir el ?v= de las dos en site.json → assets. */

:root {
  --ink:        #152653;
  --page-width: 1200px;
  --gutter:     clamp(1.25rem, 4.5vw, 5rem);
  --ease-out:   cubic-bezier(.22, 1, .36, 1);
}

.reviews { background: var(--gray-lt); }
.rev-wrap { max-width: var(--page-width); margin: 0 auto; }
.rev-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 380px);
  gap: 1.25rem; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding: 0 4px;
  padding: 4px 4px 1.5rem; margin: 0 -4px;
  scrollbar-width: thin; scrollbar-color: #C7CFE0 transparent;
}
.rev-track::-webkit-scrollbar { height: 6px; }
.rev-track::-webkit-scrollbar-thumb { background: #C7CFE0; border-radius: 3px; }
.rev-track:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; border-radius: 18px; }
.rev-card {
  scroll-snap-align: start; border-radius: 18px; padding: 1.75rem;
  display: flex; flex-direction: column; gap: .25rem;
  border: 1px solid #E4E9F3; box-shadow: 0 1px 2px rgba(21,38,83,.04);
}
.rev-card blockquote { flex: 1; font-style: normal; color: #33405E; }
.rev-card blockquote::before { content: '\201C'; }
.rev-card blockquote::after { content: '\201D'; }
.rev-nav { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.rev-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border);
  background: #fff; color: var(--navy); cursor: pointer; display: grid; place-items: center;
  transition: background .2s, border-color .2s, transform .2s;
}
.rev-btn:hover:not(:disabled) { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-1px); }
.rev-btn:disabled { opacity: .35; cursor: default; }
.rev-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rev-all {
  margin-left: auto; display: inline-flex; align-items: center; gap: 9px;
  text-decoration: none; color: var(--navy); font-size: 14px; font-weight: 500;
  border: 1px solid var(--border); background: #fff; padding: 12px 20px; border-radius: 30px;
  transition: border-color .2s, background .2s;
}
.rev-all:hover { border-color: var(--navy); background: #fff; }
.rev-all svg { width: 18px; height: 18px; }
.rev-note {
  max-width: var(--page-width); margin: 1.5rem auto 0;
  font-size: 12.5px; line-height: 1.6; color: var(--gray);
}
.leadform { padding: clamp(5rem, 8vw, 8rem) var(--gutter); background: #fff; }
.lf-inner {
  max-width: var(--page-width); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.lf-lede { margin-top: 1.25rem; font-size: 17px; color: #4A5470; line-height: 1.7; max-width: 40ch; }
.lf-legalshort { margin-top: 1.5rem; font-size: 12px; line-height: 1.6; color: var(--gray); max-width: 46ch; }
.lf-card { background: var(--gray-lt); border: 1px solid #E4E9F3; border-radius: 24px; padding: clamp(1.5rem, 3vw, 2.5rem); }
.lf-form { display: flex; flex-direction: column; gap: 1.1rem; }
.lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.lf-field { display: flex; flex-direction: column; gap: .45rem; }
.lf-field > span { font-size: 13px; font-weight: 500; color: var(--ink); }
.lf-field > span b { color: var(--red); font-weight: 500; }
.lf-field input, .lf-field select, .lf-field textarea {
  font-family: 'DM Sans', sans-serif; font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 13px 14px; width: 100%; transition: border-color .15s, box-shadow .15s;
}
.lf-field textarea { resize: vertical; min-height: 84px; }
.lf-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B2D72' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; background-size: 18px; padding-right: 40px; }
.lf-field input:focus, .lf-field select:focus, .lf-field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27,45,114,.12);
}
.lf-field input[aria-invalid="true"], .lf-field textarea[aria-invalid="true"] { border-color: var(--red); }
.lf-hint { font-size: 12.5px; color: var(--gray); margin-top: -.5rem; }
.lf-consent { display: flex; gap: .7rem; align-items: flex-start; font-size: 13px; line-height: 1.55; color: #4A5470; }
.lf-consent input { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--navy); flex-shrink: 0; }
.lf-consent a { color: var(--navy); }
.lf-error { font-size: 13.5px; color: var(--red); font-weight: 500; }
.lf-actions { display: flex; gap: .9rem; align-items: center; flex-wrap: wrap; margin-top: .25rem; }
.lf-submit {
  font-family: 'DM Sans', sans-serif; background: var(--red); color: #fff; border: 0;
  padding: 16px 30px; border-radius: 30px; font-size: 16px; font-weight: 500; cursor: pointer;
  transition: background .15s, transform .15s;
}
.lf-submit:hover:not(:disabled) { background: var(--red-dk); transform: translateY(-1px); }
.lf-submit:disabled { opacity: .6; cursor: progress; transform: none; }
.lf-wa { display: inline-flex; align-items: center; gap: 9px; color: var(--navy); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.lf-wa svg { width: 18px; height: 18px; fill: var(--navy); }
.lf-wa:hover { text-decoration: underline; }
.lf-done { text-align: left; padding: 1rem 0; }
.lf-done h3 { font-family: 'Playfair Display', serif; font-size: 26px; color: var(--navy); margin-bottom: .6rem; }
.lf-done p { color: #4A5470; margin-bottom: 1.4rem; max-width: 42ch; }
.lf-fail h3 { color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) {
.lf-inner { grid-template-columns: 1fr; gap: 2.25rem; }
}
@media (max-width: 620px) {
.lf-row { grid-template-columns: 1fr; }
.rev-track { grid-auto-columns: minmax(260px, 84vw); }
.rev-all { margin-left: 0; width: 100%; justify-content: center; }
}
