/* =========================================================
   Rectificadora Liberia — estilos
   ========================================================= */

:root {
  --ink: #141517;
  --ink-2: #1c1d20;
  --ink-3: #26272b;
  --line-d: #2c2d31;
  --paper: #eeeff1;
  --paper-2: #e2e3e6;
  --line-l: #cdcfd3;
  --white: #f3f3f1;
  --text-l: #141517;
  --muted-d: #9a9ca3;
  --muted-l: #5d6067;
  --orange: #e8641b;
  --orange-2: #ff7a2e;

  /* Manual de marca: Barlow Condensed para títulos y rótulos, Barlow para texto */
  --font: "Barlow", Arial, sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;

  --container: 1280px;
  --gutter: clamp(16px, 2.6vw, 32px);
  --header-h: 66px;
  --cut: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; }
.frame { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.sq { display: inline-block; width: 9px; height: 9px; background: var(--orange); flex: none; }

/* ---------- octagon helper ---------- */
.oct-clip, .oct-frame, .wa-float, .socials a, .tag, .location__card {
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
}

/* ---------- type ---------- */
.label {
  font-family: var(--cond); font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.label::before { content: "["; font-size: 18px; font-weight: 300; }
.label::after  { content: "]"; font-size: 18px; font-weight: 300; }
.label--sq::before { content: ""; width: 9px; height: 9px; background: var(--orange); }
.label--sq::after { content: none; }
.label--sq { color: var(--muted-d); }
.label--muted { color: var(--muted-d); }

.h2 {
  font-family: var(--cond);
  font-size: clamp(38px, 5.6vw, 78px);
  line-height: .95;
  font-weight: 700;
  letter-spacing: -.005em;
  text-transform: uppercase;
}
.h2--sm { font-size: clamp(30px, 3.4vw, 46px); }
.h3 {
  font-family: var(--cond);
  font-size: clamp(25px, 2.3vw, 31px);
  font-weight: 700;
  letter-spacing: .005em;
  text-transform: uppercase;
  line-height: 1.05;
}
.muted { color: var(--muted-d); font-size: 17px; max-width: 46ch; }

/* ---------- buttons ---------- */
.btn {
  --cut: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 30px;
  font-family: var(--cond);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
/* rectángulo con bordes inclinados, como las franjas del logo */
.btn {
  --slant: 16px;
  clip-path: polygon(var(--slant) 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
  padding-left: calc(var(--slant) + 20px); padding-right: calc(var(--slant) + 22px);
}
/* las dos franjas del logo */
.btn__stripes {
  --c: currentColor;
  flex: none; width: 15px; height: 15px; margin-right: 2px;
  background:
    linear-gradient(var(--c), var(--c)) 1px 0 / 4.5px 100% no-repeat,
    linear-gradient(var(--c), var(--c)) 8.5px 0 / 4.5px 100% no-repeat;
  transform: skewX(-28deg);
  transition: transform .35s var(--ease);
}
.btn:hover .btn__stripes { transform: skewX(-28deg) translateX(3px); }
.btn--ghost .btn__stripes, .btn--dark .btn__stripes { --c: var(--orange); }
.btn--dark:hover .btn__stripes { --c: var(--ink); }
.btn--orange { background: var(--orange); color: var(--ink); }
.btn--orange:hover { background: var(--orange-2); }
.btn--ghost { background: rgba(255,255,255,.12); color: var(--white); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255,255,255,.22); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--orange); color: var(--ink); }
.btn--wide { width: 100%; justify-content: center; max-width: 320px; }

.tag {
  --cut: 6px;
  display: inline-block;
  font-family: var(--cond); font-weight: 600;
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 12px;
  background: var(--ink-3);
  color: var(--muted-d);
}

/* =========================================================
   HEADER
   ========================================================= */
/* barra flotante con lados inclinados y fondo desenfocado */
.header {
  --line: rgba(255,255,255,.12);
  --slant: 22px;
  --float: 14px;
  position: fixed; top: var(--float); left: 0; right: 0; z-index: 50;
  height: var(--header-h);
  padding: 0 var(--gutter);
  pointer-events: none;
  transition:
    transform .9s cubic-bezier(.22, .61, .36, 1),
    opacity .7s cubic-bezier(.22, .61, .36, 1);
}
.header.is-hidden { transform: translateY(calc(-100% - var(--float) - 6px)); opacity: 0; }
.header__inner {
  max-width: var(--container); margin: 0 auto; height: 100%;
  display: flex; align-items: stretch;
  pointer-events: auto;
  background: rgba(20,21,23,.5);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  clip-path: polygon(var(--slant) 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
  transition: background .35s var(--ease);
}
.header.is-solid .header__inner { background: rgba(20,21,23,.82); }
.header__inner > * { display: flex; align-items: center; }
.header__logo { padding: 0 26px 0 calc(var(--slant) + 20px); border-right: 1px solid var(--line); }
.header__logo img { height: 42px; width: auto; }
.header__nav { gap: 0; flex: 1; }
.header__nav a {
  height: 100%; display: flex; align-items: center; padding: 0 22px;
  font-family: var(--cond); font-weight: 600; font-size: 16px; letter-spacing: .09em; text-transform: uppercase;
  position: relative;
}
.header__nav a::after {
  content: ""; position: absolute; left: 22px; right: 22px; bottom: 18px; height: 1px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.header__nav a:hover::after, .header__nav a.is-current::after { transform: scaleX(1); }
.header__social { gap: 16px; padding: 0 24px; border-left: 1px solid var(--line); }
.header__social svg { width: 18px; height: 18px; opacity: .85; transition: color .2s, opacity .2s; }
.header__social a:hover svg { color: var(--orange); opacity: 1; }
.header__cta {
  padding: 0 calc(var(--slant) + 24px) 0 34px;
  background: var(--orange); color: var(--ink);
  font-family: var(--cond); font-weight: 600; font-size: 16px; letter-spacing: .09em; text-transform: uppercase;
  transition: background .3s, color .3s;
}
.header__cta:hover { background: var(--orange-2); }
.header__burger { display: none; width: 66px; border-left: 1px solid var(--line); flex-direction: column; justify-content: center; gap: 7px; }
.header__burger span { display: block; width: 22px; height: 1.5px; background: currentColor; margin: 0 auto; transition: transform .35s var(--ease); }
.header__burger[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.header__burger[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: calc(var(--header-h) + var(--float) + 8px) 0 0 0; background: var(--ink);
  pointer-events: auto;
  padding: 24px var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between;
  transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .4s var(--ease);
}
.mobile-menu.is-open { transform: none; opacity: 1; visibility: visible; }
.mobile-menu nav a {
  display: flex; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-d);
  font-family: var(--cond); font-weight: 700; font-size: 38px; letter-spacing: 0; text-transform: uppercase;
}
.mobile-menu nav small { font-family: var(--cond); font-size: 14px; color: var(--orange); letter-spacing: .1em; font-weight: 600; }
.mobile-menu__foot { display: grid; gap: 10px; font-family: var(--cond); font-size: 15px; color: var(--muted-d); font-weight: 600; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background: var(--ink);
  overflow: hidden;
  color: var(--white);
}
.hero__media { position: absolute; inset: 0; }
/* fondo: el taller visto desde arriba */
.hero__bg {
  position: absolute; left: 0; top: 0; width: 100%; height: 118%; object-fit: cover; object-position: 50% 40%;
  filter: contrast(1.05) brightness(.78);
  transform: translateY(calc(var(--hero-shift, 0) * -0.5px));
  will-change: transform;
}
/* primer plano en un panel con corte diagonal, al ángulo de las franjas del logo */
.hero__panel {
  --skew: -14deg;
  position: absolute; top: 0; bottom: 0; right: -9vw; width: 45vw;
  transform: skewX(var(--skew)); transform-origin: 0 100%;
  overflow: hidden;
  box-shadow: -50px 0 90px rgba(0,0,0,.6);
  animation: panelIn 1.4s var(--ease) .2s both;
}
.hero__close {
  position: absolute; top: 0; left: -14%; width: 128%; height: 100%;
  object-fit: cover; object-position: 50% 78%;
  transform: skewX(14deg) scale(1.04);
  filter: contrast(1.05);
  animation: heroZoom 16s ease-out both;
}
/* tono cálido sutil y fundido hacia el texto y el borde inferior */
.hero__panel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 40% at 60% 88%, rgba(232,100,27,.16), transparent 70%),
    linear-gradient(90deg, rgba(20,21,23,.7) 0%, rgba(20,21,23,0) 30%),
    linear-gradient(0deg, rgba(20,21,23,.75) 0%, rgba(20,21,23,0) 32%);
}
/* dos filetes naranjas sobre el corte, como las franjas del logo */
.hero__seam {
  position: absolute; z-index: 2; top: 0; bottom: 0; left: 0; width: 15px;
  background: linear-gradient(90deg, var(--orange) 0 3px, transparent 3px 9px, var(--orange) 9px 12px, transparent 12px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 70%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 70%, transparent 100%);
}
@keyframes heroZoom { from { transform: skewX(14deg) scale(1.14); } to { transform: skewX(14deg) scale(1.04); } }
@keyframes panelIn { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 30% 50%, transparent 50%, rgba(10,11,12,.45) 100%),
    linear-gradient(90deg, rgba(20,21,23,.8) 0%, rgba(20,21,23,.45) 34%, rgba(20,21,23,0) 55%),
    linear-gradient(0deg, rgba(20,21,23,.7) 0%, rgba(20,21,23,0) 32%);
}
/* textura de grano sutil */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .12; 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='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__content { position: relative; z-index: 2; padding: calc(var(--header-h) + 40px) var(--gutter) 80px; }
.hero__kicker { font-family: var(--cond); font-size: 19px; letter-spacing: .14em; display: flex; align-items: center; gap: 10px; margin-bottom: 28px; opacity: .9; font-weight: 600; }
.hero__title {
  font-family: var(--cond); font-size: clamp(46px, 6.6vw, 100px); line-height: .92; font-weight: 700; letter-spacing: -.005em; text-transform: uppercase;
  max-width: 17ch;
}
.hero__lead { max-width: 44ch; font-size: clamp(16px, 1.3vw, 19px); margin: 30px 0 38px; color: rgba(243,243,241,.86); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2;
  display: grid; justify-items: center; gap: 0; font-family: var(--cond); font-size: 12.5px; letter-spacing: .2em; opacity: .7; font-weight: 600;
}
.hero__scroll small { margin-top: 8px; }

.chev { width: 14px; height: 14px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -6px; animation: chev 1.6s infinite; }
.chev:nth-child(2) { animation-delay: .2s; }
@keyframes chev { 0%,100% { opacity: .25; } 50% { opacity: 1; } }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { position: relative; }
.section--light { --line: var(--line-l); background: var(--paper); color: var(--text-l); }
.section--dark  { --line: var(--line-d); background: var(--ink); color: var(--white); }
.section--light .label--sq, .section--light .muted { color: var(--muted-l); }

.intro { padding: clamp(64px, 9vw, 120px) var(--gutter) clamp(56px, 7vw, 96px); display: grid; gap: 34px; justify-items: start; border-bottom: 1px solid var(--line); }

/* --- 3 columnas --- */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); }
.col { padding: 56px var(--gutter) 64px; border-right: 1px solid var(--line); display: grid; align-content: start; gap: 18px; }
.col:last-child { border-right: 0; }
.col__icon { width: 140px; height: 110px; fill: none; stroke: #8d9097; stroke-width: 1; margin-bottom: 70px; transition: stroke .4s; }
.col:hover .col__icon { stroke: var(--orange); }
.col p { color: var(--muted-l); max-width: 38ch; }

/* --- proceso intro --- */
.section--tight { padding: 0 0 70px; }
.frame--box { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-intro { display: grid; grid-template-columns: 1.15fr 1.5fr; }
.process-intro__art { border-right: 1px solid var(--line); display: grid; align-items: center; padding: 32px var(--gutter); }
.process-intro__art .oct-frame--photo { aspect-ratio: 4 / 3; }
.process-intro__text { padding: clamp(56px, 7vw, 110px) var(--gutter); display: grid; gap: 30px; align-content: center; }

/* =========================================================
   SCROLL ANIMADO
   ========================================================= */
.scrolly { position: relative; height: 400vh; background: var(--paper); color: var(--ink); }
.scrolly__sticky {
  --cx: calc(max(2vw, (100vw - var(--container)) / 2) + min(31vw, 490px));
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: radial-gradient(ellipse min(50vw, 800px) 56vh at var(--cx) 55%, #ffffff 0%, #f4f4f2 50%, #e7e8ea 100%), var(--paper);
}
.scrolly__grid {
  position: absolute; inset: -240px 0 0 0; opacity: .35; z-index: 1;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M28 23v10M23 28h10' stroke='%23141517' stroke-opacity='.22' stroke-width='1'/%3E%3C/svg%3E");
  transform: translateY(calc(var(--grid-shift, 0) * 1px));
}
.scrolly__stage { position: absolute; inset: var(--header-h) 0 0 0; display: flex; align-items: center; z-index: 2; }
/* fotos del proceso: barrido diagonal al cambiar de paso */
.proc-photos {
  --cut: 26px;
  position: relative;
  height: min(70vh, 660px); aspect-ratio: 4 / 5;
  margin-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  overflow: hidden; background: var(--ink);
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
  box-shadow: 0 30px 60px rgba(20,21,23,.25);
}
.proc-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  clip-path: polygon(130% 0, 130% 0, 120% 100%, 100% 100%);
  transform: scale(1.14);
  transition: clip-path 1.1s cubic-bezier(.7, 0, .2, 1), transform 1.6s cubic-bezier(.2, .7, .1, 1);
}
.proc-photo:first-child { transition: none; }
.proc-photo.is-shown { clip-path: polygon(-20% 0, 130% 0, 120% 100%, -30% 100%); transform: scale(1); }
.proc-photos::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(20,21,23,.55) 0%, rgba(20,21,23,0) 30%);
}
.proc-photos__num {
  position: absolute; z-index: 2; left: 28px; bottom: 18px;
  font-family: var(--cond); font-weight: 700; font-size: clamp(56px, 6vw, 92px); line-height: 1; color: var(--white);
  display: flex; align-items: center; gap: 14px;
}
.proc-photos__num::before {
  content: ""; width: 26px; height: 34px; transform: skewX(-24deg);
  background: linear-gradient(90deg, var(--orange) 0 8px, transparent 8px 15px, var(--orange) 15px 23px, transparent 23px);
}

