/* =====================================================================
   JC Tree Services — "From the top down"
   Forest-night palette · brand lime · fresh-cut wood accent
   ===================================================================== */
@font-face { font-family: "Big Shoulders"; src: url("../fonts/big-shoulders-latin.woff2") format("woff2"); font-weight: 600 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-500-latin.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #0b0f0c;
  --bg-2: #101611;
  --bg-3: #172019;
  --cream: #eef0e4;
  --cream-2: #c7cdbd;
  --muted: #8f9887;
  --lime: #a6d85e;
  --lime-2: #c3ea86;
  --wood: #dca468;
  --line: rgba(238, 240, 228, .12);
  --line-2: rgba(238, 240, 228, .22);
  --display: "Big Shoulders", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --radius: 4px;
  --header-h: 68px;
  --gutter: 20px;
  --max: 1280px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (min-width: 1000px) { :root { --header-h: 84px; --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--cream);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.65;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; line-height: .95; letter-spacing: .005em; text-transform: uppercase; }
h2 { font-size: clamp(2.6rem, 9vw, 5.6rem); }
h3 { font-size: clamp(1.7rem, 4.8vw, 2.4rem); }
::selection { background: var(--lime); color: var(--bg); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 300; background: var(--lime); color: var(--bg); padding: 10px 16px; font-weight: 700; text-decoration: none; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

/* grano de pelicula — atmosfera */
.grain {
  position: fixed; inset: 0; z-index: 250; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Tipografia utilitaria ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lime);
}
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(166, 216, 94, .18); }
.lead { font-size: clamp(1.08rem, 2.6vw, 1.3rem); color: var(--cream-2); max-width: 38ch; line-height: 1.55; }
.accent { color: var(--lime); }

