:root {
  --orange: #ff6b16;
  --orange-dark: #d84d00;
  --ink: #11171a;
  --ink-soft: #20282c;
  --cream: #f7f3ec;
  --paper: #fffdf9;
  --line: #d9d6cf;
  --muted: #555d61;
  --white: #ffffff;
  --whatsapp: #08b95a;
  --whatsapp-dark: #078b47;
  --page-gutter: clamp(24px, 4vw, 64px);
  --radius: 16px;
  --topbar-height: 34px;
  --header-height: 72px;
  --shadow: 0 18px 50px rgba(17, 23, 26, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-height) + var(--header-height) + 24px); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
svg { display: block; width: 1.2em; height: 1.2em; fill: currentColor; flex: 0 0 auto; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: calc(100% - (var(--page-gutter) * 2)); margin-inline: auto; }
.topbar__inner,
.site-header__inner { width: calc(100% - (var(--page-gutter) * 2)); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -70px; z-index: 1000; padding: 12px 18px; color: var(--white); background: var(--ink); border-radius: 8px; font-weight: 700; transition: top .2s ease; }
.skip-link:focus { top: 16px; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange-dark);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1, h2, h3, .brand__name, .button, .topbar, .benefit-strip {
  font-family: "Arial Narrow", "Liberation Sans Narrow", Arial, sans-serif;
}
h1, h2 { margin: 0; letter-spacing: -.04em; line-height: .98; }
h1 { font-size: clamp(3.15rem, calc(5.5vw - 4px), 5.45rem); font-weight: 900; }
h2 { font-size: clamp(2.5rem, 4.4vw, 4.45rem); font-weight: 900; }
p { margin-block: 0 1rem; }

.topbar { position: sticky; top: 0; z-index: 110; color: var(--white); background: linear-gradient(90deg, var(--orange-dark), var(--orange)); font-size: .79rem; font-weight: 800; }
.topbar__inner { min-height: var(--topbar-height); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; }

