/* =========================================================
   ACONSA — Alquiler de maquinaria
   ========================================================= */
:root {
  --ink: #0b0c0e;
  --steel: #141619;
  --steel-2: #1c1f23;
  --line: rgba(255,255,255,.09);
  --line-2: rgba(255,255,255,.16);
  --text: #f3f1ec;
  --muted: #9a9ea6;
  --paper: #efebe4;
  --paper-2: #e5e0d7;
  --paper-ink: #16171a;
  --paper-muted: #5d5f64;
  --orange: #ff5a1f;
  --orange-2: #ff7a3d;
  --orange-deep: #e2440d;
  --yellow: #ffc21a;
  --wa: #25d366;
  --radius: 18px;
  --radius-sm: 10px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --ease: cubic-bezier(.2,.7,.1,1);
  --f: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --head-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--head-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: var(--f); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
svg { width: 1em; height: 1em; flex: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--orange); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Botones ---------- */
.btn {
  --bg: transparent; --fg: var(--text); --bd: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.4em; border-radius: 999px; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer;
  font-weight: 700; font-size: 15px; letter-spacing: .01em; white-space: nowrap;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .35s;
}
.btn svg { font-size: 1.15em; transition: transform .3s var(--ease); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn--primary { --bg: var(--orange); --fg: #fff; --bd: var(--orange); box-shadow: 0 10px 30px -10px rgba(255,90,31,.7); }
.btn--primary:hover { --bg: var(--orange-2); box-shadow: 0 16px 40px -12px rgba(255,90,31,.85); }
.btn--light { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn--light:hover { --bg: var(--paper); }
.btn--ghost:hover { --bd: var(--text); }
.btn--dark { --bg: var(--paper-ink); --fg: #fff; --bd: var(--paper-ink); }
.btn--dark:hover { --bg: var(--orange); --bd: var(--orange); }
.btn--wa { --bg: var(--wa); --fg: #062b14; --bd: var(--wa); }
.btn--wa:hover { filter: brightness(1.06); }
.btn--lg { padding: 1.1em 1.7em; font-size: 16px; }
.btn--sm { padding: .6em 1em; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Cabecera ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--head-h);
  transition: background .35s, backdrop-filter .35s, border-color .35s, transform .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.topbar.is-solid { background: rgba(11,12,14,.78); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-color: var(--line); }
.topbar.is-hidden { transform: translateY(-100%); }
.topbar__inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: flex-end; gap: 2px; text-decoration: none; color: var(--text); }
.brand__a { width: 38px; height: 33px; color: var(--orange); margin-bottom: 2px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__txt b { font-size: 25px; font-weight: 800; letter-spacing: .06em; font-stretch: 110%; }
.brand__txt small { font-size: 8.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 4px; border-top: 1.5px solid var(--orange); padding-top: 3px; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { position: relative; padding: 8px 12px; text-decoration: none; font-weight: 600; font-size: 15px; color: #d6d6d6; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover, .nav a.is-active { color: #fff; background: rgba(255,255,255,.07); }
.nav a.is-active::after { content: ''; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; border-radius: 50%; background: var(--orange); transform: translateX(-50%); }

.topbar__cta { display: flex; align-items: center; gap: 10px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #666; position: relative; }
.status.is-open { color: #7ee2a0; }
.status.is-open i { background: #2fd27a; }
.status.is-open i::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #2fd27a; animation: ping 1.8s infinite; }
.status.is-closed i { background: #e05252; }
.topbar .status { display: none; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

.quote-toggle {
  position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2);
  background: transparent; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s;
}
.quote-toggle svg { font-size: 20px; }
.quote-toggle:hover { background: rgba(255,255,255,.07); border-color: var(--text); }
.quote-count {
  position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--orange); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center;
  transform: scale(0); transition: transform .35s var(--ease);
}
.has-items .quote-count { transform: scale(1); }
.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.nav-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.nav-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--head-h) + 40px) 0 120px; overflow: hidden; isolation: isolate; }
.hero__grid {
  position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 30% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 30% 40%, #000 30%, transparent 75%);
  animation: gridmove 20s linear infinite;
}
@keyframes gridmove { to { background-position: 64px 64px; } }
.hero::before {
  content: ''; position: absolute; z-index: -2; width: 70vw; height: 70vw; right: -20vw; top: -25vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,90,31,.32), transparent 62%); filter: blur(10px);
}
.hero__photo {
  position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: 56%;
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; transform: scale(1.12); will-change: transform; filter: saturate(1.05) contrast(1.05); }
.hero__photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(11,12,14,.55) 30%, rgba(11,12,14,.1) 70%), linear-gradient(0deg, var(--ink) 0%, transparent 35%);
}
.hero__photo::before { content: ''; position: absolute; z-index: 1; left: 0; top: 0; bottom: 0; width: 22%; background: linear-gradient(to bottom right, transparent calc(50% - 2px), var(--orange) calc(50% - 2px), var(--orange) calc(50% + 2px), transparent calc(50% + 2px)); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; color: #cfcfcf; background: rgba(255,255,255,.03); backdrop-filter: blur(6px); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,90,31,.25); }

.hero__title { margin: 0; font-weight: 900; font-stretch: 112%; text-transform: uppercase; line-height: .9; letter-spacing: -.02em; font-size: clamp(48px, 9.2vw, 148px); }
.hero__title .line { display: block; overflow: hidden; padding: .12em 0 .04em; margin-top: -.12em; }
.hero__title .line > span { display: inline-block; }
.hero__title .outline { color: transparent; -webkit-text-stroke: 2px var(--text); }
.hero__title em { font-style: italic; color: var(--orange); font-stretch: 100%; }
.hero__lead { max-width: 560px; margin: 28px 0 0; font-size: clamp(17px, 1.5vw, 20px); color: #c9c9c9; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero__stats { display: grid; grid-template-columns: repeat(4, auto); gap: 8px 48px; margin: 64px 0 0; justify-content: start; }
.hero__stats div { border-left: 2px solid var(--orange); padding-left: 14px; }
.hero__stats dt { font-size: clamp(30px, 3.4vw, 46px); font-weight: 900; font-stretch: 115%; line-height: 1; font-variant-numeric: tabular-nums; }
.hero__stats dd { margin: 6px 0 0; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-family: var(--mono); }

.hero__badge { position: absolute; right: clamp(16px, 5vw, 80px); bottom: 70px; width: 150px; height: 150px; display: grid; place-items: center; }
.hero__badge > svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.hero__badge text { fill: #fff; font-family: var(--mono); font-size: 12.2px; letter-spacing: .22em; font-weight: 600; }
.hero__badge-a { width: 56px; height: 50px; color: var(--orange); background: var(--ink); border-radius: 50%; padding: 22px; box-sizing: content-box; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 2px solid var(--line-2); border-radius: 20px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--orange); animation: scrolly 1.8s var(--ease) infinite; }
@keyframes scrolly { 60% { transform: translateY(12px); opacity: 0; } 61% { transform: none; opacity: 0; } }

/* ---------- Cinta ---------- */
.ticker { position: relative; z-index: 2; background: var(--orange); color: #fff; overflow: hidden; transform: rotate(-1.4deg) scale(1.03); margin: -30px 0 0; box-shadow: 0 20px 50px -20px rgba(255,90,31,.6); }
.ticker__track { display: flex; width: max-content; animation: marquee 50s linear infinite; padding: 18px 0; }
.ticker__track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-weight: 900; font-stretch: 115%; text-transform: uppercase; font-size: clamp(18px, 2.2vw, 28px); white-space: nowrap; }
.ticker__track span::after { content: ''; width: 14px; height: 14px; background: var(--ink); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { position: relative; padding: clamp(90px, 12vw, 160px) 0; }
.section--dark { background: var(--ink); }
.section--ink { background: #070809; }
.section--paper { background: var(--paper); color: var(--paper-ink); }
.section--orange { background: var(--orange); color: var(--ink); overflow: hidden; }
.section__head { margin-bottom: clamp(44px, 6vw, 72px); max-width: 880px; }
.section__head--row { max-width: none; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.kicker { margin: 0 0 18px; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.kicker--dark { color: var(--orange-deep); }
.kicker--ink { color: var(--ink); opacity: .75; }
.section__title { margin: 0; font-weight: 900; font-stretch: 108%; letter-spacing: -.02em; line-height: .98; font-size: clamp(38px, 5.6vw, 82px); text-transform: uppercase; }
.section__title--xl { font-size: clamp(64px, 13vw, 200px); line-height: .85; }
.section__title--dark, .section__title--ink { color: inherit; }
.hl { color: var(--orange); }
.section--paper .hl { color: var(--orange-deep); }
.section__lead { margin: 24px 0 0; max-width: 620px; font-size: clamp(17px, 1.4vw, 19px); color: #b9bcc2; }
.section__lead--dark { color: var(--paper-muted); margin: 0; }
.section__head--row .section__lead { margin: 0; }

/* ---------- Bento familias ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.fam {
  --mx: 50%; --my: 50%;
  position: relative; grid-column: span 3; min-height: 230px; padding: 24px; border-radius: var(--radius);
  background: var(--steel); border: 1px solid var(--line); text-decoration: none; color: var(--text);
  display: flex; flex-direction: column; overflow: hidden; cursor: pointer; text-align: left;
  transition: transform .5s var(--ease), border-color .3s, background .3s;
}
.fam::before { content: ''; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx) var(--my), rgba(255,90,31,.18), transparent 45%); opacity: 0; transition: opacity .3s; }
.fam:hover { transform: translateY(-4px); border-color: rgba(255,90,31,.55); }
.fam:hover::before { opacity: 1; }
.fam__ico { width: 54px; height: 54px; color: var(--orange); transition: transform .5s var(--ease); }
.fam:hover .fam__ico { transform: rotate(-8deg) scale(1.1); }
.fam__n { position: absolute; top: 22px; right: 24px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.fam h3 { margin: auto 0 6px; font-size: 22px; font-weight: 800; font-stretch: 105%; line-height: 1.1; position: relative; }
.fam p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.45; position: relative; }
.fam__count { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-family: var(--mono); font-size: 12px; color: var(--text); position: relative; }
.fam__count svg { color: var(--orange); transition: transform .3s var(--ease); }
.fam:hover .fam__count svg { transform: translateX(4px); }
.fam__img { position: absolute; right: -10px; bottom: -10px; width: 52%; max-width: 260px; opacity: .9; mix-blend-mode: lighten; filter: grayscale(.2); transition: transform .6s var(--ease); pointer-events: none; }
.fam:hover .fam__img { transform: scale(1.06) translate(-6px,-6px); }
.fam--xl { grid-column: span 6; grid-row: span 2; min-height: 474px; padding: 34px; background: linear-gradient(160deg, #1d2024, #121417); }
.fam--xl h3 { font-size: clamp(30px, 3vw, 44px); font-weight: 900; text-transform: uppercase; }
.fam--xl p { max-width: 70%; font-size: 15.5px; }
.fam__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.fam--xl::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,12,14,.95) 10%, rgba(11,12,14,.35) 55%, rgba(11,12,14,.1)); }
.fam--xl:hover .fam__bg { transform: scale(1.06); }
.fam--xl > :not(.fam__bg) { position: relative; z-index: 1; }
.fam--xl .fam__n { position: absolute; z-index: 1; color: #fff; }
.fam--xl p { color: #d4d6da; }
.fam--wide { grid-column: span 6; }
.fam--orange { background: var(--orange); border-color: var(--orange); color: #fff; }
.fam--orange .fam__ico, .fam--orange .fam__count svg { color: #fff; }
.fam--orange p, .fam--orange .fam__n { color: rgba(255,255,255,.85); }
.fam--orange::before { background: radial-gradient(400px circle at var(--mx) var(--my), rgba(255,255,255,.25), transparent 45%); }

/* ---------- Catálogo ---------- */
.filters { position: sticky; top: calc(var(--head-h) + 10px); z-index: 10; display: flex; flex-direction: column; gap: 14px; padding: 14px; margin-bottom: 26px; border-radius: 22px; background: rgba(239,235,228,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(0,0,0,.06); box-shadow: 0 20px 40px -30px rgba(0,0,0,.5); }
.search { display: flex; align-items: center; gap: 12px; padding: 0 18px; background: #fff; border-radius: 14px; border: 1px solid rgba(0,0,0,.08); transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,90,31,.15); }
.search svg { font-size: 20px; color: var(--paper-muted); }
.search input { flex: 1; min-width: 0; height: 54px; border: 0; background: transparent; outline: none; font-size: 17px; color: var(--paper-ink); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; mask-image: linear-gradient(90deg, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; border: 1px solid rgba(0,0,0,.12); background: transparent; color: var(--paper-ink); font-weight: 600; font-size: 14px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip svg { font-size: 18px; }
.chip:hover { border-color: var(--paper-ink); }
.chip[aria-selected="true"] { background: var(--paper-ink); color: #fff; border-color: var(--paper-ink); }
.chip[aria-selected="true"] svg { color: var(--orange); }
.results { margin: 0 0 18px; font-family: var(--mono); font-size: 13px; color: var(--paper-muted); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.card {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(0,0,0,.06); transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  animation: cardin .6s var(--ease) both;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(0,0,0,.45); }
@keyframes cardin { from { opacity: 0; transform: translateY(20px); } }
.card__media { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; background: #fff; overflow: hidden; }
.card__media img { width: 78%; height: 82%; object-fit: contain; transition: transform .6s var(--ease); }
.card__media img.is-photo { width: 100%; height: 100%; object-fit: cover; }
.card:hover .card__media img { transform: scale(1.06); }
.card__media--icon { background: radial-gradient(circle at 30% 20%, #26292e, #121417); color: var(--orange); }
.card__media--icon::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 24px 24px; }
.card__media--icon svg { width: 34%; height: auto; aspect-ratio: 1; position: relative; z-index: 1; transition: transform .6s var(--ease); }
.card:hover .card__media--icon svg { transform: scale(1.1) rotate(-6deg); }
.card__tag { position: absolute; left: 12px; top: 12px; z-index: 2; padding: 5px 10px; border-radius: 999px; background: rgba(22,23,26,.85); color: #fff; font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; backdrop-filter: blur(6px); }
.card__body { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; border-top: 1px solid rgba(0,0,0,.06); }
.card__fam { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--orange-deep); }
.card h3 { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.25; color: var(--paper-ink); }
.card__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card__foot span { font-size: 13px; color: var(--paper-muted); }
.add {
  width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: var(--paper-ink); color: #fff; transition: background .25s, transform .35s var(--ease);
}
.add svg { font-size: 20px; transition: transform .35s var(--ease); }
.add:hover { background: var(--orange); transform: rotate(90deg); }
.add.is-added { background: var(--orange); }
.add.is-added:hover { transform: none; background: var(--orange-deep); }
.grid__more { display: flex; justify-content: center; margin-top: 34px; }
.grid__more[hidden] { display: none; }
.empty { grid-column: 1 / -1; padding: 60px 20px; text-align: center; color: var(--paper-muted); border: 2px dashed rgba(0,0,0,.12); border-radius: var(--radius); }

/* ---------- Servicios ---------- */
.services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.service {
  position: relative; display: grid; grid-template-columns: 90px 1.1fr 1fr 60px; align-items: center; gap: 24px;
  padding: 34px 0; border-bottom: 1px solid var(--line-2); cursor: default; transition: padding .45s var(--ease);
}
.service::before { content: ''; position: absolute; inset: 0; background: var(--orange); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: 0; }
.service > * { position: relative; z-index: 1; }
.service__n { font-family: var(--mono); font-size: 14px; color: var(--orange); transition: color .3s; }
.service h3 { margin: 0; font-size: clamp(22px, 2.6vw, 36px); font-weight: 800; font-stretch: 108%; text-transform: uppercase; line-height: 1.05; }
.service p { margin: 0; color: var(--muted); transition: color .3s; }
.service__go { justify-self: end; width: 44px; height: 44px; padding: 10px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .45s var(--ease), background .3s, border-color .3s, color .3s; }
@media (hover: hover) {
  .service:hover { padding-left: 20px; padding-right: 20px; }
  .service:hover::before { transform: scaleY(1); }
  .service:hover .service__n, .service:hover p { color: rgba(255,255,255,.92); }
  .service:hover .service__go { transform: rotate(-45deg); background: #fff; color: var(--orange); border-color: #fff; }
}

/* ---------- Proceso ---------- */
.section--orange { padding-bottom: clamp(130px, 14vw, 190px); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 34px 30px 36px; border-radius: var(--radius); background: var(--ink); color: var(--text); overflow: hidden; transition: transform .5s var(--ease); }
.step:hover { transform: translateY(-6px) rotate(-.6deg); }
.step__n { display: block; font-size: 120px; font-weight: 900; font-stretch: 125%; line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--orange); margin-bottom: 26px; }
.step h3 { margin: 0 0 10px; font-size: 26px; font-weight: 800; text-transform: uppercase; font-stretch: 108%; }
.step p { margin: 0; color: var(--muted); }
.steps .step:nth-child(2) { margin-top: 40px; }
.steps .step:nth-child(3) { margin-top: 80px; }
.hazard { position: absolute; left: 0; right: 0; bottom: 0; height: 46px; background: repeating-linear-gradient(-45deg, var(--ink) 0 26px, var(--yellow) 26px 52px); background-size: 200% 100%; animation: hazard 6s linear infinite; }
@keyframes hazard { to { background-position: -147px 0; } }

/* ---------- Split / contenedores ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split__body .section__lead { margin-bottom: 28px; }
.split__body > p:not(.kicker):not(.section__lead) { color: #b9bcc2; }
.stack { position: relative; margin: 0; aspect-ratio: 1 / 1; }
.stack img { position: absolute; border-radius: 18px; object-fit: cover; box-shadow: 0 40px 70px -30px rgba(0,0,0,.9); background: #fff; border: 6px solid #fff; }
.stack__a { left: 0; top: 10%; width: 78%; aspect-ratio: 3 / 2; transform: rotate(-4deg); z-index: 2; }
.stack__b { right: 2%; top: 0; width: 42%; aspect-ratio: 1; transform: rotate(6deg); z-index: 1; }
.stack__c { right: 4%; bottom: 8%; width: 50%; aspect-ratio: 244 / 144; transform: rotate(3deg); z-index: 3; }
.stack::before { content: ''; position: absolute; left: 10%; bottom: 8%; width: 45%; height: 45%; background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(255,90,31,.5) 14px 16px); border-radius: 18px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 28px; }
.tags li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: #d8d8d8; }
.license { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: center; padding: 18px 22px; margin: 0 0 30px; border-radius: 14px; border: 1px dashed rgba(255,90,31,.6); background: rgba(255,90,31,.06); }
.license span { grid-row: span 2; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--orange); writing-mode: vertical-rl; transform: rotate(180deg); }
.license strong { font-size: 28px; font-weight: 900; font-stretch: 112%; }
.license small { color: var(--muted); font-size: 14px; }

/* ---------- Condiciones ---------- */
.conds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(0,0,0,.12); border: 1px solid rgba(0,0,0,.12); border-radius: var(--radius); overflow: hidden; }
.cond { position: relative; padding: 30px 26px 34px; background: var(--paper); transition: background .3s; }
.cond:hover { background: #fff; }
.cond b { display: block; margin-bottom: 10px; font-size: 21px; font-weight: 800; font-stretch: 105%; }
.cond b::before { content: ''; display: block; width: 28px; height: 4px; margin-bottom: 18px; background: var(--orange); transition: width .45s var(--ease); }
.cond:hover b::before { width: 60px; }
.cond p { margin: 0; color: var(--paper-muted); font-size: 15.5px; }

/* ---------- Empresa ---------- */
.split--rev .split__media { order: 2; }
.checks { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.checks svg { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: rgba(255,90,31,.15); color: var(--orange); }
.quote { margin: 34px 0 0; padding-left: 22px; border-left: 3px solid var(--orange); font-size: clamp(20px, 2vw, 26px); font-weight: 600; font-style: italic; line-height: 1.35; }
.photo-card { position: relative; margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transition: transform 1.2s var(--ease); }
.photo-card:hover img { transform: scale(1.05); }
.photo-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7), transparent 45%); }
.photo-card figcaption { position: absolute; z-index: 1; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(11,12,14,.7); backdrop-filter: blur(8px); font-weight: 600; font-size: 14px; }
.photo-card figcaption svg { color: var(--orange); font-size: 18px; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.bigphone { display: block; text-decoration: none; font-weight: 900; font-stretch: 115%; font-size: clamp(40px, 5.4vw, 78px); line-height: 1; letter-spacing: -.01em; margin-bottom: 18px; transition: color .25s; font-variant-numeric: tabular-nums; }
.bigphone small { display: block; margin-bottom: 6px; font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bigphone:hover { color: var(--orange); }
.contact__row { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0; }
.contact__row .btn--light { white-space: normal; text-align: left; }
.addr { display: flex; gap: 14px; font-style: normal; color: #cfcfcf; margin-bottom: 30px; }
.addr svg { font-size: 24px; color: var(--orange); margin-top: 2px; }
.hours { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px 24px; }
.hours__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.hours ul { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: #c4c4c4; }
.hours li:last-child { border: 0; }
.hours li.is-today { color: #fff; font-weight: 700; }
.hours li.is-today span:first-child::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--orange); vertical-align: middle; }
.hours li span:last-child { font-family: var(--mono); font-size: 13.5px; text-align: right; }

.form { padding: clamp(24px, 3vw, 40px); border-radius: 24px; background: var(--paper); color: var(--paper-ink); box-shadow: 0 50px 80px -40px rgba(255,90,31,.35); }
.form h3 { margin: 0 0 22px; font-size: 30px; font-weight: 900; text-transform: uppercase; font-stretch: 110%; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field span { font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(0,0,0,.14); background: #fff; color: var(--paper-ink); font-size: 16px; outline: none; transition: border-color .2s, box-shadow .2s; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,90,31,.15); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #d33; }
.field--dark span { color: var(--muted); }
.field--dark input { background: var(--steel-2); border-color: var(--line-2); color: var(--text); color-scheme: dark; }
.hp { position: absolute; left: -9999px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 20px; font-size: 14px; color: var(--paper-muted); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange); }
.form__msg { margin: 14px 0 0; font-weight: 600; min-height: 1.4em; }
.form__msg.ok { color: #1b8a4a; } .form__msg.err { color: #c62828; }

.map { position: relative; margin-top: clamp(50px, 6vw, 80px); border-radius: 24px; overflow: hidden; height: 420px; border: 1px solid var(--line-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) hue-rotate(180deg); }
.map__btn { position: absolute; right: 20px; bottom: 20px; }

/* ---------- Pie ---------- */
.footer { background: var(--ink); padding: 0 0 40px; overflow: hidden; border-top: 1px solid var(--line); }
.footer__mark { font-weight: 900; font-stretch: 125%; font-size: clamp(80px, 22vw, 340px); line-height: .8; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.12); margin: 40px 0 60px; white-space: nowrap; user-select: none; text-align: center; }
.footer__cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer__cols p { color: var(--muted); font-size: 15px; max-width: 340px; }
.footer h4 { margin: 0 0 16px; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer li { color: #c4c4c4; font-size: 15px; }
.footer li a { text-decoration: none; transition: color .2s; }
.footer li a:hover { color: var(--orange); }
.footer__legal { margin: 26px 0 0; font-size: 13px; color: var(--muted); }
.brand--foot { margin-bottom: 14px; }

/* ---------- Barra móvil ---------- */
.mobilebar { display: none; }

/* ---------- Drawer presupuesto ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); opacity: 0; transition: opacity .4s; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); display: flex; flex-direction: column; background: var(--steel); border-left: 1px solid var(--line-2); transform: translateX(100%); transition: transform .5s var(--ease); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { margin: 0; font-size: 24px; font-weight: 900; text-transform: uppercase; font-stretch: 110%; }
.iconbtn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; display: grid; place-items: center; cursor: pointer; }
.iconbtn svg { font-size: 18px; }
.iconbtn:hover { border-color: var(--text); }
.drawer__body { flex: 1; overflow-y: auto; padding: 18px 24px; }
.qlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.qitem { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; background: var(--steel-2); border: 1px solid var(--line); animation: cardin .4s var(--ease); }
.qitem b { display: block; font-size: 15px; line-height: 1.25; }
.qitem small { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.qty { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; }
.qty button { width: 30px; height: 30px; border: 0; background: transparent; cursor: pointer; font-weight: 700; font-size: 16px; }
.qty span { min-width: 22px; text-align: center; font-family: var(--mono); font-size: 14px; }
.qitem .iconbtn { width: 32px; height: 32px; border: 0; color: var(--muted); }
.qitem .iconbtn:hover { color: #ff6b6b; }
.qempty { text-align: center; padding: 50px 10px; color: var(--muted); }
.qempty svg { font-size: 48px; color: var(--orange); margin-bottom: 10px; }
.qmeta { margin-top: 20px; }
.drawer__foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer__two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drawer.is-empty .qmeta, .drawer.is-empty .drawer__foot { display: none; }
.drawer:not(.is-empty) .qempty { display: none; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 30px; z-index: 120; display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: 15px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.5); transform: translate(-50%, calc(100% + 60px)); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; pointer-events: none; max-width: calc(100% - 32px); }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--ease); }
.toast svg { color: var(--orange); font-size: 20px; }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.hero__title .line.reveal { opacity: 1; transform: none; }
.hero__title .line.reveal > span { transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.hero__title .line.reveal.is-in > span { transform: none; }
.stack img.reveal.is-in.stack__a { transform: rotate(-4deg); }
.stack img.reveal.is-in.stack__b { transform: rotate(6deg); }
.stack img.reveal.is-in.stack__c { transform: rotate(3deg); }

/* ---------- Responsive ---------- */
@media (min-width: 1180px) { .topbar .status { display: inline-flex; } }
@media (max-width: 1100px) {
  .fam { grid-column: span 6; }
  .fam--xl { grid-column: span 12; grid-row: auto; min-height: 380px; }
  .fam--wide { grid-column: span 12; }
  .conds { grid-template-columns: repeat(2, 1fr); }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .hero__stats { grid-template-columns: repeat(2, auto); gap: 22px 40px; }
  .hero__badge { display: none; }
}
@media (max-width: 960px) {
  :root { --head-h: 68px; }
  .burger { display: block; }
  .topbar .btn--ghost { display: none; }
  .nav {
    position: fixed; inset: var(--head-h) 0 auto 0; flex-direction: column; gap: 0; margin: 0;
    padding: 12px var(--gutter) 28px; background: rgba(11,12,14,.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .45s var(--ease); z-index: -1;
  }
  .nav-open .nav { transform: none; }
  .nav a { padding: 16px 4px; font-size: 26px; font-weight: 800; text-transform: uppercase; font-stretch: 110%; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a.is-active::after { display: none; }
  .topbar__inner { gap: 12px; }
  .topbar__cta { margin-left: auto; }
  .hero { align-items: flex-end; }
  .hero__photo { width: 100%; clip-path: none; opacity: .55; }
  .hero__photo::after { background: linear-gradient(0deg, var(--ink) 15%, rgba(11,12,14,.55) 60%, rgba(11,12,14,.35)); }
  .hero__photo::before { display: none; }
  .section__head--row { grid-template-columns: 1fr; gap: 20px; }
  .service { grid-template-columns: 50px 1fr 44px; }
  .service p { grid-column: 2 / 3; grid-row: 2; }
  .service__go { grid-row: 1 / span 2; grid-column: 3; }
  .steps { grid-template-columns: 1fr; }
  .steps .step:nth-child(n) { margin-top: 0; }
  .split, .contact { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .stack { max-width: 560px; }
  .photo-card { aspect-ratio: 4 / 3; }
  .mobilebar {
    position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60; display: grid; grid-template-columns: repeat(3, 1fr);
    padding: 6px; gap: 6px; border-radius: 20px; background: rgba(20,22,25,.92); backdrop-filter: blur(14px); border: 1px solid var(--line-2);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,.6);
  }
  .mobilebar a, .mobilebar button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 4px; border: 0; border-radius: 14px; background: transparent; text-decoration: none; font-size: 12px; font-weight: 700; cursor: pointer; position: relative; }
  .mobilebar a:first-child { background: var(--orange); }
  .mobilebar svg { font-size: 20px; }
  .mobilebar b { position: absolute; top: 4px; right: calc(50% - 26px); min-width: 18px; height: 18px; border-radius: 9px; background: var(--orange); font-size: 10px; display: grid; place-items: center; padding: 0 4px; }
  .mobilebar b:empty, .mobilebar:not(.has-items) b { display: none; }
  .footer { padding-bottom: 110px; }
  .toast { bottom: 100px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .quote-toggle { display: none; }
  .brand__txt b { font-size: 22px; }
  .hero { padding-bottom: 90px; }
  .hero__title .outline { -webkit-text-stroke-width: 1.5px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__stats { margin-top: 44px; }
  .fam, .fam--wide, .fam--xl { grid-column: span 12; min-height: 200px; }
  .fam--xl { min-height: 420px; }
  .fam--xl p { max-width: 100%; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card__body { padding: 12px 12px 14px; }
  .card h3 { font-size: 14.5px; }
  .card__foot span { display: none; }
  .card__tag { display: none; }
  .add { width: 38px; height: 38px; }
  .conds { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .footer__cols { grid-template-columns: 1fr; gap: 30px; }
  .map { height: 340px; }
  .license strong { font-size: 22px; }
  .filters { top: calc(var(--head-h) + 6px); padding: 10px; border-radius: 18px; }
  .search input { height: 48px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .hero__title .line.reveal > span { opacity: 1; transform: none; }
}

/* ---------- Ajustes ---------- */
.split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split .section__title { font-size: clamp(34px, 3.8vw, 56px); }
.section__title--xl { font-size: clamp(56px, 9.5vw, 150px); }
@media (max-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .hero__title { font-size: clamp(40px, 12.5vw, 64px); }
}
