/* =========================================================
   LUMPA — Landing Presupuesto Calzado de Seguridad
   Archivo autónomo: no depende de style.css ni de WordPress
   ========================================================= */

/* ── Reset mínimo ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Variables ────────────────────────────────────────── */
:root {
  --lp-blue:        #0057b8;
  --lp-blue-dark:   #004999;
  --lp-navy:        #1a1a2e;
  --lp-navy2:       #0f3460;
  --lp-green:       #25d366;
  --lp-green-dark:  #1ebe5d;
  --lp-gray-bg:     #f5f5f5;
  --lp-text:        #333;
  --lp-muted:       #666;
  --lp-border:      #e8e8e8;
  --lp-radius:      8px;
  --lp-shadow:      0 2px 12px rgba(0,0,0,.08);
  --lp-max:         1200px;
  --lp-font:        'Inter', system-ui, -apple-system, sans-serif;
}

/* ── Base ─────────────────────────────────────────────── */
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--lp-font);
  color: var(--lp-text);
  line-height: 1.6;
  background: #fff;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }

/* ── Botones ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.75rem;
  border-radius: var(--lp-radius);
  font-family: var(--lp-font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
  text-decoration: none;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.btn:active { transform: translateY(0); }

.btn-whatsapp { background: var(--lp-green); color: #fff; border-color: var(--lp-green); }
.btn-whatsapp:hover { background: var(--lp-green-dark); border-color: var(--lp-green-dark); }

.btn-primary { background: var(--lp-blue); color: #fff; border-color: var(--lp-blue); }
.btn-primary:hover { background: var(--lp-blue-dark); border-color: var(--lp-blue-dark); }

/* ── Utilidades ───────────────────────────────────────── */
.section {
  padding: 5rem 1.25rem;
}

.section-alt { background: var(--lp-gray-bg); }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--lp-navy);
  margin-bottom: .6rem;
}

.section-header p {
  color: var(--lp-muted);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto;
}

.section-divider {
  width: 56px;
  height: 4px;
  background: var(--lp-blue);
  border-radius: 2px;
  margin: .75rem auto 0;
}

/* ── Header mínimo ────────────────────────────────────── */
.lp-header {
  background: #fff;
  border-bottom: 1px solid var(--lp-border);
  padding: 0 1.25rem;
  box-shadow: var(--lp-shadow);
}

.lp-header__inner {
  max-width: var(--lp-max);
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--lp-blue);
  letter-spacing: -.5px;
}

.lp-header__wa {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--lp-green);
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  padding: .5rem 1rem;
  border-radius: var(--lp-radius);
  transition: background .2s;
}

.lp-header__wa:hover { background: var(--lp-green-dark); }

/* ── Badge ────────────────────────────────────────────── */
.lp-badge {
  display: inline-block;
  background: rgba(0, 87, 184, .1);
  color: var(--lp-blue);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(0, 87, 184, .2);
}

/* ── Hero split ───────────────────────────────────────── */
.lp-hero {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 3rem;
  align-items: start;
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.lp-hero__title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--lp-navy);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.lp-hero__title span { color: var(--lp-blue); }

.lp-hero__sub {
  color: var(--lp-muted);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  max-width: 520px;
}

/* Checklist */
.lp-hero__checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 2rem;
}

.lp-hero__checks li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .95rem;
  color: var(--lp-text);
}

.lp-hero__checks svg { color: var(--lp-blue); flex-shrink: 0; }

/* Trust badges */
.lp-trust-badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.lp-trust-badge {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.lp-trust-badge strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--lp-blue);
  line-height: 1;
}

.lp-trust-badge span {
  font-size: .78rem;
  color: var(--lp-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ── Form wrapper ─────────────────────────────────────── */
.lp-form-wrap {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(0,0,0,.1);
  border: 1px solid var(--lp-border);
  overflow: hidden;
  position: sticky;
  top: 80px;
}

.lp-form-header {
  background: var(--lp-blue);
  color: #fff;
  padding: 1.5rem 1.75rem 1.25rem;
}

.lp-form-header__eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .8;
  margin-bottom: .35rem;
}

.lp-form-header__title {
  font-size: 1.25rem;
  font-weight: 800;
}

/* Form */
.lp-form {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lp-form__row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lp-form__row--2col { flex-direction: row; }

.lp-field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex: 1;
}

.lp-field label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--lp-navy);
}

.lp-field label abbr {
  text-decoration: none;
  color: #c0392b;
  margin-left: .1em;
}