/* ---------- Botones ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 56px; padding: 0 1.6em; border-radius: var(--radius); border: 1.5px solid transparent;
  font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cream); transform: translateY(101%); transition: transform .35s var(--ease); }
.btn:hover::after { transform: translateY(0); }
.btn:active { transform: scale(.98); }
.btn--lime { background: var(--lime); color: var(--bg); }
.btn--lime:hover { color: var(--bg); }
.btn--ghost { border-color: var(--line-2); color: var(--cream); background: rgba(11, 15, 12, .35); }
.btn--ghost:hover { color: var(--bg); border-color: var(--cream); }
.btn--sm { min-height: 46px; padding: 0 1.15em; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row .btn { flex: 1 1 220px; }
@media (min-width: 640px) { .btn-row .btn { flex: 0 0 auto; } }
.link-arrow {
  display: inline-flex; align-items: center; gap: .5em; min-height: 44px;
  font-family: var(--display); font-weight: 800; font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--lime); text-decoration: none;
}
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 120; height: var(--header-h); transition: background .4s var(--ease), border-color .4s var(--ease); border-bottom: 1px solid transparent; }
.site-header.is-solid, .page-inner .site-header { background: rgba(11, 15, 12, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 14px; height: 100%; }
.brand { display: inline-flex; align-items: center; margin-right: auto; min-height: 44px; }
.brand svg { height: 34px; width: auto; }
@media (min-width: 1000px) { .brand svg { height: 42px; } }
.icon-btn {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: var(--radius);
  border: 1px solid var(--line-2); background: rgba(11, 15, 12, .5); color: var(--cream); cursor: pointer; padding: 0;
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn--lime { background: var(--lime); color: var(--bg); border-color: var(--lime); }
.nav { display: none; }
.nav a.nav__link { text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cream-2); position: relative; }
.nav a.nav__link:hover, .nav a.nav__link[aria-current="page"] { color: var(--cream); }
.nav a.nav__link[aria-current="page"]::before { content: ""; position: absolute; left: -14px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--lime); }
.nav__phone { font-family: var(--mono); font-size: .9rem; color: var(--cream); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.nav__phone svg { width: 16px; height: 16px; color: var(--lime); }
.nav__phone:hover { color: var(--lime); }
.header-actions { display: flex; gap: 8px; }
@media (min-width: 1000px) {
  .nav { display: flex; align-items: center; gap: 34px; }
  .nav ul { display: flex; gap: 34px; }
  .header-actions { display: none; }
}

/* Menu movil a pantalla completa */
.menu {
  position: fixed; inset: 0; z-index: 200; background: var(--bg); display: flex; flex-direction: column;
  padding: 0 var(--gutter) calc(24px + env(safe-area-inset-bottom)); visibility: hidden; opacity: 0;
  transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
.menu.is-open { visibility: visible; opacity: 1; transition: opacity .35s var(--ease); }
.menu__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.menu__top svg { height: 34px; width: auto; }
.menu nav { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.menu nav a {
  display: flex; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line);
  font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 12vw, 4rem); line-height: 1.05; text-transform: uppercase; text-decoration: none;
}
.menu nav a small { font-family: var(--mono); font-size: .75rem; color: var(--lime); font-weight: 500; letter-spacing: .1em; }
.menu nav a[aria-current="page"] { color: var(--lime); }
.menu__foot { display: grid; gap: 10px; }
.menu__foot p { margin: 8px 0 0; font-family: var(--mono); font-size: .8rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
body.menu-open { overflow: hidden; }

/* ---------- Altimetro (efecto distintivo) ---------- */
.alt { position: fixed; z-index: 90; pointer-events: none; right: 5px; top: calc(var(--header-h) + 16px); bottom: 110px; width: 3px; }
.alt__rope { position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgba(238,240,228,.2) 0 6px, transparent 6px 10px); border-radius: 2px; }
.alt__fill { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--p, 0) * 100%); background: var(--lime); border-radius: 2px; }
.alt__knot { position: absolute; left: 50%; top: calc(var(--p, 0) * 100%); width: 11px; height: 11px; margin: -5px 0 0 -5.5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(166,216,94,.2); }
.alt__read { display: none; }
@media (min-width: 1000px) {
  .alt { right: 26px; top: calc(var(--header-h) + 40px); bottom: 120px; width: 2px; }
  .alt__read {
    display: grid; position: absolute; right: 18px; top: calc(var(--p, 0) * 100%); transform: translateY(-50%);
    text-align: right; font-family: var(--mono); font-size: .66rem; line-height: 1.35; letter-spacing: .14em; color: var(--muted); white-space: nowrap;
    background: rgba(11,15,12,.7); padding: 6px 8px; border-radius: 3px;
  }
  .alt__num { font-size: 1.05rem; color: var(--cream); letter-spacing: .04em; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--bg); }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img { position: absolute; left: 0; top: -30%; width: 100%; height: 130%; object-fit: cover; object-position: 50% 50%; filter: saturate(.92) contrast(1.06); animation: drift 22s ease-out both; }
