/*
Theme Name: Lumpa
Theme URI: https://donkus.es
Author: Donkus
Description: Tema ligero y rápido para tienda de ropa laboral
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: lumpa
*/

/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-primary:   #0057b8;
  --color-accent:    #25d366;
  --color-dark:      #1a1a2e;
  --color-gray:      #f5f5f5;
  --color-text:      #333;
  --color-muted:     #666;
  --font-base:       'Inter', system-ui, -apple-system, sans-serif;
  --max-width:       1200px;
  --radius:          8px;
  --shadow:          0 2px 12px rgba(0,0,0,.08);
}

html { font-size: 16px; scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* =========================================
   HEADER
   ========================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  box-shadow: var(--shadow);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}

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

.site-logo span { color: var(--color-dark); }

.site-nav { display: flex; gap: 1.5rem; align-items: center; }

.site-nav a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color .2s;
}

.site-nav a:hover { color: var(--color-primary); }

.nav-cta {
  background: var(--color-primary);
  color: #fff !important;
  padding: .45rem 1rem;
  border-radius: var(--radius);
  font-size: .85rem !important;
}

.nav-cta:hover { background: #004999; color: #fff !important; }

/* hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .25rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  margin: 5px 0;
  transition: .3s;
}

/* =========================================
   HERO
   ========================================= */
.hero {
  background: linear-gradient(135deg, var(--color-dark) 0%, #16213e 60%, #0f3460 100%);
  color: #fff;
  padding: 5rem 1.25rem;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  color: #5bc0f8;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

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

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

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}

.btn-whatsapp:hover { background: #1ebe5d; border-color: #1ebe5d; }

.btn-presupuesto {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}

.btn-presupuesto:hover { background: rgba(255,255,255,.12); border-color: #fff; }

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

.btn-primary:hover { background: #004999; border-color: #004999; }

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover { background: var(--color-primary); color: #fff; }

/* =========================================
   SECTIONS COMUNES
   ========================================= */
.section { padding: 5rem 1.25rem; }
.section-alt { background: var(--color-gray); }

.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(--color-dark);
  margin-bottom: .6rem;
}

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

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

/* =========================================
   SERVICIOS DE PERSONALIZACIÓN
   ========================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--color-primary);
  transition: transform .25s, box-shadow .25s;
}

.service-card:hover { transform: translateY(-5px); box-shadow: 0 8px 28px rgba(0,0,0,.12); }

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 87, 184, .1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.6rem;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: .6rem;
}

.service-card p { color: var(--color-muted); font-size: .95rem; }

/* =========================================
   MARCAS
   ========================================= */
.brands-section { padding: 4rem 1.25rem; }

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.brand-item {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: border-color .2s, box-shadow .2s;
}

.brand-item:hover { border-color: var(--color-primary); box-shadow: var(--shadow); }

.brand-item img {
  max-height: 48px;
  margin-inline: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .65;
  transition: filter .3s, opacity .3s;
}

.brand-item:hover img { filter: none; opacity: 1; }

.brand-name {
  font-size: .85rem;
  font-weight: 700;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: .75rem;
}

/* =========================================
   CTA DOBLE
   ========================================= */
.double-cta {
  background: linear-gradient(135deg, var(--color-dark) 0%, #0f3460 100%);
  color: #fff;
  padding: 5rem 1.25rem;
}

.double-cta .section-header h2 { color: #fff; }
.double-cta .section-header p { color: rgba(255,255,255,.7); }
.double-cta .section-divider { background: #5bc0f8; }

.cta-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin-inline: auto;
}

.cta-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: background .25s, transform .25s;
}

.cta-card:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); }

.cta-card-icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.cta-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: .6rem;
}

.cta-card p {
  color: rgba(255,255,255,.65);
  font-size: .95rem;
  margin-bottom: 1.75rem;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--color-dark);
  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: 768px) {
  .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 1.5rem; border-bottom: 1px solid #e8e8e8; gap: 1rem; }
  .site-nav.is-open { display: flex; }
  .nav-toggle { display: block; }
  .hero { padding: 3.5rem 1.25rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 320px; justify-content: center; }
  .section { padding: 3.5rem 1.25rem; }
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================
   LANDING PAGE — ver assets/css/landing-calzado.css
   ========================================= */

/* Header mínimo */
.lp-header {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 0 1.25rem;
}

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

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

.lp-header__wa:hover { background: #1ebe5d; }

/* Badge */
.lp-badge {
  display: inline-block;
  background: rgba(0, 87, 184, .1);
  color: var(--color-primary);
  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 layout */
.lp-hero {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 3rem;
  align-items: start;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 4rem 1.25rem;
}

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

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

.lp-hero__sub {
  color: var(--color-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(--color-text);
}

.lp-hero__checks svg { color: var(--color-primary); 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(--color-primary);
  line-height: 1;
}

.lp-trust-badge span {
  font-size: .78rem;
  color: var(--color-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 #e8e8e8;
  overflow: hidden;
  position: sticky;
  top: 80px;
}

.lp-form-header {
  background: var(--color-primary);
  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(--color-dark);
}

.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: 1px solid #d4d4d4;
  border-radius: var(--radius);
  font-family: var(--font-base);
  font-size: .9rem;
  color: var(--color-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(--color-primary);
  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(--color-muted);
  line-height: 1.5;
}

.lp-form__legal a { color: var(--color-primary); 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(--radius);
  font-size: .9rem;
  font-weight: 500;
  margin: .5rem 1.75rem 0;
}

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

/* Success state */
.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(--color-dark);
  margin-bottom: .75rem;
}

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

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

/* Tipos de calzado */
.lp-types__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

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

.lp-type-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--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(--color-dark);
  margin-bottom: .45rem;
}

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

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

.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(--color-primary) 0, var(--color-primary) 6px, transparent 6px, transparent 12px);
  margin-top: 28px;
  padding: 0;
}

.lp-step__num {
  width: 56px;
  height: 56px;
  background: var(--color-primary);
  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(--color-dark);
  margin-bottom: .5rem;
}

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

/* CTA final */
.lp-final-cta {
  background: linear-gradient(135deg, var(--color-primary), #0f3460);
  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-inline: auto;
}

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

/* LP footer */
.lp-footer { border-top: 1px solid rgba(255,255,255,.08); }

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

@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; }
}
