/* ============================================================
   AURIS — analysis, value, models, closing
   ============================================================ */

/* ---------- "why it matters" inline note ---------- */
.why {
  margin-top: 26px;
  display: flex;
  gap: 14px;
  align-items: baseline;
  max-width: 56ch;
}
.why .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 2px;
}
.why p { font-size: clamp(15px,1.1vw,18px); color: var(--ink); line-height: 1.45; }
.why p strong { color: var(--accent-glow); font-weight: 700; }

/* ---------- ANALYSIS spotlight (etapa 07) ---------- */
.analysis { overflow: hidden; }
.analysis-head { max-width: 30ch; margin-bottom: clamp(40px, 5vw, 70px); }
.analysis-head .eyebrow { margin-bottom: 24px; }
.analysis-head h2 { font-size: var(--fs-h2); }
.analysis-head h2 em { font-family: var(--font-serif); font-style: italic; color: var(--accent-glow); }

.steps7 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  counter-reset: s7;
}
.s7 {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px 24px;
  background: color-mix(in oklab, var(--wine) 40%, transparent);
  position: relative;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  transition: border-color .4s, transform .4s, background .4s;
}
.s7:hover { border-color: color-mix(in oklab, var(--accent) 45%, transparent); transform: translateY(-4px); background: color-mix(in oklab, var(--accent) 8%, var(--wine)); }
.s7 .n {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: auto;
}
.s7 h4 { font-size: clamp(17px, 1.3vw, 21px); font-weight: 700; letter-spacing: -0.02em; margin-top: 18px; }
.s7 p { font-size: 13.5px; color: var(--ink-dim); line-height: 1.45; margin-top: 8px; }
.s7.super {
  background: linear-gradient(135deg, var(--wine-mid), var(--wine));
  border-color: color-mix(in oklab, var(--accent-glow) 55%, transparent);
  box-shadow: 0 0 50px color-mix(in oklab, var(--accent) calc(20% * var(--glow-strength)), transparent);
}
.s7.super .n, .s7.super h4 { color: var(--accent-glow); }
.s7.super h4 { text-shadow: 0 0 24px color-mix(in oklab, var(--accent-glow) 50%, transparent); }
.s7.super p { color: var(--cream); }
@media (max-width: 900px){ .steps7 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px){ .steps7 { grid-template-columns: 1fr; } .s7 { min-height: 0; } }

.scopes {
  margin-top: 22px;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.scope {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  color: var(--ink-dim);
}

/* ---------- PRODUCT FRAME (image-slot) ---------- */
.product {
  margin-top: clamp(40px, 5vw, 64px);
  position: relative;
}
.frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: color-mix(in oklab, var(--wine) 60%, var(--wine-deep));
  box-shadow: 0 40px 120px color-mix(in oklab, var(--wine-deep) 80%, #000), 0 0 80px color-mix(in oklab, var(--accent) calc(12% * var(--glow-strength)), transparent);
}
.frame-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
}
.frame-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.frame-bar .addr {
  margin-left: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}
.frame image-slot { width: 100%; height: clamp(280px, 42vw, 580px); display: block; }

