/* ==========================================================================
   PINTURAS BEN — sitio web
   ========================================================================== */
:root {
  --azul: #2B3BE6;
  --azul-700: #1D29B8;
  --azul-300: #8F98F3;
  --niebla: #E3E5FC;
  --terra: #EE5D37;
  --terra-700: #C9431F;
  --terra-100: #FDE3DA;
  --tinta: #0E1127;
  --tinta-80: #2A2D45;
  --tinta-60: #555871;
  --cal: #F4F1EA;
  --arena: #E8E0D2;
  --blanco: #FFFFFF;
  --wa: #25D366;

  --f-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --f-serif: 'Instrument Serif', Georgia, serif;
  --f-body: 'Inter', system-ui, -apple-system, sans-serif;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-pill: 999px;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
  --shadow: 0 30px 60px -20px rgba(14, 17, 39, .35), 0 10px 20px -10px rgba(14, 17, 39, .2);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--cal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* grano sutil de toda la pagina */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .05;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
button { font: inherit; }
::selection { background: var(--terra); color: var(--blanco); }

.wrap { width: 100%; max-width: 1260px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--tinta); color: var(--cal); padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 6px; }

/* ---------- Tipografia ---------- */
.h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 5.2vw, 4.4rem);
  line-height: .98;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.serif {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
}
.h2 .serif { color: var(--terra); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--azul);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 12px; height: 17px;
  background: currentColor;
  -webkit-mask: url("assets/img/isotipo-tinta.svg") center / contain no-repeat;
  mask: url("assets/img/isotipo-tinta.svg") center / contain no-repeat;
}
.eyebrow--light { color: var(--terra); }
.fine { font-size: .8rem; opacity: .6; margin-top: 14px; }

.sec-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 860px; }
.sec-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.sec-head__aside { max-width: 380px; color: var(--tinta-60); font-size: 1.05rem; }

/* ---------- Iconos ---------- */
.ico { width: 22px; height: 22px; flex: none; }
.ico--sm { width: 18px; height: 18px; }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--tinta); --fg: var(--cal);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  background: var(--bg); color: var(--fg);
  font-family: var(--f-body); font-weight: 700; font-size: 1rem; letter-spacing: -.01em;
  text-decoration: none; border: 0; cursor: pointer;
  transition: transform .35s var(--ease-back), box-shadow .35s var(--ease), background .25s;
  will-change: transform;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.btn::after { /* brillo que barre */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px color-mix(in srgb, var(--bg) 70%, transparent); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--terra { --bg: var(--terra); --fg: var(--tinta); }
.btn--azul { --bg: var(--azul); --fg: var(--blanco); }
.btn--ghost { --bg: transparent; --fg: var(--tinta); box-shadow: inset 0 0 0 2px var(--tinta); }
.btn--ghost:hover { --bg: var(--tinta); --fg: var(--cal); box-shadow: inset 0 0 0 2px var(--tinta); }
.btn--sm { padding: 10px 18px; font-size: .92rem; }
.btn--lg { padding: 18px 30px; font-size: 1.08rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--azul); white-space: nowrap; }
.link-arrow .ico { transition: transform .3s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- Chips / tags ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: var(--r-pill);
  background: var(--blanco); box-shadow: 0 2px 0 rgba(14,17,39,.06), inset 0 0 0 1px rgba(14,17,39,.08);
  font-size: .9rem; font-weight: 600;
}
.dot-live { width: 9px; height: 9px; border-radius: 50%; background: var(--wa); position: relative; flex: none; }
.dot-live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--wa); animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.tag { display: inline-block; padding: 4px 10px; border-radius: var(--r-pill); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-right: 8px; }
.tag--tinta { background: var(--tinta); color: var(--cal); }
.tag--terra { background: var(--terra); color: var(--tinta); }
.tag--azul { background: var(--azul); color: var(--blanco); }
.tag--cal { background: var(--cal); color: var(--tinta); }

/* ==========================================================================
   TOPBAR + HEADER
   ========================================================================== */
