/* =========================================================
   GRÚAS FAJARDO — Hoja de estilos
   Paleta: amarillo industrial + negro/acero + blanco
   ========================================================= */
:root {
  --yellow: #FFC20E;
  --yellow-600: #E5A900;
  --yellow-100: #FFF4CC;
  --ink: #141414;
  --steel: #23262B;
  --steel-2: #2F333A;
  --gray-700: #4A4F57;
  --gray-500: #7A808A;
  --gray-200: #E6E6E2;
  --gray-100: #F5F5F2;
  --white: #FFFFFF;

  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 6px;
  --shadow: 0 10px 30px -12px rgba(0,0,0,.25);
  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 .5em;
  text-transform: uppercase;
  letter-spacing: .01em;
}
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.ico {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-head);
  font-weight: 700; font-size: .95rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--yellow-600);
  margin-bottom: .8rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--yellow); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .8em 1.4em; border-radius: var(--radius);
  border: 2px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn--primary { background: var(--yellow); color: var(--ink); }
.btn--primary:hover { background: var(--yellow-600); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--steel-2); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--ghost { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn--ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn--lg { font-size: 1.15rem; padding: .9em 1.6em; }
.btn--block { width: 100%; }
.btn .ico { width: 20px; height: 20px; }

.link-arrow {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; font-size: .95rem;
  display: inline-flex; align-items: center; gap: .4em;
  border-bottom: 2px solid var(--yellow);
}
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: #cfd2d6; font-size: .88rem; }
.topbar__inner { display: flex; gap: 1.6rem; align-items: center; min-height: 40px; }
.topbar__item { display: inline-flex; align-items: center; gap: .45em; }
.topbar__item .ico { color: var(--yellow); width: 16px; height: 16px; }
.topbar__phone { margin-left: auto; color: var(--white); font-weight: 600; }
.topbar__phone:hover { color: var(--yellow); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow .2s;
}
.header.is-scrolled { box-shadow: 0 6px 20px -10px rgba(0,0,0,.25); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: .65rem; }
.logo__mark {
  width: 48px; height: 48px; border-radius: var(--radius);
  background: var(--yellow); display: grid; place-items: center;
}
.logo__mark svg { width: 34px; height: 34px; fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.logo__text { display: flex; flex-direction: column; font-family: var(--font-head); line-height: .95; text-transform: uppercase; }
.logo__text strong { font-size: 1.6rem; font-weight: 800; letter-spacing: .04em; }
.logo__text span { font-size: 1rem; font-weight: 600; letter-spacing: .32em; color: var(--gray-700); }

.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a:not(.btn) {
  font-family: var(--font-head); font-weight: 600; font-size: 1.08rem;
  text-transform: uppercase; letter-spacing: .05em;
  position: relative; padding: .3em 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0;
  background: var(--yellow); transition: width .2s;
}
.nav a:not(.btn):hover::after, .nav a.is-active::after { width: 100%; }
.nav__cta { padding: .6em 1.1em; }

.burger { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; }
.burger span { display: block; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--steel); color: var(--white);
  padding: clamp(60px, 9vw, 120px) 0 clamp(50px, 7vw, 90px);
}
/* Para usar una foto real: background: linear-gradient(90deg, rgba(20,20,20,.92) 35%, rgba(20,20,20,.4)), url(../img/hero.jpg) center/cover; */
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 85% 30%, rgba(255,194,14,.18), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 80px);
}
.hero__bg::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 18px, var(--ink) 18px 36px);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 800; margin-bottom: .35em; }
.hero .hl { color: var(--yellow); }
.hero__lead { font-size: 1.15rem; color: #d3d6da; max-width: 560px; margin-bottom: 1.8rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2rem; }
.hero__badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.hero__badges li { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: #e9eaec; }
.hero__badges .ico { color: var(--yellow); stroke-width: 3; }

.hero__art { position: relative; }
.crane-svg { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.4)); }
.crane-svg .load { animation: sway 4s ease-in-out infinite; transform-origin: 282px 108px; }
@keyframes sway { 0%,100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }

/* ---------- Stats ---------- */
.stats { background: var(--yellow); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 16px; text-align: center; border-right: 2px solid rgba(20,20,20,.12); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; }
.stat span { font-weight: 600; font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- Secciones ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--gray { background: var(--gray-100); }
.section--dark { background: var(--steel); color: var(--white); }
.section--dark .section__head p { color: #c3c7cc; }
.section__head { max-width: 720px; margin-bottom: 48px; }
.section__head p { color: var(--gray-700); font-size: 1.1rem; }

/* ---------- Servicios ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 32px 28px; position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0;
  background: var(--yellow); transition: width .3s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::before { width: 100%; }
.service__icon {
  width: 60px; height: 60px; border-radius: var(--radius);
  background: var(--yellow-100); display: grid; place-items: center; margin-bottom: 20px;
}
.service__icon svg { width: 32px; height: 32px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service p { color: var(--gray-700); }

/* ---------- Maquinaria ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tab {
  background: transparent; color: #d7dadd;
  border: 2px solid var(--steel-2); border-radius: 40px;
  padding: .5em 1.2em; font-family: var(--font-head); font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em; font-size: 1rem;
  transition: background .2s, color .2s, border-color .2s;
}
.tab:hover { border-color: var(--yellow); color: var(--white); }
.tab.is-active { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

.fleet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.machine {
  background: var(--steel-2); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.machine:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -18px rgba(0,0,0,.6); }
.machine.is-hidden { display: none; }
.machine__media {
  aspect-ratio: 4 / 3; position: relative;
  background:
    linear-gradient(160deg, rgba(255,194,14,.22), transparent 55%),
    repeating-linear-gradient(-45deg, #3a3f46 0 10px, #353a40 10px 20px);
  display: grid; place-items: center;
}
/* Etiqueta del placeholder — se oculta sola cuando pongas una <img> */
.machine__media::after {
  content: attr(data-label);
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: rgba(255,255,255,.35); font-size: 1rem; text-align: center; padding: 0 12px;
}
.machine__media { overflow: hidden; }
.machine__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.machine:hover .machine__media img { transform: scale(1.05); }
/* degradado inferior para que el crédito sea legible */
.machine__media:has(img)::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; z-index: 1;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
  pointer-events: none;
}
.credit {
  position: absolute; right: 8px; bottom: 6px; z-index: 2;
  font-size: .68rem; line-height: 1.2; color: rgba(255,255,255,.85);
  text-align: right; max-width: calc(100% - 16px);
}
.credit a { text-decoration: underline; text-underline-offset: 2px; }
.credit a:hover { color: var(--yellow); }
.tag {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  background: var(--yellow); color: var(--ink);
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .06em;
  padding: .25em .7em; border-radius: 3px;
}
.machine__body { padding: 22px 20px; display: flex; flex-direction: column; flex: 1; }
.machine__body h3 { font-size: 1.35rem; }
.specs { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; }
.specs li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,.12); font-size: .93rem; }
.specs span { color: #a9aeb5; }
.specs strong { text-align: right; font-weight: 600; }

/* ---------- Áridos ---------- */
.aggregates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.agg {
  border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden;
  background: var(--white); transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.agg:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.agg__swatch { height: 150px; position: relative; overflow: hidden; }
.agg__swatch img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.agg:hover .agg__swatch img { transform: scale(1.06); }
.agg__swatch:has(img)::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; z-index: 1;
  background: linear-gradient(transparent, rgba(0,0,0,.55)); pointer-events: none;
}
.agg__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.agg__body h3 { font-size: 1.3rem; margin-bottom: .3em; }
.agg__body p { color: var(--gray-700); font-size: .95rem; flex: 1; }
.agg__cta {
  align-self: flex-start; background: none; border: 0; padding: 0;
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  border-bottom: 2px solid var(--yellow);
}
.agg__cta:hover { color: var(--yellow-600); }

/* Texturas CSS de cada árido (reemplazables por fotos) */
.sw-arena-gruesa { background: radial-gradient(#a98b62 1px, transparent 1.5px) 0 0/6px 6px, radial-gradient(#8a6d47 1px, transparent 1.5px) 3px 3px/7px 7px, #c2a479; }
.sw-arena-fina   { background: radial-gradient(#d8c39b 1px, transparent 1.2px) 0 0/4px 4px, #e6d3ad; }
.sw-gravilla     { background: radial-gradient(circle at 30% 30%, #9a9a94 3px, transparent 4px) 0 0/14px 14px, radial-gradient(circle at 60% 60%, #6f706b 3px, transparent 4px) 7px 7px/14px 14px, #84857f; }
.sw-ripio        { background: radial-gradient(circle, #8f8a80 5px, transparent 6px) 0 0/22px 22px, radial-gradient(circle, #6b665d 6px, transparent 7px) 11px 11px/22px 22px, #a39d91; }
.sw-estabilizado { background: radial-gradient(#7d6f5c 1.5px, transparent 2px) 0 0/8px 8px, radial-gradient(#a8977c 3px, transparent 4px) 4px 4px/16px 16px, #94846c; }
.sw-bolon        { background: radial-gradient(circle at 40% 40%, #b2aea6 14px, #6e6a63 15px, transparent 16px) 0 0/40px 40px, radial-gradient(circle at 40% 40%, #9b978f 12px, #5d5952 13px, transparent 14px) 20px 20px/40px 40px, #4c4944; }
.sw-maicillo     { background: radial-gradient(#d29a59 1.2px, transparent 1.6px) 0 0/5px 5px, radial-gradient(#b5793a 1.5px, transparent 2px) 2px 2px/9px 9px, #dca868; }
.sw-tierra       { background: radial-gradient(#3b2a1d 1.5px, transparent 2px) 0 0/7px 7px, radial-gradient(#6a4c34 2px, transparent 3px) 3px 3px/11px 11px, #4f3826; }

/* Calculadora */
.calc {
  margin-top: 48px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px;
  background: var(--ink); color: var(--white); border-radius: var(--radius);
  padding: clamp(24px, 4vw, 44px); position: relative; overflow: hidden;
}
.calc::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, var(--ink) 14px 28px);
}
.calc__info p { color: #c3c7cc; }
.calc__trucks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.calc__trucks li { background: var(--steel-2); border-radius: var(--radius); padding: .5em .9em; font-size: .92rem; color: #c3c7cc; }
.calc__trucks strong { color: var(--yellow); font-family: var(--font-head); font-size: 1.15rem; margin-right: .2em; }
.calc__form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-content: start; }
.calc__form label { font-weight: 600; font-size: .9rem; color: #c3c7cc; display: flex; flex-direction: column; gap: 6px; }
.calc__form input {
  background: var(--steel-2); border: 2px solid transparent; color: var(--white);
  border-radius: var(--radius); padding: .7em .8em; font: inherit; font-size: 1.1rem;
}
.calc__form input:focus { outline: none; border-color: var(--yellow); }
.calc__result {
  grid-column: 1 / -1; background: var(--yellow); color: var(--ink);
  border-radius: var(--radius); padding: 18px 22px;
  display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 4px 14px;
}
.calc__result span { font-weight: 600; }
.calc__result strong { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; line-height: 1; }
.calc__result small { grid-column: 1 / -1; font-weight: 600; }

/* ---------- Pasos ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { background: var(--white); border-radius: var(--radius); padding: 30px 26px; border-top: 4px solid var(--yellow); }
.steps__n { font-family: var(--font-head); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--yellow); display: block; margin-bottom: .3em; -webkit-text-stroke: 1px var(--ink); }
.steps p { color: var(--gray-700); margin: 0; }

/* ---------- Nosotros ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__media { position: relative; }
.about__photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius);
  background:
    linear-gradient(200deg, rgba(255,194,14,.35), transparent 60%),
    repeating-linear-gradient(-45deg, #2f333a 0 14px, #2a2e34 14px 28px);
  display: grid; place-items: center;
}
.about__photo::after {
  content: attr(data-label); font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em;
  color: rgba(255,255,255,.4); font-weight: 700; text-align: center; padding: 20px;
}
.about__badge {
  position: absolute; right: -16px; bottom: 32px;
  background: var(--yellow); padding: 20px 24px; border-radius: var(--radius);
  display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow);
}
.about__badge strong { font-family: var(--font-head); font-size: 3.4rem; font-weight: 800; line-height: 1; }
.about__badge span { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; line-height: 1.1; }
.about__copy p { color: var(--gray-700); font-size: 1.08rem; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; }
.checks li { position: relative; padding: 0 0 12px 34px; color: var(--gray-700); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' stroke='%23141414' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.checks strong { color: var(--ink); }

/* ---------- CTA banda ---------- */
.cta-band {
  background:
    repeating-linear-gradient(-45deg, rgba(20,20,20,.06) 0 20px, transparent 20px 40px),
    var(--yellow);
  padding: 48px 0;
}
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: .15em; }
.cta-band p { margin: 0; font-weight: 600; }
.cta-band__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact__info > p { color: var(--gray-700); font-size: 1.08rem; }
.contact__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 14px; align-items: center; }
.contact__list small { display: block; color: var(--gray-500); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.contact__list a, .contact__list span { font-weight: 600; }
.contact__list a:hover { color: var(--yellow-600); }
.contact__ico { width: 48px; height: 48px; flex: none; border-radius: var(--radius); background: var(--ink); display: grid; place-items: center; }
.contact__ico svg { width: 22px; height: 22px; fill: none; stroke: var(--yellow); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.form {
  background: var(--gray-100); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px);
  border-top: 6px solid var(--yellow); display: grid; gap: 16px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .92rem; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; font-size: 1rem;
  padding: .75em .85em; border: 2px solid var(--gray-200); border-radius: var(--radius);
  background: var(--white); color: var(--ink); width: 100%;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255,194,14,.25); }
.form .is-invalid { border-color: #d64545; }
.form__error { color: #b42318; font-weight: 600; margin: 0; }
.form__note { color: var(--gray-500); text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #b6bac0; }
.stripes { height: 10px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 16px, var(--ink) 16px 32px); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.footer h4 { color: var(--white); font-size: 1.15rem; letter-spacing: .06em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--yellow); }
.logo--footer { margin-bottom: 16px; }
.logo--footer .logo__text strong { color: var(--white); }
.logo--footer .logo__text span { color: #9aa0a8; }
.footer__bottom { border-top: 1px solid #2a2d31; padding-top: 20px; padding-bottom: 24px; font-size: .88rem; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: grid; place-items: center; box-shadow: 0 10px 24px -6px rgba(0,0,0,.4);
  transition: transform .2s;
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.08); }

/* ---------- Animación de aparición ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .crane-svg .load { animation: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .fleet, .aggregates { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: 8px 20px 24px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 20px 30px -20px rgba(0,0,0,.3);
    transform: translateY(-120%); visibility: hidden;
    transition: transform .25s ease, visibility .25s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--gray-200); }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 16px; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { max-width: 460px; margin: 0 auto; width: 100%; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .fleet, .aggregates { grid-template-columns: repeat(2, 1fr); }
  .calc { grid-template-columns: 1fr; }
  .about, .contact { grid-template-columns: 1fr; }
  .about__badge { right: 16px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 2px solid rgba(20,20,20,.12); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .hide-sm { display: none !important; }
  .topbar__inner { gap: 1rem; font-size: .82rem; }
  .logo__mark { width: 42px; height: 42px; }
  .logo__text strong { font-size: 1.4rem; }
  .hero__ctas .btn { width: 100%; }
  .services, .fleet, .steps { grid-template-columns: 1fr; }
  .aggregates { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .agg__swatch { height: 90px; }
  .agg__body { padding: 14px; }
  .agg__body h3 { font-size: 1.1rem; }
  .agg__body p { font-size: .85rem; }
  .calc__form { grid-template-columns: 1fr 1fr; }
  .calc__form label:nth-child(3) { grid-column: 1 / -1; }
  .form__row { grid-template-columns: 1fr; }
  .cta-band__btns, .cta-band__btns .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}

/* =========================================================
   TEMAS POR MARCA
   ========================================================= */
/* Grúas Fajardo: verde lima + negro (según su afiche) */
.theme-gruas {
  --yellow: #8DD619;
  --yellow-600: #5C9A00;
  --yellow-100: #EEF8DD;
  --steel: #121412;
  --steel-2: #1F231F;
}
.theme-gruas .hero__bg {
  background:
    radial-gradient(800px 420px at 85% 30%, rgba(141,214,25,.20), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 80px);
}
/* Áridos Doña Bárbara: amarillo + tonos tierra */
.theme-aridos {
  --steel: #2A241E;
  --steel-2: #3A322A;
}
.theme-aridos .hero__bg {
  background:
    radial-gradient(800px 420px at 85% 30%, rgba(255,194,14,.18), transparent 60%),
    radial-gradient(#3a3128 1px, transparent 1.5px) 0 0/14px 14px;
}

.hero .eyebrow, .section--dark .eyebrow { color: var(--yellow); }

/* ---------- Logos ---------- */
.logo__mark--gf {
  background: var(--ink); color: var(--yellow);
  font-family: var(--font-head); font-style: italic; font-weight: 900;
  font-size: 1.7rem; letter-spacing: -.02em; line-height: 1;
  border-bottom: 4px solid var(--yellow);
}
.logo--footer .logo__mark--gf { background: var(--yellow); color: var(--ink); border-bottom-color: var(--white); }
.logo__mound { fill: var(--ink) !important; stroke: none !important; }

/* ---------- Topbar ---------- */
a.topbar__item:hover { color: var(--yellow); }

/* ---------- Enlace a la otra marca en el menú ---------- */
.nav a.nav__sister {
  border: 2px solid var(--gray-200); border-radius: 40px; padding: .3em .9em !important;
}
.nav a.nav__sister::after { display: none; }
.nav a.nav__sister:hover { border-color: var(--ink); }

/* ---------- Hero con foto real ---------- */
.hero__photo { position: relative; justify-self: center; width: min(100%, 420px); }
.hero__photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius);
  border: 4px solid var(--yellow); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
  transform: rotate(2deg);
}
.hero__photo-tag {
  position: absolute; left: -14px; bottom: 28px;
  background: var(--yellow); color: var(--ink);
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  padding: .5em 1em; border-radius: 4px; box-shadow: var(--shadow);
}

/* ---------- Franja: textos en vez de cifras ---------- */
.stat strong { font-size: clamp(1.4rem, 2.6vw, 2.1rem); text-transform: uppercase; }
.stat span { font-size: .85rem; }

/* ---------- Servicios en 4 columnas ---------- */
.services--4 { grid-template-columns: repeat(4, 1fr); }
.service--cta { background: var(--yellow); border-color: var(--yellow); display: flex; flex-direction: column; justify-content: center; }
.service--cta p { color: var(--ink); }
.service--cta::before { display: none; }
.service--cta .btn { align-self: flex-start; }

/* ---------- Flota de 4 con fotos verticales ---------- */
.fleet--4 { grid-template-columns: repeat(4, 1fr); }
.fleet--4 .machine__media { aspect-ratio: 4 / 5; }

/* ---------- Nosotros / reparto con foto real ---------- */
.about__img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about__badge strong { font-style: italic; }

/* ---------- Pasos compactos (página de áridos) ---------- */
.steps--compact { grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 8px 0 28px; }
.steps--compact li { padding: 18px 16px; }
.steps--compact .steps__n { font-size: 2rem; }
.steps--compact h3 { font-size: 1.15rem; }
.steps--compact p { font-size: .9rem; }

/* ---------- Áridos: cemento, bloquetas y "otros" ---------- */
.agg__swatch--icon { display: grid; place-items: center; }
.agg__swatch--icon svg { width: 72px; height: 72px; fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.sw-cemento  { background: linear-gradient(135deg, #cfcfca, #a9a9a3); }
.sw-bloqueta { background: linear-gradient(135deg, #b9b6ad, #8f8b82); }
.agg--more { background: var(--yellow); border-color: var(--yellow); }
.agg--more .agg__body { justify-content: center; }
.agg--more p { color: var(--ink); }
.agg--more .btn { align-self: flex-start; }

/* ---------- Bloque que enlaza a la otra marca ---------- */
.sister { background: var(--ink); color: var(--white); padding: clamp(48px, 7vw, 80px) 0; }
.sister--aridos { background: #2A241E; --yellow: #FFC20E; --yellow-600: #E5A900; }
.sister--gruas { background: #121412; --yellow: #8DD619; --yellow-600: #5C9A00; }
.sister__inner { display: grid; grid-template-columns: 280px 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.sister__img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: 4px solid var(--yellow); }
.sister .eyebrow { color: var(--yellow); }
.sister p { color: #cfd2d6; max-width: 560px; font-size: 1.08rem; }

@media (max-width: 1080px) {
  .services--4, .fleet--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero__photo { width: min(100%, 360px); margin-top: 8px; }
  .nav a.nav__sister { border: 0; border-radius: 0; padding: 14px 0 !important; border-bottom: 1px solid var(--gray-200); }
  .sister__inner { grid-template-columns: 1fr; }
  .sister__img { max-width: 320px; }
}
@media (max-width: 600px) {
  .services--4, .fleet--4 { grid-template-columns: 1fr; }
  .steps--compact { grid-template-columns: 1fr; }
  .hero__photo-tag { left: 8px; }
}
/* las fotos llevan width/height en el HTML: dejar que aspect-ratio mande */
.hero__photo img, .about__img, .sister__img img { height: auto; }
/* calculadora: que los inputs puedan encogerse en pantallas angostas */
.calc { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.calc__form > *, .calc__form input { min-width: 0; width: 100%; }
@media (max-width: 900px) { .calc { grid-template-columns: minmax(0, 1fr); } }
/* catálogo de 6 materiales: 3 columnas */
.aggregates--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .aggregates--3 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Botón para cambiar a la otra marca (fuera del menú, visible siempre) ---------- */
.nav { margin-left: auto; }
.brand-switch {
  display: inline-flex; align-items: center; gap: .5em; margin-left: 20px; flex: none;
  padding: .45em .9em .45em .6em; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
  font-size: 1.1rem; line-height: 1; color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
  transition: transform .15s, box-shadow .15s;
}
.brand-switch span { display: flex; flex-direction: column; }
.brand-switch small { font-size: .62rem; font-weight: 700; letter-spacing: .12em; opacity: .75; }
.brand-switch svg { width: 26px; height: 26px; flex: none; fill: var(--ink); }
.brand-switch svg.brand-switch__line { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.brand-switch:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--ink), 0 6px 14px -6px rgba(0,0,0,.4); }
.brand-switch--aridos { background: #FFC20E; }
.brand-switch--gruas { background: #8DD619; }
@media (max-width: 900px) {
  .brand-switch { margin-left: auto; margin-right: 8px; font-size: 1rem; }
}
@media (max-width: 380px) {
  .brand-switch small { display: none; }
  .logo__text strong { font-size: 1.25rem; }
}

/* ===== Mapa de ubicación ===== */
.map { margin-top: 24px; border-radius: var(--radius); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); background: #e9e9e9; }
.map iframe { display: block; width: 100%; height: 260px; border: 0; }
.map__btn { display: flex; justify-content: center; width: 100%; border-radius: 0; }
