: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-primary.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 · plantilla base compartida
   ========================================================= */
.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 {
  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: 18ch;
}
.sol-head h2 em { font-style: normal; color: var(--accent); }
.sol-head h2::after {
  content: "";
  display: block;
  width: 34px; height: 2px;
  background: var(--accent);
  margin-top: 16px;
}

/* ---------- HERO ---------- */
.sol-hero {
  display: grid;
  grid-template-columns: minmax(300px, 45%) minmax(0, 1fr);
  align-items: stretch;
  max-width: var(--maxw);
  margin: 0 auto;
  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) 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: 32ch; }
.sol-hero-sub { color: var(--text-muted); font-size: 15px; line-height: 1.6; margin: 0 0 34px; max-width: 36ch; }
.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; background: #0c0c0e; }
.sol-hero-media img { width: 100%; height: 100%; object-fit: contain; object-position: center; }

/* =========================================================
   ¿TE PASA ESTO? · checklist + tarjetas de espacio
   ========================================================= */
.ruido-sintomas {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) 2fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.ruido-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ruido-checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 13px; align-items: start; }
.ruido-checklist svg { width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ruido-checklist p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--text-muted); }

.ruido-spaces { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.ruido-space { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1 / 1; background: #0c0c0e; }
.ruido-space img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.ruido-space:hover img { transform: scale(1.05); }
.ruido-space::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.82) 100%);
  pointer-events: none;
}
.ruido-space-icon {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(10,10,12,.7);
  backdrop-filter: blur(2px);
}
.ruido-space-icon svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ruido-space span {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #fff;
}

/* =========================================================
   ¿CÓMO SE TRANSMITE EL RUIDO? · texto + diagrama
   ========================================================= */
.sol-split { display: grid; grid-template-columns: minmax(270px, 0.95fr) 2fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.sol-split-copy h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(21px, 2.2vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 18px;
  max-width: 12ch;
}
.sol-split-copy h2 em { font-style: normal; color: var(--accent); }
.sol-split-copy h2::after {
  content: "";
  display: block;
  width: 34px; height: 2px;
  background: var(--accent);
  margin-top: 16px;
}
.sol-split-copy p { color: var(--text-muted); font-size: 15px; line-height: 1.65; margin: 0; max-width: 42ch; }
.sol-split-media { margin: 0; }
.sol-split-media img { width: 100%; border-radius: var(--radius-lg); display: block; }

/* =========================================================
   ¿CÓMO LO RESOLVEMOS? · imagen de proceso
   ========================================================= */
.ruido-proceso-img { margin: 0; }
.ruido-proceso-img img { width: 100%; border-radius: var(--radius-lg); display: block; }

.ruido-callout {
  margin-top: clamp(30px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  padding: 18px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ruido-callout svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ruido-callout p { margin: 0; font-size: 14px; line-height: 1.55; }
.ruido-callout b { font-family: var(--font-display); display: block; color: var(--accent); }

/* =========================================================
   CTA final
   ========================================================= */
.sol-cta {
  display: grid;
  grid-template-columns: minmax(220px, 34%) 1fr;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  overflow: hidden;
}
.sol-cta-media { margin: 0; background: #0c0c0e; }
.sol-cta-media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; display: block; }
.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;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 20px;
  max-width: 20ch;
}
.sol-cta-body h2 em { font-style: normal; color: var(--accent); }
.sol-cta-body p { color: var(--text-muted); font-size: 14px; line-height: 1.65; margin: 0 0 14px; max-width: 50ch; }
.sol-cta-body .button-primary { align-self: flex-start; margin-top: 16px; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- RESPONSIVE ---------- */
@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: 260px; max-height: 50vh; }
  .ruido-sintomas { grid-template-columns: 1fr; }
  .sol-split { grid-template-columns: 1fr; }
  .sol-cta { grid-template-columns: 1fr; }
  .sol-cta-media { aspect-ratio: 16 / 9; }
  .sol-cta-media img { object-position: center 20%; }
}
@media (max-width: 620px) {
  .ruido-spaces { grid-template-columns: 1fr; }
}
