/* Lifeworld Labs: hoja de estilo única del rediseño del 2026-11-04.
   Una página, negro casi puro sobre blanco y el naranja de la marca como acento.
   Los grises son neutros (los tres canales iguales): nada que se lea como crema. */

:root {
  --paper:      #ffffff;
  --ink:        #141414;
  --ink-soft:   #4a4a4a;
  --ink-faint:  #b5b5b5;
  --rule:       #e6e6e6;
  --accent:     #f25c1e;
  --accent-dark:#d14d12;
  --on-ink:     #ffffff;
  --foot:       #141414;
  --foot-text:  #ffffff;
  --foot-faint: #b5b5b5;
  --field:      #ffffff;
  --sans: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --shell: 1180px;
  --gutter: clamp(16px, 2.5vw, 32px);
}

/* Modo oscuro: los mismos grises neutros invertidos y el naranja más claro de la marca. */
@media (prefers-color-scheme: dark) {
  :root {
    --paper:      #141414;
    --ink:        #f2f2f2;
    --ink-soft:   #b0b0b0;
    --ink-faint:  #787878;
    --rule:       #2b2b2b;
    --accent:     #ff6b2c;
    --accent-dark:#ff8a55;
    --on-ink:     #141414;
    --foot:       #000000;
    --foot-text:  #f2f2f2;
    --foot-faint: #8a8a8a;
    --field:      #1c1c1c;
  }
  .btn:hover { background: #ffffff; }
  .btn--invert { background: #1c1c1c; color: var(--ink); }
  .btn--invert:hover { background: #2b2b2b; color: var(--ink); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0; }

/* ---------- botón ---------- */

.btn {
  display: inline-block;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  padding: 12px 22px;
  border: 0;
  border-radius: 6px;
  background: var(--ink);
  color: var(--on-ink);
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: #000; color: var(--on-ink); }
.btn--invert { background: var(--paper); color: var(--ink); padding: 14px 26px; }
.btn--invert:hover { background: #f2f2f2; color: var(--ink); }
.btn:disabled { opacity: .5; cursor: default; }

/* ---------- cabecera ---------- */

.masthead { padding-top: 36px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.logo { display: inline-block; text-decoration: none; }
.logo img { display: block; height: 24px; width: auto; }
.masthead__links { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.masthead__mail { text-decoration: none; font-size: 15px; font-weight: 600; }

/* ---------- portada ---------- */

.hero { padding: clamp(72px, 10vw, 140px) var(--gutter) clamp(64px, 8vw, 120px); display: flex; flex-direction: column; gap: 36px; }
.hero h1 {
  max-width: 1080px;
  font-size: clamp(42px, 1rem + 5.6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.accent { color: var(--accent); }

/* Las frases de portada van apiladas en la misma celda: el bloque mide lo que mide la más
   larga y nada salta cuando cambian. Sin el guion queda la primera. */
.hero__title { display: grid; }
.hero__line { grid-area: 1 / 1; opacity: 0; transition: opacity 700ms ease; }
.hero__line[data-active] { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero__line { transition: none; } }
/* Salto de línea solo en pantallas anchas: en el celular la frase corta sola. */
.br-wide { display: none; }
@media (min-width: 700px) { .br-wide { display: inline; } }
.lede { max-width: 640px; font-size: clamp(18px, 1rem + 0.4vw, 20px); line-height: 1.55; font-weight: 500; color: var(--ink-soft); }

/* ---------- tres columnas ---------- */

.offer { padding-bottom: clamp(72px, 9vw, 130px); display: flex; flex-wrap: wrap; gap: 48px; }
.offer__item { flex: 1 1 300px; min-width: 0; border-top: 3px solid var(--ink); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.offer__item h2 { font-size: 24px; }
.offer__item p { font-size: 16px; line-height: 1.6; color: var(--ink-soft); }

/* ---------- productos ---------- */

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }

.products { padding-bottom: clamp(72px, 9vw, 130px); display: flex; flex-direction: column; gap: 28px; }
.products__intro { max-width: 740px; font-size: 28px; line-height: 1.4; font-weight: 600; letter-spacing: -0.015em; text-wrap: pretty; }
.products__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0 48px; border-top: 1px solid var(--rule); }
.product { display: flex; flex-direction: column; gap: 6px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.product h3 { font-size: 20px; letter-spacing: -0.01em; }
.product p { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.product a { align-self: flex-start; margin-top: 4px; font-size: 14px; font-weight: 700; text-decoration: none; }
.product a::after { content: ' \2192'; }
.product a:hover { text-decoration: underline; text-underline-offset: 4px; }
.product span.product__quiet { margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--ink-faint); }

/* ---------- el estudio ---------- */

.studio { padding-bottom: clamp(72px, 9vw, 130px); display: flex; flex-direction: column; gap: 18px; }
.studio p { max-width: 740px; font-size: clamp(22px, 1rem + 1vw, 28px); line-height: 1.4; font-weight: 600; letter-spacing: -0.015em; text-wrap: pretty; }
.studio a { color: inherit; }

/* ---------- pie ---------- */

.colophon { margin-top: auto; background: var(--foot); color: var(--foot-text); }
.colophon__in { padding-top: 64px; padding-bottom: 52px; display: flex; flex-direction: column; gap: 36px; }
.colophon__top { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.colophon__mail { text-decoration: none; font-size: clamp(22px, 1rem + 1.4vw, 34px); font-weight: 700; letter-spacing: -0.015em; color: var(--foot-text); overflow-wrap: anywhere; }
.colophon__mail:hover { color: var(--accent); }
.colophon__legal { display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: space-between; font-size: 13px; color: var(--foot-faint); }
.colophon__legal a { color: var(--foot-faint); }
.colophon__legal a:hover { color: var(--foot-text); }

/* ---------- página de privacidad ---------- */

.plain { padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(72px, 9vw, 130px); display: flex; flex-direction: column; gap: 40px; }
.plain h1 { font-size: clamp(36px, 1rem + 3.5vw, 56px); letter-spacing: -0.03em; line-height: 1.05; }
.plain section { max-width: 640px; display: flex; flex-direction: column; gap: 12px; }
.plain h2 { font-size: 22px; }
.plain p { color: var(--ink-soft); line-height: 1.6; }
.plain p + p { margin-top: 10px; }

/* ---------- modal "Book a call" ---------- */

.bc-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; padding: 16px; overflow-y: auto; }
.bc-overlay[hidden] { display: none; }
body.bc-open { overflow: hidden; }
.bc-modal { position: relative; width: 100%; max-width: 520px; max-height: 100%; overflow-y: auto; background: var(--paper); color: var(--ink); padding: 30px 28px 28px; border-radius: 8px; }
.bc-modal h2 { font-size: 26px; margin-bottom: 6px; padding-right: 36px; }
.bc-modal .bc-intro { font-size: 15px; color: var(--ink-soft); margin-bottom: 8px; }
.bc-close { position: absolute; top: 10px; right: 14px; background: none; border: 0; font: inherit; font-size: 32px; line-height: 1; cursor: pointer; color: var(--ink); }
.bc-modal label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin: 14px 0 5px; }
.bc-modal input, .bc-modal textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--field); border: 1px solid var(--ink); border-radius: 6px; padding: 10px 12px; }
.bc-modal textarea { resize: vertical; }
.bc-modal input:focus, .bc-modal textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.bc-trap { position: absolute; left: -9999px; width: 1px; height: 1px; }
.bc-status { margin-top: 14px; font-size: 15px; font-weight: 700; }
.bc-status.error { color: #c0392b; }
.bc-modal .btn { margin-top: 20px; }

::selection { background: var(--accent); color: var(--on-ink); }