.scrolly__texts {
  position: absolute; z-index: 3;
  right: max(150px, calc((100vw - var(--container)) / 2 + 150px));
  top: 50%; transform: translateY(-50%);
  width: min(440px, 32vw);
  display: grid;
}
.step {
  --cut: 18px;
  padding: 34px 36px 38px;
  background: rgba(255,255,255,.86);
  box-shadow: inset 0 0 0 1px var(--line-l);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
}
.step { grid-area: 1 / 1; opacity: 0; transform: translateY(26px); transition: opacity .55s var(--ease), transform .55s var(--ease); pointer-events: none; }
.step.is-active { opacity: 1; transform: none; pointer-events: auto; }
.step__title { font-family: var(--cond); font-size: clamp(30px, 3vw, 44px); line-height: 1; font-weight: 700; letter-spacing: 0; text-transform: uppercase; margin: 22px 0 18px; }
.step__text { color: var(--muted-l); font-size: 17px; }
.step .label--sq { color: var(--muted-l); }

.scrolly__gauge { position: absolute; right: max(18px, calc((100vw - var(--container)) / 2 - 40px)); top: calc(var(--header-h) + 22px); bottom: 120px; width: 46px; z-index: 2; }
.gauge__dots {
  position: absolute; right: 0; top: 0; bottom: 0; width: 46px;
  background-image: radial-gradient(circle at 3px 3px, rgba(20,21,23,.16) 2.6px, transparent 3px);
  background-size: 11px 11px;
}
.gauge__dots::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(var(--p, 0) * 100%);
  background-image: radial-gradient(circle at 3px 3px, var(--orange) 2.6px, transparent 3px);
  background-size: 11px 11px;
}
.gauge__tag {
  position: absolute; right: 56px; top: calc(var(--p, 0) * 100%); transform: translateY(-50%);
  background: var(--orange); color: var(--ink); font-family: var(--cond); font-size: 12.5px; font-weight: 500; letter-spacing: .06em;
  padding: 4px 16px 4px 10px; white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%);
}
.scrolly__link { position: absolute; bottom: 28px; z-index: 3; font-family: var(--cond); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; opacity: .75; transition: opacity .2s, color .2s; font-weight: 600; }
.scrolly__link:hover { opacity: 1; color: var(--orange); }
.scrolly__link--start { left: max(var(--gutter), calc((100vw - var(--container)) / 2 - 20px)); }
.scrolly__link--skip  { right: max(var(--gutter), calc((100vw - var(--container)) / 2 - 20px)); }
.scrolly__hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3; display: grid; justify-items: center; font-family: var(--cond); font-size: 12.5px; letter-spacing: .2em; color: var(--muted-l); font-weight: 600; }
.scrolly__hint small { margin-top: 8px; }