/* ---------- VALUE PILLARS ---------- */
.pillars-head { max-width: 22ch; margin-bottom: clamp(40px,5vw,72px); }
.pillars-head h2 { font-size: var(--fs-h2); }
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.pillar {
  background: var(--wine-deep);
  padding: clamp(28px, 3vw, 44px);
  min-height: 230px;
  display: flex;
  flex-direction: column;
  transition: background .4s;
}
.pillar:hover { background: color-mix(in oklab, var(--accent) 7%, var(--wine-deep)); }
.pillar .pn {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: auto;
}
.pillar h3 { font-size: clamp(24px, 2.4vw, 38px); font-weight: 700; margin-top: 30px; letter-spacing: -0.03em; }
.pillar p { color: var(--ink-dim); margin-top: 12px; font-size: clamp(15px,1.05vw,17px); line-height: 1.45; }
.pillar p b { color: var(--cream); font-weight: 700; }
@media (max-width: 880px){ .pillars { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px){ .pillars { grid-template-columns: 1fr; } .pillar { min-height: 0; } }

/* ---------- COMMERCIAL MODELS ---------- */
.models-head { text-align: center; max-width: 26ch; margin: 0 auto clamp(44px,5vw,72px); }
.models-head h2 { font-size: var(--fs-h2); }
.models {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.model {
  border-radius: 24px;
  padding: clamp(30px, 3.4vw, 52px);
  border: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.model.enxuto { background: color-mix(in oklab, var(--wine) 55%, var(--wine-deep)); }
.model.completo {
  background: linear-gradient(160deg, var(--wine-mid), var(--wine));
  border-color: color-mix(in oklab, var(--accent) 40%, transparent);
}
.model.completo::after {
  content: "";
  position: absolute; inset: -40% -20% auto auto; width: 60%; height: 90%;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent-glow) calc(18% * var(--glow-strength)), transparent), transparent 70%);
  pointer-events: none;
}
.model .mtag {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
}
.model.completo .mtag { color: var(--accent-glow); }
.model h3 { font-size: clamp(26px, 2.6vw, 40px); font-weight: 700; letter-spacing: -0.03em; }
.model .mlead { font-family: var(--font-serif); font-style: italic; font-size: clamp(19px,1.6vw,26px); color: var(--accent-glow); margin-top: 12px; line-height: 1.1; }
.model .mdesc { color: var(--ink-dim); margin-top: 18px; font-size: clamp(15px,1.05vw,17px); line-height: 1.5; position: relative; z-index: 2; }
.model ul { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 13px; position: relative; z-index: 2; }
.model li { display: flex; gap: 12px; align-items: baseline; font-size: clamp(14.5px,1vw,16px); color: var(--cream); }
.model li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; transform: translateY(-1px); }
.model.completo li::before { background: var(--accent-glow); box-shadow: 0 0 8px var(--accent-glow); }
.model .mfoot { margin-top: auto; padding-top: 30px; position: relative; z-index: 2; }
@media (max-width: 760px){ .models { grid-template-columns: 1fr; } }

/* ---------- CLOSING ---------- */
.closing {
  text-align: center;
  min-height: 92svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.closing .aura {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, color-mix(in oklab, var(--accent) calc(24% * var(--glow-strength)), transparent), transparent 65%);
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe { 0%,100%{ transform: scale(1); opacity:.7;} 50%{ transform: scale(1.12); opacity:1;} }
.closing .wrap { position: relative; z-index: 2; }
.closing h2 {
  font-size: clamp(34px, 5.4vw, 82px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 400;
  max-width: 16ch;
  margin-inline: auto;
}
.closing h2 .serif { display: block; color: var(--accent-glow); font-size: 0.96em; line-height: 1.18; margin-top: 0.14em; padding-bottom: 0.12em; }
.closing .lead { margin: 52px auto 0; max-width: 40ch; }
.closing .hero-cta { justify-content: center; margin-top: 44px; }

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 50px 60px;
}
.footer .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.footer .fnote {
  max-width: 52ch;
  font-size: 13px;
  color: var(--ink-faint);
  line-height: 1.55;
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
}
.footer .brand { display: flex; align-items: center; gap: 12px; }
.footer .brand .x { color: var(--ink-faint); font-size: 13px; }
@media (max-width: 640px){ .footer .wrap { flex-direction: column; align-items: flex-start; } }

/* ---------- serif-led headline variant (tweak) ---------- */
body[data-serif-led] .hero h1,
body[data-serif-led] .manifesto .big,
body[data-serif-led] .flow-head h2,
body[data-serif-led] .analysis-head h2,
body[data-serif-led] .closing h2,
body[data-serif-led] .pillars-head h2,
body[data-serif-led] .models-head h2,
body[data-serif-led] .position-statement .big {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.0;
}
body[data-serif-led] .hero h1 .serif,
body[data-serif-led] .closing h2 .serif { font-style: normal; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-aura, .closing .aura, .wordmark .dot, .hero-meta .scroll-cue .bar { animation: none; }
}