.topbar {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--tinta); color: var(--cal);
  font-size: .84rem; padding: 9px 16px; text-align: center;
}
.topbar strong { color: var(--terra); font-weight: 700; }

.header {
  position: sticky; top: 0; z-index: 50;
  transition: transform .45s var(--ease), background .3s, box-shadow .3s;
}
.header.is-scrolled { background: color-mix(in srgb, var(--cal) 82%, transparent); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 rgba(14,17,39,.08); }
.header.is-hidden { transform: translateY(-100%); }
.header__in { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--terra); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--tinta); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--cal); transition: transform .35s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mnav {
  display: none;
  position: absolute; left: 12px; right: 12px; top: calc(var(--header-h) - 4px);
  background: var(--tinta); color: var(--cal); border-radius: 24px; padding: 18px;
  flex-direction: column; gap: 4px; box-shadow: var(--shadow);
}
.mnav a:not(.btn) { text-decoration: none; font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; padding: 8px 10px; letter-spacing: -.02em; }
.mnav .btn { margin-top: 10px; }
.mnav.open { display: flex; animation: drop .35s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-10px) scale(.98); } }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { padding: clamp(24px, 4vw, 56px) 0 clamp(70px, 9vw, 120px); position: relative; overflow: clip; overflow-clip-margin: 0; }
.hero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero__copy .chip { margin-bottom: 26px; }
.hero__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.9rem, 5vw, 5.3rem);
  line-height: .92;
  letter-spacing: -.05em;
  margin-bottom: 28px;
}
.hero__title .line { display: block; }
.hero__title .w { display: inline-block; }
.hero__title .serif { color: var(--terra); font-size: 1.1em; letter-spacing: -.02em; line-height: .8; }
.hl { position: relative; white-space: nowrap; }
.hl .stroke { position: absolute; left: -2%; width: 104%; bottom: -.12em; height: .26em; overflow: visible; }
.hl .stroke path { fill: none; stroke: var(--azul); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 0; }
.hero__lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.55; max-width: 36ch; color: var(--tinta-80); margin-bottom: 32px; }
.hero__lead strong { color: var(--tinta); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero__trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .95rem; font-weight: 600; }
.hero__trust li { display: flex; align-items: center; gap: 7px; }
.hero__trust .ico { color: var(--azul); }