@keyframes drift { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,15,12,.6) 0%, rgba(11,15,12,0) 18%, rgba(11,15,12,0) 36%, rgba(11,15,12,.82) 60%, var(--bg) 88%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-top: calc(var(--header-h) + 34vh); padding-bottom: 26px; }
.hero h1 { display: grid; gap: 14px; }
.h1-kicker { font-family: var(--mono); font-weight: 500; font-size: .74rem; letter-spacing: .14em; color: var(--lime); text-transform: uppercase; line-height: 1.5; }
.h1-display { display: block; font-size: clamp(4rem, 20vw, 11.5rem); font-weight: 900; line-height: .84; }
.h1-display .line { display: block; overflow: hidden; padding-bottom: .05em; }
.h1-display .line > span { display: block; animation: rise 1.1s .1s var(--ease) both; }
.h1-display .line:nth-child(2) > span { animation-delay: .22s; }
.h1-display em { font-style: normal; color: var(--lime); }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.hero .lead { margin: 18px 0 24px; animation: fade .9s .45s var(--ease) both; }
.hero .btn-row { animation: fade .9s .55s var(--ease) both; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero__foot { position: relative; z-index: 2; border-top: 1px solid var(--line); margin-top: 28px; padding-top: 16px; display: grid; gap: 8px; }
.hero__foot li { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-2); }
.hero__foot svg { width: 16px; height: 16px; color: var(--lime); flex: none; }
.hero__tag { display: none; }
@media (min-width: 700px) { .hero__foot { grid-template-columns: repeat(3, auto); justify-content: start; gap: 28px; } }
@media (min-width: 1000px) {
  .hero { justify-content: center; }
  .hero__media { left: auto; width: 54%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); }
  .hero__media img { top: 0; height: 100%; object-position: 50% 42%; }
  .hero__media::after {
    background:
      linear-gradient(90deg, rgba(11,15,12,.5) 0%, rgba(11,15,12,0) 50%),
      linear-gradient(0deg, var(--bg) 0%, rgba(11,15,12,0) 28%),
      linear-gradient(180deg, rgba(11,15,12,.65) 0%, rgba(11,15,12,0) 22%);
  }
  .hero__inner { padding-top: calc(var(--header-h) + 70px); padding-bottom: 56px; }
  .hero__content { max-width: 780px; }
  .h1-display { font-size: clamp(7rem, 11.5vw, 11.5rem); }
  .hero__tag {
    display: block; position: absolute; right: 9%; bottom: 140px; z-index: 2; width: 230px;
    font-family: var(--mono); font-size: .68rem; line-height: 1.6; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-2);
    border-left: 2px solid var(--lime); padding: 4px 0 4px 12px; background: rgba(11,15,12,.45);
  }
}

/* ---------- Marquesina ---------- */
.ticker { background: var(--lime); color: var(--bg); overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker__group { display: flex; align-items: center; }
.ticker__item { display: inline-flex; align-items: center; gap: 22px; padding: 14px 22px 14px 0; font-family: var(--display); font-weight: 900; font-size: clamp(1.5rem, 4vw, 2.2rem); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.ticker__item svg { width: 24px; height: 24px; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation-duration: 140s; } }

/* ---------- Secciones ---------- */
.section { position: relative; padding: 96px 0; }
@media (min-width: 1000px) { .section { padding: 150px 0; } }
.section--2 { background: var(--bg-2); }
.sec-head { display: grid; gap: 18px; margin-bottom: 44px; }
.sec-head .lead { margin: 0; }
@media (min-width: 1000px) { .sec-head--split { grid-template-columns: 1.25fr 1fr; align-items: end; gap: 60px; margin-bottom: 72px; } }

/* Declaracion: las palabras se encienden al hacer scroll */
.statement { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.5rem, 8.4vw, 6.4rem); line-height: .98; margin-top: 20px; }
.js .statement .w { color: rgba(238, 240, 228, .16); transition: color .3s linear; }
.js .statement .w.on { color: var(--cream); }
.js .statement .w.on.hl { color: var(--lime); }