/* =========================================================
   SERVICIOS
   ========================================================= */
.ticks {
  height: 16px; border-bottom: 1px solid var(--line);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='16'%3E%3Cpath d='M7 5v6M4 8h6' stroke='%23a7a9ae' stroke-width='1'/%3E%3C/svg%3E") repeat-x center;
}
.service { border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; }
.service__head { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 48px var(--gutter); border-bottom: 1px solid var(--line); align-items: start; }
.service__name { font-family: var(--cond); font-size: clamp(50px, 7.4vw, 108px); line-height: .9; font-weight: 700; letter-spacing: -.005em; text-transform: uppercase; }
.service__desc { display: flex; gap: 16px; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.4; color: #2c2e33; padding-top: 10px; }
.service__desc .sq { margin-top: 8px; }
.service__media { padding: 32px var(--gutter); border-right: 1px solid var(--line); display: grid; }
.oct-frame { --cut: 32px; background: var(--paper-2); display: grid; place-items: center; padding: 28px; overflow: hidden; }
.oct-frame img { width: 100%; filter: drop-shadow(0 18px 24px rgba(0,0,0,.18)); transition: transform 1.2s var(--ease); }
.oct-frame:hover img { transform: scale(1.04); }
.service__list { display: grid; align-content: start; }
.service__list li {
  display: flex; gap: 22px; align-items: baseline; padding: 28px var(--gutter);
  border-bottom: 1px solid var(--line); font-family: var(--cond); font-weight: 600; font-size: clamp(19px, 1.8vw, 25px); text-transform: uppercase; letter-spacing: .01em;
  transition: background .3s, padding-left .3s var(--ease);
}
.service__list li:last-child { border-bottom: 0; }
.service__list li:hover { background: var(--paper-2); padding-left: calc(var(--gutter) + 8px); }
.service__list span { font-family: var(--cond); font-size: 14px; color: var(--muted-l); position: relative; padding-left: 18px; font-weight: 600; }
.service__list span::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; background: var(--orange); }
.service__list--full { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
.service__list--full li:nth-child(odd) { border-right: 1px solid var(--line); }
.service__list--full li:nth-last-child(-n+2) { border-bottom: 0; }

/* categorías con subcategorías */
.service__body { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.3fr; }
.service__body .service__media { align-content: start; }
.subcats { display: grid; grid-template-columns: 1fr 1fr; align-content: start; }
.subcat { padding: 26px var(--gutter) 30px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; transition: background .3s; }
.subcat:nth-child(odd) { border-right: 1px solid var(--line); }
.subcat:hover { background: #fff; }
.subcat small { font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: .1em; color: var(--orange); }
.subcat h3 { font-family: var(--cond); font-weight: 700; font-size: 22px; letter-spacing: .005em; text-transform: uppercase; line-height: 1.05; }
.subcat p { color: var(--muted-l); font-size: 15px; }
.service__cta { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding: 30px var(--gutter); border-top: 1px solid var(--line); font-size: 17px; }

.more { padding: 56px var(--gutter) 80px; }
.more__head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.more__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.more__item { padding: 28px 26px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; transition: background .3s; }
.more__item:hover { background: #fff; }
.more__item small { font-family: var(--cond); color: var(--orange); font-size: 14px; font-weight: 600; }
.more__item h3 { font-family: var(--cond); font-size: 23px; font-weight: 700; letter-spacing: .005em; text-transform: uppercase; line-height: 1.1; }
.more__item p { color: var(--muted-l); font-size: 15px; }

/* --- fotos reales: blanco y negro, color al pasar el mouse --- */
.oct-frame--photo { padding: 0; aspect-ratio: 4 / 3; background: var(--ink-3); }
.oct-frame--photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.oct-frame--photo:hover img { transform: scale(1.04); }
.oct-frame--portrait { aspect-ratio: 4 / 5; }

/* =========================================================
   EL TALLER
   ========================================================= */
.taller__band { position: relative; height: min(78vh, 760px); min-height: 420px; overflow: hidden; }
.taller__img {
  position: absolute; left: 0; width: 100%; height: 125%; top: -12.5%; object-fit: cover;
  filter: brightness(.85);
  transform: translateY(calc(var(--band-shift, 0) * 1px));
  will-change: transform;
}
.taller__shade { position: absolute; inset: 0; background: linear-gradient(0deg, var(--ink) 0%, rgba(20,21,23,.55) 35%, rgba(20,21,23,.1) 70%); }
.taller__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 var(--gutter) 56px; display: grid; gap: 22px; justify-items: start; }
.taller__intro { display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; padding: 40px var(--gutter); }

/* galería en cuadrícula de 3 */
.gallery { padding: 0 var(--gutter) 80px; }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 24px; }
.gallery__item { margin: 0; }
.gallery__item .oct-frame--photo { aspect-ratio: 4 / 5; }
.gallery__item figcaption { margin-top: 16px; font-family: var(--cond); font-weight: 600; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); display: flex; gap: 12px; align-items: baseline; }
.gallery__item figcaption span { color: var(--orange); font-size: 13px; }