.hero__media { position: relative; height: clamp(520px, 50vw, 660px); }
.hero__blob { position: absolute; width: 70%; right: -16%; top: 8%; fill: var(--azul); transform: rotate(8deg); filter: drop-shadow(0 30px 40px rgba(43,59,230,.25)); animation: float 9s ease-in-out infinite; }
@keyframes float { 50% { transform: rotate(5deg) translateY(-12px); } }
.hero__video {
  position: absolute; right: 9%; top: 3%;
  width: min(58%, 330px); aspect-ratio: 9 / 16;
  border-radius: 30px; overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 7px var(--cal);
  background: var(--tinta);
  transform: rotate(3deg);
}
.hero__video video { width: 100%; height: 100%; object-fit: cover; }
.hero__photo {
  position: absolute; left: 0; bottom: 4%; margin: 0;
  width: 52%; aspect-ratio: 4 / 3;
  border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 7px var(--cal);
  transform: rotate(-5deg);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.sticker {
  position: absolute; left: 8%; top: 4%;
  width: clamp(120px, 12vw, 158px); aspect-ratio: 1;
  border-radius: 50%; background: var(--terra);
  display: grid; place-items: center;
  box-shadow: 0 18px 30px -12px rgba(238,93,55,.6);
  z-index: 3;
}
.sticker__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.sticker__ring text { font-family: var(--f-body); font-weight: 800; font-size: 15.5px; letter-spacing: .16em; fill: var(--tinta); }
.sticker__iso { width: 30%; height: auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.float-card {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: 12px;
  background: var(--blanco); border-radius: 18px; padding: 12px 18px 12px 14px;
  box-shadow: var(--shadow); font-size: .86rem; line-height: 1.25;
}
.float-card--a { left: 30%; top: 36%; }
.float-card--b { right: 0; bottom: 12%; }
.float-card__big { font-family: var(--f-display); font-weight: 800; font-size: 2.3rem; letter-spacing: -.05em; color: var(--azul); line-height: 1; }
.wa-badge { width: 40px; height: 40px; border-radius: 50%; background: var(--wa); color: var(--blanco); display: grid; place-items: center; }

/* ==========================================================================
   BANDA / MARQUEE
   ========================================================================== */
.band { position: relative; padding: 30px 0 46px; overflow: hidden; }
.marquee { background: var(--azul); color: var(--cal); transform: rotate(-2.2deg); margin-inline: -4vw; position: relative; z-index: 2; box-shadow: 0 20px 40px -20px rgba(43,59,230,.6); }
.marquee--rev { background: var(--terra); color: var(--tinta); transform: rotate(1.4deg); margin-top: -8px; z-index: 1; }
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 16px 0; animation: marquee 38s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 30s; padding: 11px 0; }
.marquee span { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 3.3rem); letter-spacing: -.035em; white-space: nowrap; line-height: 1; }
.marquee--rev span { font-size: clamp(1.1rem, 2.2vw, 1.7rem); text-transform: uppercase; letter-spacing: .02em; }
.marquee i { width: 22px; height: 31px; flex: none; background: var(--terra); -webkit-mask: url("assets/img/isotipo-tinta.svg") center / contain no-repeat; mask: url("assets/img/isotipo-tinta.svg") center / contain no-repeat; }
.marquee--rev i { background: var(--tinta); width: 15px; height: 21px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   POR QUE / STATS
   ========================================================================== */
.why { padding: clamp(60px, 8vw, 110px) 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat {
  border-radius: var(--r-lg); padding: clamp(26px, 3vw, 38px);
  min-height: 380px; display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.stat:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: var(--shadow); }
.stat--terra { background: var(--terra); color: var(--tinta); }
.stat--azul { background: var(--azul); color: var(--cal); }
.stat--tinta { background: var(--tinta); color: var(--cal); }
.stat .stat__num { font-family: var(--f-display); font-weight: 800; font-size: clamp(5rem, 10vw, 8.6rem); line-height: .85; letter-spacing: -.06em; margin-bottom: auto; }
.stat__num span { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.stat--azul .stat__num span, .stat--tinta .stat__num span { color: var(--terra); }
.stat h3 { font-family: var(--f-display); font-size: 1.55rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin: 36px 0 10px; }
.stat p { opacity: .85; font-size: 1rem; max-width: 30ch; }
.stat::after { /* gota decorativa */
  content: ""; position: absolute; right: -30px; top: -40px; width: 150px; height: 210px;
  background: currentColor; opacity: .08;
  -webkit-mask: url("assets/img/isotipo-tinta.svg") center / contain no-repeat;
  mask: url("assets/img/isotipo-tinta.svg") center / contain no-repeat;
  transform: rotate(18deg);
  transition: transform .8s var(--ease);
}
.stat:hover::after { transform: rotate(8deg) translateY(12px); }

/* ==========================================================================
   STATEMENT (se pinta con el scroll)
   ========================================================================== */
.statement { padding: clamp(40px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.statement__text {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.9rem, 4.6vw, 4rem); line-height: 1.08; letter-spacing: -.04em;
  max-width: 22ch;
  text-wrap: balance;
}
.statement__text .pw { color: rgba(14,17,39,.14); transition: color .5s var(--ease); }
.statement__text .pw.on { color: var(--tinta); }
.statement__text .pw.on.key { color: var(--azul); }

/* ==========================================================================
   SERVICIOS
   ========================================================================== */
.services { padding: clamp(40px, 6vw, 80px) 0 clamp(70px, 9vw, 120px); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 540px 420px; gap: 18px; }
.svc { position: relative; border-radius: 28px; overflow: hidden; margin: 0; background: var(--tinta); color: var(--cal); isolation: isolate; }
.svc--xl { grid-column: span 2; }
.svc--wide { grid-column: span 2; }
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); z-index: -2; }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,17,39,0) 35%, rgba(14,17,39,.82) 100%); }
.svc:hover img { transform: scale(1.06); }
.svc__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(22px, 2.6vw, 34px); }
.svc h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.7rem, 2.6vw, 2.4rem); letter-spacing: -.035em; line-height: 1; margin-bottom: 10px; }
.svc p { font-size: 1rem; opacity: .88; max-width: 40ch; }
.svc__n {
  display: inline-block; margin-bottom: 14px; font-family: var(--f-body); font-weight: 800; font-size: .78rem; letter-spacing: .1em;
  background: var(--cal); color: var(--tinta); padding: 5px 11px; border-radius: var(--r-pill);
}
.svc:nth-child(1) .svc__n { background: var(--terra); }
.extra {
  margin-top: 18px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--arena); border-radius: 22px; padding: 16px 22px;
}
.extra p { flex: 1; min-width: 220px; font-size: .98rem; }
.extra__ico { width: 44px; height: 44px; border-radius: 50%; background: var(--tinta); color: var(--cal); display: grid; place-items: center; flex: none; }