.intro-grid { display: grid; gap: 56px; margin-top: 56px; }
@media (min-width: 1000px) { .intro-grid { grid-template-columns: 1fr 1.05fr; gap: 90px; align-items: center; margin-top: 100px; } }
.collage { position: relative; padding: 0 14% 20% 0; }
.collage__a img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.collage__b { position: absolute; right: 0; bottom: 0; width: 48%; border: 6px solid var(--bg); border-radius: var(--radius); background: var(--bg); }
.collage__b img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.collage__label { position: absolute; left: 12px; top: 12px; font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; background: rgba(11,15,12,.8); padding: 6px 9px; border-radius: 2px; color: var(--cream); }
.pillars { border-top: 1px solid var(--line); }
.pillar { display: grid; grid-template-columns: 50px 1fr; gap: 6px 14px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.pillar__n { font-family: var(--mono); font-size: .8rem; color: var(--lime); padding-top: 6px; grid-row: span 2; }
.pillar h3 { font-size: clamp(1.6rem, 4.4vw, 2.1rem); line-height: 1; }
.pillar p { margin: 0; color: var(--cream-2); }

/* ---------- Lista de servicios ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc-row {
  position: relative; display: grid; grid-template-columns: 92px 1fr; gap: 4px 18px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--cream);
}
.svc-row__img { grid-row: span 3; align-self: start; }
.svc-row__img img { width: 92px; height: 115px; object-fit: cover; border-radius: var(--radius); }
.svc-row__num { font-family: var(--mono); font-size: .72rem; color: var(--lime); letter-spacing: .12em; }
.svc-row__title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.85rem, 6.6vw, 4.6rem); line-height: .95; transition: color .3s var(--ease), transform .4s var(--ease); }
.svc-row__desc { color: var(--cream-2); font-size: .95rem; line-height: 1.5; }
.svc-row__arrow { display: none; }
@media (min-width: 1000px) {
  .svc-row { grid-template-columns: 70px 1.3fr 1fr 60px; gap: 32px; padding: 34px 0; }
  .svc-row__img { position: absolute; left: 41%; top: 50%; z-index: 3; grid-row: auto; pointer-events: none; opacity: 0; transform: translate(0, -50%) rotate(-4deg) scale(.85); transition: opacity .35s var(--ease), transform .5s var(--ease); }
  .svc-row__img img { width: 176px; height: 220px; box-shadow: 0 30px 60px rgba(0,0,0,.55); }
  .svc-row__num { order: -1; }
  .svc-row__arrow { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--cream); transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
  .svc-row__arrow svg { width: 22px; height: 22px; }
  .svc-row:hover .svc-row__title { color: var(--lime); transform: translateX(10px); }
  .svc-row:hover .svc-row__img { opacity: 1; transform: translate(0, -50%) rotate(-4deg) scale(1); }
  .svc-row:hover .svc-row__arrow { background: var(--lime); color: var(--bg); transform: rotate(-45deg); border-color: var(--lime); }
}

/* ---------- Showcase horizontal ---------- */
.reel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 360px); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); padding: 0 var(--gutter) 22px;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.reel__track::-webkit-scrollbar { display: none; }
@media (min-width: 1000px) {
  .reel__track { grid-auto-columns: 380px; gap: 24px; padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); scroll-padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
}
.reel__item { scroll-snap-align: start; margin: 0; }
.reel__frame { overflow: hidden; border-radius: var(--radius); }
.reel__item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .7s var(--ease); }
.reel__item:hover img { transform: scale(1.05); }
.reel__item figcaption { display: flex; gap: 12px; padding-top: 14px; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-2); }
.reel__item figcaption b { color: var(--lime); font-weight: 500; }
.reel__nav { display: flex; gap: 10px; }
.reel__btn { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--cream); display: grid; place-items: center; cursor: pointer; transition: background .3s, color .3s; }
.reel__btn:hover { background: var(--lime); color: var(--bg); border-color: var(--lime); }
.reel__btn svg { width: 22px; height: 22px; }
.reel__bar { height: 2px; background: var(--line); margin: 6px var(--gutter) 0; position: relative; }
@media (min-width: 1000px) { .reel__bar { margin: 6px auto 0; max-width: calc(var(--max) - 2 * var(--gutter)); } }
.reel__bar span { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--rp, .2) * 100%); background: var(--lime); }

/* ---------- Camioneta / equipo ---------- */
.crew { display: grid; gap: 44px; align-items: center; }
@media (min-width: 1000px) { .crew { grid-template-columns: 1.25fr 1fr; gap: 72px; } }
.crew__photo { position: relative; margin: 10px; }
.crew__photo img { width: 100%; aspect-ratio: 773 / 405; object-fit: cover; border-radius: var(--radius); }
.crew__photo::before, .crew__photo::after { content: ""; position: absolute; width: 38px; height: 38px; border: 2px solid var(--lime); }
.crew__photo::before { left: -10px; top: -10px; border-right: 0; border-bottom: 0; }
.crew__photo::after { right: -10px; bottom: -10px; border-left: 0; border-top: 0; }
.crew__caption { margin-top: 18px; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cream); margin: 0 6px 8px 0; }
.badge svg { width: 16px; height: 16px; color: var(--lime); }
.crew h2 { margin: 16px 0 0; }
.crew .lead { margin: 22px 0 22px; }

