/* DEMO INDUSTRIA / METALÚRGICA · BRAK Soluciones
   Estilo industrial: grafito, gris claro y amarillo de seguridad, tipografía condensada. */
:root {
  --fondo: #ffffff;
  --gris: #f1f2f4;
  --grafito: #111827;
  --texto: #1f2937;
  --suave: #5f6b7a;
  --amarillo: #f5b301;
  --linea: #dfe2e7;
  --titulos: "Barlow Condensed", "Arial Narrow", sans-serif;
  --cuerpo: "Barlow", system-ui, sans-serif;
}

/* Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--fondo); color: var(--texto); font-family: var(--cuerpo); font-size: 1.05rem; line-height: 1.6; }
h1, h2, h3 { font-family: var(--titulos); font-weight: 700; line-height: 1; text-transform: uppercase; letter-spacing: .01em; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.contenedor { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* Franja de demostración */
.demo { background: #000; color: #ddd; text-align: center; font: 500 .8rem/1.4 system-ui, sans-serif; padding: 8px 12px; }
.demo a { color: #ffb13b; text-decoration: underline; }

/* Botones */
.boton { display: inline-block; background: var(--amarillo); color: var(--grafito); padding: 14px 26px; font-family: var(--titulos); font-size: 1.15rem; text-transform: uppercase; letter-spacing: .05em; border: 2px solid var(--amarillo); }
.boton:hover { background: #ffc21a; }
.boton--linea { background: transparent; color: #fff; border-color: #fff; }
.boton--linea:hover { background: rgba(255, 255, 255, .1); }
.boton--chico { padding: 8px 16px; font-size: 1rem; }

/* Encabezado */
.encabezado { background: var(--grafito); color: #fff; }
.encabezado__fila { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.marca { display: flex; align-items: center; gap: 10px; font-family: var(--titulos); font-size: 1.5rem; text-transform: uppercase; }
.marca__cuadro { display: grid; place-items: center; width: 38px; height: 38px; background: var(--amarillo); color: var(--grafito); font-size: 1.1rem; }
.menu { display: flex; align-items: center; gap: 26px; font-weight: 500; color: #cfd5dd; }
.menu a:not(.boton):hover { color: var(--amarillo); }

/* Portada */
.portada {
  background: linear-gradient(90deg, rgba(10, 14, 22, .94) 0%, rgba(10, 14, 22, .7) 55%, rgba(10, 14, 22, .3) 100%),
              url("img/portada.webp") center / cover no-repeat;
  color: #fff;
}
.portada__texto { padding-top: 120px; padding-bottom: 120px; max-width: 760px; margin-left: max(20px, calc((100% - 1160px) / 2 + 20px)); }
.volanta { color: var(--amarillo); font-family: var(--titulos); text-transform: uppercase; letter-spacing: .14em; font-size: 1rem; margin-bottom: 14px; }
.portada h1 { font-size: clamp(2.8rem, 6.5vw, 5rem); margin-bottom: 20px; }
.portada__texto > p:not(.volanta) { color: #d6dbe2; font-size: 1.15rem; max-width: 560px; margin-bottom: 32px; }
.acciones { display: flex; gap: 12px; flex-wrap: wrap; }

/* Cifras */
.cifras { background: var(--amarillo); color: var(--grafito); }
.cifras__grilla { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 30px; padding-bottom: 30px; }
.cifras strong { display: block; font-family: var(--titulos); font-size: 2.3rem; line-height: 1; text-transform: uppercase; }
.cifras span { font-weight: 500; }

/* Secciones */
.seccion { padding-top: 96px; padding-bottom: 96px; }   /* solo arriba y abajo: el margen lateral lo pone .contenedor */
.seccion--gris { background: var(--gris); }
.seccion h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 40px; }

/* Servicios */
.servicios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.servicios article { border-bottom: 4px solid var(--amarillo); background: var(--fondo); }
.servicios img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.servicios h3 { font-size: 1.7rem; margin: 22px 0 8px; }
.servicios p { color: var(--suave); padding-bottom: 26px; }

/* Industrias */
.dividido { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.etiquetas { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.etiquetas li { background: var(--fondo); border-left: 4px solid var(--amarillo); padding: 14px 18px; font-weight: 600; }
.foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Proceso */
.pasos { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: paso; }
.pasos li { counter-increment: paso; background: var(--gris); padding: 28px 24px; }
.pasos li::before { content: counter(paso); display: grid; place-items: center; width: 40px; height: 40px; background: var(--grafito); color: var(--amarillo); font-family: var(--titulos); font-size: 1.4rem; margin-bottom: 16px; }
.pasos h3 { font-size: 1.5rem; margin-bottom: 8px; }
.pasos p { color: var(--suave); }

/* Cotizar */
.cotizar { background: var(--grafito); color: #fff; padding: 80px 0; }
.cotizar__fila { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.cotizar h2 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin-bottom: 14px; }
.cotizar p { color: #c4cad3; }
.datos { list-style: none; display: grid; gap: 14px; }
.datos li { border-left: 4px solid var(--amarillo); padding-left: 16px; font-size: 1.1rem; }
.datos span { display: block; color: var(--amarillo); font-family: var(--titulos); text-transform: uppercase; letter-spacing: .1em; }

.pie { padding: 26px 20px; text-align: center; color: var(--suave); font-size: .9rem; }

/* Celulares */
@media (max-width: 900px) {
  .menu a:not(.boton) { display: none; }
  .servicios, .dividido, .cotizar__fila { grid-template-columns: 1fr; gap: 32px; }
  .pasos, .cifras__grilla { grid-template-columns: repeat(2, 1fr); }
  .seccion { padding-top: 64px; padding-bottom: 64px; }
  .portada__texto { padding: 72px 20px; margin-left: 0; max-width: none; }
}
@media (max-width: 520px) {
  .menu { display: none; }
  .pasos, .cifras__grilla, .etiquetas { grid-template-columns: 1fr; }
}