/* ==========================================================================
   VISUALIZADOR DE COLOR
   ========================================================================== */
.colors { background: var(--tinta); color: var(--cal); padding: clamp(70px, 9vw, 130px) 0; border-radius: 48px 48px 0 0; position: relative; }
.colors__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.colors__lead { color: rgba(244,241,234,.75); font-size: 1.1rem; margin: 22px 0 28px; max-width: 38ch; }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.sw {
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; padding: 0;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  transition: transform .3s var(--ease-back), box-shadow .3s;
  position: relative;
}
.sw:hover { transform: scale(1.12); }
.sw[aria-checked="true"] { box-shadow: 0 0 0 3px var(--tinta), 0 0 0 6px var(--cal); transform: scale(1.06); }
.sw[aria-checked="true"]::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px;
  background: var(--ink, var(--tinta));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M4.5 12.5l4.5 4.5L19.5 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M4.5 12.5l4.5 4.5L19.5 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.colors__current { margin-bottom: 22px; color: rgba(244,241,234,.75); }
.colors__current strong { color: var(--cal); font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 1.5rem; margin-left: 4px; }
.viz__frame { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 9; isolation: isolate; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.viz__frame img { width: 100%; height: 100%; object-fit: cover; }
.viz__paint { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: multiply; }
.viz__paint rect { fill: var(--wall, #A9B8A0); transition: fill .7s var(--ease); }
.viz__tag {
  position: absolute; left: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(14,17,39,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--cal); padding: 8px 14px 8px 10px; border-radius: var(--r-pill); font-size: .88rem; font-weight: 600;
}
.viz__tag::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--wall, #A9B8A0); box-shadow: 0 0 0 2px var(--cal); transition: background .7s; }

/* ==========================================================================
   TRABAJOS
   ========================================================================== */
.works { padding: clamp(70px, 9vw, 130px) 0; background: var(--cal); }
.story { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 14px; margin-bottom: 18px; }
.story__item { margin: 0; }
.story__item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; cursor: zoom-in; transition: transform .6s var(--ease); }
.story__item:hover img { transform: translateY(-6px); }
.story__item figcaption { display: flex; align-items: center; margin-top: 12px; font-weight: 600; font-size: .98rem; }
.story__arrow { width: 44px; height: 44px; border-radius: 50%; background: var(--tinta); color: var(--cal); display: grid; place-items: center; margin-top: -40px; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; grid-auto-flow: dense; gap: 14px; margin-top: 60px; }
.bento__item { margin: 0; position: relative; border-radius: 22px; overflow: hidden; background: var(--arena); }
.bento__item--wide { grid-column: span 2; }
.bento__item--video { grid-row: span 2; background: var(--tinta); }
.bento__item img, .bento__item video { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.bento__item img { cursor: zoom-in; }
.bento__item:hover img { transform: scale(1.05); }
.bento__item figcaption {
  position: absolute; left: 12px; bottom: 12px;
  display: inline-flex; align-items: center;
  background: rgba(244,241,234,.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  padding: 7px 14px 7px 8px; border-radius: var(--r-pill); font-size: .85rem; font-weight: 600;
}
.bento__item figcaption:not(:has(.tag)) { padding-left: 14px; }
.bento__item--video figcaption { background: rgba(14,17,39,.7); color: var(--cal); }

/* ==========================================================================
   PROCESO
   ========================================================================== */
.process { background: var(--azul); color: var(--cal); padding: clamp(70px, 9vw, 130px) 0 clamp(80px, 10vw, 140px); position: relative; }
.process .h2 .serif { color: var(--cal); }
.process .eyebrow--light { color: var(--cal); opacity: .8; }
.drips { position: absolute; left: 0; right: 0; bottom: -79px; height: 80px; z-index: 2; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cg fill='%232B3BE6'%3E%3Crect x='0' y='0' width='1440' height='2'/%3E%3Cpath d='M70 0h26v34a13 13 0 0 1-26 0z'/%3E%3Cpath d='M190 0h18v58a9 9 0 0 1-18 0z'/%3E%3Cpath d='M300 0h30v22a15 15 0 0 1-30 0z'/%3E%3Cpath d='M455 0h20v66a10 10 0 0 1-20 0z'/%3E%3Cpath d='M600 0h28v40a14 14 0 0 1-28 0z'/%3E%3Cpath d='M760 0h16v28a8 8 0 0 1-16 0z'/%3E%3Cpath d='M880 0h24v60a12 12 0 0 1-24 0z'/%3E%3Cpath d='M1030 0h30v32a15 15 0 0 1-30 0z'/%3E%3Cpath d='M1170 0h18v48a9 9 0 0 1-18 0z'/%3E%3Cpath d='M1300 0h26v24a13 13 0 0 1-26 0z'/%3E%3Cpath d='M1390 0h16v56a8 8 0 0 1-16 0z'/%3E%3C/g%3E%3C/svg%3E") top / 100% 100% no-repeat;
}
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step {
  position: relative; padding: 28px 24px 30px; border-radius: 26px;
  background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
  transition: background .4s, transform .5s var(--ease);
}
.step:hover { background: rgba(255,255,255,.13); transform: translateY(-6px); }
.step__n { display: block; font-family: var(--f-display); font-weight: 800; font-size: 4.4rem; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px var(--cal); margin-bottom: 26px; }
.step:nth-child(2) .step__n { color: var(--terra); -webkit-text-stroke: 0; }
.step h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 10px; }
.step h3 em { font-family: var(--f-serif); font-weight: 400; color: var(--terra); font-size: 1.12em; }
.step p { opacity: .86; font-size: .98rem; }
.process__cta { margin-top: 44px; display: flex; justify-content: center; }

/* ==========================================================================
   ZONA
   ========================================================================== */
.zone { padding: clamp(120px, 12vw, 170px) 0 clamp(70px, 9vw, 120px); }
.zone__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.zone__copy > p { color: var(--tinta-80); margin: 22px 0 30px; max-width: 44ch; font-size: 1.05rem; }
.barrio label { display: block; font-weight: 700; margin-bottom: 10px; }
.barrio__row { display: flex; align-items: center; gap: 10px; background: var(--blanco); border-radius: var(--r-pill); padding: 6px 8px 6px 18px; box-shadow: inset 0 0 0 2px var(--tinta); }
.barrio__row .ico { color: var(--azul); }
.barrio input { flex: 1; border: 0; background: transparent; font: inherit; font-size: 1.05rem; padding: 12px 6px; outline: none; min-width: 0; }
.barrio__msg { min-height: 1.6em; margin-top: 12px; font-weight: 600; }
.barrio__msg.ok { color: var(--azul); }
.barrio__msg.no { color: var(--terra-700); }
.barrio__msg a { color: inherit; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 8px 14px; border-radius: var(--r-pill); font-size: .9rem; font-weight: 500;
  background: var(--blanco); box-shadow: inset 0 0 0 1px rgba(14,17,39,.1);
  transition: background .3s, color .3s, transform .3s var(--ease-back);
}
.chips li:hover { transform: translateY(-2px) rotate(-2deg); background: var(--niebla); }
.chips li.hit { background: var(--azul); color: var(--blanco); transform: scale(1.12); box-shadow: 0 10px 20px -8px rgba(43,59,230,.6); }
.chips li:nth-child(7n+3) { background: var(--arena); }

/* ==========================================================================
   INSTAGRAM
   ========================================================================== */
.ig { padding: clamp(20px, 4vw, 50px) 0 clamp(70px, 9vw, 120px); }
.ig__rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 22vw, 300px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  --rail-pad: max(clamp(16px, 4vw, 40px), calc((100vw - 1260px) / 2 + 40px));
  padding: 10px var(--rail-pad) 20px;
  scroll-padding-inline: var(--rail-pad);
}
.ig__rail::-webkit-scrollbar { display: none; }
.ig__rail a { scroll-snap-align: start; border-radius: 22px; overflow: hidden; box-shadow: 0 20px 40px -24px rgba(14,17,39,.5); transition: transform .5s var(--ease); }
.ig__rail a:nth-child(odd) { transform: rotate(-1.2deg); }
.ig__rail a:nth-child(even) { transform: rotate(1.2deg) translateY(10px); }
.ig__rail a:hover { transform: rotate(0) translateY(-6px) scale(1.02); }
.ig__rail img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding: clamp(40px, 6vw, 80px) 0 clamp(70px, 9vw, 120px); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq .sec-head { position: sticky; top: calc(var(--header-h) + 30px); }
.faq .sec-head__aside { margin: 18px 0 24px; }
.acc details { border-bottom: 1.5px solid rgba(14,17,39,.14); }
.acc details:first-child { border-top: 1.5px solid rgba(14,17,39,.14); }
.acc summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 4px;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(1.15rem, 1.8vw, 1.45rem); letter-spacing: -.025em; line-height: 1.2;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: ""; flex: none; width: 38px; height: 38px; border-radius: 50%;
  background: var(--tinta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%23F4F1EA' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform .4s var(--ease), background-color .3s;
}
.acc details[open] summary::after { transform: rotate(135deg); background-color: var(--terra); }
.acc details p { padding: 0 60px 26px 4px; color: var(--tinta-80); font-size: 1.05rem; animation: fadeUp .45s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(-6px); } }

/* ==========================================================================
   CONTACTO
   ========================================================================== */
.contact { padding: 0 0 clamp(70px, 9vw, 120px); }
.contact__card {
  background: var(--azul); color: var(--cal);
  border-radius: 44px; padding: clamp(28px, 5vw, 64px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px);
  position: relative; overflow: hidden; isolation: isolate;
}
.contact .h2 .serif { color: var(--terra); }
.contact__list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; font-weight: 600; font-size: 1.08rem; }
.contact__list li { display: flex; align-items: center; gap: 12px; }
.contact__list .ico { color: var(--tinta); background: var(--terra); border-radius: 50%; padding: 5px; width: 30px; height: 30px; }
.contact__drop { position: absolute; left: 6%; bottom: -70px; width: 230px; z-index: -1; opacity: .13; transform: rotate(-16deg); }
.contact__drop path { fill: var(--cal); }
.contact__drop circle { fill: var(--azul); }
.form { background: var(--cal); color: var(--tinta); border-radius: 30px; padding: clamp(22px, 3vw, 34px); display: grid; gap: 16px; box-shadow: var(--shadow); }
.form__title { font-family: var(--f-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -.03em; line-height: 1.1; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.form input[type="text"], .form textarea {
  width: 100%; font: inherit; font-size: 1rem; font-weight: 400;
  padding: 14px 16px; border-radius: 14px; border: 0;
  background: var(--blanco); box-shadow: inset 0 0 0 1.5px rgba(14,17,39,.14);
  transition: box-shadow .25s;
  resize: vertical;
}
.form input:focus, .form textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--azul), 0 0 0 4px rgba(43,59,230,.15); }
.form input.invalid { box-shadow: inset 0 0 0 2px var(--terra); }
.form__opts { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form__opts legend { font-weight: 600; font-size: .92rem; margin-bottom: 8px; padding: 0; }
.opt { display: inline-flex !important; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { padding: 10px 16px; border-radius: var(--r-pill); background: var(--blanco); box-shadow: inset 0 0 0 1.5px rgba(14,17,39,.14); font-weight: 600; transition: all .25s; }
.opt input:checked + span { background: var(--tinta); color: var(--cal); box-shadow: none; }
.opt input:focus-visible + span { outline: 3px solid var(--terra); outline-offset: 2px; }
.opt-note { font-weight: 400; opacity: .6; }
.form__note { font-size: .82rem; opacity: .65; text-align: center; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--tinta); color: var(--cal); padding: 70px 0 30px; border-radius: 48px 48px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(244,241,234,.14); }
.footer__brand img { height: 74px; width: auto; margin-bottom: 18px; }
.footer__brand p { opacity: .72; max-width: 36ch; }
.footer__nav { display: grid; gap: 10px; align-content: start; }
.footer__nav a { text-decoration: none; opacity: .8; width: fit-content; }
.footer__nav a:hover { opacity: 1; color: var(--terra); }
.footer__contact { display: grid; gap: 16px; align-content: start; justify-items: start; }
.footer__ig { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; }
.footer__small { font-size: .88rem; opacity: .6; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: .85rem; opacity: .6; }
.footer__bottom a { text-decoration: none; }

/* ==========================================================================
   WHATSAPP FLOTANTE + BARRA MOVIL
   ========================================================================== */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.wa-float__btn { width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: var(--blanco); display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(37,211,102,.7); position: relative; transition: transform .35s var(--ease-back); }
.wa-float__btn .ico { width: 30px; height: 30px; }
.wa-float__btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.2s var(--ease) infinite; }
.wa-float:hover .wa-float__btn { transform: scale(1.08) rotate(-8deg); }
.wa-float__bubble {
  background: var(--blanco); color: var(--tinta); padding: 10px 16px; border-radius: 16px 16px 4px 16px;
  font-size: .9rem; box-shadow: var(--shadow); white-space: nowrap;
  opacity: 0; transform: translateX(10px) scale(.95); transform-origin: right center; pointer-events: none;
  transition: opacity .4s var(--ease), transform .5s var(--ease-back);
}
.wa-float.show .wa-float__bubble { opacity: 1; transform: none; }
.mbar { display: none; }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(14,17,39,.88); backdrop-filter: blur(6px); }
.lightbox img { max-width: 94vw; max-height: 88vh; border-radius: 18px; object-fit: contain; }
.lightbox__close { position: absolute; right: -8px; top: -52px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--cal); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lightbox[open] { animation: zoomIn .4s var(--ease); }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } }

