/* =========================================================
   BEVAN — Recorrido 3D · estilos
   Verde olivo #3b3e32 · crema #efeadc · "menos es más"
   ========================================================= */
.bv {
  --olive: #3b3e32;
  --olive-2: #4d5142;
  --cream: #efeadc;
  --cream-2: #f6f3ea;
  --ink: #2a2c23;
  --muted: #5a5d4e;
  --line: rgba(59, 62, 50, .16);
  --glass: rgba(246, 243, 234, .64);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(20px, 5vw, 72px);
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.bv *, .bv *::before, .bv *::after { box-sizing: border-box; }
:where(.bv) h1, :where(.bv) h2, :where(.bv) h3, :where(.bv) p { margin: 0; }
:where(.bv) ul { list-style: none; margin: 0; padding: 0; }
:where(.bv) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
:where(.bv) a { color: inherit; text-decoration: none; }
.bv :focus-visible { outline: 2px solid var(--olive); outline-offset: 4px; border-radius: 12px; }
.bv.is-dark :focus-visible, .bv.is-menu :focus-visible { outline-color: var(--cream); }

/* ---------- Capas ---------- */
.bv-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.bv-scroll {
  position: absolute; inset: 0; z-index: 2;
  overflow-x: hidden; overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.bv-scroll::-webkit-scrollbar { display: none; }

.sec { position: relative; width: 100%; min-height: 100vh; display: flex; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Tipografía ---------- */
.eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); font-variant-numeric: tabular-nums;
}
.display {
  font-size: clamp(40px, 6.2vw, 92px); font-weight: 600; line-height: 1.0;
  letter-spacing: -.045em; color: var(--olive); text-wrap: balance;
}
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.45; color: var(--muted); max-width: 34ch; text-wrap: pretty; }

/* ---------- Logo (máscara: toma el color del texto) ----------
   Define --logo-full y --logo-word en .bv con url() a los PNG del logo */
.logo-mark {
  display: block; flex: none; background-color: currentColor;
  -webkit-mask: var(--logo) center / contain no-repeat;
          mask: var(--logo) center / contain no-repeat;
}
.logo-full { --logo: var(--logo-full); aspect-ratio: 963 / 330; }
.logo-word { --logo: var(--logo-word); aspect-ratio: 963 / 242; }
.bv-logo .logo-word { height: 17px; }
.hero-title .logo-full { width: clamp(250px, 40vw, 600px); }
.bv-loader__word .logo-word { width: clamp(170px, 20vw, 250px); }

/* ---------- Íconos ---------- */
.ico { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pj-media .ico { stroke-width: 1.4; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 16px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap;
  transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
  will-change: transform;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .55s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--olive); color: var(--cream); }
.btn-primary:hover { background: #2b2d24; }
.btn-ghost { border: 1px solid rgba(59, 62, 50, .32); color: var(--olive); }
.btn-ghost:hover { background: var(--olive); border-color: var(--olive); color: var(--cream); }

/* ---------- Barra superior ---------- */
.bv-bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; justify-content: space-between; align-items: center;
  padding: clamp(14px, 2.2vh, 22px) clamp(20px, 3vw, 40px);
  pointer-events: none;
}
.bv-bar > * { pointer-events: auto; }
.bv-logo {
  height: 44px; display: flex; align-items: center;
  font-size: 22px; font-weight: 650; letter-spacing: -.045em; color: var(--olive);
  transition: color .6s var(--ease), opacity .4s;
}
.bv-burger {
  position: relative; width: 48px; height: 48px; border-radius: 50%;
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .5);
  transition: background-color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
}
.bv-burger:hover { transform: scale(1.07); }
.bv-burger span {
  position: absolute; left: 15px; right: 15px; top: calc(50% - .75px); height: 1.5px; border-radius: 2px;
  background: var(--olive); transition: background-color .5s var(--ease);
}
.bv-burger span:nth-child(1) { transform: translateY(-3.5px); }
.bv-burger span:nth-child(2) { transform: translateY(3.5px); }
.bv.is-dark .bv-logo, .bv.is-menu .bv-logo { color: var(--cream); }
.bv.is-dark .bv-burger, .bv.is-menu .bv-burger { background: rgba(239, 234, 220, .1); border-color: rgba(239, 234, 220, .22); }
.bv.is-dark .bv-burger span, .bv.is-menu .bv-burger span { background: var(--cream); }

