:root {
  --bg-2: #f5f5f7;
  --bg-3: #ececef;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --accent-2: #ff2a3a;
  --accent-glow: rgba(228, 18, 31, 0.35);
}

   BUTTONS
   ========================================================= */
.button-primary, .button-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  will-change: transform;
}
.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 30px -10px var(--accent-glow);
}
.button-primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -12px var(--accent-glow);
}
.button-ghost {
  background: rgba(0,0,0,0.03);
  border: 1px solid var(--line);
  color: var(--text);
}
.button-ghost:hover {
  background: rgba(0,0,0,0.06);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.button-primary.lg, .button-ghost.lg {
  padding: 16px 26px;
  font-size: 14px;
}

/* =========================================================

   CUSTOM CURSOR
   ========================================================= */
.cursor {
  position: fixed; left: 0; top: 0;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(0,0,0,0.55);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s var(--ease);
  mix-blend-mode: difference;
  filter: drop-shadow(0 0 2px rgba(255,255,255,0.4));
}
.cursor-dot {
  position: absolute; left: 0; top: 0;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.15s var(--ease), height 0.15s var(--ease), background 0.15s var(--ease);
  filter: drop-shadow(0 0 2px rgba(0,0,0,0.5));
}
.cursor.is-hover .cursor-ring { width: 56px; height: 56px; border-color: var(--accent); }
.cursor.is-hover .cursor-dot { background: #fff; }
.cursor.is-click .cursor-ring { width: 18px; height: 18px; border-color: var(--accent); transition: width 0.08s, height 0.08s; }
.cursor.is-click .cursor-dot { width: 10px; height: 10px; background: var(--accent); }
@media (max-width: 900px) { .cursor { display: none; } }

/* =========================================================

/* =========================================================
   SOLUCIONES POR PROBLEMA · aislamiento.html
   Plantilla reutilizable para las páginas de solución.
   ========================================================= */
.sol-section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 110px) var(--pad);
  border-bottom: 1px solid var(--line);
}
.sol-section--last { border-bottom: 0; }

.sol-head { margin-bottom: clamp(34px, 4vw, 56px); }
.sol-head h2,
.sol-tri-col > h2,
.sol-split-copy h2,
.sol-benefits-copy h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3.2vw, 42px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 18px;
  max-width: 15ch;
}
.sol-head h2 em,
.sol-tri-col > h2 em,
.sol-split-copy h2 em,
.sol-benefits-copy h2 em { font-style: normal; color: var(--accent); }
.sol-split-copy h2,
.sol-tri-col > h2 { font-size: clamp(21px, 2.2vw, 32px); max-width: 12ch; }
.sol-head h2::after,
.sol-tri-col > h2::after,
.sol-split-copy h2::after,
.sol-benefits-copy h2::after {
  content: "";
  display: block;
  width: 34px; height: 2px;
  background: var(--accent);
  margin-top: 16px;
}

/* ---------- HERO ---------- */
.sol-hero {
  display: grid;
  grid-template-columns: minmax(360px, 45%) 1fr;
  align-items: stretch;
  padding-top: 78px;
  border-bottom: 1px solid var(--line);
}
.sol-hero-copy {
  padding: clamp(48px, 6vw, 86px) clamp(28px, 4vw, 56px) clamp(48px, 6vw, 86px)
           max(var(--pad), calc((100vw - var(--maxw)) / 2 + var(--pad)));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.sol-hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 50px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 18px 0 26px;
  max-width: 100%;
  overflow-wrap: break-word;
}
.sol-hero-copy h1 em { font-style: normal; color: var(--accent); display: block; }
.sol-hero-lead {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.5;
  margin: 0 0 18px;
  max-width: 30ch;
}
.sol-hero-sub {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 34px;
  max-width: 34ch;
}
.sol-hero-copy .button-primary { align-self: flex-start; text-transform: uppercase; letter-spacing: 0.06em; }
.sol-hero-media { position: relative; overflow: hidden; min-height: 420px; }
.sol-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* ---------- SÍNTOMAS ---------- */
.sol-symptoms {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(14px, 1.6vw, 26px);
}
.sol-symptom { margin: 0; }
.sol-symptom img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  transition: filter 0.4s var(--ease), border-color 0.4s var(--ease);
}
.sol-symptom:hover img { filter: saturate(1.08) contrast(1.03); border-color: var(--line-strong); }
.sol-symptom figcaption { padding-top: 16px; border-top: 1px solid var(--line); margin-top: 14px; }
.sol-symptom-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  display: block;
  margin-bottom: 10px;
}
.sol-symptom:hover .sol-symptom-num { color: var(--accent); }
.sol-symptom p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text-muted); }