.lp-field input,
.lp-field select,
.lp-field textarea {
  width: 100%;
  padding: .65rem .85rem;
  border: 1.5px solid #d4d4d4;
  border-radius: var(--lp-radius);
  font-family: var(--lp-font);
  font-size: .9rem;
  color: var(--lp-text);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
  -webkit-appearance: none;
}

.lp-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  padding-right: 2.5rem;
}

.lp-field input:focus,
.lp-field select:focus,
.lp-field textarea:focus {
  outline: none;
  border-color: var(--lp-blue);
  box-shadow: 0 0 0 3px rgba(0, 87, 184, .12);
}

.lp-field textarea { resize: vertical; min-height: 90px; }

.lp-form__legal {
  font-size: .78rem;
  color: var(--lp-muted);
  line-height: 1.5;
}

.lp-form__legal a { color: var(--lp-blue); text-decoration: underline; }

.lp-form__submit {
  width: 100%;
  justify-content: center;
  padding: .9rem;
  font-size: 1rem;
}

/* Alerts */
.lp-alert {
  padding: .85rem 1rem;
  border-radius: var(--lp-radius);
  font-size: .9rem;
  font-weight: 500;
  margin: .5rem 1.75rem 0;
}

.lp-alert--error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

/* Success */
.lp-success {
  padding: 2.5rem 1.75rem;
  text-align: center;
}

.lp-success__icon { font-size: 3rem; margin-bottom: 1rem; }

.lp-success h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--lp-navy);
  margin-bottom: .75rem;
}

.lp-success p {
  color: var(--lp-muted);
  font-size: .95rem;
  margin-bottom: .6rem;
}

.lp-success__wa {
  margin-top: 1.5rem;
  width: 100%;
  justify-content: center;
}

/* ── Tipos de calzado ─────────────────────────────────── */
.lp-types { padding: 5rem 1.25rem; }
.lp-types .section-header { margin-bottom: 3rem; }

.lp-types__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  max-width: var(--lp-max);
  margin: 0 auto;
}

.lp-type-card {
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.lp-type-card:hover {
  border-color: var(--lp-blue);
  box-shadow: var(--lp-shadow);
  transform: translateY(-3px);
}

.lp-type-card__icon { font-size: 2rem; margin-bottom: .75rem; }

.lp-type-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--lp-navy);
  margin-bottom: .45rem;
}

.lp-type-card p { font-size: .875rem; color: var(--lp-muted); }

/* ── Proceso (3 pasos) ────────────────────────────────── */
.lp-process { padding: 5rem 1.25rem; background: var(--lp-gray-bg); }
.lp-process .section-header { margin-bottom: 3rem; }

.lp-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  list-style: none;
  max-width: 900px;
  margin: 0 auto;
}

.lp-step {
  flex: 1;
  text-align: center;
  padding: 0 1.5rem;
}

.lp-step--connector {
  flex: 0 0 60px;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    var(--lp-blue) 0, var(--lp-blue) 6px,
    transparent 6px, transparent 12px
  );
  margin-top: 28px;
  padding: 0;
}

.lp-step__num {
  width: 56px;
  height: 56px;
  background: var(--lp-blue);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.lp-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--lp-navy);
  margin-bottom: .5rem;
}

.lp-step p { font-size: .875rem; color: var(--lp-muted); }

/* ── CTA final ────────────────────────────────────────── */
.lp-final-cta {
  background: linear-gradient(135deg, var(--lp-blue), var(--lp-navy2));
  color: #fff;
  padding: 5rem 1.25rem;
  text-align: center;
}

.lp-final-cta h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: .75rem;
}

.lp-final-cta p {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.lp-final-cta .btn { display: inline-flex; width: auto; }

/* ── Footer ───────────────────────────────────────────── */
.site-footer {
  background: var(--lp-navy);
  color: rgba(255,255,255,.6);
  text-align: center;
  padding: 2rem 1.25rem;
  font-size: .875rem;
}

.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: #fff; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .lp-hero {
    grid-template-columns: 1fr;
  }
  .lp-form-wrap {
    position: static;
  }
  .lp-hero__sub {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .btn { width: 100%; max-width: 340px; justify-content: center; }
  .lp-final-cta .btn { width: auto; max-width: none; }
  .section { padding: 3.5rem 1.25rem; }
  .lp-types { padding: 3.5rem 1.25rem; }
  .lp-process { padding: 3.5rem 1.25rem; }
}

@media (max-width: 640px) {
  .lp-hero { padding: 2.5rem 1.25rem; }
  .lp-form__row--2col { flex-direction: column; }
  .lp-steps { flex-direction: column; align-items: center; gap: 1.5rem; }
  .lp-step--connector { display: none; }
  .lp-step { padding: 0; }
  .lp-trust-badges { gap: 1rem; }
}
