/* Estilos específicos del Inicio */

/* ===== Hero (claro, foto de taller a sangre) ===== */
.hero {
  padding: 104px 32px 96px; min-height: 600px;
  position: relative;
  background-color: #eef2f6;
  display: flex; align-items: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url('assets/hero-taller.webp') no-repeat right center;
  background-size: cover;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg,
    #fff 0%, #fff 34%, rgb(255 255 255 / 0.86) 50%, rgb(255 255 255 / 0.4) 66%,
    rgb(255 255 255 / 0.08) 82%, transparent 92%);
}
.hero__inner { width: 100%; max-width: 1200px; margin: 0 auto; display: block; position: relative; z-index: 1; }
.hero__content { max-width: 580px; }
/* Texto oscuro sobre el área clara */
.hero__title { color: var(--imco-black); }
.hero__title em { color: var(--imco-blue); }
.hero__lead { color: var(--fg-muted); }

/* ===== Mobile-first: la mayoría del tráfico es móvil ===== */
@media (max-width: 760px) {
  .hero { min-height: 0; padding: 40px 22px 300px; align-items: flex-start; }
  /* Encuadre en la manija cromada (la acción) */
  .hero::before { background-position: 72% center; }
  /* Scrim vertical: blanco arriba para el texto, foto visible abajo */
  .hero::after {
    background: linear-gradient(180deg,
      #fff 0%, rgb(255 255 255 / 0.96) 38%, rgb(255 255 255 / 0.72) 56%,
      rgb(255 255 255 / 0.15) 78%, transparent 100%);
  }
  .hero__content { max-width: 100%; }
}
.hero__eyebrow .pill {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--blue-50);
  color: var(--imco-blue);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero__title { font-size: 72px; line-height: 1.0; letter-spacing: -0.025em; }
.hero__title em {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  color: var(--blue-400); text-transform: uppercase;
  font-size: 0.55em; letter-spacing: 0;
  display: inline-block; transform: translateY(-0.08em);
}
.hero__ctas { gap: 12px; flex-wrap: wrap; }
.hero__chips {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 28px;
}
.hero__chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600;
  color: var(--fg-muted);
  background: rgb(255 255 255 / 0.7);
  border: 1px solid var(--border);
  padding: 8px 12px; border-radius: 999px;
}
.hero__chip i { color: var(--imco-blue); }

/* Etiqueta blueprint inferior */
.hero__art-label {
  position: absolute; bottom: 20px; left: 32px;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgb(34 34 33 / 0.4); white-space: nowrap; z-index: 1;
}
.hero__diagonal-band {
  position: absolute; right: -16%; bottom: -10%;
  width: 80%; height: 4px;
  background: var(--imco-blue);
  transform: rotate(-22deg);
  border-radius: 2px;
  box-shadow: 0 0 32px var(--imco-blue);
}
.hero__display-word {
  position: absolute;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(56px, 8vw, 110px);
  color: rgb(20 93 158 / 0.12);
  text-transform: uppercase;
  letter-spacing: -0.04em;
  pointer-events: none;
  line-height: 0.9;
  text-shadow: 0 0 0 transparent;
}
.hero__display-word--top { top: 4%; left: -4%; }
.hero__display-word--bottom { bottom: 4%; right: -2%; }

/* ===== Stats / barra de confianza ===== */
.stats { background: #fff; border-bottom: 1px solid var(--border); }
.stats__inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  padding: 0 32px;
}
.stat {
  display: flex; align-items: center; gap: 16px;
  padding: 26px 28px;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: 0; }
.stat__ic {
  flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--blue-50); color: var(--imco-blue);
  display: flex; align-items: center; justify-content: center;
}
.stat__ic svg { width: 22px; height: 22px; }
.stat__num { font-family: var(--font-sans); font-size: 26px; font-weight: 900; color: var(--imco-black); letter-spacing: -0.02em; line-height: 1; }
.stat__num em { color: var(--imco-blue); font-style: normal; }
.stat__label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--fg-muted); margin-top: 6px; }
@media (max-width: 860px) {
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border); }
}
@media (max-width: 460px) {
  .stats__inner { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: 0; }
}

