/* ==========================================================================
   Lumia — product section
   Shared by every Lumia product page (/lumia/<slug>). Layered on top of althem.css + lumia.css; every
   colour, radius and easing here comes from those tokens.
   ========================================================================== */

/* The Lumia prototype runs a wider shell than the Althem pages. */
.wrap { max-width: 1280px; }
.site-header__bar { max-width: 1560px; }
@media (max-width: 600px) { body.lumia { font-size: 16px; } }

/* ---------- Header ---------- */

.site-nav { flex-wrap: wrap; row-gap: 10px; }
.site-nav a { color: var(--ink); font-weight: 500; }
.site-nav a:hover { color: var(--lumia-hover); }
body.lumia .site-nav a[aria-current="page"]:not(.btn) { color: var(--lumia); font-weight: 600; }
/* The prototype seats the module tabs next to the logotype and pushes the CTA right. */
@media (min-width: 901px) {
  .site-nav { flex: 1 1 auto; justify-content: flex-start; gap: clamp(14px, 1.6vw, 26px); }
  .site-nav .btn { margin-left: auto; }
}

.band { border-bottom: 1px solid var(--border); }
.band--white { background: var(--surface); }

/* ---------- Hero ---------- */

.hero { padding-block: clamp(48px, 7vw, 72px); background: var(--surface); }
/* When the hero carries a screenshot, the frame runs into the section rule. */
.hero--shot { padding-block: clamp(48px, 7vw, 72px) 0; }
.hero h1 { max-width: 900px; margin: 0; text-wrap: balance; }
.hero__lead { font-size: 17.5px; color: var(--ink-2); margin: 22px 0 0; max-width: 640px; text-wrap: pretty; }
.hero .btn-row { margin-top: 30px; }
.hero .eyebrow { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 6px; }
a.eyebrow:hover { color: var(--lumia-hover); }

.shot-frame {
  margin-top: clamp(36px, 5vw, 52px); overflow: hidden;
  border: 1px solid var(--border-strong); border-bottom: none;
  border-radius: 12px 12px 0 0; background: var(--surface); padding: 8px 8px 0;
}
.shot-frame img { display: block; width: 100%; height: auto; }

/* ---------- Module cards (index and "Otros módulos") ---------- */

.modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; margin-top: 32px; }
.module-card {
  display: block; border-radius: 10px; padding: 24px; color: var(--ink);
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease);
}
.module-card:hover { background: var(--surface-2); border-color: var(--border-strong); color: var(--ink); }
.module-card__label {
  display: block; margin: 0;
  font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.02em;
}
.module-card__hint { display: block; margin: 8px 0 0; font-size: 14.5px; color: var(--ink-2); }

/* ---------- Module blocks ---------- */

.mod__blocks { display: flex; flex-direction: column; gap: clamp(48px, 6vw, 80px); }
.split { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
.split h2 { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.14; margin: 0; }
.split p { font-size: 16px; margin: 16px 0 0; text-wrap: pretty; }
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Alternating rows: on wide screens the shot leads, on mobile the copy does. */
  .split--flip > .split__media { order: -1; }
}

.bullets { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--border); }
.bullets li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 13px 0; border-bottom: 1px solid var(--border);
  font-size: 15px; color: var(--ink);
}
.bullets li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lumia); margin-top: 8px; flex-shrink: 0; }

.mod__more { margin-top: clamp(48px, 6vw, 72px); }
.mod__more h2, .others h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 0; }
.bullets--cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 0 40px; border-top: none; }
.bullets--cols li { padding: 15px 0; }
.bullets--cols li::before { background: var(--ink-3-decor); }

.others .module-card__label { font-size: 17px; }

/* ---------- Closing call to action ---------- */

.closing { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.closing h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.1; margin: 0; }
.closing p { font-size: 16.5px; margin: 16px 0 0; max-width: 480px; }

/* ---------- Footer ---------- */

/* Touch targets: the logotype is a link too. */
.logotype { min-height: 44px; }

/* The WhatsApp capture is a portrait phone screenshot; at full column width it
   would tower over the copy beside it. */
.shot--portrait { max-width: 340px; margin-inline: auto; background: var(--surface); }