/* =========================================================
   UBICACIÓN
   ========================================================= */
.section--flush { padding: 0; }
.location { position: relative; display: grid; grid-template-columns: 1fr minmax(320px, 440px); min-height: 640px; border-top: 1px solid var(--line-d); }
.location__map { position: relative; min-height: 420px; background: var(--ink-2); }
.location__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.88) brightness(.95); }
.location__pin {
  position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -40px 0 0 -17px; pointer-events: none;
  background: var(--orange); border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  box-shadow: 0 0 0 10px rgba(232,100,27,.25);
}
.location__card { --cut: 22px; margin: 18px; background: var(--ink-3); padding: 44px 36px; display: grid; align-content: start; gap: 24px; }
.location__data { margin: 8px 0; display: grid; gap: 0; }
.location__data div { padding: 16px 0; border-bottom: 1px solid #36373c; display: grid; gap: 4px; }
.location__data dt { font-family: var(--cond); font-size: 13px; color: var(--muted-d); letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.location__data dd { margin: 0; font-size: 17px; }
.location__data a:hover { color: var(--orange); }
.link-arrow { font-size: 19px; transition: color .2s; }
.link-arrow:hover { color: var(--orange); }

/* =========================================================
   CONTACTO
   ========================================================= */
.contact { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.contact__media { padding: 18px 60px 18px 60px; border-right: 1px solid var(--line); display: grid; align-items: center; }
.oct-frame--gray { --cut: 22px; background: radial-gradient(circle at 50% 45%, #d9dadc, #a9abaf 75%); aspect-ratio: 4 / 5; padding: 0; }
.oct-frame--gray img { width: 150%; max-width: none; filter: drop-shadow(0 24px 30px rgba(0,0,0,.35)); transform: rotate(-8deg); }
.oct-frame--gray:hover img { transform: rotate(-8deg) scale(1.04); }
.contact__form-wrap { padding: 28px var(--gutter) 80px 60px; display: grid; gap: 26px; align-content: start; }
.contact__form-wrap .label::before, .contact__form-wrap .label::after { color: var(--muted-d); }

.form { display: grid; gap: 22px; margin-top: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { position: relative; display: block; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid #3a3b40; color: var(--white);
  font: inherit; font-size: 16px; padding: 22px 4px 10px; outline: none; resize: vertical; border-radius: 0;
  transition: border-color .3s;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; color: var(--white); }
.field select:invalid { color: #7c7f86; }
.field select option { background: var(--ink-2); color: var(--white); }
.field--select::after { content: ""; position: absolute; right: 8px; top: 26px; width: 7px; height: 7px; border-right: 1.5px solid #7c7f86; border-bottom: 1.5px solid #7c7f86; transform: rotate(45deg); pointer-events: none; }
.field span { position: absolute; left: 4px; top: 22px; color: #7c7f86; font-size: 14px; pointer-events: none; transition: all .25s var(--ease); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--orange); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { top: 0; font-size: 11px; letter-spacing: .06em; color: var(--muted-d); }
.field.is-error input, .field.is-error select { border-color: #e5484d; }
.form__line { border: 0; padding: 0; margin: 4px 0 6px; display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; font-size: 15px; color: var(--muted-d); }
.form__line legend { float: left; font-family: var(--cond); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-right: 8px; padding: 0; font-weight: 600; }
.form__line label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--white); }
.form__line input { accent-color: var(--orange); width: 16px; height: 16px; }
.form__msg { font-size: 14px; color: var(--muted-d); min-height: 1.4em; }
.form__msg.is-error { color: #ff8a8a; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { --line: var(--line-l); position: relative; background: var(--paper); color: var(--text-l); }
.footer__notch { height: 56px; background: var(--ink); clip-path: polygon(0 0, 100% 0, 100% 0, calc(100% - 56px) 100%, 56px 100%, 0 0); }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr; }
.footer__grid > * { padding: 54px var(--gutter) 60px; border-right: 1px solid var(--line); }
.footer__grid > *:last-child { border-right: 0; }
.footer__brand img { width: 230px; margin-bottom: 32px; }
.footer__brand p { color: #2c2e33; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer .label { font-family: var(--cond); font-size: 19px; letter-spacing: .02em; text-transform: none; font-weight: 600; margin-bottom: 20px; }
.footer ul { display: grid; gap: 12px; }
.footer ul a { transition: color .2s; }
.footer ul a:hover { color: var(--orange); }
.socials { display: flex; gap: 10px; }
.socials a { --cut: 10px; width: 54px; height: 54px; display: grid; place-items: center; background: var(--line-l); position: relative; transition: background .3s, color .3s; }
.socials a::before { content: ""; position: absolute; inset: 1px; background: var(--paper); clip-path: inherit; transition: background .3s; }
.socials a svg { width: 20px; height: 20px; position: relative; }
.socials a:hover::before { background: var(--orange); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 26px var(--gutter) 30px; border-top: 1px solid var(--line); color: #4d5057; font-size: 14px; }

/* WhatsApp flotante */
.wa-float {
  --cut: 14px; position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 60px; height: 60px; display: grid; place-items: center; background: var(--orange); color: var(--ink);
  transition: transform .3s var(--ease), background .3s; opacity: 0; transform: translateY(20px); pointer-events: none;
}
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: var(--orange-2); transform: translateY(-3px); }
.wa-float svg { width: 28px; height: 28px; }

/* =========================================================
   REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .header__nav a { padding: 0 14px; }
  .header__social { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 60px; }
  .header__nav, .header__cta { display: none; }
  .header__burger { display: flex; margin-left: auto; }
  .header { --slant: 14px; --float: 10px; padding: 0 12px; }
  .header__logo { border-right: 0; padding: 0 12px 0 calc(var(--slant) + 10px); }
  .header__burger { width: 60px; padding-right: var(--slant); box-sizing: content-box; }
  .header__logo img { height: 30px; }

  .hero { align-items: flex-end; }
  .hero__panel {
    left: 0; right: 0; width: auto; height: 54%; bottom: auto;
    transform: none; box-shadow: none;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
    animation: none;
  }
  .hero__close { left: 0; width: 100%; transform: none; animation: none; }
  .hero__seam { display: none; }
  .hero__shade { background: linear-gradient(0deg, rgba(20,21,23,.92) 0%, rgba(20,21,23,.6) 45%, rgba(20,21,23,.05) 75%); }
  .hero__content { padding-bottom: 96px; }

  .cols3, .process-intro, .contact, .footer__grid { grid-template-columns: 1fr; }
  .col { border-right: 0; border-bottom: 1px solid var(--line); }
  .col:last-child { border-bottom: 0; }
  .col__icon { margin-bottom: 24px; width: 110px; height: 86px; }
  .process-intro__art { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px var(--gutter); }

  .scrolly { height: 360vh; }
  .scrolly__stage { inset: calc(var(--header-h) + 24px) 0 auto 0; }
  .proc-photos { height: calc(100svh - var(--header-h) - 330px); min-height: 260px; width: calc(100vw - 2 * var(--gutter)); aspect-ratio: auto; margin: 0 var(--gutter); --cut: 18px; }
  .scrolly__gauge { display: none; }
  .scrolly__texts { left: var(--gutter); right: var(--gutter); width: auto; top: auto; bottom: 70px; transform: none; }
  .step { padding: 22px 22px 24px; }
  .step__title { font-size: 25px; margin: 14px 0 10px; }
  .step__text { font-size: 15px; }
  .scrolly__gauge { top: calc(var(--header-h) + 16px); bottom: auto; height: 40vh; right: 12px; width: 24px; }
  .gauge__dots { width: 24px; }
  .gauge__tag { right: 32px; }
  .scrolly__link--start, .scrolly__link--skip { bottom: 22px; font-size: 11px; }

  .service, .service__head, .service__list--full, .service__body { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .service__media { border-right: 0; border-bottom: 1px solid var(--line); }
  .service__list--full li:nth-child(odd) { border-right: 0; }
  .service__list--full li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .more__grid { grid-template-columns: 1fr 1fr; }

  .location { grid-template-columns: 1fr; }
  .location__map { min-height: 360px; }

  .contact__media { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px var(--gutter); }
  .oct-frame--gray { aspect-ratio: 16 / 10; }
  .contact__form-wrap { padding: 48px var(--gutter) 72px; }

  .footer__grid > * { border-right: 0; border-bottom: 1px solid var(--line); }
  .footer__notch { height: 32px; clip-path: polygon(0 0, 100% 0, calc(100% - 32px) 100%, 32px 100%); }
}
@media (max-width: 560px) {
  .form__row, .more__grid, .footer__cols, .subcats { grid-template-columns: 1fr; }
  .subcat:nth-child(odd) { border-right: 0; }
  .gallery__grid { gap: 28px 14px; }
  .btn { padding-top: 16px; padding-bottom: 16px; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .scrolly__link--start, .scrolly__link--skip { display: none; }
}

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