/* ==========================================================
   DOUGBRANDD — Sistema visual web
   Carbón · grafito · concreto · papel · naranja señal · vino — industrial 2026
   ========================================================== */
:root {
  --ink: #0c0a08;        /* carbón */
  --ink-2: #141311;
  --ink-3: #2a2c2b;      /* grafito */
  --bone: #f2eee6;       /* papel */
  --concrete: #7e8b84;   /* gris verdoso "concreto" */
  --mute: rgba(242, 238, 230, .56);
  --line: rgba(242, 238, 230, .14);
  --ember: #ff4a1c;      /* naranja señal (DD de la marca) */
  --blood: #720505;      /* vino */
  --grad: linear-gradient(135deg, #ff6a2b 0%, #ff4a1c 45%, #720505 100%);
  --sans: 'Geist', system-ui, sans-serif;
  --serif: 'Geist', system-ui, sans-serif; /* la serif itálica se retiró: énfasis por peso y color */
  --mono: 'Geist Mono', ui-monospace, monospace;
  --pad: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --r: 2px;              /* radio industrial */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--ember); color: var(--ink); }

em { font-family: inherit; font-style: normal; font-weight: 500; letter-spacing: inherit; }
.serif { font-family: var(--serif); }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; }
.mute { color: var(--mute); }

/* ---------- Grano ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%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");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0) } 20% { transform: translate(-5%,3%) } 40% { transform: translate(4%,-6%) }
  60% { transform: translate(-3%,5%) } 80% { transform: translate(6%,2%) }
}

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 100; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--ember); mix-blend-mode: normal;
  display: grid; place-items: center;
  transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background .3s;
}
.cursor__label { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .3s; white-space: nowrap; }
.cursor.is-hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(255, 74, 28, .18); border: 1px solid var(--ember); }
.cursor.is-label { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--bone); }
.cursor.is-label .cursor__label { opacity: 1; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--ink);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 28px;
}
.loader__count { font-family: var(--mono); font-weight: 500; letter-spacing: -.06em; font-size: clamp(64px, 12vw, 160px); line-height: 1; color: var(--bone); overflow: hidden; }
.loader__logo { width: min(320px, 60vw); opacity: .9; }
.loader__bar { width: min(320px, 60vw); height: 1px; background: var(--line); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--grad); }

/* ---------- Botones ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 46px; padding: 0 22px; border-radius: var(--r); cursor: pointer; border: 0;
  font-size: 14px; font-weight: 500; letter-spacing: -.01em; overflow: hidden; white-space: nowrap;
  transition: color .4s var(--ease);
}
.btn span, .btn i { position: relative; z-index: 1; font-style: normal; }
.btn::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--bone);
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--ink); }
.btn--pill { background: var(--ember); color: var(--ink); }
.btn--ghost { border: 1px solid var(--line); }
.btn--fill { background: var(--ember); color: var(--ink); height: 56px; padding: 0 30px; font-size: 15px; }
.spark { display: inline-block; transition: transform .6s var(--ease); }
.btn:hover .spark { transform: rotate(180deg); }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; align-items: center; gap: 32px; padding: 18px var(--pad);
  transition: transform .6s var(--ease), background .4s, backdrop-filter .4s;
}
.nav.is-scrolled { background: rgba(10, 10, 10, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo img { height: 15px; width: auto; }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-size: 14px; }
.nav__links a { position: relative; color: var(--mute); transition: color .3s; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--ember); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover { color: var(--bone); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__meta { color: var(--mute); }
.label b { font-weight: inherit; }

/* ---------- Selector de idioma ---------- */
.lang { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: var(--r); }
.lang button { padding: 6px 9px; border: 0; border-radius: var(--r); background: none; color: var(--mute); cursor: pointer; font: inherit; letter-spacing: inherit; transition: color .3s, background .3s; }
.lang button:hover { color: var(--bone); }
.lang button.is-on { background: var(--bone); color: var(--ink); }
.lang--menu { align-self: flex-start; margin-top: 32px; }
.lang--menu button { padding: 10px 14px; }
.lang-suggest {
  position: fixed; left: 50%; bottom: 22px; z-index: 85; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 16px; border-radius: var(--r);
  border: 1px solid rgba(255, 74, 28, .5); background: rgba(17, 17, 16, .85); backdrop-filter: blur(10px);
  color: var(--bone); cursor: pointer; animation: suggestIn .8s var(--ease) 3.5s both;
}
.lang-suggest i { font-style: normal; color: var(--ember); }
.lang-suggest span { margin-left: 4px; padding: 2px 6px; border-left: 1px solid var(--line); color: var(--mute); }
@keyframes suggestIn { from { opacity: 0; transform: translate(-50%, 20px); } }
.nav__burger { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1px; background: var(--bone); transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 18px; } .nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 70; background: var(--ink-2);
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 var(--pad);
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu a { font-family: var(--serif); font-style: normal; font-size: clamp(44px, 12vw, 72px); line-height: 1.1; }

/* ---------- Etiquetas y títulos de sección ---------- */
.label { display: flex; gap: 10px; color: var(--mute); margin-bottom: 28px; }
.label span { color: var(--ember); }
.sec-head { padding: 0 var(--pad); margin-bottom: clamp(48px, 7vw, 96px); }
.sec-head--center { text-align: center; }
.sec-head--center .label { justify-content: center; }
.sec-head--center p { max-width: 460px; margin: 20px auto 0; }
.sec-title { font-size: clamp(38px, 6.2vw, 92px); font-weight: 400; line-height: .98; letter-spacing: -.045em; }
.sec-title em { color: var(--concrete); }

/* ==========================================================
   HERO — lente nítida sobre imagen desenfocada (estilo editorial)
   ========================================================== */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; isolation: isolate; }