/* ---------- Proceso ---------- */
.steps { display: grid; }
.step { position: relative; padding: 28px 0 28px 68px; border-top: 1px solid var(--line); }
.step__n { position: absolute; left: 0; top: 24px; font-family: var(--display); font-weight: 900; font-size: 2.8rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--lime); }
.step h3 { font-size: 1.8rem; margin-bottom: 8px; }
.step p { margin: 0; color: var(--cream-2); }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .step { padding: 30px 0 0; border-top: 2px solid var(--line); }
  .step::before { content: ""; position: absolute; left: 0; top: -2px; height: 2px; width: 34px; background: var(--lime); }
  .step__n { position: static; display: block; font-size: 4.6rem; margin-bottom: 20px; }
}

/* ---------- CTA final "ground level" ---------- */
.ground { position: relative; overflow: hidden; padding: 110px 0 120px; background: var(--bg-2); border-top: 1px solid var(--line); }
.rings { position: absolute; max-width: none; pointer-events: none; }
.ground .rings { width: 900px; right: -380px; top: 50%; transform: translateY(-50%); opacity: .55; }
@media (min-width: 1000px) { .ground { padding: 170px 0; } .ground .rings { width: 1100px; right: -220px; } }
.ground .wrap { position: relative; }
.ground h2 { font-size: clamp(3rem, 11vw, 7.6rem); max-width: 11ch; margin: 18px 0 20px; }
.ground .lead { margin-bottom: 22px; }
.ground__phone { display: inline-block; font-family: var(--display); font-weight: 900; font-size: clamp(2.7rem, 12vw, 6rem); line-height: 1; color: var(--lime); text-decoration: none; margin-bottom: 30px; }
.ground__phone:hover { color: var(--lime-2); }

/* ---------- Encabezado de paginas internas ---------- */
.page-head { position: relative; overflow: hidden; padding: calc(var(--header-h) + 64px) 0 60px; border-bottom: 1px solid var(--line); }
.page-head .rings { width: 760px; right: -330px; top: -140px; opacity: .45; }
.page-head .wrap { position: relative; }
.page-head h1 { font-size: clamp(3.4rem, 14vw, 9rem); font-weight: 900; line-height: .86; margin: 0 0 22px; }
.page-head .h1-sub { display: block; font-family: var(--mono); font-weight: 500; font-size: .74rem; letter-spacing: .14em; color: var(--lime); margin-bottom: 20px; line-height: 1.5; }
.page-head .lead { margin-bottom: 28px; }
@media (min-width: 1000px) { .page-head { padding: calc(var(--header-h) + 110px) 0 96px; } .page-head .rings { width: 1000px; right: -180px; } }
.chips-bar { position: sticky; top: var(--header-h); z-index: 80; background: rgba(11,15,12,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px var(--gutter); margin: 0 auto; max-width: var(--max); scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cream-2); }
.chips a b { color: var(--lime); font-weight: 500; }
.chips a:hover { border-color: var(--lime); color: var(--cream); }

