/* Cimiento — oficios y construcción: asfalto, amarillo de seguridad y hormigón; Barlow Condensed. */
:root {
  --bg: #e9e7e1; --paper: #f5f4f0; --ink: #151515; --muted: #5b5b57; --line: rgba(21,21,21,.14);
  --accent: #ffc400; --y: #ffc400; --asphalt: #151515; --asphalt-2: #222220; --blue: #1f4fa0;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif; --sans: "Barlow", system-ui, sans-serif;
  --ease: cubic-bezier(.16,1,.3,1); --gut: clamp(16px, 4vw, 56px);
}
body { background: var(--bg); color: var(--ink); font-family: var(--sans); }
::selection { background: var(--y); color: var(--ink); }
.wrap { width: min(1340px, 100%); margin-inline: auto; padding-inline: var(--gut); }
.y { color: var(--y); }
.h2 { font: 800 clamp(40px, 5.8vw, 86px)/.92 var(--cond); letter-spacing: -.01em; text-transform: uppercase; }
.trades .h2 .y, .projects .h2 .y, .team .h2 .y, .process .h2 .y { color: var(--ink); background: var(--y); padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); max-width: 50ch; margin-top: 18px; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; margin-bottom: 40px; }
.sec-head p { color: var(--muted); max-width: 42ch; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 17px 26px; font: 700 17px/1 var(--cond); letter-spacing: .06em; text-transform: uppercase; transition: background .3s, color .3s, transform .3s var(--ease), box-shadow .3s; white-space: nowrap; cursor: pointer; }
.btn-y { background: var(--y); color: var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.btn-y:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.hero .btn-y, .quote .btn-y, .contact .btn-y { box-shadow: 6px 6px 0 rgba(255,196,0,.35); }
.btn-o { border: 2px solid currentColor; }
.btn-o:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-block { width: 100%; }

/* Cinta + nav */
.tape { overflow: hidden; background: var(--y); color: var(--ink); padding: 8px 0; background-image: repeating-linear-gradient(-45deg, rgba(0,0,0,.08) 0 10px, transparent 10px 20px); }
.tape .marquee-track { display: flex; gap: 40px; width: max-content; animation: mq 30s linear infinite; font: 700 14px/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.tape span::before { content: "▲ "; }
@keyframes mq { to { transform: translateX(-50%); } }
.nav { position: sticky; top: 0; z-index: 100; background: var(--asphalt); color: #fff; }
.nav-in { display: flex; align-items: center; gap: 24px; height: 74px; width: min(1340px, 100%); margin-inline: auto; padding-inline: var(--gut); }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 28px/1 var(--cond); letter-spacing: .08em; }
.logo-mk { width: 40px; height: 40px; display: grid; place-items: center; background: var(--y); }
.logo-mk svg { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 3.4; }
.menu { display: none; gap: 26px; margin-left: auto; font: 700 17px/1 var(--cond); letter-spacing: .08em; text-transform: uppercase; }
.menu a { opacity: .8; transition: opacity .3s, color .3s; }
.menu a:hover { opacity: 1; color: var(--y); }
.urg-btn { display: none; align-items: center; gap: 10px; padding: 11px 16px; border: 2px solid var(--y); color: var(--y); font: 700 16px/1 var(--cond); letter-spacing: .08em; text-transform: uppercase; }
.urg-btn:hover { background: var(--y); color: var(--ink); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #ff4d3d; display: inline-block; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.burger { margin-left: auto; width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; }
.burger span { display: block; width: 26px; height: 3px; background: currentColor; transition: transform .4s var(--ease); }
.menu-open .burger span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.menu-open .menu { display: flex; flex-direction: column; position: fixed; inset: 104px 0 0 0; background: var(--asphalt); padding: 30px var(--gut); gap: 14px; font-size: 40px; }

/* Hero */
.hero { position: relative; min-height: min(94svh, 920px); display: grid; align-items: end; overflow: hidden; color: #fff; background: var(--asphalt); }
.hero-img { position: absolute; inset: 0; overflow: hidden; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); filter: saturate(.8); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(21,21,21,.95) 0%, rgba(21,21,21,.75) 45%, rgba(21,21,21,.25) 100%), linear-gradient(0deg, rgba(21,21,21,.9), transparent 50%); }
.grid-bg { position: absolute; inset: 0; z-index: 1; background-image: linear-gradient(rgba(255,196,0,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,196,0,.07) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, #000 30%, transparent 70%); -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent 70%); }
.hero-in { position: relative; z-index: 2; padding-block: 90px clamp(40px, 6vw, 70px); }
.tag { display: inline-block; padding: 8px 12px; background: var(--y); color: var(--ink); font: 700 15px/1 var(--cond); letter-spacing: .14em; text-transform: uppercase; }
.hero-title { font: 800 clamp(64px, 10vw, 168px)/.86 var(--cond); text-transform: uppercase; letter-spacing: -.01em; margin: 22px 0; max-width: 11ch; }
.hero-title .y { display: block; }
.hero-lead { max-width: 52ch; font-size: clamp(16px, 1.4vw, 20px); color: rgba(255,255,255,.82); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-k { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 44px; border-top: 2px solid rgba(255,196,0,.4); }
.hero-k li { padding: 18px 12px 0 0; font-size: 14px; color: rgba(255,255,255,.7); }
.hero-k b { display: block; font: 800 46px/1 var(--cond); color: var(--y); }

/* Oficios */
.trades { padding: clamp(80px, 10vw, 140px) 0; }
.t-grid { display: grid; gap: 14px; }
.t { position: relative; display: grid; grid-template-rows: 200px auto; background: var(--paper); border: 2px solid var(--ink); transition: transform .4s var(--ease), box-shadow .4s; }
.t:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--ink); }
.t img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4); transition: filter .5s; border-bottom: 2px solid var(--ink); }
.t:hover img { filter: none; }
.t > div { padding: 18px; display: grid; gap: 6px; align-content: start; }
.t-n { font: 800 16px/1 var(--cond); color: var(--muted); }
.t h3 { font: 800 28px/1 var(--cond); text-transform: uppercase; }
.t p { font-size: 15px; color: var(--muted); }
.t em { justify-self: start; margin-top: 6px; padding: 6px 10px; background: var(--ink); color: var(--y); font: 700 13px/1 var(--cond); font-style: normal; letter-spacing: .1em; text-transform: uppercase; }

/* Cotizador */
.quote { padding: clamp(80px, 10vw, 140px) 0; background: var(--asphalt); color: #fff; }
.quote .lead { color: rgba(255,255,255,.7); }
.q-grid { display: grid; gap: 44px; align-items: start; }
.q-img { margin-top: 30px; aspect-ratio: 16/10; overflow: hidden; border: 2px solid var(--y); }
.q-img img { width: 100%; height: 100%; object-fit: cover; }
.qf { display: grid; gap: 14px; padding: clamp(22px, 3.5vw, 40px); background: var(--asphalt-2); border: 2px solid rgba(255,196,0,.5); }
.qf-l { font: 700 17px/1.2 var(--cond); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.qf-l b { color: var(--y); font-size: 22px; }
.qf select { padding: 16px; border: 2px solid rgba(255,255,255,.2); background: var(--asphalt); color: #fff; font: 600 16px/1.2 var(--sans); border-radius: 0; }
.qf input[type="range"] { width: 100%; accent-color: var(--y); height: 30px; }
.qf-tog { display: grid; gap: 8px; }
.qf-tog label { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; }
.qf-tog input { appearance: none; width: 46px; height: 26px; border-radius: 99px; background: #444; position: relative; transition: background .3s; flex: none; }
.qf-tog input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.qf-tog input:checked { background: var(--y); }
.qf-tog input:checked::after { transform: translateX(20px); background: var(--ink); }
.qf-out { display: grid; gap: 4px; padding: 20px; background: var(--y); color: var(--ink); margin: 6px 0; }
.qf-out span { font: 700 14px/1 var(--cond); letter-spacing: .14em; text-transform: uppercase; }
.qf-out b { font: 800 clamp(36px, 4vw, 54px)/1 var(--cond); font-variant-numeric: tabular-nums; }
.qf-out small { font-size: 13px; }

/* Proceso */
.process { padding: clamp(80px, 10vw, 130px) 0; }
.steps { display: grid; gap: 0; margin-top: 44px; counter-reset: s; }
.steps li { position: relative; padding: 26px 0 26px 76px; border-top: 2px solid var(--ink); }
.steps span { position: absolute; left: 0; top: 22px; width: 56px; height: 56px; display: grid; place-items: center; background: var(--ink); color: var(--y); font: 800 30px/1 var(--cond); }
.steps h3 { font: 800 28px/1 var(--cond); text-transform: uppercase; }
.steps p { color: var(--muted); margin-top: 6px; max-width: 44ch; }

/* Proyectos */
.projects { padding: clamp(80px, 10vw, 130px) 0; background: var(--paper); border-block: 2px solid var(--ink); }
.p-grid { display: grid; gap: 14px; }
.pj { position: relative; overflow: hidden; min-height: 320px; display: flex; align-items: flex-end; color: #fff; border: 2px solid var(--ink); }
.pj img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pj:hover img { transform: scale(1.05); }
.pj::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(21,21,21,.9), transparent 55%); }
.pj > div { position: relative; z-index: 2; padding: 20px; width: 100%; }
.pj h3 { font: 800 30px/1 var(--cond); text-transform: uppercase; }
.pj ul { display: flex; gap: 20px; margin-top: 12px; }
.pj li { font-size: 13px; color: rgba(255,255,255,.75); }
.pj li b { display: block; font: 800 26px/1 var(--cond); color: var(--y); }

/* Equipo */
.team { padding: clamp(80px, 10vw, 130px) 0; }
.m-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.m { background: var(--paper); border: 2px solid var(--ink); }
.m img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 20%; border-bottom: 2px solid var(--ink); filter: grayscale(.2); }
.m > div { padding: 14px; display: grid; gap: 4px; }
.m h3 { font: 800 24px/1 var(--cond); text-transform: uppercase; }
.m p { font-size: 14px; color: var(--muted); }
.m span { justify-self: start; margin-top: 4px; padding: 5px 9px; background: var(--y); font: 700 13px/1 var(--cond); letter-spacing: .06em; text-transform: uppercase; }

/* Contacto */
.contact { padding: clamp(80px, 10vw, 130px) 0; background: var(--asphalt); color: #fff; }
.ct-grid { display: grid; gap: 44px; align-items: start; }
.contact .h2 { font-size: clamp(36px, 4.6vw, 66px); }
.urg-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 30px 0; padding: 20px; border: 2px solid var(--y); }
.urg-box p { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.acc details { border-bottom: 2px solid rgba(255,255,255,.12); }
.acc summary { list-style: none; cursor: pointer; padding: 20px 34px 20px 0; position: relative; font: 700 22px/1.15 var(--cond); text-transform: uppercase; letter-spacing: .02em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 30px; color: var(--y); transition: transform .3s; }
.acc details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.acc details p { padding: 0 0 20px; color: rgba(255,255,255,.7); }
.cf { display: grid; gap: 14px; padding: clamp(22px, 3.5vw, 40px); background: var(--paper); color: var(--ink); border: 2px solid var(--y); box-shadow: 10px 10px 0 var(--y); }
.cf h3 { font: 800 34px/1 var(--cond); text-transform: uppercase; }
.cf label { display: grid; gap: 6px; font: 700 15px/1 var(--cond); letter-spacing: .08em; text-transform: uppercase; }
.cf input, .cf select, .cf textarea { padding: 14px; border: 2px solid var(--ink); background: #fff; font: 500 16px/1.4 var(--sans); text-transform: none; letter-spacing: 0; border-radius: 0; }
.cf input:focus, .cf select:focus, .cf textarea:focus { outline: 3px solid var(--y); outline-offset: 0; }
.cf .btn-y { box-shadow: 6px 6px 0 var(--ink); }
.form-ok { font-weight: 700; }

/* Footer */
.foot { background: #0c0c0c; color: rgba(255,255,255,.6); padding-top: 60px; }
.foot-in { display: grid; gap: 28px; padding-bottom: 40px; }
.foot .logo { color: #fff; }
.foot-in p { margin-top: 10px; }
.foot h4 { font: 800 20px/1 var(--cond); color: var(--y); text-transform: uppercase; letter-spacing: .06em; }
.foot a { cursor: pointer; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; }

/* Responsive */
@media (min-width: 720px) {
  .t-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-k { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .steps li { padding: 90px 0 0; border-top: 0; }
  .steps li::before { content: ""; position: absolute; left: 70px; right: -20px; top: 49px; height: 2px; background: var(--ink); }
  .steps li:last-child::before { display: none; }
  .steps span { top: 22px; }
  .m-grid { grid-template-columns: repeat(4, 1fr); }
  .p-grid { grid-template-columns: 1fr 1fr; }
  .pj-big { grid-row: span 2; min-height: 560px; }
}
@media (min-width: 960px) {
  .menu, .urg-btn { display: flex; }
  .burger { display: none; }
  .t-grid { grid-template-columns: repeat(4, 1fr); }
  .q-grid { grid-template-columns: 1fr 1fr; gap: 70px; }
  .p-grid { grid-template-columns: 1.4fr 1fr; }
  .ct-grid { grid-template-columns: 1.1fr 1fr; gap: 70px; }
  .foot-in { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .tape .marquee-track { animation-duration: 120s; } .dot { animation: none; } }
