/* Més Que Finestres — landing "precio de fábrica".
 *
 * Hoja independiente y deliberadamente corta: la página tiene una sola pantalla
 * comercial y dos bloques de refuerzo. No carga `styles.css` (esa hoja monta la
 * barra lateral de la web) y repite los mismos tokens de marca que el resto del
 * sitio para que el negro, el blanco cálido y el mostaza sean idénticos.
 *
 * Regla de la página: un único elemento clicable comercial, `.lp-cta`. El enlace
 * de montaje, los legales del pie y los botones de idioma son texto discreto y
 * no compiten con él.
 */

:root {
  --black: oklch(15% 0.004 90);
  --black-soft: oklch(21% 0.006 90);
  --line: oklch(29% 0.008 90);
  --gold: oklch(78% 0.16 82);
  --gold-deep: oklch(68% 0.15 78);
  --paper: oklch(95.5% 0.005 250);
  --paper-warm: oklch(97% 0.008 90);
  --muted: oklch(65% 0.006 250);
  --muted-dark: oklch(48% 0.006 250);
  --shell: min(1240px, 100%);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--black);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

.skip-link {
  position: absolute;
  z-index: 60;
  top: -60px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 4px;
  background: var(--gold);
  color: var(--black);
  font-weight: 800;
  transition: top 0.15s ease;
}

.skip-link:focus-visible {
  top: 12px;
}

:where(a, button, summary):focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ---------------------------------------------------------------- topbar */

.lp-topbar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px clamp(16px, 4vw, 48px) 0;
  background: var(--black);
}

.lp-logo {
  display: block;
  width: clamp(64px, 7vw, 92px);
  height: clamp(64px, 7vw, 92px);
  flex: none;
  border-radius: 12px;
  overflow: hidden;
  background: var(--black);
}

.lp-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lp-langs {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--black-soft);
}

.lp-langs button {
  min-width: 32px;
  padding: 5px 7px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.lp-langs button:hover {
  color: var(--paper);
}

.lp-langs button.active {
  background: oklch(29% 0.008 90);
  color: var(--paper);
}

/* ------------------------------------------------------------------ hero */

.lp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(20px, 3.2vw, 44px);
  padding: clamp(8px, 1.4vh, 20px) clamp(16px, 4vw, 48px) clamp(26px, 3.4vh, 48px);
  background:
    radial-gradient(120% 90% at 78% 8%, oklch(26% 0.02 84) 0%, transparent 58%),
    var(--black);
  color: var(--paper);
}

.lp-eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: clamp(11px, 1.4vw, 12.5px);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lp-hero__title {
  margin: 0;
  font-family: "Anton", "Inter", sans-serif;
  font-size: clamp(32px, 5vw, 66px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
  /* Títulos largos en CA/FR: nunca deben desbordar en 320px. */
  overflow-wrap: break-word;
}

.lp-brush {
  margin: 8px 0 12px;
  width: min(250px, 56%);
  opacity: 0.85;
}

.lp-brush img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) saturate(100%) invert(72%) sepia(48%) saturate(1050%) hue-rotate(2deg) brightness(96%);
}

.lp-hero__sub {
  margin: 0 0 22px;
  max-width: 52ch;
  color: oklch(88% 0.006 250);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.5;
}