/* ---------- Bloques de servicio ---------- */
.svc { display: grid; gap: 40px; padding: 84px 0; border-bottom: 1px solid var(--line); align-items: center; }
.svc:last-child { border-bottom: 0; }
.svc__media { position: relative; max-width: 540px; }
.svc__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.svc__big { position: absolute; left: -4px; bottom: -36px; font-family: var(--display); font-weight: 900; font-size: clamp(6rem, 26vw, 11rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--lime); pointer-events: none; }
.svc__body h2 { font-size: clamp(2.8rem, 10vw, 5.4rem); margin: 14px 0 22px; }
.svc__body > p { color: var(--cream-2); max-width: 54ch; }
.ticks { display: grid; gap: 10px; margin: 24px 0 26px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { width: 20px; height: 20px; color: var(--lime); flex: none; margin-top: 4px; }
.note { border-left: 2px solid var(--wood); padding: 4px 0 4px 16px; color: var(--cream-2); font-size: .97rem; margin: 0 0 28px; max-width: 54ch; }
.note--warn { border-left-color: #f0b429; }
.note b { color: var(--cream); }
@media (min-width: 1000px) {
  .svc { grid-template-columns: 1fr 1.05fr; gap: 90px; padding: 130px 0; }
  .svc:nth-child(even) .svc__media { order: 2; justify-self: end; }
  .svc:nth-child(even) .svc__big { left: auto; right: -10px; }
}

/* ---------- Galeria masonry (sin recortes) ---------- */
.masonry { columns: 2; column-gap: 10px; }
.masonry li { break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid; display: inline-block; width: 100%; vertical-align: top; margin-bottom: 10px; }
@media (min-width: 800px) { .masonry { columns: 3; column-gap: 18px; } .masonry li { margin-bottom: 18px; } }
.shot { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--bg-3); cursor: zoom-in; border-radius: var(--radius); overflow: hidden; color: var(--cream); text-align: left; }
.shot img { width: 100%; transition: transform .7s var(--ease); }
.shot__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 10px; background: linear-gradient(0deg, rgba(11,15,12,.88), rgba(11,15,12,0)); font-family: var(--mono); font-size: .62rem; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; }
.shot:hover img { transform: scale(1.04); }
@media (min-width: 800px) { .shot__cap { font-size: .7rem; padding: 40px 16px 14px; } }

.lightbox { width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: rgba(6, 9, 7, .97); color: var(--cream); }
.lightbox::backdrop { background: rgba(6, 9, 7, .9); }
.lightbox[open] { display: flex; flex-direction: column; }
body:has(.lightbox[open]) { overflow: hidden; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 12px var(--gutter); }
.lightbox__count { margin: 0; font-family: var(--mono); font-size: .8rem; letter-spacing: .12em; color: var(--muted); }
.lightbox__stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; position: relative; padding: 0 12px; }
.lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox__cap { margin: 0; text-align: center; padding: 14px 20px 22px; color: var(--cream-2); font-size: .95rem; min-height: 3.4em; }
.lb-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(16, 22, 17, .85); color: var(--cream); display: grid; place-items: center; cursor: pointer; }
.lb-btn:hover { background: var(--lime); color: var(--bg); }
.lb-btn svg { width: 22px; height: 22px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }

/* ---------- Contacto ---------- */
.contact { display: grid; gap: 48px; }
@media (min-width: 1000px) { .contact { grid-template-columns: .95fr 1.05fr; gap: 80px; align-items: start; } }
.contact h2 { margin: 16px 0 20px; }
.contact__phone { display: inline-block; margin: 6px 0 24px; font-family: var(--display); font-weight: 900; font-size: clamp(2.6rem, 11vw, 4.6rem); line-height: 1; color: var(--lime); text-decoration: none; }
.info { border-top: 1px solid var(--line); margin-top: 32px; }
.info li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info .k { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.info .v { overflow-wrap: anywhere; font-size: .95rem; }
@media (min-width: 640px) { .info li { grid-template-columns: 120px 1fr; } .info .v { font-size: 1rem; } }
.info a { color: var(--cream); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.info a:hover { color: var(--lime); border-color: var(--lime); }

.form-card { background: var(--bg-3); border: 1px solid var(--line); border-radius: 6px; padding: 26px 20px; }
@media (min-width: 640px) { .form-card { padding: 40px; } }
.form-card h3 { font-size: 2.3rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: .92rem; margin-bottom: 26px; }
.form { display: grid; gap: 20px; }
.form__row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin-bottom: 8px; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-2); }
.field .req { color: var(--lime); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 13px 14px; font: inherit; font-size: 1rem; color: var(--cream);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a6d85e' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field select option { background: var(--bg-3); color: var(--cream); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(166, 216, 94, .2); }
.field [aria-invalid="true"] { border-color: #ff8a7a; }
.field__error { color: #ff9d8f; font-size: .9rem; margin: 8px 0 0; font-weight: 600; }
.field__error:empty { display: none; }
.field__hint { color: var(--muted); font-size: .88rem; margin: 8px 0 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__privacy { font-size: .88rem; color: var(--muted); margin: 0; }
.form__privacy a { color: var(--cream-2); }
.form .btn { width: 100%; }
.form .btn[disabled] { opacity: .7; cursor: progress; }
.form-status { border-radius: var(--radius); padding: 14px 16px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status--success { background: rgba(166, 216, 94, .14); border: 1px solid var(--lime); color: var(--lime-2); }
.form-status--error { background: rgba(255, 138, 122, .1); border: 1px solid #ff8a7a; color: #ffc2b8; }
.form-status a { color: inherit; }

/* ---------- Texto legal ---------- */
.prose { max-width: 760px; color: var(--cream-2); }
.prose h2 { font-size: 2rem; color: var(--cream); margin: 2em 0 .6em; }
.prose ul { padding-left: 1.2em; list-style: disc; margin-bottom: 1em; }
.prose a, .prose strong { color: var(--cream); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 80px 0 30px; background: var(--bg); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 24px; }
.footer__brand { grid-column: 1 / -1; display: flex; gap: 22px; align-items: center; }
.footer__brand svg { width: 120px; height: 120px; flex: none; }
.footer__brand p { margin: 0; color: var(--cream-2); max-width: 34ch; }
.footer h2 { font-family: var(--mono); font-weight: 500; font-size: .72rem; letter-spacing: .14em; color: var(--lime); margin-bottom: 14px; }
.footer li a { display: inline-flex; min-height: 38px; align-items: center; color: var(--cream-2); text-decoration: none; }
.footer li a:hover { color: var(--lime); }
.footer__contact { grid-column: 1 / -1; }
.footer__contact p { margin: 6px 0 0; color: var(--muted); font-size: .95rem; }
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
  .footer__brand, .footer__contact { grid-column: auto; }
  .footer__brand { flex-direction: column; align-items: flex-start; }
}
.footer__word { margin-top: 64px; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.4rem, 12vw, 13rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(238, 240, 228, .18); white-space: nowrap; user-select: none; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.footer__bottom p { margin: 0; }
.footer__bottom a { color: var(--muted); }

/* ---------- Barra de contacto movil ---------- */
.dock { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 110; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 8px; background: rgba(16, 22, 17, .95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line-2); box-shadow: 0 16px 40px rgba(0,0,0,.45); transition: transform .4s var(--ease); }
.dock .btn { min-height: 50px; font-size: 1.05rem; }
.dock.is-hidden { transform: translateY(150%); }
body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
@media (min-width: 1000px) { .dock { display: none; } body { padding-bottom: 0; } }

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; align-items: center; padding: calc(var(--header-h) + 40px) 0 80px; position: relative; overflow: hidden; }
.nf .rings { width: 900px; right: -360px; top: 50%; transform: translateY(-50%); opacity: .45; }
.nf .wrap { position: relative; }
.nf h1 { font-size: clamp(3.6rem, 14vw, 9rem); margin: 18px 0 20px; }

/* ---------- Revelado al hacer scroll (sin JS todo es visible) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease); }
.js .reveal-img.is-in { clip-path: inset(0 0 0 0); }
.reveal[data-split] { opacity: 1; transform: none; }

/* ---------- Redes sociales ---------- */
.social { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 6px; }
.btn--social { min-height: 50px; padding: 0 1.2em; border: 1.5px solid var(--line-2); color: var(--cream); background: rgba(238, 240, 228, .04); }
.btn--social svg { width: 1.25em; height: 1.25em; }
.btn--social:hover { color: var(--bg); border-color: var(--cream); }
.btn--tiktok svg { color: #25f4ee; filter: drop-shadow(1.5px 1.5px 0 #fe2c55); }
.btn--facebook svg { color: #1877f2; }
.btn--social:hover svg { color: var(--bg); filter: none; }
.social-cta { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; }
.social-cta .lead { margin: 0; }
.social--footer { margin-top: 16px; }
.social--footer .btn--social { min-height: 44px; font-size: .95rem; }