/* ==========================================================================
   ANIMACIONES DE ENTRADA
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero__photo.reveal { transform: translateY(30px) rotate(-5deg); }
.js .hero__photo.reveal.in { transform: rotate(-5deg); }
.js .hero__video.reveal { transform: translateY(40px) rotate(3deg); }
.js .hero__video.reveal.in { transform: rotate(3deg); }
.js .hero__title .w { opacity: 0; transform: translateY(45%) rotate(3deg); filter: blur(10px); transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms + 100ms); }
.js.loaded .hero__title .w { opacity: 1; transform: none; filter: none; }
.js .hl .stroke path { stroke-dashoffset: 320; transition: stroke-dashoffset 1.1s var(--ease) 1.05s; }
.js.loaded .hl .stroke path { stroke-dashoffset: 0; }
.js .sticker { transform: scale(0) rotate(-90deg); transition: transform .9s var(--ease-back) .8s; }
.js.loaded .sticker { transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__cta { margin-left: auto; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { height: 600px; max-width: 620px; width: 100%; margin-inline: auto; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat--tinta { grid-column: span 2; min-height: 300px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .colors__grid, .zone__grid, .faq__grid { grid-template-columns: 1fr; }
  .faq .sec-head { position: static; }
  .contact__card { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  :root { --header-h: 66px; }
  .topbar { font-size: .76rem; padding: 7px 12px; }
  .brand img { height: 42px; }
  .header__cta { display: none; }
  .burger { margin-left: auto; }
  .hero__title { font-size: clamp(2.7rem, 12.5vw, 4rem); }
  .hero__ctas .btn { width: 100%; }
  .hero__media { height: 500px; }
  .hero__video { width: 56%; right: 4%; }
  .hero__photo { width: 60%; bottom: 6%; }
  .hero__blob { width: 88%; right: -12%; }
  .sticker { left: 2%; top: 2%; width: 112px; }
  .sticker__ring text { font-size: 16px; }
  .float-card--a { left: 4%; top: 46%; }
  .float-card--b { right: 0; bottom: 2%; }
  .band { padding: 18px 0 30px; }
  .stats { grid-template-columns: 1fr; }
  .stat--tinta { grid-column: auto; }
  .stat { min-height: 300px; }
  .svc-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 420px; }
  .svc--xl, .svc--wide { grid-column: auto; }
  .story { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(-1 * clamp(16px, 4vw, 40px)); padding-inline: clamp(16px, 4vw, 40px); scrollbar-width: none; }
  .story::-webkit-scrollbar { display: none; }
  .story__item { scroll-snap-align: center; }
  .story__arrow { display: none; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; gap: 10px; margin-top: 40px; }
  .steps { grid-template-columns: 1fr; }
  .step__n { font-size: 3.4rem; margin-bottom: 14px; }
  .colors, .footer { border-radius: 32px 32px 0 0; }
  .contact__card { border-radius: 32px; padding: 26px 14px 14px; }
  .contact__copy { padding-inline: 8px; }
  .form { padding: 22px 16px; border-radius: 24px; }
  .btn--lg { padding: 17px 22px; font-size: 1.04rem; }
  .acc details p { padding-right: 8px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
  .wa-float { display: none; }
  .mbar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--cal) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -1px 0 rgba(14,17,39,.08);
    transform: translateY(110%); transition: transform .5s var(--ease);
  }
  .mbar.show { transform: none; }
  .footer { padding-bottom: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
}

/* ---------- Trabajo techo ---------- */
.techo { margin-top: 60px; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--arena); border-radius: 32px; padding: clamp(20px, 3vw, 40px); }
.techo__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.8rem, 3.2vw, 2.8rem); line-height: 1; letter-spacing: -.035em; margin-bottom: 14px; }
.techo__title .serif { color: var(--terra); }
.techo__copy p { color: var(--tinta-80); margin-bottom: 22px; }
.techo__media { display: grid; grid-template-columns: 1fr 293px; grid-template-rows: 1fr 1fr; gap: 12px; height: 520px; }
.techo__ph, .techo__reel { margin: 0; position: relative; border-radius: 20px; overflow: hidden; background: var(--tinta); }
.techo__ph img, .techo__reel video { width: 100%; height: 100%; object-fit: cover; }
.techo__ph img { cursor: zoom-in; }
.techo__ph figcaption { position: absolute; left: 12px; top: 12px; }
.techo__reel { grid-column: 2; grid-row: 1 / span 2; }
@media (max-width: 760px) {
  .techo { grid-template-columns: 1fr; }
  .techo__media { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .techo__ph { aspect-ratio: 4 / 3; }
  .techo__reel { grid-column: 1 / span 2; grid-row: 2; aspect-ratio: 9 / 16; width: 78%; justify-self: center; }
}