/* ---------- Navegación lateral (puntos) ---------- */
.bv-dots {
  position: absolute; right: clamp(14px, 2.2vw, 30px); top: 50%; z-index: 15;
  transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  transition: opacity .5s var(--ease);
}
.bv-dots button { position: relative; width: 28px; height: 20px; display: grid; place-items: center; }
.bv-dots i {
  display: block; width: 6px; height: 6px; border-radius: 3px; background: rgba(59, 62, 50, .28);
  transition: height .6s var(--ease), background-color .4s var(--ease);
}
.bv-dots button:hover i { background: rgba(59, 62, 50, .6); }
.bv-dots button.on i { height: 16px; background: var(--olive); }
.bv-dots .tip {
  position: absolute; right: 32px; top: 50%; white-space: nowrap;
  font-size: 12px; font-weight: 500; letter-spacing: .02em; color: var(--olive);
  opacity: 0; transform: translate(6px, -50%); pointer-events: none;
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.bv-dots button:hover .tip { opacity: 1; transform: translate(0, -50%); }
.bv.is-dark .bv-dots i { background: rgba(239, 234, 220, .3); }
.bv.is-dark .bv-dots button.on i { background: var(--cream); }
.bv.is-dark .bv-dots .tip { color: var(--cream); }
.bv.is-menu .bv-dots { opacity: 0; pointer-events: none; }

/* ---------- Capítulo actual (abajo izquierda) ---------- */
.bv-chapter {
  position: absolute; left: clamp(20px, 3vw, 40px); bottom: clamp(18px, 3vh, 30px); z-index: 15;
  height: 16px; overflow: hidden; pointer-events: none;
  font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  transition: color .6s var(--ease), opacity .5s var(--ease);
}
.bv-chapter__in { display: flex; gap: 12px; line-height: 16px; }
.bv-chapter__num { color: var(--olive); font-variant-numeric: tabular-nums; }
.bv.is-dark .bv-chapter, .bv.is-dark .bv-chapter__num { color: rgba(239, 234, 220, .75); }

/* ---------- 1 · Inicio ---------- */
.sec-hero {
  flex-direction: column; align-items: center; justify-content: space-between; text-align: center;
  padding: clamp(92px, 13vh, 140px) 20px clamp(26px, 5vh, 46px);
}
.hero-top { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hero-cta { margin-top: clamp(18px, 3vh, 28px); }
.hero-title {
  display: flex; overflow: hidden; padding: .04em .02em .1em;
  font-size: clamp(76px, 12vw, 172px); font-weight: 600; line-height: .92; letter-spacing: -.06em;
  color: var(--olive);
}
.hero-title .ch { display: inline-block; will-change: transform; }
.hero-sub { font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); letter-spacing: -.01em; }
.hero-bottom { display: flex; flex-direction: column; align-items: center; gap: clamp(20px, 4vh, 34px); }
.scroll-hint {
  display: flex; flex-direction: column; align-items: center; gap: 12px; min-height: 44px;
  font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.scroll-hint .line { position: relative; display: block; width: 1px; height: 38px; overflow: hidden; background: var(--line); }
.scroll-hint .line::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 45%;
  background: var(--olive); animation: bvHint 2.4s var(--ease) infinite;
}
@keyframes bvHint { 0% { transform: translateY(-100%); } 100% { transform: translateY(240%); } }

/* Inicio interactivo: girar la casa + puntos de producto */
.sec-hero { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.bv.is-orbiting .sec-hero { cursor: grabbing; }
.hero-hint {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 500; color: var(--olive);
  background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .5);
}
.hero-hint .ico { width: 18px; height: 18px; flex: none; }
.bv-hotspots { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.hs {
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  display: grid; place-items: center; opacity: 0; pointer-events: none; will-change: transform, opacity;
}
.hs-dot {
  position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--cream);
  box-shadow: 0 0 0 2px rgba(59, 62, 50, .85), 0 4px 14px rgba(0, 0, 0, .25);
  transition: transform .4s var(--ease), background-color .3s;
}
.hs-dot::after {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  border: 1.5px solid rgba(239, 234, 220, .95); animation: hsPulse 2.4s var(--ease) infinite;
}
@keyframes hsPulse { 0% { transform: scale(.55); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }
.hs:hover .hs-dot, .hs:focus-visible .hs-dot { transform: scale(1.35); background: #fff; }
.hs-lbl {
  position: absolute; left: 36px; top: 50%; transform: translate(-6px, -50%); opacity: 0; white-space: nowrap;
  padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 500; letter-spacing: -.01em;
  color: var(--cream); background: rgba(59, 62, 50, .9); pointer-events: none;
  transition: opacity .3s var(--ease), transform .45s var(--ease);
}
.hs:hover .hs-lbl, .hs:focus-visible .hs-lbl { opacity: 1; transform: translate(0, -50%); }
@media (hover: none) {
  .hs-lbl { opacity: .92; transform: translate(0, -50%); left: 30px; padding: 4px 8px; font-size: 10.5px; }
}

.bv-pick {
  position: absolute; left: 0; top: 0; z-index: 4;
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px;
  border-radius: 999px; background: rgba(59, 62, 50, .92); color: var(--cream);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 13px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap;
  box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .45);
  opacity: 0; pointer-events: none; transform: translate3d(-999px, -999px, 0);
  transition: opacity .22s var(--ease);
}
.bv-pick.on { opacity: 1; pointer-events: auto; }
.bv-pick .ico { width: 13px; height: 13px; }
.bv.is-pick .sec-hero { cursor: pointer; }
.bv.is-orbiting .sec-hero { cursor: grabbing; }

.bv-voice {
  position: absolute; left: 0; top: 0; z-index: 3; width: 236px;
  display: flex; flex-direction: column; gap: 8px; padding-bottom: 38px;
  pointer-events: none; opacity: 0; transform: translate3d(-999px, -999px, 0);
}
.bv-voice::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 32px;
  background: linear-gradient(rgba(59, 62, 50, .55), rgba(59, 62, 50, 0));
}
.bv-voice__msg {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 9px 14px; border-radius: 18px;
  font-size: 13.5px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; min-height: 36px;
  box-shadow: 0 14px 34px -16px rgba(0, 0, 0, .45); opacity: 0;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.bv-voice__me { align-self: flex-end; background: rgba(247, 244, 236, .94); color: var(--olive); border-bottom-right-radius: 6px; }
.bv-voice__me .ico { width: 14px; height: 14px; flex: none; }
.bv-voice__ai { align-self: flex-start; background: rgba(59, 62, 50, .94); color: var(--cream); border-bottom-left-radius: 6px; }
.bv-voice__ring { width: 12px; height: 12px; flex: none; border-radius: 50%; border: 2px solid #5fd3ff; box-shadow: 0 0 10px rgba(95, 211, 255, .9), inset 0 0 4px rgba(95, 211, 255, .6); }
.bv-voice__t:empty::before { content: "\200b"; }

/* ---------- 2 · Catálogo (intro) ---------- */
.sec-catalog { align-items: center; }
.cat-card { max-width: 500px; }
.sec-catalog .display { margin-top: 14px; font-size: clamp(36px, 3.8vw, 56px); }
.cat-index { display: flex; flex-direction: column; max-width: 340px; margin-top: clamp(18px, 4vh, 40px); }
.cat-index button {
  display: flex; align-items: center; gap: 18px; width: 100%; min-height: clamp(36px, 5.4vh, 50px);
  border-top: 1px solid var(--line); font-size: 17px; font-weight: 500; letter-spacing: -.01em; color: var(--olive);
}
.cat-index li:last-child button { border-bottom: 1px solid var(--line); }
.cat-index .n { width: 22px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cat-index .lbl { transition: transform .55s var(--ease); }
.cat-index .arr { width: 16px; height: 16px; margin-left: auto; opacity: 0; transform: translateX(-8px); transition: opacity .4s var(--ease), transform .55s var(--ease); }
.cat-index button:hover .lbl { transform: translateX(6px); }
.cat-index button:hover .arr { opacity: 1; transform: none; }

/* ---------- 2.x · Subsecciones del catálogo ---------- */
.sec-item { min-height: 160vh; display: block; }
.sec-item > .wrap { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.card {
  width: 100%; max-width: 440px;
  padding: clamp(28px, 3.2vw, 46px);
  border-radius: 32px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(1.25); backdrop-filter: blur(24px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: 0 40px 90px -50px rgba(42, 44, 35, .45);
}
.card .eyebrow b { font-weight: 600; color: var(--olive); }
.card .title {
  margin: 14px 0 12px;
  font-size: clamp(48px, 5.2vw, 80px); font-weight: 600; line-height: .95; letter-spacing: -.055em; color: var(--olive);
}
.card .lead { margin-bottom: 30px; }
.card .title-sub { display: block; margin-top: .12em; font-size: .4em; font-weight: 500; letter-spacing: -.02em; opacity: .72; }
.card .brand { margin: -16px 0 30px; font-size: 13px; color: var(--muted); }
.card .brand b { font-weight: 600; color: var(--olive); }

/* ---------- Liquid glass (estilo Apple) en las tarjetas ---------- */
.card.lg {
  position: relative; isolation: isolate;
  background: linear-gradient(160deg, rgba(255, 255, 255, .5), rgba(250, 247, 238, .34) 45%, rgba(250, 247, 238, .42));
  -webkit-backdrop-filter: blur(9px) saturate(1.7) brightness(1.04); backdrop-filter: blur(9px) saturate(1.7) brightness(1.04);
  border: 0;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .38),
    inset 1.5px 1.5px 0 -.5px rgba(255, 255, 255, .95),
    inset -1px -1px 0 -.5px rgba(255, 255, 255, .55),
    inset 0 18px 34px -26px rgba(255, 255, 255, .9),
    inset 0 -22px 40px -30px rgba(42, 44, 35, .22),
    0 30px 80px -42px rgba(30, 32, 25, .55),
    0 2px 8px -4px rgba(30, 32, 25, .18);
}
.bv.has-lg .card.lg {
  -webkit-backdrop-filter: var(--lg-filter, blur(9px)) brightness(1.05); backdrop-filter: var(--lg-filter, blur(9px)) brightness(1.05);
}
/* brillo especular (sigue al cursor) */
.card.lg::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(120% 70% at var(--lx, 18%) var(--ly, 0%), rgba(255, 255, 255, .42), rgba(255, 255, 255, 0) 55%),
    linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 40%);
  mix-blend-mode: soft-light; transition: background-position .3s;
}
/* reflejo fino del borde superior */
.card.lg::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .1) 30%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, .45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

/* ---------- 3 · Proyectos ---------- */
.sec-projects { display: block; height: 340vh; min-height: 0; }
.pj-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 5vh, 52px);
  padding-top: clamp(64px, 9vh, 96px);
}
.pj-bg {
  position: absolute; inset: 0;
  background: rgba(239, 234, 220, .9);
  -webkit-backdrop-filter: blur(26px); backdrop-filter: blur(26px);
}
.pj-head { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 40px; flex-wrap: wrap; }
.pj-head .display { margin-top: 14px; max-width: 13ch; }
.pj-head .lead { margin-bottom: 6px; }
.pj-track { position: relative; display: flex; gap: clamp(16px, 2vw, 28px); width: max-content; padding: 0 var(--pad); will-change: transform; }
.pj-card { flex: none; width: clamp(250px, 25vw, 360px); }
.pj-media {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 26px;
  background: #ddd7c7; color: #4f5244;
}
.pj-media .art {
  position: absolute; inset: 0; display: grid; place-items: center;
  transition: transform 1.1s var(--ease);
}
.pj-media .art svg { width: 34px; height: 34px; opacity: .55; }
.pj-media .ph {
  position: absolute; left: 18px; bottom: 16px; font-size: 12px; font-weight: 500; letter-spacing: .04em;
}
.pj-card:hover .pj-media .art { transform: scale(1.08); }
.pj-card.t2 .pj-media { background: #cdcfb9; color: #45493a; }
.pj-card.t3 .pj-media { background: var(--olive); color: rgba(239, 234, 220, .82); }
.pj-card.t4 .pj-media { background: #e6e1d3; }
.pj-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px; }
.pj-meta h3 { font-size: 20px; font-weight: 600; letter-spacing: -.025em; color: var(--olive); }
.pj-meta p { font-size: 13px; color: var(--muted); text-align: right; }
.pj-foot { position: relative; display: flex; align-items: center; gap: 18px; }
.pj-progress { flex: 1; height: 2px; border-radius: 2px; overflow: hidden; background: var(--line); }
.pj-progress span { display: block; height: 100%; background: var(--olive); transform-origin: left center; }
.pj-count { font-size: 12px; font-weight: 500; letter-spacing: .12em; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- 4 · Contacto ---------- */
.sec-contact { align-items: center; color: var(--cream); padding: 110px 0 36px; }
.sec-contact .eyebrow { color: rgba(239, 234, 220, .72); }
.sec-contact .display { color: var(--cream); margin-top: 14px; max-width: 12ch; }
.ct-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: 12px; max-width: 1000px; margin-top: clamp(28px, 5vh, 48px);
}
.ct-btn {
  display: flex; flex-direction: column; gap: 26px; min-height: 156px; padding: 22px;
  border-radius: 26px; color: var(--cream);
  background: rgba(239, 234, 220, .08);
  border: 1px solid rgba(239, 234, 220, .18);
  -webkit-backdrop-filter: blur(20px) saturate(1.2); backdrop-filter: blur(20px) saturate(1.2);
  transition: background-color .5s var(--ease), border-color .5s var(--ease);
  will-change: transform;
}
.ct-btn:hover { background: rgba(239, 234, 220, .16); border-color: rgba(239, 234, 220, .32); }
.ct-btn .ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(239, 234, 220, .12); }
.ct-btn .ic svg { width: 20px; height: 20px; }
.ct-btn .txt { display: flex; flex-direction: column; gap: 4px; margin-top: auto; }
.ct-label { font-size: 20px; font-weight: 600; letter-spacing: -.025em; }
.ct-sub { font-size: 14px; opacity: .74; }
.ico-brand { fill: currentColor; stroke: none; }
.ct-btn .ic { transition: background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease); }
.ct-btn .ic.ic-wa svg { width: 24px; height: 24px; }
/* WhatsApp: igual que las demás en reposo; se ilumina al pasar el cursor, enfocar o tocar */
.ct-btn.ct-ig, .ct-btn.ct-tt { position: relative; isolation: isolate; overflow: hidden; }
.ct-btn.ct-ig::before, .ct-btn.ct-tt::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; border-radius: inherit;
  transition: opacity .55s var(--ease);
}
/* Instagram: degradado de la app */
.ct-btn.ct-ig::before { background: radial-gradient(circle at 18% 110%, #feda75 0%, #fa7e1e 22%, #d62976 48%, #962fbf 72%, #4f5bd5 100%); }
/* TikTok: negro con destellos cian y rojo */
.ct-btn.ct-tt::before { background: radial-gradient(120% 90% at 0% 100%, rgba(37, 244, 238, .38), transparent 55%), radial-gradient(120% 90% at 100% 0%, rgba(254, 44, 85, .42), transparent 55%), #010101; }
.ct-btn.ct-ig:hover, .ct-btn.ct-ig:focus-visible, .ct-btn.ct-ig:active { color: #fff; border-color: rgba(255, 255, 255, .45); box-shadow: 0 18px 60px -14px rgba(214, 41, 118, .6); }
.ct-btn.ct-tt:hover, .ct-btn.ct-tt:focus-visible, .ct-btn.ct-tt:active { color: #fff; border-color: rgba(255, 255, 255, .28); box-shadow: -10px 14px 50px -18px rgba(37, 244, 238, .55), 10px 18px 50px -18px rgba(254, 44, 85, .6); }
.ct-btn.ct-ig:hover::before, .ct-btn.ct-ig:focus-visible::before, .ct-btn.ct-ig:active::before,
.ct-btn.ct-tt:hover::before, .ct-btn.ct-tt:focus-visible::before, .ct-btn.ct-tt:active::before { opacity: 1; }
.ct-btn.ct-ig:hover .ic-ig, .ct-btn.ct-ig:focus-visible .ic-ig, .ct-btn.ct-ig:active .ic-ig { background: rgba(255, 255, 255, .22); }
.ct-btn .ic.ic-tt svg { width: 19px; height: 19px; transition: filter .5s var(--ease); }
.ct-btn.ct-tt:hover .ic-tt, .ct-btn.ct-tt:focus-visible .ic-tt, .ct-btn.ct-tt:active .ic-tt { background: rgba(255, 255, 255, .1); }
.ct-btn.ct-tt:hover .ic-tt svg, .ct-btn.ct-tt:focus-visible .ic-tt svg, .ct-btn.ct-tt:active .ic-tt svg { filter: drop-shadow(-1.5px -1.2px 0 #25f4ee) drop-shadow(1.5px 1.2px 0 #fe2c55); }
.ct-btn.ct-ig, .ct-btn.ct-tt { transition: background-color .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease), box-shadow .6s var(--ease); }
/* Califícanos (Google Maps): se ilumina en dorado, como una estrella que se gana */
.ct-btn.ct-gm { position: relative; isolation: isolate; overflow: hidden; transition: border-color .5s var(--ease), color .5s var(--ease), box-shadow .6s var(--ease); }
.ct-btn.ct-gm::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; border-radius: inherit; transition: opacity .55s var(--ease);
  background: radial-gradient(120% 90% at 15% 0%, #fff3c4 0%, rgba(255, 243, 196, 0) 55%), linear-gradient(145deg, #f6d77a 0%, #e2b23f 45%, #b8862a 100%);
}
.ct-btn.ct-gm::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 45%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0));
  transform: skewX(-18deg); opacity: 0;
}
.ct-btn.ct-gm .ic-gm svg { transition: fill .5s var(--ease), stroke .5s var(--ease), filter .5s var(--ease); }
.ct-btn.ct-gm:hover, .ct-btn.ct-gm:focus-visible, .ct-btn.ct-gm:active {
  color: #3d2c06; border-color: rgba(255, 232, 160, .9);
  box-shadow: 0 0 0 1px rgba(255, 224, 130, .35), 0 18px 60px -12px rgba(232, 182, 60, .65);
}
.ct-btn.ct-gm:hover::before, .ct-btn.ct-gm:focus-visible::before, .ct-btn.ct-gm:active::before { opacity: 1; }
.ct-btn.ct-gm:hover::after, .ct-btn.ct-gm:focus-visible::after, .ct-btn.ct-gm:active::after { animation: bv-shine 1.1s var(--ease) .15s 1 both; }
@keyframes bv-shine { 0% { left: -60%; opacity: 0; } 15% { opacity: 1; } 100% { left: 130%; opacity: 0; } }
.ct-btn.ct-gm:hover .ic-gm, .ct-btn.ct-gm:focus-visible .ic-gm, .ct-btn.ct-gm:active .ic-gm { background: rgba(255, 255, 255, .35); box-shadow: 0 0 22px rgba(255, 236, 170, .9); }
.ct-btn.ct-gm:hover .ic-gm svg, .ct-btn.ct-gm:focus-visible .ic-gm svg, .ct-btn.ct-gm:active .ic-gm svg { fill: #fff; stroke: #fff; filter: drop-shadow(0 0 4px rgba(255, 255, 255, .9)); }
.ct-btn.ct-gm:hover .ct-sub, .ct-btn.ct-gm:focus-visible .ct-sub, .ct-btn.ct-gm:active .ct-sub { opacity: .8; }
.ct-btn.ct-wa { transition: background-color .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease), box-shadow .6s var(--ease); }
.ct-btn.ct-wa:hover, .ct-btn.ct-wa:focus-visible, .ct-btn.ct-wa:active {
  background: var(--cream); color: var(--olive); border-color: var(--cream);
  box-shadow: 0 0 0 1px rgba(239, 234, 220, .5), 0 18px 60px -12px rgba(239, 234, 220, .45);
}
.ct-btn.ct-wa:hover .ic-wa, .ct-btn.ct-wa:focus-visible .ic-wa, .ct-btn.ct-wa:active .ic-wa {
  background: #25d366; color: #fff; box-shadow: 0 0 22px rgba(37, 211, 102, .55);
}
.ct-foot {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px;
  margin-top: clamp(36px, 7vh, 64px); padding-top: 20px;
  border-top: 1px solid rgba(239, 234, 220, .18);
  font-size: 13px; color: rgba(239, 234, 220, .7);
}
/* Si el 3D no carga, el contacto conserva su fondo oscuro */
.bv:not(.is-ready) .sec-contact { background: var(--olive); }

/* ---------- Menú ---------- */
.bv-menu {
  position: absolute; inset: 0; z-index: 25; display: flex;
  background: var(--olive); color: var(--cream);
  visibility: hidden; clip-path: inset(0 0 100% 0);
}
.bv-menu__inner {
  width: 100%; max-width: 1320px; margin: 0 auto; overflow-y: auto;
  padding: clamp(96px, 14vh, 140px) var(--pad) clamp(24px, 4vh, 40px);
  display: flex; flex-direction: column; justify-content: space-between; gap: clamp(24px, 4vh, 40px);
}
.menu-list { display: flex; flex-direction: column; }
.menu-list > li > button, .menu-list > li > a {
  display: flex; align-items: baseline; gap: clamp(14px, 2vw, 24px);
  font-size: clamp(38px, min(6.6vw, 8.4vh), 88px); font-weight: 600; line-height: 1.08; letter-spacing: -.05em;
  color: var(--cream); transition: color .45s var(--ease);
}
.menu-list:hover > li > button, .menu-list:hover > li > a { color: rgba(239, 234, 220, .38); }
.menu-list > li > button:hover, .menu-list > li > a:hover, .menu-list > li > button.is-open { color: var(--cream); }
.mask { display: block; overflow: hidden; padding-bottom: .04em; }
.mi { display: inline-flex; align-items: center; gap: clamp(12px, 1.6vw, 20px); }

/* Inicio = ícono de casa */
.menu-list > li > .menu-home { margin-bottom: clamp(8px, 1.6vh, 16px); }
.menu-home .mi {
  width: 60px; height: 60px; border-radius: 50%; justify-content: center;
  border: 1px solid rgba(239, 234, 220, .3);
  transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.menu-home .ico { width: 24px; height: 24px; stroke-width: 1.5; }
.menu-home:hover .mi { background: var(--cream); border-color: var(--cream); color: var(--olive); }

/* Catálogo: acordeón */
.menu-cat-toggle .chev { width: .42em; height: .42em; stroke-width: 2; opacity: .6; transition: transform .6s var(--ease), opacity .4s; }
.menu-cat-toggle:hover .chev { opacity: 1; }
.menu-cat-toggle.is-open .chev { transform: rotate(180deg); opacity: 1; }
.menu-cat { height: 0; overflow: hidden; }
.menu-cat__in { padding: 10px 0 22px; }
.menu-cat__q { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .65; margin-bottom: 14px; }
.menu-cat__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.menu-cat__opts a {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -.01em;
  border: 1px solid rgba(239, 234, 220, .26);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.menu-cat__opts a:hover { background: rgba(239, 234, 220, .12); border-color: rgba(239, 234, 220, .5); }
.menu-cat__opts .menu-cat__all { background: var(--cream); color: var(--olive); border-color: var(--cream); }
.menu-cat__opts .menu-cat__all:hover { background: #fffdf7; }
.menu-cat__opts .menu-cat__all svg { width: 15px; height: 15px; transition: transform .5s var(--ease); }
.menu-cat__opts .menu-cat__all:hover svg { transform: translateX(3px); }

/* Clientes comerciales: carrusel infinito */
.menu-bottom { display: flex; flex-direction: column; gap: 18px; }
.menu-clients { padding-top: 18px; border-top: 1px solid rgba(239, 234, 220, .18); }
.menu-clients__label { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; opacity: .6; margin-bottom: 6px; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__list { display: flex; align-items: center; }
.marquee__list li {
  display: flex; align-items: center; padding: 12px 0; white-space: nowrap;
  font-size: clamp(20px, 2.2vw, 30px); font-weight: 500; letter-spacing: -.025em;
  color: rgba(239, 234, 220, .88); transition: opacity .4s var(--ease);
}
.marquee__list li::after {
  content: ""; width: 5px; height: 5px; border-radius: 50%; flex: none;
  background: rgba(239, 234, 220, .35); margin: 0 clamp(22px, 3vw, 40px);
}
.marquee__list--logos li { padding: 16px 0; }
.marquee__list--logos img {
  display: block; height: var(--h, 32px); width: auto; max-width: none; opacity: .62;
  transition: opacity .4s var(--ease), transform .5s var(--ease);
  -webkit-user-drag: none; user-select: none;
}
.marquee__list--logos li:hover img { opacity: 1; transform: scale(1.04); }
.marquee__list--logos li::after { margin: 0 clamp(26px, 3.4vw, 48px); background: rgba(239, 234, 220, .22); }
.marquee:hover li { opacity: .45; }
.marquee li:hover { opacity: 1; }
.menu-foot {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px;
  padding-top: 20px; border-top: 1px solid rgba(239, 234, 220, .18); font-size: 14px;
}
.menu-social { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.menu-social a { min-height: 44px; display: inline-flex; align-items: center; opacity: .72; transition: opacity .35s; }
.menu-social a:hover { opacity: 1; }
.menu-foot .btn { background: var(--cream); color: var(--olive); }
.menu-foot .btn:hover { background: #fffdf7; }

/* ---------- Pantalla de carga ---------- */
.bv-loader {
  position: absolute; inset: 0; z-index: 50; display: grid; place-items: center;
  background: var(--olive); color: var(--cream);
  animation: bvLoaderOut .8s ease 8s forwards; /* respaldo si el JS no arranca */
}
@keyframes bvLoaderOut { to { opacity: 0; visibility: hidden; } }
.bv-loader__in { width: min(260px, 60vw); display: flex; flex-direction: column; align-items: center; }
.bv-loader__word {
  display: flex; overflow: hidden; padding: .04em .02em .1em;
  font-size: clamp(56px, 8vw, 104px); font-weight: 600; line-height: .92; letter-spacing: -.06em;
}
.bv-loader__word span { display: inline-block; will-change: transform; }
.bv-loader__bar { width: 100%; height: 1px; margin-top: 26px; overflow: hidden; background: rgba(239, 234, 220, .2); }
.bv-loader__bar span { display: block; height: 100%; background: var(--cream); transform: scaleX(0); transform-origin: left center; }
.bv-loader__meta {
  width: 100%; display: flex; justify-content: space-between; margin-top: 12px;
  font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; opacity: .6;
  font-variant-numeric: tabular-nums;
}

/* ---------- Teléfono ---------- */
@media (max-width: 760px) {
  .bv-dots, .bv-chapter { display: none; }
  .sec-catalog { align-items: flex-end; padding-bottom: 20px; }
  .sec-catalog .display { font-size: 36px; }
  .cat-index { margin-top: 18px; max-width: none; }
  .cat-index button { min-height: clamp(38px, 5vh, 44px); font-size: 16px; }
  .sec-hero { padding-top: 84px; }
  .hero-hint span { font-size: 11px; }
  .sec-item > .wrap { align-items: flex-end; padding-bottom: 20px; }
  .card { max-width: none; padding: 24px; border-radius: 26px; }
  .card .title { font-size: 46px; margin: 10px 0 8px; }
  .card .lead { margin-bottom: 20px; font-size: 16px; }
  .card .brand { margin: -8px 0 20px; }
  .pj-card { width: 74vw; }
  .pj-head .display { font-size: 42px; }
  .sec-contact .display { font-size: 46px; }
  .ct-btn { min-height: 0; flex-direction: row; align-items: center; gap: 16px; padding: 16px; border-radius: 22px; }
  .ct-btn .txt { margin-top: 0; }
  .ct-label { font-size: 18px; }
  .menu-home .mi { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-hint .line::after { animation: none; }
}

/* Pantallas bajas: evita que los avisos del inicio se encimen */
@media (max-height: 650px) {
  .hero-hint { display: none; }
  .hero-bottom { gap: 10px; }
  .scroll-hint .line { height: 22px; }
}
