/* =========================================================
   LAANDA MKT — Hoja de estilos principal
   ========================================================= */

/* ---------- Fuentes ---------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ---------- Variables ---------- */
:root {
  --ink: #0E0F13;
  --ink-soft: #52555f;
  --ink-faint: #7b7e88;
  --white: #ffffff;
  --bg-soft: #f6f6f8;
  --bg-card: #ffffff;
  --border: #e7e7ec;
  --accent: #ff4b3e;
  --accent-dark: #e0392d;
  --accent-2: #5b4fe9;
  --focus-ring: #2f6fed;
  --warn-bg: #fff8e8;
  --warn-border: #f0cf78;
  --warn-text: #6b5417;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(14, 15, 19, 0.06);
  --shadow-md: 0 12px 32px rgba(14, 15, 19, 0.10);
  --header-h: 84px;
  --container: 1180px;
  --font-heading: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

/* ---------- Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; color: var(--ink-soft); }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Accesibilidad ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--ink);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 999;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.btn-light {
  background: var(--white);
  color: var(--ink);
}
.btn-light:hover { background: var(--bg-soft); transform: translateY(-2px); }
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
}
.btn-whatsapp:hover { background: #1ebe5a; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none !important; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  padding: 10px 0;
}
.brand img {
  height: 40px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a.nav-link {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--ink-soft);
  font-size: .97rem;
}
.main-nav a.nav-link:hover,
.main-nav a.nav-link[aria-current="page"] {
  color: var(--ink);
  background: var(--bg-soft);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-actions .btn { padding: 12px 22px; font-size: .95rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 96px;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(255,75,62,0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(91,79,233,0.10), transparent 60%),
    var(--white);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: rgba(255,75,62,0.10);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  margin-bottom: .5em;
}
.hero .lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 2em;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,75,62,0.35), rgba(91,79,233,0.35));
  opacity: .55;
}
.hero-visual * { position: relative; z-index: 1; }
.hero-stat { display: flex; flex-direction: column; gap: 4px; }
.hero-stat strong { font-family: var(--font-heading); font-size: 1.6rem; }
.hero-stat span { color: rgba(255,255,255,0.75); font-size: .92rem; }
.hero-visual hr { border: none; border-top: 1px solid rgba(255,255,255,0.18); margin: 4px 0; }

/* ---------- Secciones genéricas ---------- */
section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark h2, .section-dark p { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.78); }
.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }

/* ---------- Grids / tarjetas ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,75,62,0.12);
  color: var(--accent-dark);
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.card h3 { font-size: 1.15rem; margin-bottom: .5em; }
.card p { margin-bottom: 0; }

.value-card { text-align: left; }

/* Proceso */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 32px 24px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  background: var(--ink);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.05rem; }
.step p { font-size: .95rem; margin-bottom: 0; }

/* CTA final */
.cta-band {
  background: linear-gradient(135deg, var(--ink) 0%, #23253a 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: .3em; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-band p { color: rgba(255,255,255,0.78); margin-bottom: 0; max-width: 46ch; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Banner de contenido pendiente ---------- */
.pending-banner {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  color: var(--warn-text);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  margin-bottom: 40px;
  font-size: .95rem;
}
.pending-banner strong { display: block; margin-bottom: 2px; }
.pending-banner svg { flex-shrink: 0; margin-top: 2px; }

/* ---------- Formulario de contacto ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}
.contact-info .card { margin-bottom: 20px; }
.contact-info .card:last-child { margin-bottom: 0; }
.contact-info h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-faint); margin-bottom: 10px; }
.contact-info a.contact-value,
.contact-info p.contact-value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-row { margin-bottom: 22px; }
.form-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: .95rem;
}
.form-row .optional-tag {
  font-weight: 400;
  color: var(--ink-faint);
  font-size: .85rem;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--ink);
  background: var(--white);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,75,62,0.12);
}
.form-row textarea { min-height: 130px; resize: vertical; }
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 26px;
}
.checkbox-row input[type="checkbox"] {
  width: 20px; height: 20px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.checkbox-row label { font-size: .92rem; color: var(--ink-soft); font-weight: 400; }
.checkbox-row a { color: var(--accent-dark); font-weight: 600; text-decoration: underline; }

.form-status {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  font-size: .95rem;
  display: none;
}
.form-status.show { display: block; }
.form-status.info {
  background: var(--warn-bg);
  border: 1px solid var(--warn-border);
  color: var(--warn-text);
}
.form-status.error {
  background: #fdecea;
  border: 1px solid #f3b4ac;
  color: #8a2c22;
}
.field-error {
  color: #c22b1c;
  font-size: .85rem;
  margin-top: 6px;
  min-height: 1.3em;
  visibility: hidden;
}
.form-row.has-error input,
.form-row.has-error select,
.form-row.has-error textarea {
  border-color: #c22b1c;
}
.form-row.has-error .field-error { visibility: visible; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-brand img { height: 34px; margin-bottom: 16px; }
.footer-brand p { max-width: 32ch; font-size: .95rem; }
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ink-faint);
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: var(--ink-soft); font-size: .96rem; }
.footer-col a:hover { color: var(--accent-dark); }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .88rem;
  color: var(--ink-faint);
}
.footer-bottom a { color: var(--ink-faint); text-decoration: underline; }
.footer-bottom a:hover { color: var(--ink); }

/* ---------- WhatsApp flotante ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 400;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
  transition: transform .18s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Página simple (Nosotros / Proceso / Aviso) ---------- */
.page-hero {
  padding: 64px 0 48px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: .3em; }
.page-hero p { max-width: 60ch; font-size: 1.05rem; }
.breadcrumb { font-size: .9rem; color: var(--ink-faint); margin-bottom: 18px; }
.breadcrumb a { color: var(--ink-faint); text-decoration: underline; }

.prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.2em; font-size: 1.15rem; }
.prose ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.prose ul li { margin-bottom: .5em; color: var(--ink-soft); }
.prose { max-width: 78ch; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* Página 404 */
.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.error-page .code {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: .1em;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  :root { --header-h: 72px; }
  .main-nav { position: fixed; inset: 72px 0 0 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 24px; gap: 0; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a.nav-link { display: block; padding: 16px; font-size: 1.05rem; }
  .header-actions .btn-secondary-nav { display: none; }
  .nav-toggle { display: flex; }
  .main-nav .header-actions { display: flex; margin-top: 20px; }
  .brand img { height: 32px; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; padding: 40px 28px; }
  .cta-band .actions { justify-content: center; }
  section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .whatsapp-float { width: 54px; height: 54px; bottom: 18px; right: 18px; }
}