.hero__bg, .hero__sharp { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero__bg { filter: blur(26px) saturate(1.15) brightness(.75); }
.hero__sharp { clip-path: inset(50% 50% 50% 50%); will-change: clip-path; }
.hero__frame { position: absolute; border: 1px solid rgba(237, 234, 228, .5); pointer-events: none; will-change: transform; }
.hero__frame span { position: absolute; left: 10px; bottom: 8px; color: var(--bone); }
.hero__glow {
  position: absolute; width: 60vmax; height: 60vmax; left: 0; top: 0; margin: -30vmax 0 0 -30vmax;
  background: radial-gradient(circle, rgba(255, 74, 28, .28), transparent 60%);
  mix-blend-mode: screen; pointer-events: none; will-change: transform;
}
.hero__grid i, .hero__grid b { position: absolute; background: rgba(237, 234, 228, .1); }
.hero__grid i { top: 0; bottom: 0; width: 1px; }
.hero__grid i:nth-child(1) { left: 12.5%; } .hero__grid i:nth-child(2) { left: 37.5%; }
.hero__grid i:nth-child(3) { left: 62.5%; } .hero__grid i:nth-child(4) { left: 87.5%; }
.hero__grid b { left: 0; right: 0; height: 1px; }
.hero__grid b:nth-of-type(1) { top: 22%; } .hero__grid b:nth-of-type(2) { top: 78%; }

.hero__meta { position: absolute; top: 22%; margin-top: 18px; color: var(--bone); z-index: 2; }
.hero__meta p + p { margin-top: 2px; }
.hero__meta--l { left: calc(12.5% + 14px); }
.hero__meta--r { right: calc(12.5% + 14px); text-align: right; color: var(--mute); }
.tag { display: inline-flex; justify-content: space-between; width: 128px; margin-top: 14px; padding: 4px 8px; border: 1px solid rgba(237, 234, 228, .5); border-radius: var(--r); font-size: 9px; }
.tag i { font-style: normal; }

.hero__content { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(56px, 9vh, 96px); z-index: 2; display: flex; flex-direction: column; gap: 22px; }
.hero__title { font-size: clamp(44px, 10vw, 176px); font-weight: 400; line-height: .88; letter-spacing: -.06em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; white-space: nowrap; }
.hero__title .line > * { display: inline-block; }
.hero__title em { letter-spacing: -.035em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.hero__sub { max-width: 340px; display: grid; gap: 22px; align-self: flex-end; margin-top: -1.2em; }
.hero__sub p { color: var(--bone); font-size: 15px; }
.hero__scroll { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--mute); z-index: 2; }
.hero__scroll i { width: 1px; height: 36px; background: linear-gradient(var(--bone), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Manifiesto ---------- */
.manifesto { padding: clamp(110px, 16vw, 220px) var(--pad) clamp(80px, 10vw, 140px); }
.manifesto__text { font-size: clamp(28px, 4.4vw, 64px); line-height: 1.08; letter-spacing: -.035em; max-width: 1280px; }
.manifesto__text .w { display: inline-block; opacity: .16; transition: opacity .2s; }
.manifesto__text em { color: var(--ember); }
.manifesto__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: clamp(56px, 8vw, 110px); padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.manifesto__sign { display: flex; align-items: center; gap: 16px; }
.manifesto__sign img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 50%; }
.manifesto__sign .serif { font-size: 26px; line-height: 1; margin-bottom: 6px; }
.stats { display: flex; gap: clamp(28px, 5vw, 72px); }
.stats__n { font-size: clamp(26px, 3vw, 40px); font-weight: 500; letter-spacing: -.03em; font-style: normal; line-height: 1; }
.stats p { margin-top: 8px; }

/* ---------- Clientes ---------- */
.clients { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 38px 0; overflow: hidden; }
.marquee { display: flex; width: max-content; }
.marquee__track { display: flex; align-items: center; gap: clamp(56px, 7vw, 110px); padding-right: clamp(56px, 7vw, 110px); animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { height: 34px; width: auto; opacity: .55; transition: opacity .3s; }
.marquee__track img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Trabajo ---------- */
.work { position: relative; padding: clamp(110px, 14vw, 200px) 0; }
.work__list { list-style: none; border-top: 1px solid var(--line); }
.work__item { border-bottom: 1px solid var(--line); }
.work__row {
  position: relative; display: grid; grid-template-columns: 70px 1fr auto 90px; align-items: center; gap: 24px;
  padding: clamp(22px, 3vw, 40px) var(--pad); cursor: pointer; overflow: hidden;
}
.work__row::before { content: ''; position: absolute; inset: 0; background: var(--ink-3); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: -1; }
.work__row:hover::before { transform: scaleY(1); }
.work__idx { color: var(--mute); }
.work__name { font-size: clamp(34px, 6vw, 92px); line-height: 1; letter-spacing: -.05em; transition: transform .6s var(--ease), color .4s; }
.work__row:hover .work__name { transform: translateX(18px); font-family: var(--serif); font-style: normal; letter-spacing: -.02em; }
.work__type { color: var(--mute); text-align: right; }
.work__year { text-align: right; color: var(--mute); }
.work__thumb { display: none; }
.work__preview {
  position: fixed; top: 0; left: 0; z-index: 60; width: 320px; height: 400px; margin: -200px 0 0 -160px;
  pointer-events: none; overflow: hidden; border-radius: 14px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); clip-path: inset(50% 50% 50% 50% round 14px);
  transition: clip-path .6s var(--ease);
}
.work__preview.is-on { clip-path: inset(0 0 0 0 round 14px); }
.work__preview-inner { position: absolute; inset: 0; background-size: cover; background-position: center; transition: background-image .2s; }

/* ---------- Universo (scroll horizontal) ---------- */
.universe { position: relative; }
.universe__pin { height: 100vh; display: flex; align-items: center; overflow: hidden; }
.universe__intro { flex: 0 0 auto; width: min(440px, 80vw); padding-left: var(--pad); margin-right: 8vw; }
.universe__intro p { margin-top: 24px; max-width: 360px; }
.universe__track { display: flex; align-items: center; gap: 28px; padding-right: var(--pad); will-change: transform; }
.u-card { position: relative; flex: 0 0 auto; width: 46vh; height: 34vh; overflow: hidden; border-radius: 4px; }
.u-card--tall { height: 62vh; width: 44vh; }
.u-card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.u-card figcaption { position: absolute; left: 12px; bottom: 10px; color: var(--bone); mix-blend-mode: difference; }

/* ---------- Método ---------- */
.method { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 8vw, 140px); padding: clamp(110px, 14vw, 200px) var(--pad); }
.method__aside { position: sticky; top: 120px; align-self: start; }
.method__aside p { margin-top: 28px; max-width: 380px; }
.method__progress { margin-top: 48px; width: 100%; max-width: 380px; height: 1px; background: var(--line); }
.method__progress span { display: block; height: 100%; width: 0; background: var(--grad); }
.method__steps { list-style: none; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 44px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n { color: var(--ember); padding-top: 12px; }
.step h3 { font-size: clamp(30px, 3.6vw, 52px); font-weight: 400; letter-spacing: -.04em; line-height: 1; margin-bottom: 18px; }
.step p { color: var(--mute); max-width: 480px; font-size: 17px; }

/* ---------- Bento ---------- */
.services { padding: 0 0 clamp(110px, 14vw, 200px); }
.bento {
  display: grid; gap: 12px; padding: 0 var(--pad);
  grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(220px, auto);
}
.tile {
  position: relative; overflow: hidden; border-radius: 6px; padding: 26px;
  background: var(--ink-2); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  transition: border-color .4s, transform .6s var(--ease);
}
.tile:hover { border-color: rgba(255, 74, 28, .55); }
.tile h3 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 400; letter-spacing: -.035em; line-height: 1.02; }
.tile p { color: var(--mute); font-size: 14px; max-width: 280px; }
.tile__n { position: absolute; top: 22px; left: 26px; color: var(--mute); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: transform 1.2s var(--ease), opacity .6s; }
.tile:hover img { transform: scale(1.06); opacity: .7; }
.tile__body { position: relative; display: grid; gap: 10px; }
.tile--main { grid-column: span 2; grid-row: span 2; padding: 34px; }
.tile--main::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(10, 10, 10, .92)); }
.tile--main .tile__body { z-index: 1; }
.tile--main h3 { font-size: clamp(36px, 4.4vw, 64px); }
.tile--main p { font-size: 16px; max-width: 420px; color: var(--bone); }
.tile--img { grid-column: span 2; }
.tile--img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 20%, rgba(10, 10, 10, .9)); }
.tile--img .tile__body { z-index: 1; }
.tile--img .tile__n { position: static; }
.tile--accent { background: var(--grad); border-color: transparent; }
.tile--accent p, .tile--accent .tile__n { color: rgba(255, 255, 255, .78); }
.chip { align-self: flex-start; padding: 5px 10px; border-radius: var(--r); background: var(--grad); color: #fff; font-size: 10px; }

/* ---------- Inversión ---------- */
.pricing { padding: 0 0 clamp(110px, 14vw, 200px); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0 var(--pad); align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: 8px;
  background: var(--ink-2); border: 1px solid var(--line); overflow: hidden;
  transition: transform .6s var(--ease), border-color .4s;
}
.plan:hover { transform: translateY(-6px); border-color: rgba(237, 234, 228, .3); }
.plan__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.plan__name { color: var(--mute); }
.plan__badge { padding: 5px 10px; border-radius: var(--r); background: var(--bone); color: var(--ink); font-size: 10px; }
.plan h3 { font-size: clamp(28px, 2.6vw, 38px); font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.plan__for { margin-top: 12px; color: var(--mute); font-size: 14px; min-height: 42px; }
.plan__price { margin: 30px 0 4px; display: flex; align-items: baseline; gap: 10px; }
.plan__price small { color: var(--mute); }
.plan__price strong { font-family: var(--serif); font-style: normal; font-weight: 400; font-size: clamp(44px, 4.4vw, 64px); line-height: 1; letter-spacing: -.02em; }
.plan__note { color: var(--mute); }
.plan ul { list-style: none; margin: 28px 0 32px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; flex: 1; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; font-size: 14px; }
.plan li::before { content: '✦'; color: var(--ember); font-size: 10px; padding-top: 4px; }
.plan__time { display: flex; justify-content: space-between; color: var(--mute); margin-bottom: 18px; }
.plan .btn { justify-content: center; width: 100%; border: 1px solid var(--line); }
.plan--featured { background: radial-gradient(120% 70% at 50% 0%, rgba(255, 74, 28, .28), transparent 60%), var(--ink-3); border-color: rgba(255, 74, 28, .55); transform: translateY(-14px); }
.plan--featured:hover { transform: translateY(-20px); }
.plan--featured .btn { background: var(--grad); color: #fff; border-color: transparent; }
.plan--featured .plan__name { color: var(--ember); }
.pricing__note { text-align: center; margin: 44px auto 0; max-width: 560px; padding: 0 var(--pad); }

/* ---------- Reseñas ---------- */
.reviews { padding: 0 0 clamp(110px, 14vw, 200px); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0 var(--pad); }
.review { padding: 34px 30px; border-radius: 8px; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 280px; }
.review p { font-size: clamp(22px, 2vw, 28px); line-height: 1.15; }
.review--empty { border-style: dashed; }
.review--empty p { color: var(--mute); }

/* ---------- CTA / Agenda ---------- */
.cta { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); padding: clamp(110px, 14vw, 200px) var(--pad); border-top: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.cta__glow { position: absolute; z-index: -1; width: 90vmax; height: 90vmax; left: -30vmax; bottom: -60vmax; background: radial-gradient(circle, rgba(255, 74, 28, .35), transparent 60%); filter: blur(20px); }
.cta__title { font-size: clamp(56px, 9vw, 150px); font-weight: 400; line-height: .9; letter-spacing: -.06em; margin-bottom: 30px; }
.cta__title em { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.cta__head p { max-width: 420px; }
.booking { display: grid; gap: 28px; padding: 32px; border: 1px solid var(--line); border-radius: 10px; background: rgba(17, 17, 16, .7); backdrop-filter: blur(10px); align-self: start; }
.booking__step { display: grid; gap: 12px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label, .days button, .slots button { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span, .days button, .slots button {
  display: block; text-align: center; padding: 12px 10px; border-radius: 6px; border: 1px solid var(--line);
  background: transparent; font-size: 14px; transition: background .3s, border-color .3s, color .3s;
}
.seg input:checked + span, .days button.is-on, .slots button.is-on { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.seg input:focus-visible + span { outline: 2px solid var(--ember); outline-offset: 2px; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.days::-webkit-scrollbar { display: none; }
.days button { flex: 0 0 64px; padding: 10px 0; line-height: 1.2; }
.days button b { display: block; font-family: var(--serif); font-style: normal; font-weight: 400; font-size: 24px; }
.days button small { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.days button:hover:not(.is-on), .slots button:hover:not(.is-on), .seg span:hover { border-color: rgba(237, 234, 228, .4); }
.booking__fields input, .booking__fields select {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--line);
  background: rgba(10, 10, 10, .5); outline: none; font-size: 15px; transition: border-color .3s;
}
.booking__fields select { appearance: none; color: var(--mute); }
.booking__fields input:focus, .booking__fields select:focus { border-color: var(--ember); }
.booking__fields input::placeholder { color: var(--mute); }
.booking .btn--fill { justify-content: center; }
.booking__msg { min-height: 18px; color: var(--ember); }

/* ---------- Footer ---------- */
.footer { padding: clamp(70px, 9vw, 120px) var(--pad) 28px; border-top: 1px solid var(--line); }
.footer__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.footer__mail { display: inline-block; margin-top: 10px; font-size: clamp(34px, 5vw, 72px); font-style: italic; line-height: 1; transition: color .3s; }
.footer__mail:hover { color: var(--ember); }
.footer__links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__links a { transition: color .3s; cursor: pointer; }
.footer__links a:hover { color: var(--ember); }
.footer__portal { color: var(--ember); }
.footer__logo { width: 100%; margin: clamp(60px, 9vw, 120px) 0 28px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- Visor de caso ---------- */
.case { position: fixed; inset: 0; z-index: 150; background: var(--ink); overflow-y: auto; clip-path: inset(100% 0 0 0); transition: clip-path .9s var(--ease); overscroll-behavior: contain; }
.case.is-open { clip-path: inset(0 0 0 0); }
.case__close { position: fixed; top: 20px; right: var(--pad); z-index: 2; padding: 12px 18px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(10, 10, 10, .6); backdrop-filter: blur(10px); cursor: pointer; }
.case__hero { position: relative; height: 78vh; overflow: hidden; }
.case__hero img { width: 100%; height: 100%; object-fit: cover; }
.case__hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 40%, var(--ink)); }
.case__head { position: relative; z-index: 1; margin-top: -22vh; padding: 0 var(--pad); }
.case__head h2 { font-size: clamp(56px, 10vw, 160px); font-weight: 400; letter-spacing: -.06em; line-height: .9; }
.case__meta { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 26px; color: var(--mute); }
.case__body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); padding: clamp(60px, 8vw, 110px) var(--pad); }
.case__body h3 { margin-bottom: 18px; }
.case__body p { font-size: clamp(20px, 2vw, 28px); line-height: 1.25; letter-spacing: -.02em; }
.case__gallery { display: grid; gap: 12px; padding: 0 var(--pad) 60px; }
.case__gallery img { width: 100%; border-radius: 4px; }
.case__next { display: flex; justify-content: center; padding: 40px var(--pad) 90px; }

/* ==========================================================
   HERO INDUSTRIAL 2026 — foto nítida, retícula, marcadores
   naranja y anotación técnica (sobrescribe el hero anterior)
   ========================================================== */
.hero { background: var(--ink); }
.hero__bg, .hero__sharp { background-position: 80% center; }
.hero__bg { filter: grayscale(1) contrast(1.08) brightness(.5); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(12,10,8,.72) 0%, rgba(12,10,8,0) 55%), linear-gradient(0deg, rgba(12,10,8,.85) 0%, rgba(12,10,8,0) 42%); }
.hero__glow { display: none; }
.hero__frame { border-color: rgba(242, 238, 230, .65); z-index: 2; }
.hero__frame::before, .hero__frame::after { content: ''; position: absolute; width: 7px; height: 7px; background: var(--ember); }
.hero__frame::before { left: -4px; top: -4px; } .hero__frame::after { right: -4px; bottom: -4px; }
.hero__frame span { white-space: nowrap; font-size: 10px; }
.hero__grid { position: absolute; inset: 0; z-index: 1; }
.hero__grid i, .hero__grid b { background: rgba(242, 238, 230, .16); }
.hero__sq { position: absolute; z-index: 2; width: clamp(26px, 3.6vw, 58px); aspect-ratio: 1; background: var(--ember); }
.hero__sq--a { left: 37.5%; top: 22%; translate: -100% -100%; }
.hero__sq--b { left: 62.5%; top: 78%; }
.hero__sq--c { left: 12.5%; top: 78%; width: 10px; background: var(--concrete); translate: -50% -50%; }
.hero__note { position: absolute; z-index: 2; color: var(--concrete); }
.hero__note--tl { left: calc(37.5% + 12px); top: calc(22% - 26px); }
.hero__note--br { left: calc(62.5% + 12px); top: calc(78% - 26px); }
.hero__note--bl { left: calc(12.5% + 14px); top: calc(78% - 8px); }
.hero__meta--r { right: auto; left: calc(12.5% + 14px); top: 22%; margin-top: 118px; text-align: left; color: var(--concrete); }
.tag { border-color: var(--concrete); color: var(--ember); }
.hero__title { font-size: clamp(40px, 7.4vw, 148px); font-weight: 500; line-height: .9; letter-spacing: -.055em; }
.hero__title em { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--ember); letter-spacing: inherit; padding-right: 0; }
.hero__sub p { color: var(--bone); }
.hero__sub { padding-left: 16px; border-left: 1px solid var(--ember); }
.cta__title em { background: none; color: var(--ember); }
@media (max-width: 1080px) { .hero__sub { align-self: flex-start; margin-top: 6px; } }
@media (max-width: 720px) {
  .hero__bg, .hero__sharp { background-position: 72% center; }
  .hero__sq--a { left: 37.5%; top: 22%; } .hero__note--tl, .hero__note--bl, .hero__sq--c { display: none; }
  .hero__note--br { display: none; }
}

/* ---------- Método: diagrama técnico que se dibuja con el scroll ---------- */
.method__diagram { margin-top: 48px; max-width: 420px; padding: 18px 18px 14px; border: 1px solid var(--line); background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 25%, var(--ink-2); position: relative; }
.method__diagram::before, .method__diagram::after { content: ''; position: absolute; width: 7px; height: 7px; background: var(--ember); }
.method__diagram::before { left: -4px; top: -4px; } .method__diagram::after { right: -4px; bottom: -4px; }
.method__diagram svg { display: block; width: 100%; height: auto; overflow: visible; }
.md__ruler path, .md__drops path { stroke: var(--concrete); stroke-width: 1; opacity: .55; }
.md__drops path { stroke-dasharray: 2 4; }
.md__ghost { stroke: rgba(242, 238, 230, .18); stroke-width: 1; }
.md__line { stroke: var(--ember); stroke-width: 2; }
.md__node rect { fill: var(--ink); stroke: var(--concrete); stroke-width: 1; transition: fill .4s, stroke .4s; }
.md__node text { font-family: var(--mono); font-size: 9px; letter-spacing: .08em; fill: var(--concrete); transition: fill .4s; }
.md__node.is-on rect { fill: var(--ember); stroke: var(--ember); }
.md__node.is-on text { fill: var(--bone); }
.md__end path { stroke: var(--concrete); stroke-width: 1; transition: stroke .4s; }
.md__end.is-on path { stroke: var(--ember); }
.md__read { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--concrete); }
.md__read span:last-child { color: var(--ember); }
.step { transition: opacity .5s; }
.method.is-tracking .step { opacity: .38; }
.method.is-tracking .step.is-on { opacity: 1; }
.step.is-on .step__n::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 8px; background: var(--ember); }

/* ---------- Transición portada → caso ---------- */
.wipe { position: fixed; inset: 0; z-index: 300; background: var(--ember); color: var(--ink); display: grid; place-items: center; clip-path: inset(100% 0 0 0); pointer-events: none; }
.wipe span { font-size: 12px; }

/* ---------- Secciones claras (papel): dan luz entre bloques oscuros ----------
   Invierte los tokens dentro de la sección; todo lo que usa variables se adapta solo. */
.light {
  --ink: #f2eee6; --ink-2: #e8e3d9; --ink-3: #d9d4c9;
  --bone: #0c0a08; --mute: rgba(12, 10, 8, .62); --line: rgba(12, 10, 8, .16);
  --concrete: #5f6b65;
  background: var(--ink); color: var(--bone);
}
.light .md__ghost { stroke: rgba(12, 10, 8, .2); }
.light .manifesto__text .w { opacity: .2; }
.nav.is-scrolled { background: rgba(12, 10, 8, .84); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .nav__links, .nav__meta, .nav > .lang { display: none; }
  .nav .btn--pill { margin-left: auto; }
  .nav__burger { display: block; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .plan--featured, .plan--featured:hover { transform: none; }
  .cta { grid-template-columns: 1fr; }
  .method { grid-template-columns: 1fr; }
  .method__aside { position: relative; top: 0; }
}
@media (max-width: 720px) {
  .nav { gap: 12px; }
  .nav .btn--pill span { display: none; }
  .nav .btn--pill { width: 46px; padding: 0; justify-content: center; }
  .hero__meta--r { display: none; }
  .hero__meta--l { left: var(--pad); top: 96px; margin: 0; }
  .hero__grid i:nth-child(1), .hero__grid i:nth-child(4) { display: none; }
  .hero__sub { align-self: flex-start; margin-top: 6px; }
  .manifesto__foot { flex-direction: column; align-items: flex-start; }
  .stats { gap: 22px; }
  .work__row { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .work__idx { grid-column: 1 / -1; }
  .work__type { grid-column: 1; text-align: left; }
  .work__year { grid-column: 2; grid-row: 2; }
  .work__thumb { display: block; grid-column: 1 / -1; margin-top: 14px; aspect-ratio: 4 / 5; object-fit: cover; width: min(100%, 420px); border-radius: 12px; }
  .universe__pin { height: auto; flex-direction: column; align-items: stretch; padding: 100px 0; }
  .universe__intro { width: auto; margin: 0 0 40px; padding-right: var(--pad); }
  .universe__track { overflow-x: auto; padding: 0 var(--pad); scroll-snap-type: x mandatory; scrollbar-width: none; }
  .u-card, .u-card--tall { width: 72vw; height: 92vw; scroll-snap-align: start; }
  .bento { grid-template-columns: 1fr; }
  .tile--main, .tile--img { grid-column: auto; grid-row: auto; min-height: 380px; }
  .reviews__grid { grid-template-columns: 1fr; }
  .booking { padding: 22px 18px; }
  .slots { grid-template-columns: repeat(3, 1fr); }
  .case__body { grid-template-columns: 1fr; }
}



/* Aire al pasar de sección clara a oscura */
.light + .services { padding-top: clamp(80px, 10vw, 140px); }
.light + .clients { padding-top: clamp(40px, 5vw, 72px); }

/* ==========================================================
   TEMA DE PRUEBA "OFF" — off-white dominante · naranja fuerte · ~10% verde
   Se activa con ?tema=off (clase .t-off en <html>). No afecta al tema oscuro.
   ========================================================== */
.hero__word { display: none; }
.t-off {
  --ink: #f1ece2; --ink-2: #e8e2d6; --ink-3: #dbd4c6;
  --bone: #161512; --mute: rgba(22, 21, 18, .62); --line: rgba(22, 21, 18, .15);
  --concrete: #1f4a38;   /* verde: acento secundario */
  --blood: #c23a12;
}
.t-off .light { --ink: #f7f3ea; --ink-2: #ece6da; --bone: #161512; --mute: rgba(22, 21, 18, .62); --line: rgba(22, 21, 18, .15); --concrete: #1f4a38; }
.t-off .method.light { --ink: #1c4636; --ink-2: #173b2d; --ink-3: #235642; --bone: #f1ece2; --mute: rgba(241, 236, 226, .72); --line: rgba(241, 236, 226, .2); --concrete: #a9c4b4; }
.t-off .method.light .md__ghost { stroke: rgba(241, 236, 226, .25); }
.t-off .nav.is-scrolled { background: rgba(241, 236, 226, .86); }
.t-off .nav__logo img, .t-off .loader__logo { content: url(../img/logo-dougbrandd.png); }
.t-off .marquee img { filter: brightness(0); opacity: .75; }
.t-off .grain { opacity: .05; mix-blend-mode: multiply; }
.t-off .cursor.is-label { background: var(--concrete); }
.t-off .cursor__label { color: #f1ece2; }
/* Hero */
.t-off .hero__bg, .t-off .hero__sharp { background-image: url(../img/hero-douglas-off.webp) !important; background-position: right center; }
.t-off .hero__bg { filter: none; }
.t-off .hero::after { background: linear-gradient(0deg, rgba(241, 236, 226, .92) 0%, rgba(241, 236, 226, 0) 38%); }
.t-off .hero__grid i, .t-off .hero__grid b { background: rgba(22, 21, 18, .1); }
.t-off .hero__frame { border-color: rgba(22, 21, 18, .45); }
.t-off .hero__meta--r { display: none; }
.t-off .hero__sq--c { background: var(--concrete); }
.t-off .hero__word {
  display: block; position: absolute; z-index: 1; left: 6%; top: 47%; transform: translateY(-50%) rotate(-4deg);
  font-family: 'Borel', cursive; font-size: clamp(120px, 23vw, 430px); line-height: 1; color: var(--ember);
  mix-blend-mode: multiply; pointer-events: none; white-space: nowrap;
}
.t-off .hero__word::after { content: 'olá'; }
.t-off:lang(es) .hero__word::after { content: 'hola'; }
.t-off:lang(en) .hero__word::after { content: 'hello'; }
@media (max-width: 720px) {
  .t-off .hero__bg, .t-off .hero__sharp { background-position: 78% center; }
  .t-off .hero__word { left: 4%; top: 34%; font-size: 34vw; }
}

/* Tema OFF — versión más elegante / alto padrón: menos elementos, más aire */
.t-off .hero__frame, .t-off .hero__sq--a, .t-off .hero__sq--b, .t-off .hero__note, .t-off .hero__meta .tag { display: none; }
.t-off .hero__grid b { display: none; }
.t-off .hero__grid i { background: rgba(22, 21, 18, .06); }
.t-off .hero__bg, .t-off .hero__sharp { background-size: auto 108%; background-position: right top; background-color: #e9e2d7; }
.t-off .hero__meta--l { left: var(--pad); top: auto; bottom: clamp(56px, 9vh, 96px); margin: 0; color: var(--concrete); writing-mode: vertical-rl; transform: rotate(180deg); display: none; }
.t-off .hero__title { font-size: clamp(34px, 4.7vw, 92px); font-weight: 400; line-height: 1; letter-spacing: -.045em; }
.t-off .hero__title em { font-weight: 400; }
.t-off .hero__word { left: 4%; top: 46%; font-size: clamp(110px, 18vw, 360px); }
.t-off .hero__sub { border-left-color: var(--concrete); }
.t-off .btn--pill, .t-off .btn--fill { background: var(--concrete); color: #f1ece2; }
.t-off .sec-title { font-weight: 400; }
.t-off .label span { color: var(--concrete); }
@media (max-width: 720px) { .t-off .hero__bg, .t-off .hero__sharp { background-size: cover; background-position: 78% top; } }

/* ==========================================================
   HOME — tipografía ancha + grotesca en mayúsculas (solo portada;
   las páginas de casos no llevan la clase .home y no cambian)
   Display: Unbounded (sustituible por Akony si se añade el archivo)
   Texto: Space Grotesk
   ========================================================== */
.home { --sans: 'Space Grotesk', 'Geist', system-ui, sans-serif; --serif: var(--sans); --display: 'Unbounded', 'Space Grotesk', sans-serif; }
.home .btn { text-transform: uppercase; font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.home .nav__links { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.home .label b::before { content: '['; } .home .label b::after { content: ']'; }
.home .sec-title, .home .cta__title { text-transform: uppercase; font-weight: 700; letter-spacing: -.035em; line-height: .95; }
.home .sec-title em, .home .cta__title em { color: var(--ember); font-weight: 700; }
.home .sec-title::before { content: ''; display: block; width: 46px; height: 10px; margin: 0 0 24px 6px; transform: skewX(-32deg);
  background: repeating-linear-gradient(90deg, var(--ember) 0 10px, transparent 10px 18px); }
.home .sec-head--center .sec-title::before { margin-inline: auto; }
.home .manifesto__text { text-transform: uppercase; font-weight: 700; font-size: clamp(26px, 3.7vw, 56px); line-height: 1.02; letter-spacing: -.03em; }
.home .manifesto__text em { font-weight: 700; }
.home .stats__n, .home .step h3, .home .work__name { text-transform: uppercase; font-weight: 700; letter-spacing: -.03em; }
.home .step h3 em { font-weight: 700; color: var(--ember); }
.home .loader__count { font-family: var(--display); font-weight: 900; letter-spacing: -.04em; }

/* Portada: palabra gigante detrás de la figura recortada */
.home .hero__bg { background-position: 60% center; filter: none; }
.home .hero__cut { position: absolute; inset: 0; z-index: 2; background: url(../img/hero-director-recorte-v3.webp) 60% center / cover no-repeat; pointer-events: none; }
.home .hero__giant { position: absolute; z-index: 1; left: 0; right: 0; top: clamp(84px, 11vh, 120px); text-align: center; font-family: var(--display); font-weight: 900;
  font-size: 17.2vw; line-height: .8; letter-spacing: -.04em; color: var(--ember); white-space: nowrap; pointer-events: none; }
.home .hero::after { z-index: 3; background: linear-gradient(0deg, rgba(12, 10, 8, .9) 0%, rgba(12, 10, 8, 0) 46%); }
.home .hero__sharp, .home .hero__frame, .home .hero__grid, .home .hero__sq, .home .hero__note, .home .hero__meta--r, .home .hero__meta .tag { display: none; }
.home .hero__meta--l { left: var(--pad); top: auto; bottom: calc(clamp(56px, 9vh, 96px) + clamp(150px, 19vw, 270px)); margin: 0; z-index: 4; color: var(--bone); }
.home .hero__meta--l p:first-child::before { content: '['; } .home .hero__meta--l p:first-child::after { content: ']'; }
.home .hero__content { z-index: 4; }
.home .hero__title { font-size: clamp(30px, 4.2vw, 76px); font-weight: 700; text-transform: uppercase; line-height: .95; letter-spacing: -.04em; }
.home .hero__title::before { content: ''; display: block; width: 46px; height: 10px; margin: 0 0 20px 6px; transform: skewX(-32deg); background: repeating-linear-gradient(90deg, var(--bone) 0 10px, transparent 10px 18px); }
.home .hero__title em { font-weight: 700; }
.home .hero__sub { border-left: 0; padding-left: 0; align-self: flex-start; margin-top: 4px; max-width: 380px; }
.home .hero__sub p { text-wrap: balance; }
.home .hero .btn--ghost { height: 54px; padding: 0 34px; border: 0; background: var(--bone); color: var(--ink); justify-content: center; }
.home .hero .btn--ghost::before { background: var(--ember); }
.home .hero__scroll { z-index: 4; }
.t-off .hero__giant, .t-off .hero__cut { display: none; }
.t-off.t-off .home .hero__bg { background-position: right top; }
@media (max-width: 720px) {
  .home .hero__bg, .home .hero__cut { background-position: 58% center; }
  .home .hero__giant { top: 92px; font-size: 17.6vw; }
  .home .hero__meta--l { display: none; }
}

/* Portada: figura a la derecha, palabra a la izquierda cruzando por detrás de la cabeza */
@media (min-width: 721px) {
  .home .hero__bg, .home .hero__cut { background-size: auto 112%; background-position: 0% 0%; }
  .home .hero__giant { left: 3.2vw; right: auto; text-align: left; font-size: 11.7vw; top: clamp(100px, 15vh, 160px); }
}
.home .hero__meta--l { display: none; }

/* Portada en pantallas estrechas: la figura empieza justo debajo de la palabra, sin tapar letras */
@media (max-width: 720px) {
  .home .hero__bg, .home .hero__cut { background-size: auto calc(100% - 92px - 12vw); background-position: 58% 100%; }
  .home .hero__bg { background-color: #0d0f11; }
}
.home .hero__bg { background-repeat: no-repeat; }

/* ==========================================================
   HOME — Trabajos en mosaico (misma lista, otra presentación)
   ========================================================== */
.home .work__preview { display: none; }
.home .work__filters { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0 var(--pad); margin: -24px 0 30px; }
.home .work__filters button { background: none; border: 0; padding: 6px 0; cursor: pointer; color: var(--mute); transition: color .3s; }
.home .work__filters button::before { content: '[ '; } .home .work__filters button::after { content: ' ]'; }
.home .work__filters button:hover { color: var(--bone); }
.home .work__filters button.is-on { color: var(--ember); }
.home .work__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1vw, 16px); padding: 0 var(--pad); border-top: 0; }
.home .work__item { border: 0; aspect-ratio: 4 / 5; min-width: 0; }
.home .work__item:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.home .work__item:nth-child(n+6) { grid-column: span 2; aspect-ratio: 8 / 5; }
.home .work__list.is-filtering .work__item:not(.is-match) .work__row { opacity: .16; filter: grayscale(1); }
.home .work__row { display: block; position: relative; height: 100%; padding: 0; overflow: hidden; cursor: pointer; background: var(--ink-3); isolation: isolate; transition: opacity .5s, filter .5s; }
.home .work__row::before { content: none; }
.home .work__row::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(12, 10, 8, .88) 0%, rgba(12, 10, 8, 0) 48%), linear-gradient(180deg, rgba(12, 10, 8, .5) 0%, rgba(12, 10, 8, 0) 22%); transition: opacity .5s; }
.home .work__thumb { display: block; position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; max-width: none; margin: 0; aspect-ratio: auto; border-radius: 0; object-fit: cover; object-position: center top; transition: transform 1.2s var(--ease); }
.home .work__row:hover .work__thumb, .home .work__row:focus-visible .work__thumb { transform: scale(1.06); }
.home .work__idx, .home .work__year, .home .work__name, .home .work__type { position: absolute; z-index: 2; }
.home .work__idx { left: 16px; top: 14px; color: var(--bone); }
.home .work__year { right: 16px; top: 14px; color: var(--bone); }
.home .work__name { left: 16px; right: 16px; bottom: 38px; font-size: clamp(18px, 2vw, 32px); line-height: 1; letter-spacing: -.03em; transition: transform .6s var(--ease), color .4s; }
.home .work__item:nth-child(1) .work__name { font-size: clamp(26px, 3.6vw, 60px); bottom: 42px; }
.home .work__row:hover .work__name { transform: translateX(6px); color: var(--ember); font-family: inherit; letter-spacing: -.03em; }
.home .work__type { left: 16px; right: 16px; bottom: 15px; text-align: left; color: rgba(242, 238, 230, .72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home .work__row:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
@media (max-width: 900px) {
  .home .work__list { grid-template-columns: repeat(2, 1fr); }
  .home .work__item:nth-child(1) { grid-row: auto; aspect-ratio: 4 / 5; }
  .home .work__item:nth-child(n+6) { grid-column: auto; aspect-ratio: 4 / 5; }
  .home .work__item:nth-child(7) { grid-column: span 2; aspect-ratio: 8 / 5; }
  .home .work__row { grid-template-columns: none; gap: 0; }
}

/* ==========================================================
   HOME — Agenda rápida: panel lateral en dos pasos
   ========================================================== */
.drawer { position: fixed; inset: 0; z-index: 150; visibility: hidden; transition: visibility 0s .6s; }
.drawer.is-open { visibility: visible; transition: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(6, 5, 4, .66); opacity: 0; transition: opacity .5s; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(480px, 100%); padding: 26px clamp(20px, 3vw, 36px) 30px; background: var(--ink-2); border-left: 1px solid var(--line); color: var(--bone);
  display: flex; flex-direction: column; gap: 22px; overflow-y: auto; overscroll-behavior: contain; transform: translateX(102%); transition: transform .6s var(--ease); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; color: var(--mute); }
.drawer__top button, .drawer__back, .drawer__alt { background: none; border: 0; padding: 6px 0; cursor: pointer; color: var(--mute); transition: color .3s; text-align: left; }
.drawer__top button:hover, .drawer__back:hover, .drawer__alt:hover { color: var(--bone); }
.drawer__step i { font-style: normal; color: var(--ember); }
.drawer h3 { font-size: clamp(28px, 2.6vw, 38px); font-weight: 700; text-transform: uppercase; letter-spacing: -.035em; line-height: .98; }
.drawer h3 em { color: var(--ember); font-weight: 700; }
.drawer__opts { display: grid; gap: 8px; }
.drawer__opt { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; align-items: baseline; width: 100%; padding: 16px 16px; text-align: left; cursor: pointer; background: none; color: var(--bone); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .3s, background .3s; }
.drawer__opt:hover, .drawer__opt:focus-visible { border-color: var(--ember); background: rgba(255, 74, 28, .07); outline: none; }
.drawer__opt b { font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: -.02em; }
.drawer__opt span { color: var(--mute); }
.drawer__opt small { grid-column: 1 / -1; font-size: 13px; color: var(--mute); line-height: 1.4; }
.drawer__pick { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--ember); border-radius: var(--r); }
.drawer__pick b { font-weight: 700; text-transform: uppercase; letter-spacing: -.02em; }
.drawer__form { display: grid; gap: 4px; }
.drawer__form label { display: grid; gap: 2px; color: var(--mute); margin-top: 10px; }
.drawer__form input { width: 100%; padding: 12px 0; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--bone); font-size: 17px; transition: border-color .3s; }
.drawer__form input:focus { outline: none; border-color: var(--ember); }
.drawer__form .btn { margin-top: 22px; height: 56px; justify-content: center; }
.drawer__msg { min-height: 18px; color: var(--ember); }
.drawer__foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 6px; color: var(--mute); }
.drawer [hidden] { display: none !important; }

/* ==========================================================
   HOME — Método compacto: cuatro cuadros con icono en una sola línea
   ========================================================== */
.home .method { display: block; padding: clamp(70px, 8vw, 120px) var(--pad); }
.home .method__aside { position: static; display: grid; grid-template-columns: 1fr minmax(0, 380px); gap: 0 40px; align-items: end; margin-bottom: clamp(28px, 3.4vw, 48px); }
.home .method__aside .label { grid-column: 1 / -1; }
.home .method__aside .sec-title { font-size: clamp(30px, 4vw, 60px); }
.home .method__aside p { margin: 0; }
.home .method__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1vw, 14px); }
.home .step, .home .step:last-child { position: relative; display: block; padding: 22px 22px 24px; border: 1px solid var(--line); border-radius: var(--r); opacity: 1; transition: border-color .4s, background .4s; }
.home .step:hover { border-color: var(--ember); background: rgba(255, 74, 28, .05); }
.home .step__ico { display: block; width: 30px; height: 30px; color: var(--ember); }
.home .step__n { position: absolute; top: 22px; right: 22px; padding: 0; color: var(--mute); }
.home .step h3 { margin: 22px 0 8px; font-size: clamp(16px, 1.45vw, 21px); line-height: 1.05; }
.home .step p { max-width: none; font-size: 14px; line-height: 1.45; }
/* Servicios: sin el cuadro de 3D, los dos últimos ocupan media fila cada uno */

@media (max-width: 1080px) {
  .home .method__aside { grid-template-columns: 1fr; gap: 16px; }
  .home .method__steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) { .home .method__steps { grid-template-columns: 1fr; } }

/* ==========================================================
   HOME — Servicios: una sola cinta horizontal de etiquetas con
   icono que se desliza sola (se detiene al pasar el cursor)
   ========================================================== */
.home .services .sec-head { margin-bottom: clamp(28px, 3.4vw, 48px); }
.home .services .sec-title { font-size: clamp(30px, 4vw, 60px); }
.home .srv { overflow: hidden; padding: 4px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.home .srv__track { display: flex; gap: 12px; width: max-content; list-style: none; animation: srv 36s linear infinite; }
.home .srv:hover .srv__track, .home .srv:focus-within .srv__track { animation-play-state: paused; }
.home .srv__chip { flex: none; display: inline-flex; align-items: center; gap: 14px; padding: 16px 24px; border: 1px solid var(--line); border-radius: var(--r); white-space: nowrap;
  font-size: clamp(14px, 1.3vw, 19px); font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; transition: border-color .35s, background .35s; }
.home .srv__chip svg { flex: none; width: 24px; height: 24px; color: var(--ember); }
.home .srv__chip:hover { border-color: var(--ember); background: rgba(255, 74, 28, .08); }
@keyframes srv { to { transform: translateX(calc(-50% - 6px)); } }

/* ==========================================================
   HOME — Cierre: foto de la silla a sangre, título y un solo botón
   (el formulario largo se oculta; la agenda va por el panel lateral)
   ========================================================== */
.home .cta { display: flex; align-items: center; min-height: min(92svh, 62vw); padding: clamp(90px, 10vw, 160px) var(--pad);
  background: #07080a url(../img/cierre-silla.webp) right 32% / cover no-repeat; }
.home .cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 8, 10, .82) 0%, rgba(7, 8, 10, .35) 42%, rgba(7, 8, 10, 0) 62%); }
.home .cta__glow, .home .booking, .drawer__alt { display: none; }
.home .cta__head { max-width: min(640px, 52%); }
.home .cta__title { font-size: clamp(40px, 6.2vw, 108px); margin-bottom: 24px; }
.home .cta__head p { color: var(--bone); opacity: .82; }
.home .cta__btn { margin-top: 30px; }
@media (max-width: 720px) {
  .home .cta { align-items: flex-start; min-height: 150vw; padding-top: 80px; background-position: 82% bottom; background-size: auto 78%; }
  .home .cta::before { background: linear-gradient(180deg, rgba(7, 8, 10, .9) 0%, rgba(7, 8, 10, .5) 38%, rgba(7, 8, 10, 0) 60%); }
  .home .cta__head { max-width: none; }
}

/* ==========================================================
   HOME — Planes siempre en horizontal para comparar:
   misma lista en los tres, con ✓ incluido y ✕ no incluido
   ========================================================== */
.home .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; margin: 0; gap: clamp(8px, 1vw, 14px); }
.home .plan ul { gap: 0; margin: 22px 0 24px; padding-top: 0; }
.home .plan li { grid-template-columns: 20px 1fr; align-items: center; min-height: 40px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.25; }
.home .plan li::before { padding: 0; font-size: 13px; font-weight: 700; }
.home .plan li.is-yes::before { content: '✓'; color: var(--ember); }
.home .plan li.is-no { color: rgba(242, 238, 230, .3); }
.home .plan li.is-no::before { content: '✕'; color: rgba(242, 238, 230, .3); }
.home .plan h3 { font-weight: 700; text-transform: uppercase; letter-spacing: -.03em; }
.home .plan__price strong { font-family: var(--sans); font-weight: 700; letter-spacing: -.04em; }
.home .plan__for { min-height: 64px; }
@media (max-width: 1080px) {
  .home .plan { padding: 20px 16px; }
  .home .plan--featured, .home .plan--featured:hover { transform: none; }
  .home .plan h3 { font-size: clamp(18px, 2.3vw, 26px); }
  .home .plan__price strong { font-size: clamp(28px, 3.6vw, 44px); }
  .home .plan__top { margin-bottom: 18px; }
  .home .plan li { font-size: 13px; }
  .home .plan__for { font-size: 13px; min-height: 76px; }
  .home .plan__time { flex-direction: column; gap: 2px; }
}
/* En teléfono siguen lado a lado: se deslizan en horizontal */
@media (max-width: 520px) {
  .home .plans { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
  .home .plans::-webkit-scrollbar { display: none; }
  .home .plan { flex: 0 0 78vw; scroll-snap-align: center; }
}

/* Planes en ventanas angostas de computadora (521–820 px): tres columnas compactas, sin scroll */
@media (min-width: 521px) and (max-width: 820px) {
  .home .plans { gap: 6px; padding: 0 12px; }
  .home .plan { padding: 16px 12px; }
  .home .plan__badge { padding: 3px 6px; font-size: 8px; }
  .home .plan__name { font-size: 10px; }
  .home .plan h3 { font-size: 17px; min-height: 2em; }
  .home .plan__for { font-size: 12px; line-height: 1.35; min-height: 98px; margin-top: 8px; }
  .home .plan__price { margin-top: 16px; flex-direction: column; gap: 2px; }
  .home .plan__price strong { font-size: 26px; }
  .home .plan__note { font-size: 9px; min-height: 2.9em; }
  .home .plan li { grid-template-columns: 14px 1fr; gap: 5px; height: 46px; min-height: 0; padding: 0; font-size: 11.5px; line-height: 1.2; }
  .home .plan li::before { font-size: 11px; }
  .home .plan__time { font-size: 9px; }
  .home .plan .btn { height: 40px; padding: 0 8px; font-size: 10px; gap: 6px; white-space: normal; text-align: center; line-height: 1.1; }
}
.home .plan__top { min-height: 26px; }

/* ==========================================================
   Ajustes 15/11
   ========================================================== */
/* Portada: la foto siempre cubre el ancho (sin franja negra) y la figura queda hacia el 70 % del ancho.
   Se ancla arriba: si sobra imagen, se recorta por abajo, nunca la cabeza. */
@media (min-width: 721px) {
  .home .hero { --heroW: max(119vw, 199svh); }
  .home .hero__bg, .home .hero__cut { background-size: var(--heroW) auto; background-position: calc(70vw - var(--heroW) * .589) top; }
}
/* Precio: "a partir de" encima del valor */
.home .plan__price { flex-direction: column; align-items: flex-start; gap: 6px; }
.home .pricing__note { text-wrap: balance; }
/* Cierre: foto anclada arriba (se recorta por abajo, no la cabeza) */
.home .cta { background-position: right top; }
@media (max-width: 720px) { .home .cta { background-position: 82% bottom; } }

/* Nota de precios: área de respeto respecto a las tarjetas */
.home .pricing__note { margin-top: clamp(48px, 5vw, 72px); }

/* ==========================================================
   Ronda 15/11 (tarde)
   ========================================================== */
/* Estudio: barrita de escritura con tirador, como una selección de texto */
.home .manifesto__text { position: relative; }
.type-caret { position: relative; display: inline-block; width: 3px; height: .92em; margin: 0 .08em; vertical-align: -.1em; background: var(--ember); border-radius: 2px; }
.type-caret::after { content: ''; position: absolute; left: 50%; bottom: -9px; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: var(--ember); }
.type-caret--start { margin-left: 0; }
.type-caret--start::after { bottom: auto; top: -9px; }
.is-typed .type-caret:not(.type-caret--start) { animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* Cursor: flecha naranja; en los trabajos, una etiqueta pequeña en vez de la bola */
.home, .home * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Cpath d='M4 2.5 20 12l-7 1.6 3.6 7.3-3 1.5-3.6-7.4L5 20z' fill='%23ff4a1c' stroke='%230c0a08' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") 4 3, auto; }
.home input, .home textarea { cursor: text; }
.home .cursor, .home .cursor.is-hover { width: auto; height: auto; margin: 22px 0 0 18px; padding: 0; border: 0; border-radius: var(--r); background: none; opacity: 0; transition: opacity .2s; }
.home .cursor.is-label { width: auto; height: auto; margin: 22px 0 0 18px; padding: 5px 9px; background: var(--ember); opacity: 1; }
.home .cursor.is-label .cursor__label { opacity: 1; color: var(--ink); font-weight: 500; }
.home .cursor.is-label .cursor__label::before { content: '[ '; } .home .cursor.is-label .cursor__label::after { content: ' ]'; }

/* Trabajos: piezas iguales (4:5) con mockups oscuros, centradas; la última fila queda centrada */
.home .work__list { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(8px, 1vw, 16px); perspective: 1600px; }
.home .work__list .work__item { flex: 0 0 calc((100% - 3 * clamp(8px, 1vw, 16px)) / 4); grid-column: auto; grid-row: auto; aspect-ratio: 4 / 5; transform-style: preserve-3d; backface-visibility: hidden; }
.home .work__list .work__item .work__name { font-size: clamp(18px, 1.9vw, 30px); bottom: 38px; }
.home .work__thumb { object-position: center; filter: saturate(.92) brightness(.9); transition: transform 1.2s var(--ease), filter .6s; }
.home .work__row:hover .work__thumb { filter: none; }
@media (max-width: 900px) { .home .work__list .work__item { flex-basis: calc((100% - clamp(8px, 1vw, 16px)) / 2); } }

/* Portada v3 (foto nueva 2000×1259): figura a la derecha, BRANDD cruza por detrás de la gorra */
@media (min-width: 721px) {
  .home .hero__bg, .home .hero__cut { background-size: auto 112%; background-position: 100% 0%; }
  .home .hero__giant { font-size: 13.4vw; }
}
@media (max-width: 720px) { .home .hero__bg, .home .hero__cut { background-position: 83% 100%; } }
/* Portada v3 con zoom: la figura crece sobre BRANDD y la foto siempre cubre todo el ancho */
@media (min-width: 721px) {
  .home .hero__bg, .home .hero__cut { background-size: max(100%, 218svh) auto; background-position: 100% 0%; }
}

/* loader sem contador: só o logo se revelando */
.loader__logo { width: min(420px, 70vw); opacity: 1; clip-path: inset(0 100% 0 0); }
