/* =============================================================
   HOME multimarca (/) — estilos propios. Se carga DESPUÉS de /styles.css.
   Paleta neutra "champagne sobre tinta": no compite con ninguna marca; cada
   tarjeta de marca lleva el acento de su propio silo (latón, rosa, salvia, cobre).
   Composición: titular editorial + "muro de marcas" (4 tarjetas altas) + directorio por marca.
   ============================================================= */
:root {
  --bg: #0B0D10;
  --bg-deep: #06080A;
  --surface: #12151A;
  --surface-2: #181C22;
  --ink: #F2F0EA;
  --ink-soft: #B4B8BE;
  --ink-mute: #7C828B;
  --line: #262B33;
  --line-soft: #1A1E25;
  --brass: #D9CFB6;
  --brass-deep: #A89C7E;
  --brass-bright: #F1E9D2;
  --brass-tint: #1E1C15;
  --hm-samsung: #C9A24B;
  --hm-lg: #E5486D;
  --hm-kitchenaid: #8DB3A2;
  --hm-whirlpool: #D98A4A;
}

/* ---------- Hero editorial ---------- */
.hm-hero { position: relative; isolation: isolate; overflow: clip; margin: 0 calc(50% - 50vw); padding: 72px 0 40px; }
.hm-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(40% 55% at 12% 0%, rgba(201,162,75,.13), transparent 70%),
    radial-gradient(40% 55% at 40% 0%, rgba(229,72,109,.10), transparent 70%),
    radial-gradient(40% 55% at 68% 0%, rgba(141,179,162,.10), transparent 70%),
    radial-gradient(40% 55% at 95% 0%, rgba(217,138,74,.13), transparent 70%);
}
.hm-hero-inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.hm-hero h1 {
  font-size: clamp(2.3rem, 1.3rem + 4.2vw, 4.6rem); line-height: 1.03; letter-spacing: -0.03em;
  max-width: 17ch; margin: 0 0 20px; font-weight: 700;
}
.hm-hero h1 .hm-sub { display: block; margin-top: 16px; font-size: clamp(1.05rem, .95rem + .6vw, 1.5rem); font-weight: 500; letter-spacing: -0.01em; color: var(--brass-bright); max-width: none; }
.hm-hero .lede { font-size: 17.5px; color: var(--ink-soft); max-width: 58ch; margin: 0 0 30px; }
.hm-hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hm-facts { display: flex; flex-wrap: wrap; gap: 10px 34px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.hm-facts div { display: flex; flex-direction: column; gap: 4px; }
.hm-facts .ficha-value { font-size: 15.5px; }
.hm-facts .ficha-value.accent { color: var(--brass-bright); }

/* ---------- Muro de marcas ---------- */
.hm-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hm-brand {
  --ac: var(--brass); position: relative; display: flex; flex-direction: column; overflow: clip; min-height: 380px;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 22px;
  background: radial-gradient(120% 60% at 0% 0%, color-mix(in srgb, var(--ac) 16%, transparent), transparent 62%), var(--surface);
  transition: border-color .3s ease, transform .35s var(--ease-out);
}
.hm-brand::before { content: ""; position: absolute; left: 24px; top: -1px; width: 52px; height: 3px; background: var(--ac); border-radius: 0 0 3px 3px; }
.hm-brand:hover { border-color: var(--ac); transform: translateY(-6px); }
.hm-brand.is-samsung { --ac: var(--hm-samsung); }
.hm-brand.is-lg { --ac: var(--hm-lg); }
.hm-brand.is-kitchenaid { --ac: var(--hm-kitchenaid); }
.hm-brand.is-whirlpool { --ac: var(--hm-whirlpool); }
.hm-brand-tag { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ac); margin: 0 0 14px; }
.hm-brand h3 { font-size: clamp(1.7rem, 1.4rem + .8vw, 2.1rem); letter-spacing: -0.03em; margin: 0 0 10px; }
.hm-brand > p { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 16px; }
.hm-chips { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.hm-chips li { font-family: var(--mono); font-size: 11px; color: var(--ink); border: 1px solid color-mix(in srgb, var(--ac) 45%, transparent); background: color-mix(in srgb, var(--ac) 10%, transparent); padding: 5px 10px; border-radius: 99px; }
.hm-brand-go { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 600; font-size: 14.5px; color: var(--ac); }
.hm-brand-go span { transition: transform .25s var(--ease-out); }
.hm-brand:hover .hm-brand-go span { transform: translateX(5px); }
@media (max-width: 1040px) { .hm-wall { grid-template-columns: repeat(2, 1fr); } .hm-brand { min-height: 340px; } }
@media (max-width: 560px) { .hm-wall { grid-template-columns: 1fr; } .hm-brand { min-height: 0; } }

/* ---------- Directorio por marca ---------- */
.hm-dir { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: clip; }
.hm-dir-row { display: grid; grid-template-columns: 200px 1fr; gap: 18px; align-items: center; padding: 20px 26px; border-top: 1px solid var(--line-soft); }
.hm-dir-row:first-child { border-top: none; }
.hm-dir-name { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.hm-dir-name i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.hm-dir-links { display: flex; flex-wrap: wrap; gap: 8px; }
.hm-dir-links a { font-size: 14px; color: var(--ink-soft); padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; transition: border-color .2s ease, color .2s ease; }
.hm-dir-links a:hover { color: var(--ink); border-color: var(--brass); }
@media (max-width: 720px) { .hm-dir-row { grid-template-columns: 1fr; gap: 12px; padding: 18px 20px; } }

/* ---------- Pasos ---------- */
.hm-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.hm-step { padding: 28px 28px 8px 0; position: relative; }
.hm-step + .hm-step { padding-left: 28px; border-left: 1px solid var(--line-soft); }
.hm-step-num { font-family: var(--display); font-size: 52px; font-weight: 700; line-height: 1; letter-spacing: -0.04em; color: var(--brass); opacity: .5; display: block; margin-bottom: 12px; }
.hm-step h3 { font-size: 19px; margin: 0 0 8px; letter-spacing: -0.01em; }
.hm-step p { font-size: 14.5px; color: var(--ink-soft); margin: 0; max-width: 34ch; }
@media (max-width: 820px) { .hm-steps { grid-template-columns: 1fr; } .hm-step, .hm-step + .hm-step { padding: 24px 0 8px; border-left: none; border-top: 1px solid var(--line-soft); } .hm-step:first-child { border-top: none; } }

/* ---------- Guías por marca ---------- */
.hm-guides { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1000px) { .hm-guides { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hm-guides { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { .hm-brand, .hm-brand-go span { transition: none; } .hm-brand:hover { transform: none; } }

main > section.hm-sec { padding-top: 64px; padding-bottom: 8px; }
main > section.hm-sec.hm-sec-lg { padding-top: 88px; }
@media (max-width: 640px) { .hm-hero { padding: 44px 0 28px; } main > section.hm-sec { padding-top: 48px; } main > section.hm-sec.hm-sec-lg { padding-top: 60px; } }

.sticky-cta .btn { white-space: normal; text-align: center; justify-content: center; line-height: 1.25; padding: 13px 16px; font-size: 14px; }

/* ---------- Panel lateral del hero ---------- */
.hm-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.hm-side { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, rgba(24,28,34,.9), rgba(12,14,18,.92)); padding: 8px 24px 22px; box-shadow: 0 40px 70px -40px rgba(0,0,0,.8); }
.hm-side-t { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); padding: 18px 0 8px; margin: 0; }
.hm-side a { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line-soft); font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -0.02em; transition: padding .25s var(--ease-out), color .2s ease; }
.hm-side a i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.hm-side a span { margin-left: auto; color: var(--ink-mute); transition: transform .25s var(--ease-out); }
.hm-side a:hover { padding-left: 8px; color: var(--brass-bright); }
.hm-side a:hover span { transform: translateX(4px); }
.hm-side-f { font-size: 13.5px; color: var(--ink-soft); margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.hm-side-f strong { color: var(--brass-bright); }
@media (max-width: 920px) { .hm-hero-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (prefers-reduced-motion: reduce) { .hm-side a, .hm-side a span { transition: none; } }

/* HOME-HACEB */
.hm-brand.is-haceb { --ac: #B98AC9; }
.hm-wall, .hm-guides { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.hm-wall > *, .hm-guides > * { grid-column: span 2; }
.hm-wall > :nth-child(n+4), .hm-guides > :nth-child(n+4) { grid-column: span 3; }
.hm-wall > :nth-child(n+4) { min-height: 300px; }
@media (max-width: 1040px) {
  .hm-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-wall > * { grid-column: auto; }
  .hm-wall > :nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 1000px) {
  .hm-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-guides > * { grid-column: auto; }
  .hm-guides > :nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .hm-wall, .hm-guides { grid-template-columns: minmax(0, 1fr); }
  .hm-wall > :nth-child(n), .hm-guides > :nth-child(n) { grid-column: auto; min-height: 0; }
}
