/* Sitio de Escuadra — mismo estilo que la app: negro sobre blanco + amarillo obra, alto contraste. */
:root {
  --y: #ffc400;
  --y-soft: #fffbea;
  --k: #0a0a0a;
  --bg: #ffffff;
  --muted: #3a3a3a;
  --line: #e4e4e4;
  --radius: 16px;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--k);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--k); }

/* Idioma: <html lang="es|en"> esconde el otro (site.js lo cambia; sin JS queda en español) */
html[lang='es'] [data-l='en'],
html[lang='en'] [data-l='es'] { display: none !important; }

/* ---------- Header ---------- */
.top { background: var(--y); border-bottom: 3px solid var(--k); position: sticky; top: 0; z-index: 10; }
.top-in {
  max-width: var(--max); margin: 0 auto; padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 22px; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nav a { text-decoration: none; font-weight: 800; font-size: 15px; }
.nav a[aria-current='page'] { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 3px; }
.lang { display: inline-flex; border: 2px solid var(--k); border-radius: 8px; overflow: hidden; }
.lang button {
  border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 900;
  padding: 4px 10px; cursor: pointer; color: var(--k);
}
.lang button.on { background: var(--k); color: var(--y); }

/* ---------- Secciones ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
section { padding: 56px 0; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 14px; font-weight: 900; }
h1 { font-size: clamp(34px, 6vw, 58px); letter-spacing: -0.5px; }
h2 { font-size: clamp(26px, 4vw, 36px); }
h3 { font-size: 20px; }
.lead { font-size: clamp(18px, 2.4vw, 21px); color: var(--muted); font-weight: 600; max-width: 620px; }
.eyebrow { display: inline-block; font-weight: 900; font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
  background: var(--k); color: var(--y); padding: 4px 10px; border-radius: 6px; margin-bottom: 14px; }

/* Hero */
.hero { background: var(--y); border-bottom: 3px solid var(--k); padding: 48px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: end; }
.hero .lead { color: var(--k); }
.hero-copy { padding-bottom: 48px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 18px;
  border: 3px solid var(--k); border-radius: 12px; padding: 14px 22px; background: var(--k); color: #fff;
}
.btn.ghost { background: transparent; color: var(--k); }
.btn.soon { background: #fff; color: var(--k); cursor: default; }
.btn .store-live { display: none; }
.btn:not(.soon) .store-live { display: inline; }
.btn:not(.soon) .store-soon { display: none; }
.btn svg { width: 22px; height: 22px; }
.note { font-size: 14px; font-weight: 700; margin-top: 12px; }

/* Teléfonos con capturas reales */
.phones { display: flex; justify-content: center; gap: 16px; align-items: flex-end; }
.phone {
  width: 250px; border: 8px solid var(--k); border-bottom: 0; border-radius: 36px 36px 0 0;
  overflow: hidden; background: #fff; box-shadow: 0 -4px 0 rgba(0,0,0,0.08);
}
.phone img { width: 100%; height: auto; }
.phone.small { width: 210px; margin-bottom: -40px; }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.step { border: 3px solid var(--k); border-radius: var(--radius); padding: 22px; }
.step .n {
  width: 44px; height: 44px; border-radius: 50%; background: var(--y); border: 3px solid var(--k);
  display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 20px; margin-bottom: 12px;
}
.step p { margin: 0; color: var(--muted); font-weight: 600; }

/* Muestra: cálculo → cotización → PDF */
.show { background: var(--y-soft); border-top: 3px solid var(--k); border-bottom: 3px solid var(--k); }
.show-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; align-items: start; }
.shot { border: 3px solid var(--k); border-radius: 22px; overflow: hidden; background: #fff; }
.shot figcaption { font-weight: 800; padding: 10px 14px; border-top: 3px solid var(--k); background: #fff; font-size: 15px; }
.shot.paper img { padding: 10px; background: #f3f3f3; }

/* Funciones */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.feature { border: 2px solid var(--line); border-radius: var(--radius); padding: 20px; }
.feature .ic {
  width: 46px; height: 46px; border-radius: 12px; background: var(--y); border: 2px solid var(--k);
  display: flex; align-items: center; justify-content: center; margin-bottom: 10px;
}
.feature .ic svg { width: 26px; height: 26px; }
.feature p { margin: 0; color: var(--muted); font-weight: 600; font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { border: 2px solid var(--k); border-radius: 999px; padding: 4px 12px; font-weight: 800; font-size: 14px; }

/* Precio */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; max-width: 820px; }
.plan { border: 3px solid var(--k); border-radius: var(--radius); padding: 24px; }
.plan.pro { background: var(--k); color: #fff; }
.plan.pro .tag { background: var(--y); color: var(--k); }
.plan .tag { display: inline-block; font-weight: 900; font-size: 13px; padding: 3px 10px; border-radius: 6px; background: var(--y); border: 2px solid var(--k); margin-bottom: 10px; }
.plan ul { padding-left: 20px; margin: 10px 0 0; font-weight: 600; }
.plan li { margin-bottom: 6px; }

/* FAQ */
details { border: 2px solid var(--k); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
summary { font-weight: 900; cursor: pointer; font-size: 18px; }
details p { margin: 10px 0 0; color: var(--muted); font-weight: 600; }

/* Documentos legales / soporte */
.doc { max-width: 760px; margin: 0 auto; padding: 40px 16px 64px; }
.doc h1 { font-size: clamp(30px, 5vw, 40px); }
.doc h2 { font-size: 21px; margin-top: 30px; }
.doc p, .doc li { font-size: 16px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.updated { color: var(--muted); font-weight: 700; font-size: 14px; }
.box { background: var(--y-soft); border: 2px solid var(--k); border-radius: 12px; padding: 16px 18px; margin: 18px 0; }
.box ul { margin: 6px 0 0; }
table.data { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
table.data th, table.data td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
table.data th { background: var(--k); color: #fff; }

/* Footer */
footer { border-top: 3px solid var(--k); padding: 32px 0 40px; background: var(--k); color: #fff; }
footer a { color: #fff; font-weight: 700; margin-right: 16px; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center; }
.foot small { color: #cfcfcf; }

/* ---------- Teléfono ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 8px; }
  .phone { width: 200px; }
  .phone.small { width: 170px; }
  .steps, .show-grid, .features, .plans { grid-template-columns: 1fr; }
  .show-grid { max-width: 420px; }
  .nav { gap: 12px; }
  .nav a { font-size: 14px; }
}
@media (max-width: 420px) {
  .phone.small { display: none; }
  .phone { width: 230px; }
  section { padding: 44px 0; }
}
