/* Paleta oficial (Brandboard Lo de Lalo): negro #000, gris #757575, beige #beaa85.
   Tipografía de marca: Futura Heavy. Se usa una pila de fuentes geométricas del sistema (sin descargas externas). */
:root {
  --bg: #f7f4ee;
  --panel: #ffffff;
  --header: #ffffff;           /* el logo claro trae fondo blanco: el encabezado debe ser blanco para fundirse */
  --text: #1a1a1a;
  --muted: #4b4b4b;
  --border: #e3dccd;
  --soft: #ece3d0;
  --link: #6b5a38;
  --accent: #beaa85;
  --btn-bg: #262626;
  --btn-fg: #ffffff;
  --btn-hover: #000000;
  --wa: #15803d;
  --wa-hover: #166534;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 8px 24px rgba(0, 0, 0, .06);
  --fuente-titulos: Futura, "Futura PT", "Century Gothic", "Avenir Next", "Trebuchet MS", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1c1c; --panel: #2a2a2a; --header: #404040;   /* #404040 = fondo del logo negativo */
    --text: #f1eee8; --muted: #c9c4b8; --border: #454545; --soft: #3a352b; --link: #d9c79d;
    --btn-bg: #beaa85; --btn-fg: #1a1a1a; --btn-hover: #d3c29f; --shadow: none;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; background: var(--bg); color: var(--text); }
img, svg { max-width: 100%; display: block; }
a { color: var(--link); }
h1, h2, h3 { font-family: var(--fuente-titulos); line-height: 1.15; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid #f59e0b; outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1120px, 100% - 2rem); margin-inline: auto; }
.solo-lectores { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.salto { position: absolute; left: .5rem; top: -4rem; background: var(--btn-bg); color: var(--btn-fg); padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.salto:focus { top: .5rem; }
.vista-previa { background: #b45309; color: #fff; text-align: center; font-weight: 700; padding: .5rem 1rem; font-size: .95rem; }

/* ---------- cabecera ---------- */
.cab { position: sticky; top: 0; z-index: 20; background: var(--header); border-bottom: 1px solid var(--border); }
.cab__fila { display: flex; align-items: center; gap: 1rem; padding: .35rem 0; }
.logo { margin-right: auto; display: block; }
.logo img { height: 52px; width: auto; }
.nav { display: none; gap: 1.4rem; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.nav a:hover { color: var(--text); }
@media (min-width: 900px) { .nav { display: flex; } }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.4rem; border-radius: 999px; font: inherit; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-hover); }
.btn--primario { background: var(--btn-bg); color: var(--btn-fg); }
.btn--primario:hover { background: var(--btn-hover); }
.btn--borde { background: transparent; color: var(--text); border-color: var(--border); }
.btn--borde:hover { border-color: var(--link); }
.btn--chico { padding: .55rem 1.05rem; font-size: .95rem; }

/* ---------- portada ---------- */
.hero { padding: clamp(2.2rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem); }
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.2fr .8fr; } }
.hero__sub { font-size: 1.2rem; color: var(--muted); margin: 1.25rem 0 2rem; max-width: 42ch; }
.hero__acciones { display: flex; flex-wrap: wrap; gap: .8rem; }

.panel { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; }
.datos { display: grid; gap: .9rem; }
.datos__titulo { font-size: 1.3rem; }
.datos__fila, .lugar__dir { display: flex; gap: .8rem; align-items: center; }
.datos__ico { width: 2.4rem; height: 2.4rem; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--soft); color: var(--link); }
.datos__ico svg { width: 1.3rem; height: 1.3rem; }

/* ---------- secciones ---------- */
.seccion { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.seccion--alt { background: var(--panel); border-block: 1px solid var(--border); }
.seccion__cab { max-width: 60ch; margin-bottom: 2rem; }
.seccion__cab p { color: var(--muted); margin-top: .8rem; font-size: 1.08rem; }
.etiqueta { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--link); margin-bottom: .6rem; }

.cats { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.cat { display: flex; align-items: center; gap: .9rem; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 1rem 1.1rem; font-weight: 700; }
.cat__ico { width: 2.6rem; height: 2.6rem; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--soft); color: var(--link); }
.cat__ico svg { width: 1.5rem; height: 1.5rem; }
.marcas { margin-top: 1.5rem; color: var(--muted); }
.marcas strong { color: var(--text); }
.acciones { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* ---------- pasos ---------- */
.pasos { counter-reset: paso; display: grid; gap: 1.2rem; padding: 0; margin: 0; list-style: none; }
@media (min-width: 760px) { .pasos { grid-template-columns: repeat(3, 1fr); } }
.paso { counter-increment: paso; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; }
.paso::before { content: counter(paso); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--btn-bg); color: var(--btn-fg); font-weight: 800; margin-bottom: 1rem; }
.paso p { color: var(--muted); margin-top: .5rem; }

.lugar { display: grid; gap: .8rem; max-width: 640px; }
.lugar p { color: var(--muted); }
.lugar__dir { color: var(--text); font-size: 1.15rem; }

/* ---------- preguntas ---------- */
.faq { display: grid; gap: .8rem; max-width: 780px; }
.faq details { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 0 1.2rem; }
.faq summary { cursor: pointer; font-weight: 700; padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--link); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 1.1rem; }

/* ---------- contacto ---------- */
.cta { text-align: center; padding: clamp(2.5rem, 6vw, 4.5rem) 1.2rem; background: linear-gradient(135deg, #1a1a1a, #404040); color: #fff; border-radius: calc(var(--radius) + 6px); }
.cta h2 { color: #fff; }
.cta p { color: #e0dccf; margin: 1rem auto 1.8rem; max-width: 46ch; }
.cta__mail { margin-top: 1.2rem !important; }
.cta__mail a { color: #e8d9b4; }

.pie { padding: 2rem 0 3rem; color: var(--muted); font-size: .95rem; }
.pie__fila { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; }
.pie a { color: var(--muted); }

.texto-legal { max-width: 70ch; padding: 3rem 0; }
.texto-legal h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); margin-bottom: 1.2rem; }
.texto-legal h2 { font-size: 1.3rem; margin: 2rem 0 .6rem; }
.texto-legal p, .texto-legal li { color: var(--muted); margin-bottom: .8rem; }

.flota { position: fixed; right: 1rem; bottom: 1rem; z-index: 30; box-shadow: 0 6px 20px rgba(0, 0, 0, .3); }
@media (min-width: 900px) { .flota { display: none; } }
