
/* Concepto: sitio industrial oscuro (azul acero) con amarillo de seguridad, fotos grandes y WhatsApp como acción principal.
   Tema único por decisión de marca: oscuro con secciones claras de contraste. */
:root {
  --ink: #141d25;
  --ink-2: #1c2732;
  --ink-3: #2a3643;
  --line: #34424f;
  --yellow: #fcc826;
  --yellow-deep: #d9a800;
  --paper: #f5f4f3;
  --paper-2: #e6e4e1;
  --text-on-ink: #f4f6f8;
  --muted-on-ink: #a9b5c0;
  --text-on-paper: #141d25;
  --muted-on-paper: #55616d;
  --wa: #1fa855;
  --wa-hover: #188a45;
  --font-display: "Archivo", "Arial Black", Impact, sans-serif;
  --font-body: "Barlow", "Segoe UI", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--ink); color: var(--text-on-ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.55;
  padding-inline: 0;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-stretch: 100%; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 800; font-size: 16px; letter-spacing: .01em;
  padding: 14px 22px; border-radius: 6px; border: 0; transition: background .15s, transform .15s;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #ffd651; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); }
.btn:active { transform: translateY(1px); }

/* Header */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--ink); border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.logo img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { white-space: nowrap; text-decoration: none; font-weight: 600; font-size: 16px; padding: 8px 0; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a.on { border-bottom-color: var(--yellow); }
.nav a.on { color: var(--yellow); }
.top-cta {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  border: 1px solid var(--line); border-radius: 8px; padding: 8px 16px;
}
.top-cta:hover { border-color: var(--yellow); }
.top-cta svg { width: 36px; height: 36px; color: #25d366; flex: none; }
.top-cta small { display: block; font-size: 13px; color: var(--muted-on-ink); line-height: 1.2; }
.top-cta strong { font-family: var(--font-display); font-size: 21px; font-weight: 800; letter-spacing: .02em; line-height: 1.15; }
.burger { display: none; background: none; border: 1px solid var(--line); color: inherit; border-radius: 6px; width: 46px; height: 46px; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 22px; height: 2px; background: currentColor; margin: auto; position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }

/* Hero */
.hero { position: relative; background: var(--ink); overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-img { position: absolute; inset: 0 0 0 auto; width: 62%; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(20,29,37,.55) 22%, rgba(20,29,37,0) 55%); }
.hero .wrap { position: relative; padding-block: 56px 60px; min-height: 480px; display: flex; align-items: center; }
.hero-copy { max-width: 520px; }
.eyebrow { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 900; margin-top: 14px; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero p.lead { margin-top: 18px; font-size: 19px; color: var(--text-on-ink); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }
.zone { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.3; }
.zone svg { width: 26px; height: 26px; color: var(--yellow); flex: none; }
.zone small { display: block; color: var(--muted-on-ink); font-size: 13px; }

/* Franja de servicios */
.strip { background: var(--ink-2); border-bottom: 1px solid var(--line); }
.strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.strip li { display: flex; align-items: center; gap: 14px; padding: 22px 18px; font-weight: 600; font-size: 15px; line-height: 1.25; border-left: 1px solid var(--line); }
.strip li:first-child { border-left: 0; padding-left: 0; }
.strip svg { width: 42px; height: 42px; color: var(--yellow); flex: none; }

/* Secciones claras */
.light { background: var(--paper); color: var(--text-on-paper); }
.section { padding-block: 64px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: 30px; }
.sec-head h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; position: relative; padding-bottom: 14px; }
.sec-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 4px; background: var(--yellow); }
.sec-head p { max-width: 52ch; color: var(--muted-on-paper); }
.dark .sec-head p { color: var(--muted-on-ink); }

.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.card { background: var(--ink); color: var(--text-on-ink); border-radius: 6px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .2s; }
.card:hover { transform: translateY(-4px); }
.card .ph { aspect-ratio: 16/9; overflow: hidden; background: var(--ink-3); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .lbl { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px; font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.2; flex: 1; }
.card .lbl svg { width: 22px; height: 22px; color: var(--yellow); flex: none; }

.svc-detail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.svc-detail article { background: #fff; border: 1px solid var(--paper-2); border-radius: 6px; padding: 24px; }
.svc-detail h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.svc-detail p { color: var(--muted-on-paper); font-size: 16px; }

/* Oscuras */
.dark { background: var(--ink); }
.dark-2 { background: var(--ink-2); }

/* Maquinaria en venta */
.stock { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.item { background: var(--ink-2); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.item .ph { aspect-ratio: 4/3; position: relative; overflow: hidden; background: var(--ink-3); }
.item .ph img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; left: 10px; top: 10px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; background: var(--yellow); color: var(--ink); }
.tag.alt { background: var(--ink); color: var(--text-on-ink); border: 1px solid var(--line); }
.item .body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.item h3 { font-size: 18px; font-weight: 800; }
.item .meta { color: var(--muted-on-ink); font-size: 15px; }
.item .price { font-family: var(--font-display); font-weight: 800; font-size: 17px; margin-top: auto; padding-top: 10px; }
.item .btn { margin-top: 6px; justify-content: center; padding: 11px 14px; font-size: 15px; }
.note { margin-top: 18px; font-size: 14px; color: var(--muted-on-ink); }

/* Proceso */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--paper-2); border-radius: 6px; padding: 26px; counter-increment: s; }
.step::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-family: var(--font-display); font-weight: 900; font-size: 21px; margin-bottom: 16px; }
.step h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.step p { color: var(--muted-on-paper); font-size: 16px; }

/* Trabajos */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.work { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 16/10; background: var(--ink-3); }
.work img { width: 100%; height: 100%; object-fit: cover; }
.work figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; font-weight: 600; background: linear-gradient(0deg, rgba(20,29,37,.92), rgba(20,29,37,0)); }
.work { margin: 0; }