/* ===== Propuestas de valor ===== */
.values {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.values__inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  padding: 0 32px;
}
.value {
  padding: 40px 32px;
  display: flex; flex-direction: column; gap: 14px;
  border-right: 1px solid var(--border);
}
.value:last-child { border-right: 0; }
.value__icon {
  width: 48px; height: 48px;
  background: var(--blue-50);
  color: var(--imco-blue);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.value__icon svg { width: 24px; height: 24px; }
.value h3 { font-size: 18px; font-weight: 700; margin: 0; letter-spacing: -0.01em; }
.value p { font-size: 14px; line-height: 1.55; color: var(--fg-muted); margin: 0; }

/* ===== Líneas / Categorías ===== */
.lines { padding: 88px 32px; }
.lines__inner { max-width: 1200px; margin: 0 auto; }
.lines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.line-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 168px;
  text-decoration: none; color: inherit;
  transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out), transform 160ms var(--ease-out);
  cursor: pointer;
}
.line-card:hover {
  border-color: var(--imco-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.line-card__icon {
  width: 40px; height: 40px;
  background: var(--blue-50);
  color: var(--imco-blue);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.line-card__icon svg { width: 20px; height: 20px; }
.line-card h3 {
  font-size: 16px; font-weight: 700; margin: 0;
  letter-spacing: -0.005em;
}
.line-card p {
  font-size: 12px; color: var(--fg-muted); margin: 0; line-height: 1.5;
}
.line-card__cta {
  margin-top: auto; padding-top: 8px;
  font-size: 12px; font-weight: 700; color: var(--imco-blue);
  letter-spacing: 0.06em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 4px;
}

/* ===== Marcas representadas ===== */
/* Fuentes display de cada marca */
@font-face { font-family: 'Gilmer'; src: url('brand-fonts/Gilmer-Bold.otf') format('opentype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Gilmer'; src: url('brand-fonts/Gilmer-Heavy.otf') format('opentype'); font-weight: 800 900; font-display: swap; }
@font-face { font-family: 'Ricordo'; src: url('brand-fonts/RICORDO-ExtraBold.otf') format('opentype'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Ricordo'; src: url('brand-fonts/RICORDO-Black.otf') format('opentype'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Gojali'; src: url('brand-fonts/Gojali-Bold.otf') format('opentype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Gojali'; src: url('brand-fonts/Gojali-Heavy.otf') format('opentype'); font-weight: 800 900; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('brand-fonts/Archivo-VariableFont.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Hector'; src: url('brand-fonts/hector-regular.otf') format('opentype'); font-weight: 400; font-display: swap; }

.brands-strip {
  padding: 88px 32px;
  background: var(--neutral-50);
  color: var(--fg);
  position: relative;
  overflow: hidden;
}
.brands-strip__inner {
  max-width: 1200px; margin: 0 auto; position: relative;
}
.brands-strip .section__head h2 { color: var(--imco-black); }
.brands-strip .eye { color: var(--imco-blue); }
.brands-strip .section__head p { color: var(--fg-muted) !important; }

.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.brand-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), border-color 180ms var(--ease-out);
}
.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg, 0 18px 40px -12px rgba(0,0,0,0.22));
  border-color: var(--brand-color);
}
/* Cabecera en el color de la marca */
.brand-card__head {
  background: var(--brand-color);
  color: var(--brand-ink);
  padding: 20px 20px 18px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
}
.brand-card__head::after {
  content: ""; position: absolute; right: -30px; top: -42px;
  width: 150px; height: 150px; pointer-events: none;
  background: radial-gradient(circle at center, rgb(255 255 255 / 0.14), transparent 64%);
}
.brand-card__logochip {
  position: relative; align-self: flex-start;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 12px; padding: 9px 13px;
  box-shadow: 0 3px 10px rgb(0 0 0 / 0.16);
}
.brand-card__logochip img {
  height: 30px; width: auto; max-width: 132px;
  object-fit: contain; display: block;
}
.brand-card__tagline {
  position: relative;
  font-family: var(--brand-font, var(--font-sans));
  font-weight: 800; font-size: 17px; line-height: 1.1;
  letter-spacing: -0.005em; color: var(--brand-ink);
}
/* Cuerpo */
.brand-card__body {
  display: flex; flex-direction: column;
  padding: 18px 20px 20px; flex: 1;
}
.brand-card__desc {
  font-size: 13px; line-height: 1.55; color: var(--fg-muted); margin: 0;
}
.brand-card__lines {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px;
}
.brand-card__lines span {
  font-size: 11px; font-weight: 600; color: var(--brand-color);
  background: color-mix(in srgb, var(--brand-color) 9%, #fff);
  border: 1px solid color-mix(in srgb, var(--brand-color) 22%, #fff);
  border-radius: 999px; padding: 3px 10px; white-space: nowrap;
}
.brand-card__cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-size: 13px; font-weight: 800;
  color: var(--brand-color); text-decoration: none;
  transition: gap 160ms var(--ease-out);
}
.brand-card__cta:hover { gap: 10px; }
.brand-card__cta i { transition: transform 160ms var(--ease-out); }
.brand-card__cta:hover i { transform: translateX(2px); }

@media (max-width: 960px) {
  .brands-strip { padding: 64px 22px; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .brands-grid { grid-template-columns: 1fr; }
}

/* ===== Cómo trabajamos (steps) ===== */
.how { background: #fff; padding: 88px 32px; border-top: 1px solid var(--border); }
.how__inner { max-width: 1200px; margin: 0 auto; }
.how-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-top: 40px;
}
@media (max-width: 1100px) {
  .how-grid { grid-template-columns: repeat(3, 1fr); }
}
.how-step {
  background: var(--neutral-50);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  position: relative;
}
.how-step__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 56px;
  color: var(--blue-100);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.how-step h3 {
  font-size: 17px; font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.005em;
}
.how-step p {
  font-size: 13px; color: var(--fg-muted);
  line-height: 1.55; margin: 0;
}

/* ===== Banner de catálogo (mini-CTA) ===== */
.catalog-cta {
  background: var(--imco-black);
  padding: 64px 32px;
  position: relative; overflow: hidden;
  color: #fff;
}
.catalog-cta__inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.7fr 1fr; gap: 56px; align-items: center;
  position: relative;
}
.catalog-cta__diagonal {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(
    125deg,
    transparent 0%, transparent 55%,
    rgb(20 93 158 / 0.12) 55.2%,
    rgb(20 93 158 / 0.12) 70%,
    transparent 70.2%
  );
}
.catalog-cta h2 {
  font-size: 44px; line-height: 1.05; font-weight: 900;
  letter-spacing: -0.02em; margin: 0 0 16px;
  text-wrap: balance;
}
.catalog-cta p {
  font-size: 17px; color: var(--neutral-300);
  line-height: 1.55; max-width: 52ch;
  margin: 0 0 28px;
}
.catalog-cta__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.catalog-cta__art {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 320px;
  width: 100%;
  margin-left: auto;
  background: linear-gradient(160deg, var(--neutral-800) 0%, var(--neutral-900) 100%);
  border: 1px solid var(--neutral-700);
  border-radius: 12px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 32px 24px;
  flex-direction: column;
  gap: 18px;
}
.catalog-cta__pdf-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgb(20 93 158 / 0.35) 0%, transparent 60%);
  pointer-events: none;
}
.catalog-cta__pdf-icon {
  width: 80px; height: 96px;
  background: #fff;
  border-radius: 6px;
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 14px 40px rgb(0 0 0 / 0.4);
}
.catalog-cta__pdf-icon::after {
  content: "PDF";
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 16px;
  color: var(--imco-blue);
  letter-spacing: 0.04em;
}
.catalog-cta__pdf-icon::before {
  content: "";
  position: absolute; top: 0; right: 0;
  width: 18px; height: 18px;
  background: linear-gradient(225deg, transparent 50%, var(--neutral-200) 50%);
  border-bottom-left-radius: 3px;
}
.catalog-cta__art h4 {
  color: #fff;
  font-size: 16px; font-weight: 700; letter-spacing: -0.005em;
  text-align: center; margin: 0;
}
.catalog-cta__art .meta {
  color: var(--neutral-400); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.12em;
  font-weight: 600;
}

/* ===== Distribuidores ===== */
.dist-banner {
  background: var(--imco-blue);
  color: #fff;
  padding: 64px 32px;
  position: relative; overflow: hidden;
}
.dist-banner__inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px;
  align-items: center;
}
.dist-banner__shape {
  position: absolute; right: -120px; top: -60px;
  width: 420px; height: 420px;
  background: rgb(255 255 255 / 0.08);
  transform: skewX(-18deg);
}
.dist-banner h3 {
  font-size: 36px; font-weight: 900; letter-spacing: -0.02em;
  margin: 0 0 10px; line-height: 1.05;
  color: #fff;
}
.dist-banner p { margin: 0; font-size: 16px; opacity: 0.9; max-width: 56ch; }
.dist-banner__benefits {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 20px;
}
.dist-banner__benefit {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  background: rgb(255 255 255 / 0.12);
  padding: 8px 14px; border-radius: 999px;
}
.dist-banner__cta {
  display: flex; flex-direction: column; gap: 10px;
  position: relative; z-index: 1;
}
.dist-banner__cta .btn { justify-content: center; }
.dist-banner .btn-on-blue {
  background: #fff; color: var(--imco-blue);
  border-color: #fff;
}
.dist-banner .btn-on-blue:hover { background: var(--blue-50); }
.dist-banner .btn-on-blue-outline {
  background: transparent; color: #fff;
  border-color: rgb(255 255 255 / 0.5);
}
.dist-banner .btn-on-blue-outline:hover {
  background: rgb(255 255 255 / 0.1);
  border-color: #fff;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero { padding: 64px 24px; min-height: 0; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__title { font-size: 48px; }
  .hero__art { aspect-ratio: 16/10; }
  .values__inner { grid-template-columns: 1fr; padding: 0; }
  .value { border-right: 0; border-bottom: 1px solid var(--border); padding: 28px 24px; }
  .value:last-child { border-bottom: 0; }
  .lines { padding: 56px 24px; }
  .lines-grid { grid-template-columns: repeat(2, 1fr); }
  .how { padding: 56px 24px; }
  .how-grid { grid-template-columns: 1fr !important; }
  .catalog-cta { padding: 56px 24px; }
  .catalog-cta__inner { grid-template-columns: 1fr; gap: 32px; }
  .catalog-cta h2 { font-size: 34px; }
  .dist-banner { padding: 48px 24px; }
  .dist-banner__inner { grid-template-columns: 1fr; gap: 24px; }
  .dist-banner h3 { font-size: 28px; }
}
@media (max-width: 480px) {
  .lines-grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 38px; }
}