/* El único CTA de la página. */
.lp-cta {
  display: inline-flex;
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
  max-width: 100%;
  padding: clamp(16px, 2.4vw, 22px) clamp(18px, 3vw, 42px);
  border: 3px solid var(--black);
  border-radius: 4px;
  background: var(--gold);
  box-shadow: 7px 7px 0 var(--paper), 0 20px 42px -16px oklch(78% 0.16 82 / 0.95);
  color: var(--black);
  font-family: "Anton", "Inter", sans-serif;
  font-size: clamp(17px, 2.2vw, 28px);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.15;
  text-decoration: none;
  text-transform: uppercase;
  overflow-wrap: break-word;
  transition: transform 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.lp-cta:hover {
  background: var(--gold-deep);
  box-shadow: 9px 9px 0 var(--paper), 0 24px 46px -16px oklch(78% 0.16 82 / 1);
  transform: translate(-2px, -2px);
}

.lp-cta:active {
  transform: translateY(0);
}

.lp-cta__arrow {
  flex: none;
  font-size: 1.35em;
  line-height: 1;
}

.lp-cta__note {
  margin: 12px 0 0;
  max-width: 46ch;
  color: var(--muted);
  font-size: 13px;
}

/* promoción vigente (visibilidad y textos: promotion.js) */

.lp-promo {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  margin-top: 18px;
  padding: 10px 14px;
  border: 1px dashed oklch(78% 0.16 82 / 0.55);
  border-radius: 4px;
  background: oklch(78% 0.16 82 / 0.08);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lp-promo[hidden] {
  display: none;
}

.lp-promo b {
  color: var(--gold);
  font-weight: 800;
}

.lp-promo__discount {
  color: var(--gold);
  font-family: "Anton", "Inter", sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.lp-promo span {
  color: var(--paper);
}

.lp-promo em {
  color: var(--muted);
  font-style: normal;
}

.lp-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.lp-trust li {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: oklch(86% 0.006 250);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.lp-trust li::before {
  content: "▪";
  margin-right: 8px;
  color: var(--gold);
}

/* escena: la foto de la casa con ventanas de calidad */

.lp-hero__scene {
  display: flex;
  align-items: stretch;
  min-width: 0;
}

.lp-house-frame {
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--black-soft);
}

.lp-house-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

/* --------------------------------------------------- por qué cuesta menos */

.lp-band {
  padding: clamp(40px, 6vw, 76px) clamp(16px, 4vw, 48px);
  background: var(--paper-warm);
}

.lp-band__inner {
  width: var(--shell);
  margin: 0 auto;
  max-width: 980px;
}

.lp-band .lp-eyebrow {
  color: var(--gold-deep);
}

.lp-h2 {
  margin: 0 0 12px;
  font-family: "Anton", "Inter", sans-serif;
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.lp-lead {
  margin: 0;
  max-width: 68ch;
  color: var(--muted-dark);
  font-size: clamp(14.5px, 1.5vw, 16.5px);
}

.lp-figures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: clamp(24px, 3vw, 34px);
}

.lp-figures article {
  padding: 18px 18px 20px;
  border: 1px solid oklch(86% 0.006 250);
  border-top: 4px solid var(--gold-deep);
  border-radius: 4px;
  background: var(--paper);
}

.lp-figures strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15.5px;
  letter-spacing: 0.01em;
}

.lp-figures span {
  color: var(--muted-dark);
  font-size: 14.5px;
}

/* ----------------------------------------------------------- siguiente paso */

.lp-next {
  padding: clamp(36px, 5vw, 64px) clamp(16px, 4vw, 48px) clamp(12px, 2vw, 20px);
}

.lp-next__inner {
  width: var(--shell);
  max-width: 980px;
  margin: 0 auto;
}

.lp-next .lp-eyebrow {
  color: var(--gold-deep);
}

.lp-next .lp-lead b {
  color: var(--black);
  font-weight: 800;
}

/* ------------------------------------------------------- montaje (discreto) */

.lp-install {
  width: var(--shell);
  max-width: 980px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px) clamp(36px, 5vw, 64px);
}

.lp-install__text {
  margin: 0;
  max-width: 68ch;
  color: var(--muted-dark);
  font-size: 13.5px;
}

.lp-install__link {
  color: var(--muted-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lp-install__link:hover {
  color: var(--black);
}

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

.lp-footer {
  padding: 30px clamp(16px, 4vw, 48px) 36px;
  background: var(--black);
  color: oklch(72% 0.006 250);
  font-size: 13px;
  text-align: center;
}

.lp-footer p {
  margin: 0 0 6px;
}

.lp-footer__brand {
  color: var(--paper);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lp-footer__legal {
  margin-top: 14px;
}

.lp-footer__legal a {
  margin: 0 8px;
  color: var(--muted);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lp-footer__legal a:hover {
  color: var(--paper);
}

/* -------------------------------------------------------------- responsive */

@media (max-width: 900px) {
  .lp-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  /* La foto baja por debajo del CTA: en móvil el botón debe verse sin scroll. */
  .lp-hero__scene {
    order: 2;
  }

  .lp-house-photo {
    max-height: 46vh;
  }
}

@media (max-width: 620px) {
  .lp-cta {
    width: 100%;
    justify-content: space-between;
    box-shadow: 5px 5px 0 var(--paper);
  }

  .lp-trust li {
    font-size: 11.5px;
  }
}

@media (max-width: 380px) {
  .lp-topbar {
    padding-top: 6px;
  }

  .lp-hero__title {
    font-size: 30px;
  }

  .lp-cta {
    font-size: 16px;
    padding: 15px 16px;
  }
}