/* Nosotros */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.about h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; }
.about h2 em { font-style: normal; color: var(--yellow); }
.about p { margin-top: 16px; color: var(--muted-on-ink); max-width: 56ch; }
.about p strong { color: var(--text-on-ink); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fact { border: 1px solid var(--line); border-radius: 6px; padding: 20px; background: var(--ink); }
.fact b { display: block; font-family: var(--font-display); font-weight: 900; font-size: 34px; color: var(--yellow); line-height: 1.05; font-variant-numeric: tabular-nums; }
.fact span { display: block; margin-top: 6px; font-size: 15px; color: var(--muted-on-ink); line-height: 1.35; }

/* Contacto */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; }
.contact .lead { margin-top: 14px; color: var(--muted-on-ink); max-width: 46ch; }
.data { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; }
.data li { display: flex; gap: 14px; align-items: flex-start; }
.data svg { width: 26px; height: 26px; color: var(--yellow); flex: none; margin-top: 2px; }
.data b { display: block; font-family: var(--font-display); font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-on-ink); font-weight: 700; }
.data span, .data a { font-size: 18px; font-weight: 500; }
.form { background: var(--ink-2); border: 1px solid var(--line); border-radius: 8px; padding: 28px; display: grid; gap: 16px; }
.form h3 { font-size: 22px; font-weight: 800; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; color: var(--muted-on-ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text-on-ink); background: var(--ink);
  border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--yellow); outline-offset: 1px; border-color: var(--yellow); }
.form .hint { font-size: 14px; color: var(--muted-on-ink); }

/* Barra de confianza + footer */
.trust { background: var(--ink); border-top: 1px solid var(--line); background-image: linear-gradient(135deg, transparent 0 24px, var(--yellow) 24px 30px, transparent 30px); }
.trust .wrap { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 28px; align-items: center; padding-block: 34px; }
.t { display: flex; align-items: center; gap: 14px; font-size: 15px; line-height: 1.3; }
.t svg { width: 44px; height: 44px; color: var(--yellow); flex: none; }
.t b { display: block; font-weight: 600; }
.t span { color: var(--muted-on-ink); font-size: 14px; }
.trust-cta { display: flex; align-items: center; gap: 16px; border-left: 1px solid var(--line); padding-left: 28px; }
.trust-cta p { font-size: 15px; max-width: 24ch; line-height: 1.3; }
footer { background: #0e151b; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted-on-ink); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-block: 20px; }

/* WhatsApp flotante */
.fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: none; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.4); }
.fab svg { width: 34px; height: 34px; }

/* Responsive */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .stock { grid-template-columns: repeat(2, 1fr); }
  .strip ul { grid-template-columns: repeat(3, 1fr); }
  .strip li:nth-child(4) { border-left: 0; padding-left: 0; }
  .trust .wrap { grid-template-columns: 1fr 1fr; }
  .trust-cta { grid-column: 1 / -1; border-left: 0; padding-left: 0; }
  .nav { gap: 20px; }
  .nav a { font-size: 15px; }
  .top-cta small { display: none; }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .top-cta { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .top .wrap { min-height: 68px; }
  .logo img { height: 46px; }
  .hero-img { position: relative; width: 100%; height: 230px; inset: auto; }
  .hero-img::after { background: linear-gradient(0deg, var(--ink) 0%, rgba(20,29,37,0) 55%); }
  .hero .wrap { min-height: 0; padding-block: 8px 40px; }
  .hero { display: flex; flex-direction: column; }
  .about, .contact { grid-template-columns: 1fr; gap: 32px; }
  .svc-detail, .steps, .works { grid-template-columns: 1fr; }
  .section { padding-block: 48px; }
  .fab { display: grid; }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card:last-child { grid-column: 1 / -1; }
  .stock { grid-template-columns: 1fr; }
  .strip ul { grid-template-columns: 1fr 1fr; }
  .strip li { border-left: 0; padding: 16px 0; }
  .strip li:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line); }
  .facts { grid-template-columns: 1fr 1fr; }
  .trust .wrap { grid-template-columns: 1fr; }
  .form { padding: 20px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card, .btn { transition: none; } }