/* ---------- QUÉ ESTÁ OCURRIENDO ---------- */
.sol-split { display: grid; grid-template-columns: minmax(270px, 0.95fr) 2fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.sol-split-copy p { color: var(--text-muted); font-size: 15px; line-height: 1.65; margin: 0 0 16px; max-width: 42ch; }
.sol-split-media { margin: 0; }
.sol-split-media img { width: 100%; border: 1px solid var(--line); }

/* ---------- TRI: por qué / error / cómo ---------- */
.sol-tri { display: grid; grid-template-columns: 1.08fr 1fr 0.92fr; gap: 0; }
.sol-tri-col { padding: 0 clamp(20px, 2.4vw, 38px); }
.sol-tri-col:first-child { padding-left: 0; }
.sol-tri-col:last-child { padding-right: 0; }
.sol-tri-col + .sol-tri-col { border-left: 1px solid var(--line); }

/* rueda de factores */
.sol-wheel { width: 100%; height: auto; display: block; margin: 6px 0 20px; }
.sol-wheel-ring { fill: none; stroke: var(--line-strong); stroke-width: 1.5; }
.sol-wheel-core { fill: #14141b; }
.sol-wheel-wave rect { fill: var(--accent); opacity: 0.9; }
.sol-wheel-node rect:first-child { fill: var(--bg); stroke: var(--line-strong); stroke-width: 1.5; }
.sol-wheel-node .ico { fill: none; stroke: #14141b; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sol-wheel-node .ico rect { fill: none; }
.sol-wheel-label text {
  font-family: var(--font-sans);
  font-size: 34px;
  font-weight: 500;
  fill: var(--text);
}
.sol-note {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
  max-width: 40ch;
}

/* tarjetas de error */
.sol-myth {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 18px;
  margin-bottom: 18px;
}
.sol-myth:last-child { margin-bottom: 0; }
.sol-myth header { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.sol-myth-badge { flex-shrink: 0; width: 26px; height: 26px; display: block; }
.sol-myth-badge svg { width: 100%; height: 100%; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sol-myth.is-wrong .sol-myth-badge svg circle { fill: var(--accent); stroke: none; }
.sol-myth.is-wrong .sol-myth-badge svg path { stroke: #fff; }
.sol-myth.is-right .sol-myth-badge svg circle { fill: #1f9254; stroke: none; }
.sol-myth.is-right .sol-myth-badge svg path { stroke: #fff; }
.sol-myth h3 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
  margin: 3px 0 0;
}
.sol-myth.is-wrong h3 { color: var(--accent); }
.sol-myth.is-right h3 { color: #1f9254; }
.sol-myth > p { color: var(--text-muted); font-size: 13.5px; line-height: 1.6; margin: 0; }
.sol-myth-fig { margin-top: 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.sol-myth-fig svg { width: 100%; height: auto; display: block; }
.fig-solid { fill: var(--accent); stroke: none; }
.fig-stroke { fill: none; stroke: var(--text-dim); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fig-accent { stroke: var(--accent); }
.fig-foam { stroke: #14141b; stroke-width: 1.6; }
.fig-slab { stroke: #14141b; fill: var(--bg-3); }

/* pasos */
.sol-steps { list-style: none; margin: 0 0 26px; padding: 0; counter-reset: none; }
.sol-steps li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sol-steps li:last-child { border-bottom: 0; }
.sol-steps span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
  flex-shrink: 0;
  padding-top: 2px;
}
.sol-steps p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-muted); }
.sol-claim {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 0;
}
.sol-claim em { font-style: normal; color: var(--accent); }

/* ---------- KIT DE SOLUCIONES ---------- */
.sol-kit {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sol-kit li {
  background: var(--bg);
  padding: 22px 12px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  transition: background 0.35s var(--ease);
}
.sol-kit li:hover { background: var(--bg-2); }
.sol-kit svg {
  width: 34px; height: 34px;
  fill: none;
  stroke: #14141b;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sol-kit li:hover svg { stroke: var(--accent); }
.sol-kit span { font-size: 11.5px; line-height: 1.35; color: var(--text-muted); }

/* ---------- BENEFICIOS + CTA ---------- */
.sol-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px); align-items: stretch; }
.sol-benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(20px, 2.4vw, 40px);
}
.sol-benefit-list li {
  position: relative;
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
}
.sol-benefit-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 15px;
  width: 15px; height: 15px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  background: transparent;
}
.sol-benefit-list li::after {
  content: "✓";
  position: absolute;
  left: 0; top: 15px;
  width: 15px; height: 15px;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; line-height: 1; font-weight: 700;
  color: var(--accent);
}

.sol-cta {
  --text: #f4f4f5;
  --text-muted: #b6b6be;
  --text-dim: #7d7d86;
  --line: rgba(255, 255, 255, 0.12);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #08080a;
  color: var(--text);
  min-height: 380px;
  display: flex;
}
.sol-cta-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: grayscale(0.35) brightness(0.42);
}
.sol-cta::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, rgba(6,6,8,0.94) 0%, rgba(6,6,8,0.80) 55%, rgba(6,6,8,0.62) 100%);
}
.sol-cta-body { padding: clamp(30px, 3.4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.sol-cta-body h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 20px;
  max-width: 16ch;
}
.sol-cta-body h2 em { font-style: normal; display: block; }
.sol-cta-body p { color: var(--text-muted); font-size: 14px; line-height: 1.65; margin: 0 0 14px; max-width: 46ch; }
.sol-cta-body .button-primary { align-self: flex-start; margin-top: 16px; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1180px) {
  .sol-symptoms { grid-template-columns: repeat(3, 1fr); }
  .sol-tri { grid-template-columns: 1fr; }
  .sol-tri-col { padding: clamp(30px, 4vw, 48px) 0; }
  .sol-tri-col + .sol-tri-col { border-left: 0; border-top: 1px solid var(--line); }
  .sol-kit { grid-template-columns: repeat(6, 1fr); }
  .sol-wheel { max-width: 720px; margin-inline: auto; }
}
@media (max-width: 900px) {
  .sol-hero { grid-template-columns: 1fr; padding-top: 72px; }
  .sol-hero-copy { padding: clamp(40px, 8vw, 64px) var(--pad); }
  .sol-hero-lead, .sol-hero-sub { max-width: 46ch; }
  .sol-hero-media { min-height: 300px; max-height: 58vh; }
  .sol-split { grid-template-columns: 1fr; }
  .sol-benefits { grid-template-columns: 1fr; }
  .sol-cta { min-height: 0; }
}
@media (max-width: 700px) {
  .sol-symptoms { grid-template-columns: repeat(2, 1fr); }
  .sol-kit { grid-template-columns: repeat(3, 1fr); }
  .sol-benefit-list { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .sol-kit { grid-template-columns: repeat(2, 1fr); }
}