.site-header { position: sticky; top: var(--topbar-height); z-index: 100; background: rgba(255, 253, 249, .97); border-bottom: 1px solid rgba(17, 23, 26, .1); backdrop-filter: blur(14px); }
.site-header__inner { min-height: var(--header-height); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand__mark { min-width: 44px; height: 44px; display: grid; place-items: center; color: var(--white); background: var(--orange); border-radius: 4px; font-size: 1.65rem; line-height: 1; font-weight: 900; letter-spacing: -.08em; }
.brand__name { font-size: 1.08rem; font-weight: 900; line-height: .88; letter-spacing: -.03em; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; font-size: .9rem; font-weight: 800; }
.main-nav a { position: relative; padding-block: 10px; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 5px; height: 3px; background: var(--orange); transition: right .2s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 12px 22px; border: 2px solid transparent; border-radius: 9px; font-size: 1.05rem; font-weight: 900; line-height: 1.1; text-align: center; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid #1677ff; outline-offset: 4px; }
.button--header { min-height: 42px; margin-left: 8px; padding: 9px 17px; color: var(--whatsapp-dark); background: transparent; border-color: var(--whatsapp); font-size: .9rem; white-space: nowrap; }
.button--header:hover { color: var(--white); background: var(--whatsapp); }
.button--whatsapp { color: var(--white); background: linear-gradient(135deg, var(--whatsapp), #05a84e); box-shadow: 0 10px 28px rgba(8, 185, 90, .22); }
.button--whatsapp:hover { background: var(--whatsapp-dark); box-shadow: 0 13px 30px rgba(8, 185, 90, .3); }
.button--outline { color: var(--ink); background: transparent; border-color: var(--ink); }
.button--outline:hover { color: var(--white); background: var(--ink); }
.menu-toggle { display: none; width: 48px; height: 48px; margin-left: auto; padding: 11px; border: 1px solid var(--line); background: var(--paper); border-radius: 8px; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.hero__grid { width: 100%; min-height: 660px; display: grid; grid-template-columns: .46fr .54fr; align-items: stretch; }
.hero__content { padding: clamp(58px, 7vw, 94px) 54px clamp(58px, 7vw, 94px) var(--page-gutter); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.hero__lead { max-width: 570px; margin: 24px 0 26px; color: var(--muted); font-size: clamp(1.08rem, 1.6vw, 1.35rem); line-height: 1.5; }
.hero__actions { display: grid; gap: 12px; width: min(100%, 465px); }
.hero__microcopy { margin: 15px 0 0; color: var(--muted); font-size: .98rem; }
.hero-gallery { position: relative; min-height: 660px; display: grid; grid-template: 1.12fr .9fr / .82fr 1.05fr .8fr; gap: 5px; overflow: hidden; background: var(--ink); }
.hero-gallery::before { content: ""; position: absolute; inset: 0 auto 0 -56px; z-index: 5; width: 100px; background: var(--paper); clip-path: polygon(0 0, 100% 0, 35% 100%, 0 100%); pointer-events: none; }
.hero-gallery__item { margin: 0; overflow: hidden; }
.hero-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.hero-gallery:hover img { transform: scale(1.025); }
.hero-gallery__item--machine { grid-area: 1 / 1 / 2 / 4; }
.hero-gallery__item--profiles { grid-area: 2 / 1 / 3 / 2; }
.hero-gallery__item--motors { grid-area: 2 / 2 / 3 / 3; }
.hero-gallery__item--vehicle { grid-area: 2 / 3 / 3 / 4; }
.hero-gallery__price { position: absolute; z-index: 7; top: 50px; right: 32px; padding: 14px 20px; color: var(--white); background: var(--orange); box-shadow: var(--shadow); font-family: "Arial Narrow", Arial, sans-serif; font-size: 1.5rem; font-weight: 900; line-height: .95; text-align: center; text-transform: uppercase; transform: rotate(-3deg); }
.hero-gallery__status { position: absolute; z-index: 7; right: 24px; top: 48%; display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: var(--white); background: rgba(17, 23, 26, .92); border-radius: 7px; font-weight: 800; box-shadow: var(--shadow); }
.hero-gallery__status i, .bars { display: inline-flex; align-items: end; gap: 3px; }
.hero-gallery__status i::before, .hero-gallery__status i::after, .bars i { content: ""; display: block; width: 4px; background: currentColor; }
.hero-gallery__status i::before { height: 13px; box-shadow: 7px -5px currentColor, 14px 2px currentColor; }
.hero-gallery__status i::after { display: none; }

.benefit-strip { color: var(--white); background: linear-gradient(90deg, #151b1f, #222a2e); font-size: .95rem; font-weight: 900; text-transform: uppercase; }
.benefit-strip__grid { min-height: 84px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.benefit-strip__grid > div { min-height: 35px; display: flex; align-items: center; justify-content: center; gap: 12px; padding-inline: 20px; border-right: 1px solid rgba(255,255,255,.25); }
.benefit-strip__grid > div:last-child { border-right: 0; }
.benefit-strip svg { width: 25px; height: 25px; }
.bars i:nth-child(1) { height: 8px; }
.bars i:nth-child(2) { height: 15px; }
.bars i:nth-child(3) { height: 22px; }

.section { padding: clamp(72px, 8vw, 116px) 0; }
.categories { background: var(--cream); }
.categories h2 { max-width: 1000px; }
.section__intro { margin: 13px 0 30px; color: var(--muted); font-size: 1.14rem; }
.category-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.category-card { position: relative; min-height: 330px; overflow: hidden; color: var(--white); background: var(--ink); border-radius: 12px; box-shadow: 0 2px 0 rgba(17,23,26,.2); isolation: isolate; }
.category-card::after { content: ""; position: absolute; inset: 35% 0 0; z-index: 1; background: linear-gradient(to bottom, transparent, rgba(6,10,12,.95)); }
.category-card picture, .category-card > img { width: 100%; height: 100%; }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, filter .45s ease; }
.category-card:hover img { transform: scale(1.045); filter: saturate(1.08); }
.category-card__content { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.category-card__content strong { font-family: "Arial Narrow", Arial, sans-serif; font-size: clamp(1.45rem, 2vw, 1.85rem); line-height: 1; }
.category-card__content svg { width: 30px; height: 30px; transition: transform .2s ease; }
.category-card:hover .category-card__content svg { transform: translateX(5px); }
.category-card--wide { grid-column: span 1; }

.availability { padding: 30px 0; color: var(--white); background: var(--ink); }
.availability__box { min-height: 128px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 24px 28px; border: 3px solid var(--orange); border-radius: 14px; }
.availability__icon { width: 58px; height: 58px; color: var(--orange); }
.availability h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1; }
.availability p { margin: 8px 0 0; color: #dce0e1; }

.search-cta { background: var(--paper); }
.search-cta__grid { display: grid; grid-template-columns: .93fr 1.07fr; align-items: stretch; min-height: 450px; }
.search-cta__content { padding: clamp(64px, 7vw, 98px) 52px clamp(64px, 7vw, 98px) 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.search-cta__content h2 { font-size: clamp(2.5rem, 4.3vw, 4rem); }
.search-cta__content p { max-width: 580px; margin: 22px 0 28px; color: var(--muted); font-size: 1.12rem; }
.search-cta__visual { position: relative; min-height: 450px; overflow: hidden; background: #dfe4e7; clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%); }
.search-cta__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(255,255,255,.5), transparent 55%); pointer-events: none; }
.search-cta__visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.8) contrast(1.05); }
.visual-tag { position: absolute; z-index: 2; padding: 9px 13px; color: var(--ink); background: rgba(255,255,255,.93); border: 1px solid rgba(17,23,26,.15); border-radius: 7px; box-shadow: 0 8px 22px rgba(17,23,26,.12); font-size: .82rem; font-weight: 900; text-transform: uppercase; }
.visual-tag--ptr { left: 24%; top: 16%; }
.visual-tag--vigas { left: 50%; top: 19%; }
.visual-tag--motores { left: 35%; bottom: 18%; }
.visual-tag--maquinaria { right: 6%; top: 27%; }

.contact { position: relative; overflow: hidden; padding: clamp(72px, 8vw, 110px) 0; color: var(--white); background: radial-gradient(circle at 80% 20%, #263038 0, var(--ink) 48%, #0b0f11 100%); }
.contact::before, .contact::after { content: ""; position: absolute; width: 180px; height: 360px; background: var(--orange); transform: rotate(35deg); opacity: .95; }
.contact::before { left: -155px; top: -220px; }
.contact::after { right: -145px; bottom: -230px; }
.contact__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; align-items: stretch; gap: 56px; }
.contact .eyebrow { color: var(--orange); }
.contact h2 { max-width: 660px; font-size: clamp(2.8rem, 5vw, 4.7rem); }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 32px 0 24px; }
.contact-card { min-height: 94px; display: flex; align-items: flex-start; gap: 13px; padding: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.11); border-radius: 9px; transition: background .2s ease, border-color .2s ease; }
a.contact-card:hover { background: rgba(255,255,255,.11); border-color: rgba(255,255,255,.24); }
.contact-card svg { width: 26px; height: 26px; color: var(--orange); }
.contact-card:nth-child(2) svg { color: var(--whatsapp); }
.contact-card strong, .contact-card small { display: block; }
.contact-card strong { line-height: 1.15; }
.contact-card small { margin-top: 8px; color: #cbd0d2; font-size: .82rem; line-height: 1.25; }
.contact__button { min-width: 220px; }
.map-card { position: relative; min-height: 420px; overflow: hidden; background: #252d32; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; }
.map-card__grid { position: absolute; inset: -20%; background-image: linear-gradient(32deg, transparent 46%, rgba(130,145,152,.32) 47%, rgba(130,145,152,.32) 48%, transparent 49%), linear-gradient(95deg, transparent 46%, rgba(130,145,152,.2) 47%, rgba(130,145,152,.2) 48%, transparent 49%), linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 140px 120px, 210px 170px, 38px 38px, 38px 38px; transform: rotate(-6deg); }
.map-card__pin { position: absolute; left: 46%; top: 42%; width: 62px; height: 62px; display: grid; place-items: center; color: var(--white); background: var(--orange); border-radius: 50% 50% 50% 8px; transform: rotate(-45deg); box-shadow: 0 12px 30px rgba(255,107,22,.35); }
.map-card__pin svg { width: 32px; height: 32px; transform: rotate(45deg); }
.map-card__label { position: absolute; top: 24px; right: 24px; padding-left: 14px; border-left: 3px solid var(--orange); font-weight: 800; line-height: 1.1; }
.map-card__label small { color: #b9c0c3; font-weight: 400; }
.map-card__caption { position: absolute; right: 20px; bottom: 16px; font-size: .72rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }

.site-footer { padding: 36px 0 22px; background: var(--paper); }
.site-footer__grid { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 46px; }
.brand--footer { padding-right: 46px; border-right: 1px solid var(--line); }
.brand--footer .brand__mark { min-width: 50px; height: 50px; font-size: 1.85rem; }
.site-footer p { margin: 0; color: var(--muted); font-size: .9rem; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 22px; font-size: .84rem; font-weight: 700; }
.site-footer nav a:hover { color: var(--orange-dark); }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 26px; padding-top: 18px; color: var(--muted); border-top: 1px solid var(--line); }
.site-footer__bottom small { font-size: .75rem; }

.whatsapp-float { position: fixed; z-index: 120; right: max(20px, var(--page-gutter)); bottom: 22px; width: 62px; height: 62px; display: grid; place-items: center; color: var(--white); background: var(--whatsapp); border: 3px solid var(--white); border-radius: 50%; box-shadow: 0 10px 32px rgba(0,0,0,.25); transition: transform .2s ease, background .2s ease; }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.03); background: var(--whatsapp-dark); }
.whatsapp-float svg { width: 32px; height: 32px; }

@media (max-width: 1080px) {
  :root { --header-height: 68px; }
  .site-header__inner { gap: 20px; }
  .brand__mark { min-width: 42px; height: 42px; font-size: 1.55rem; }
  .brand__name { font-size: 1rem; }
  .main-nav { gap: 20px; }
  .button--header span { display: none; }
  .button--header { width: 50px; padding-inline: 0; }
  .hero__grid { min-height: 600px; }
  .hero-gallery { min-height: 600px; }
  .contact__grid { gap: 32px; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-card { min-height: 74px; }
}

@media (max-width: 860px) {
  :root { --page-gutter: 16px; }
  .container, .topbar__inner, .site-header__inner { width: calc(100% - (var(--page-gutter) * 2)); }
  .topbar { font-size: .78rem; }
  .menu-toggle { display: block; }
  .site-header__inner { min-height: var(--header-height); }
  .main-nav { position: absolute; inset: 100% 0 auto; z-index: 99; max-height: 0; display: grid; gap: 0; margin: 0; overflow: hidden; color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(17,23,26,.12); visibility: hidden; opacity: 0; transition: max-height .28s ease, opacity .2s ease, visibility .2s; }
  .main-nav.is-open { max-height: 360px; visibility: visible; opacity: 1; }
  .main-nav a { padding: 17px 24px; border-top: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .button--header { margin-left: 0; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__content { padding: 72px var(--page-gutter) 58px; }
  .hero-gallery { width: 100%; min-height: 520px; margin-left: 0; }
  .hero-gallery::before { display: none; }
  .hero-gallery__price { top: 28px; right: 18px; }
  .benefit-strip__grid { grid-template-columns: 1fr 1fr; padding-block: 12px; }
  .benefit-strip__grid > div { min-height: 55px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .benefit-strip__grid > div:nth-last-child(-n+2) { border-bottom: 0; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .availability__box { grid-template-columns: auto 1fr; }
  .availability__box .button { grid-column: 1 / -1; width: 100%; }
  .search-cta__grid { grid-template-columns: 1fr; }
  .search-cta__content { padding: 72px 0 54px; }
  .search-cta__visual { width: calc(100% + 32px); min-height: 420px; margin-left: -16px; clip-path: none; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: repeat(3, 1fr); }
  .map-card { min-height: 360px; }
  .site-footer__grid { grid-template-columns: auto 1fr; }
  .site-footer nav { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 600px) {
  :root { --page-gutter: 14px; --topbar-height: 34px; --header-height: 66px; }
  html { scroll-padding-top: calc(var(--topbar-height) + var(--header-height) + 16px); }
  .container, .topbar__inner, .site-header__inner { width: calc(100% - (var(--page-gutter) * 2)); }
  .topbar__inner { justify-content: center; }
  .topbar__inner > span { display: none; }
  .brand { gap: 8px; }
  .brand__mark { min-width: 42px; height: 42px; font-size: 1.55rem; }
  .brand__name { font-size: 1rem; }
  .button--header { display: none; }
  .site-header__inner { gap: 12px; }
  .hero__content { padding: 56px var(--page-gutter) 44px; }
  h1 { font-size: clamp(2.75rem, calc(14vw - 4px), calc(4.3rem - 4px)); }
  h2 { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .hero__lead { margin-block: 20px 24px; font-size: 1.05rem; }
  .hero__actions, .hero__actions .button { width: 100%; }
  .hero-gallery { min-height: 430px; grid-template: 1.1fr .85fr / 1fr 1fr 1fr; }
  .hero-gallery__price { top: 16px; right: 12px; padding: 10px 12px; font-size: 1.03rem; }
  .hero-gallery__status { right: 12px; top: auto; bottom: 42%; padding: 9px 11px; font-size: .76rem; }
  .benefit-strip__grid { grid-template-columns: 1fr; padding-block: 4px; }
  .benefit-strip__grid > div { justify-content: flex-start; padding-inline: 8px; border-bottom: 1px solid rgba(255,255,255,.15); }
  .benefit-strip__grid > div:nth-last-child(2) { border-bottom: 1px solid rgba(255,255,255,.15); }
  .category-grid { grid-template-columns: 1fr; gap: 14px; }
  .category-card { min-height: 300px; }
  .availability { padding: 18px 0; }
  .availability__box { grid-template-columns: 1fr; gap: 14px; padding: 22px 18px; text-align: center; }
  .availability__icon { margin-inline: auto; }
  .availability .button { padding-inline: 14px; }
  .search-cta__content { padding: 60px 0 44px; }
  .search-cta__content .button { width: 100%; }
  .search-cta__visual { min-height: 330px; }
  .visual-tag { padding: 7px 9px; font-size: .68rem; }
  .contact { padding: 66px 0; }
  .contact-cards { grid-template-columns: 1fr; margin-top: 26px; }
  .contact-card { min-height: 76px; }
  .contact__button { width: 100%; }
  .map-card { min-height: 310px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 20px; }
  .brand--footer { width: fit-content; padding-right: 0; border-right: 0; }
  .site-footer nav { grid-column: auto; display: grid; grid-template-columns: 1fr 1fr; justify-content: start; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; gap: 7px; }
  .whatsapp-float { right: 14px; bottom: 14px; width: 58px; height: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