/* Subpáginas y SEO */
.dark-2 .sec-head p { color: var(--muted-on-ink); }
.top-cta strong { white-space: nowrap; }
.logo img { height: 56px; width: auto; }
@media (min-width: 1101px) { .nav { gap: clamp(18px, 2vw, 34px); } }
.crumbs { font-size: 14px; color: var(--muted-on-ink); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted-on-ink); text-decoration: none; } .crumbs a:hover { color: var(--yellow); }
.phero { background: var(--ink); border-bottom: 1px solid var(--line); }
.phero .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding-block: 40px 52px; }
.phero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 900; margin-top: 12px; }
.phero h1 em { font-style: normal; color: var(--yellow); }
.phero .lead { margin-top: 16px; font-size: 19px; max-width: 54ch; }
.phero .ph { border-radius: 8px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/10; background: var(--ink-3); }
.phero .ph img { width: 100%; height: 100%; object-fit: cover; }
.phero .ph figcaption { display: none; }
.phero figure { margin: 0; }
.incl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.incl article { background: #fff; border: 1px solid var(--paper-2); border-radius: 6px; padding: 24px; }
.incl h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.incl p { color: var(--muted-on-paper); font-size: 16px; }
.prose { max-width: 70ch; color: var(--muted-on-paper); }
.prose p + p { margin-top: 14px; }
.prose strong { color: var(--text-on-paper); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { border: 1px solid var(--line); background: var(--ink); border-radius: 999px; padding: 8px 16px; font-size: 15px; font-weight: 500; }
.chips li.hl { border-color: var(--yellow); color: var(--yellow); }
.faq details { background: #fff; border: 1px solid var(--paper-2); border-radius: 6px; padding: 0 22px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 18px; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; color: var(--yellow-deep); line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 20px; color: var(--muted-on-paper); max-width: 70ch; }
.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 8px; padding: 30px; }
.band h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; }
.band p { color: var(--muted-on-ink); margin-top: 6px; }
.others { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.others a { text-decoration: none; background: var(--ink-2); border: 1px solid var(--line); border-radius: 6px; padding: 16px; font-family: var(--font-display); font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.others a:hover { border-color: var(--yellow); }
.others svg { width: 20px; height: 20px; color: var(--yellow); flex: none; }
footer .wrap.cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; padding-block: 34px 18px; }
footer h4 { font-family: var(--font-display); color: var(--text-on-ink); font-size: 15px; margin: 0 0 10px; letter-spacing: .04em; text-transform: uppercase; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer a { text-decoration: none; } footer a:hover { color: var(--yellow); }
footer .copy { border-top: 1px solid var(--line); }
footer .copy .wrap { padding-block: 16px; }
@media (max-width: 860px) {
  .phero .wrap { grid-template-columns: 1fr; gap: 24px; padding-block: 28px 40px; }
  .incl { grid-template-columns: 1fr; }
  .others { grid-template-columns: 1fr 1fr; }
  footer .wrap.cols { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .others { grid-template-columns: 1fr; } }

/* Reseñas de Google */
#resenas[hidden] { display: none; }
.rev-sum { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; font-family: var(--font-display); }
.rev-sum .num { font-size: 40px; font-weight: 900; line-height: 1; }
.rev-sum small { display: block; color: var(--muted-on-paper); font-family: var(--font-body); font-size: 15px; }
.stars { color: var(--yellow-deep); letter-spacing: 2px; font-size: 20px; line-height: 1; }
.stars .off { color: #c9c6c2; }
.rev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.rev { background: #fff; border: 1px solid var(--paper-2); border-radius: 8px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.rev p { margin: 0; color: var(--text-on-paper); font-size: 16px; }
.rev .who { display: flex; align-items: center; gap: 10px; margin-top: auto; font-size: 15px; }
.rev .who img, .rev .who .av { width: 40px; height: 40px; border-radius: 50%; flex: none; object-fit: cover; }
.rev .who .av { background: var(--ink); color: var(--yellow); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; }
.rev .who strong { display: block; line-height: 1.2; }
.rev .who small { color: var(--muted-on-paper); }
.rev-cta { margin-top: 24px; }
.rev-demo { background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 14px; border-radius: 6px; padding: 8px 14px; margin: 0 0 18px; display: inline-block; }

.top-cta svg, .trust-cta svg { width: 40px !important; height: 40px !important; }

:is(.data, .others, .card .lbl, .zone, .strip, .t) svg:has(use[href="#i-wa"]) { color: #25d366; }
