/* ── Brand Fonts ── */
@font-face {
  font-family: 'Sinhala MN';
  src: url('assets/fonts/sinhala-mn-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nexa';
  src: url('assets/fonts/nexa-bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helvetica';
  src: url('assets/fonts/Helvetica-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── Reset & Tokens ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --red:      #E24747;
  --red-mid:  #F07575;
  --red-dark: #C03030;
  --ink:   #080808;
  --paper: #F4F4F4;
  --white: #FAFAFA;
  --muted: rgba(8, 8, 8, 0.66);

  --side: 52px;
  /* Caps content at 1280px centered; collapses to --side below that. Backgrounds stay full-bleed. */
  --gutter: max(var(--side), calc((100% - 1280px) / 2 + var(--side)));
  --ease-out:  cubic-bezier(0.23, 1, 0.32, 1);
  --ease-snap: cubic-bezier(0.2, 0, 0, 1);
  --nav-h: 72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

/* ── Skip link ── */
.v2-skip {
  position: absolute; top: -100%; left: 16px; z-index: 9999;
  background: var(--red); color: #fff;
  padding: 8px 16px; border-radius: 6px;
  font-size: 14px; font-weight: 600;
}
.v2-skip:focus { top: 16px; }

/* ── Container ── */
.v2-container {
  padding: 0 var(--gutter);
}

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
.v2-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
  transition: border-color 300ms var(--ease-snap);
}
.v2-header--scrolled {
  border-bottom-color: rgba(17, 17, 17, 0.12);
  box-shadow: 0 1px 3px rgba(17, 17, 17, 0.06), 0 1px 2px rgba(17, 17, 17, 0.04);
}
.v2-logo-link { display: flex; align-items: center; }

/* Scroll progress bar — anchored to bottom edge of the header */
.v2-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2.5px; overflow: hidden; pointer-events: none; }
.v2-progress-fill { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left center; background: var(--red); will-change: transform; transition: transform 80ms linear; }
@media (prefers-reduced-motion: reduce) { .v2-progress-fill { transition: none; } }

.v2-cta-pill {
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--white); background: var(--ink);
  padding: 12px 22px; border-radius: 100px;
  transition: background 150ms var(--ease-snap), transform 100ms;
}
.v2-cta-pill:hover  { background: #2a2a2a; }

.v2-header-right {
  display: flex; align-items: center; gap: 12px;
}
.v2-lang-toggle {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 11px;
  background: transparent;
  border: 1.5px solid rgba(17,17,17,0.18);
  border-radius: 100px;
  cursor: pointer;
  transition: border-color 150ms, transform 100ms;
  font-family: inherit;
}
.v2-lang-toggle:hover  { border-color: rgba(17,17,17,0.5); }
.v2-lang-toggle:active { transform: scale(0.95); }
.v2-lang-toggle.is-es  { flex-direction: row-reverse; }
.v2-lang-label {
  font-size: 11px; font-weight: 700; letter-spacing: .07em;
  color: var(--ink); line-height: 1;
}
.v2-lang-dot {
  width: 5px; height: 5px;
  background: var(--ink); border-radius: 50%;
  flex-shrink: 0;
}
.v2-cta-pill:active { transform: scale(0.97); }

/* ══════════════════════════════════════
   SHARED TYPOGRAPHY
══════════════════════════════════════ */
.v2-eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}
.v2-eyebrow--ink { color: var(--red); }

.v2-section-h2 {
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.03em;
  color: var(--ink);
}
.v2-section-h2--light { color: #FAFAFA; }

.v2-body {
  font-size: 16px; line-height: 1.75; color: var(--muted);
  max-width: 56ch; margin-bottom: 20px;
}
.v2-body:last-child { margin-bottom: 0; }

/* ── Buttons ── */
.v2-btn {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: #fff;
  background: linear-gradient(to right, var(--ink) 50%, var(--red) 50%);
  background-size: 205% 100%;
  background-position: 100% 0;
  padding: 16px 32px; border-radius: 100px;
  transition: background-position 450ms cubic-bezier(0.76, 0, 0.24, 1), transform 100ms;
}
.v2-btn:hover  { background-position: 0 0; }
.v2-btn:active { transform: scale(0.97); }

@media (prefers-reduced-motion: reduce) {
  .v2-btn { transition-duration: .01ms !important; }
}

/* ── Section ── */
.v2-section { padding: 120px 0; }
.v2-section--white { background: var(--white); }
/* mascota lápiz a la derecha del encabezado de "What's included" */
.v2-section--white .v2-section-head { position: relative; }
.v2-incl-mascot {
  position: absolute; right: 0; top: 50%;
  width: clamp(188px, 22vw, 300px); height: auto;
  transform: translateY(-50%);
  pointer-events: none; user-select: none;
  filter: drop-shadow(0 18px 24px rgba(8,8,8,0.10));
  animation: inclRun 4.8s ease-in-out infinite;
}
@keyframes inclRun {
  0%,100% { transform: translateY(-50%) rotate(-1.5deg); }
  50%     { transform: translateY(calc(-50% - 10px)) rotate(1.5deg); }
}
@media (max-width: 900px) {
  .v2-incl-mascot { position: static; transform: none; display: block;
    width: clamp(170px, 46vw, 230px); margin: 30px auto 0; animation: none; }
}
@media (prefers-reduced-motion: reduce) { .v2-incl-mascot { animation: none; } }
.v2-section--paper { background: var(--paper); }
.v2-section--dark  { background: #0A0A0A; }
.v2-faq-sec { background: #FFFFFF; margin-top: clamp(16px, 4vw, 56px); }

/* Subtle divider at the top of each section (color matches the section's own bg) */
.v2-work, .v2-section--white, .v2-section--paper, .v2-tst, .v2-faq-sec { border-top: 1px solid rgba(8,8,8,0.08); }
.v2-section--dark, .v2-cta { border-top: 1px solid rgba(255,255,255,0.08); }
.v2-ctamid { border-top: 1px solid rgba(255,255,255,0.18); }

.v2-section-head { margin-bottom: 64px; }

/* ── Reveal ── */
.v2-reveal {
  opacity: 0; transform: translateY(56px);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
}
.v2-reveal--d1 { transition-delay: 100ms; }
.v2-reveal--d2 { transition-delay: 200ms; }
.v2-reveal--d3 { transition-delay: 300ms; }
.v2-reveal.v2-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .v2-reveal { transition-duration: .01ms !important; }
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.v2-hero {
  background: #FFFFFF;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: calc(var(--nav-h) + clamp(32px, 5vh, 56px) + 24px) var(--gutter) 0;
  position: relative; z-index: 2; overflow: visible;
}
/* Entrada limpia y escalonada del contenido del hero */
.v2-hero-h1  { animation: heroIn .7s var(--ease-out) .05s backwards; }
.v2-hero-sub { animation: heroIn .7s var(--ease-out) .16s backwards; }
.v2-hero-cta { animation: heroIn .7s var(--ease-out) .26s backwards; }
@keyframes heroIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* El ratón va en el flujo, debajo del botón, con espacio FIJO (no depende del texto
   ni del viewport). La mano desborda el banner con un margin-bottom negativo. */
.v2-hero-mascot {
  width: clamp(134px, 13.4vw, 178px); height: auto;
  margin: 22px 0 -10px;            /* espacio fijo botón↔ratón; el brazo descansa en el borde */
  opacity: 1;
  pointer-events: none; user-select: none;
  /* sin sombra y sin animación: el ratón queda estático */
}
@media (prefers-reduced-motion: reduce) {
  .v2-hero-h1, .v2-hero-sub, .v2-hero-cta { animation: none; }
}
@media (max-width: 600px) {
  .v2-hero-mascot { width: clamp(150px, 40vw, 190px); margin: 28px 0 -10px; }
}

.v2-hero-inner { max-width: 820px; }

.v2-hero-h1 {
  font-size: clamp(32px, 4.8vw, 60px);
  font-weight: 800; line-height: 1.03; letter-spacing: -0.035em;
  color: var(--ink); margin: 0 auto 20px; max-width: 24ch;
  min-height: calc(1.03em * 2);
}
.v2-hero-h1 .hero-l2 { white-space: nowrap; }
/* Reserve width so the cycling word grows/shrinks without reflowing the line */
/* Cycling word in a mask: it slides up and out, the new one slides in from below */
.v2-hero-h1 em {
  color: var(--red); font-style: italic; display: inline-block;
  min-width: 7em; text-align: center;
  overflow: hidden; height: 1.25em; vertical-align: -0.3em;
}
.v2-hero-h1 em .w { display: inline-block; will-change: transform, opacity; }
.v2-hero-h1 em .w.out { transform: translateY(-110%); opacity: 0;
  transition: transform .42s var(--ease-snap), opacity .42s var(--ease-snap); }
.v2-hero-h1 em .w.in-start { transform: translateY(110%); opacity: 0; }
.v2-hero-h1 em .w.in { transform: translateY(0); opacity: 1;
  transition: transform .5s var(--ease-snap), opacity .5s var(--ease-snap); }

.v2-hero-sub {
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 400; line-height: 1.6; color: var(--muted);
  max-width: 80ch; margin: 0 auto 24px;
}
.v2-hero-cta {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #fff;
  background: linear-gradient(to right, var(--ink) 50%, var(--red) 50%);
  background-size: 205% 100%; background-position: 100% 0;
  padding: 15px 30px; border-radius: 100px;
  transition: background-position 450ms cubic-bezier(0.76,0,0.24,1), transform 100ms;
}
.v2-hero-cta::after { content: '\2192'; transition: transform .2s var(--ease-snap); }
.v2-hero-cta:hover { background-position: 0 0; }
.v2-hero-cta:hover::after { transform: translateX(4px); }
.v2-hero-cta:active { transform: scale(0.97); }
@media (prefers-reduced-motion: reduce) { .v2-hero-cta { transition-duration: .01ms !important; } }

/* Hero credibility stats */
.v2-hero-stats {
  display: flex; flex-wrap: wrap; gap: 40px;
  margin-top: 56px;
}
.v2-hero-stat { display: flex; flex-direction: column; gap: 6px; }
.v2-hero-stat-num {
  font-size: clamp(32px, 4vw, 44px); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.v2-hero-stat-num em { color: var(--red); font-style: normal; }
.v2-hero-stat-label {
  font-size: 13px; font-weight: 600; letter-spacing: .01em;
  color: #525252; line-height: 1.4; max-width: 16ch;
}
@media (max-width: 640px) {
  .v2-hero-stats { gap: 28px 32px; margin-top: 40px; }
}


/* ══════════════════════════════════════
   LOGOFOLIO
══════════════════════════════════════ */
.v2-work {
  padding-bottom: 120px;
  background: var(--paper);
}

.v2-work-head {
  padding-top: 120px;
  padding-bottom: 56px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 36px;
}
.v2-work-head-text { max-width: 760px; }
.v2-work-sub {
  font-size: 15px; line-height: 1.6; color: var(--muted);
  margin-top: 14px; max-width: none;
}
.v2-work-cta {
  flex-shrink: 0; white-space: nowrap; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--ink); border: 1.5px solid var(--ink);
  background: linear-gradient(to right, var(--ink) 50%, transparent 50%);
  background-size: 210% 100%; background-position: 100% 0;
  padding: 13px 22px; border-radius: 100px;
  transition: background-position .4s var(--ease-snap), color .4s var(--ease-snap);
}
.v2-work-cta svg { width: 15px; height: 15px; flex-shrink: 0; }
.v2-work-cta:hover { background-position: 0 0; color: #fff; }
.v2-work-cta:active { transform: scale(0.97); }
@media (prefers-reduced-motion: reduce) { .v2-work-cta { transition: color .2s; } }
.v2-incl-cta { margin-top: 48px; display: flex; justify-content: center; }
@media (max-width: 900px) {
  .v2-work-head { flex-direction: column; align-items: center; text-align: center; gap: 22px; }
  .v2-work-head-text { max-width: none; }
  .v2-work-sub { max-width: 60ch; margin-left: auto; margin-right: auto; }
  .v2-work-h2 { white-space: normal; }
}

.v2-work-h2 {
  font-size: clamp(26px, 2.8vw, 44px);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.03em;
  color: var(--ink); white-space: nowrap;
}
@media (max-width: 760px) { .v2-work-h2 { white-space: normal; } }

/* ══════════════════════════════════════
   VARIANT 4C · Featured project + peek scroller
══════════════════════════════════════ */
.sp-feature {
  display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr;
  border-radius: 18px; overflow: hidden;
  margin: 0 var(--gutter); background: var(--c, var(--ink));
  height: clamp(330px, 30vw, 400px);
  transition: background .5s var(--ease-snap);
}
.sp-fl { display: flex; align-items: center; justify-content: center; padding: 9%; }
/* Uniform envelope so the featured logo keeps a steady size as it rotates */
.sp-fl img { width: 62%; height: 62%; max-width: none; max-height: none; object-fit: contain; }
.sp-fi {
  position: relative; background: #fff;
  padding: clamp(24px, 3vw, 44px);
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
  min-height: 0; overflow: hidden;
}
.sp-tag {
  font-size: 11px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--red);
}
.sp-fi h3 {
  font-size: clamp(26px, 3vw, 40px); font-weight: 800;
  letter-spacing: -.025em; line-height: 1.05; color: var(--ink);
}
.sp-cat { font-size: 13px; font-weight: 600; color: var(--muted); }
.sp-fi p { font-size: 14px; line-height: 1.7; color: var(--muted); max-width: 42ch;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sp-cta {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 4px;
  align-self: flex-start;
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: #fff; background: var(--ink); border: none; cursor: pointer;
  padding: 14px 24px; border-radius: 100px;
  transition: background 150ms, transform 150ms;
}
.sp-cta:hover { background: #2a2a2a; transform: translateY(-1px); }
.sp-cta:active { transform: scale(0.97); }
.sp-cta-arr { font-size: 14px; transition: transform 200ms var(--ease-snap); }
.sp-cta:hover .sp-cta-arr { transform: translateX(3px); }
.sp-cta:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Whole scroller band is inset by the page gutter, so cards always clip
   against the page margin (the gutter never scrolls away). */
.vC-wrap { position: relative; margin: 20px var(--gutter) 0; }
.vC-scroller {
  display: flex; gap: 16px; overflow-x: auto;
  scroll-snap-type: x mandatory;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  /* Padding gives the card shadows room; the negative margin pulls the band
     back so cards still line up with the page gutter (shadows no longer clipped). */
  padding: 22px 24px 30px; margin: 0 -24px; scrollbar-width: none;
}
.vC-scroller::-webkit-scrollbar { display: none; }
/* Cards sized so a whole number fit the container exactly (no clipped peek) */
.vC-item { flex: 0 0 calc((100% - 48px) / 4); scroll-snap-align: center; cursor: pointer; }
@media (max-width: 1024px) { .vC-item { flex-basis: calc((100% - 32px) / 3); } }
@media (max-width: 600px)  { .vC-item { flex-basis: calc((100% - 16px) / 2); } }
.vC-box {
  position: relative; aspect-ratio: 3 / 2; background: #E8E8E8;
  border-radius: 14px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  border: 1px solid #E2E2E2;
  box-shadow: none;
  transition: background .45s var(--ease-snap), box-shadow .45s var(--ease-snap), border-color .45s var(--ease-snap);
}
/* Uniform envelope: every logo is capped to the same max height + width and
   centered, so they read at a consistent optical size despite different ratios. */
.vC-box img {
  width: 58%; height: 58%;
  max-width: none; max-height: none;
  object-fit: contain;
  filter: brightness(0) invert(0.22);
  transition: filter .45s var(--ease-snap), transform .4s var(--ease-snap);
}
/* Two-tone logos (light symbol on dark badge) collapse under brightness(0);
   keep their luminance with grayscale so the symbol stays visible at rest. */
.vC-item[data-key="conversion-days"] .vC-box img { filter: grayscale(1) brightness(0.22); }
/* Ajustes ópticos de tamaño por logo (base 58%) */
.vC-item[data-key="king-chef"]      .vC-box img { width: 64%; height: 64%; }
.vC-item[data-key="rising-sun"]     .vC-box img { width: 67%; height: 67%; }
.vC-item[data-key="slicekeeping"]   .vC-box img { width: 67%; height: 67%; }
.vC-item[data-key="veleta"]         .vC-box img { width: 52%; height: 52%; }
.vC-item[data-key="marbella"]       .vC-box img { width: 49%; height: 49%; }
.vC-item[data-key="mon-amour"]      .vC-box img { width: 49%; height: 49%; }
.vC-item[data-key="learn-clinic"]   .vC-box img { width: 49%; height: 49%; }
.vC-item[data-key="seven-chefs"]    .vC-box img { width: 49%; height: 49%; }
.vC-item[data-key="tech-1-factory"] .vC-box img { width: 49%; height: 49%; }
/* Hover/focus reveals the brand color and the logo's real colors.
   The centered (.vC-active) card reveals automatically — works on touch
   and as the autoplay advances, no hover required. */
.vC-item.vC-active .vC-box { background: var(--c, var(--ink)); border-color: transparent; }
.vC-item.vC-active .vC-box img { filter: none; }
.vC-item:hover .vC-box img,
.vC-item:focus-visible .vC-box img { transform: scale(1.08); }

/* Click affordance — chip appears on hover */
.vC-chip {
  position: absolute; left: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: rgba(8, 8, 8, 0.62);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  padding: 7px 11px; border-radius: 100px;
  opacity: 0; transform: translateY(6px);
  transition: opacity .25s var(--ease-snap), transform .25s var(--ease-snap);
  pointer-events: none;
}
.vC-item:hover .vC-chip { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .vC-box, .vC-box img, .vC-chip { transition: none; }
}
.vC-meta { display: flex; flex-direction: column; gap: 3px; padding: 13px 4px 0; }
.vC-meta b { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); line-height: 1.1; }
.vC-meta span { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.vC-arrow {
  position: absolute; top: calc(50% - 26px); transform: translateY(-50%); z-index: 5;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(8,8,8,0.1); background: #fff; color: var(--ink);
  font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(8,8,8,.1);
  transition: opacity .2s, transform .15s;
}
.vC-arrow:hover { transform: translateY(-50%) scale(1.06); }
.vC-arrow[disabled] { opacity: .3; cursor: default; pointer-events: none; }
.vC-arrow:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.vC-prev { left: -22px; }
.vC-next { right: -22px; }
@media (max-width: 640px) { .vC-arrow { display: none; } }
.vC-item:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 14px; }
@media (max-width: 760px) {
  .sp-feature {
    grid-template-columns: 1fr;
    grid-template-rows: 220px auto;
    height: auto;
  }
  .sp-fl { height: 220px; }
}

/* Visible keyboard focus */
.v2-btn:focus-visible,
.v2-cta-pill:focus-visible,
.v2-lang-toggle:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.bip-close:focus-visible,
.bip-nav:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ══════════════════════════════════════
   PHILOSOPHY
══════════════════════════════════════ */
.v2-phil-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px; align-items: start;
}
/* Philosophy — lines + container + mark for visual life */
.v2-phil { position: relative; overflow: hidden; }
.v2-phil::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(8,8,8,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,8,8,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask: radial-gradient(120% 95% at 85% 12%, #000 0%, transparent 62%);
          mask: radial-gradient(120% 95% at 85% 12%, #000 0%, transparent 62%);
}
.v2-phil .v2-container { position: relative; z-index: 1; }
.v2-phil-mark { display: none; }
.v2-phil-quote { padding: 0; }
.v2-phil-quote .v2-body:last-child { margin-bottom: 0; }
@media (max-width: 720px) { .v2-phil-quote { padding: 0; } }

/* ══════════════════════════════════════
   WHAT'S INCLUDED
══════════════════════════════════════ */
.v2-included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(17,17,17,0.1);
}

.v2-included-item {
  display: flex; flex-direction: column; gap: 20px;
  padding: 48px;
  border-right: 1px solid rgba(17,17,17,0.1);
}
.v2-included-item:last-child { border-right: none; }

.v2-included-num {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  color: var(--red); text-transform: uppercase;
}
.v2-included-title {
  font-size: 20px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--ink); line-height: 1.2; margin-bottom: 8px;
}
.v2-included-desc {
  font-size: 15px; line-height: 1.7; color: var(--muted);
  max-width: 32ch;
}

/* ── Included module illustrations (animated SVG family) ── */
.v2-incl-art{ background: radial-gradient(135% 130% at 50% 0%, #F5F5F5 0%, #E3E3E6 100%); border: 1px solid rgba(17,17,17,0.1); border-radius: 16px; overflow: hidden; height: clamp(180px, 17vw, 210px); }
.v2-incl-art svg{ width:100%; height:100%; display:block; }
.ill .float{animation:v2iFloat 4.6s ease-in-out infinite}
.ill .float.s1{animation-duration:5.2s;animation-delay:-1s}
.ill .float.s2{animation-duration:4s;animation-delay:-2s}
.ill .float.s3{animation-duration:5.6s;animation-delay:-.6s}
.ill .pulse{animation:v2iPulse 2.6s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
.ill .pulse.b{animation-delay:-1.3s}
.ill .draw{stroke-dasharray:1;animation:v2iDraw 6s ease-in-out infinite}
.ill .draw.b{animation-delay:-3s}
.ill .swatch{animation:v2iFill 4.4s ease-in-out infinite;transform-box:fill-box;transform-origin:left center}
.ill .vesica{animation:v2iSpin 44s linear infinite;transform-box:view-box;transform-origin:160px 116px}
.ill .sh{filter:drop-shadow(0 6px 12px rgba(8,8,8,.13))}
@keyframes v2iFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@keyframes v2iPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}
@keyframes v2iDraw{0%{stroke-dashoffset:1}40%{stroke-dashoffset:0}72%{stroke-dashoffset:0}100%{stroke-dashoffset:1}}
@keyframes v2iFill{0%{transform:scaleX(0)}26%{transform:scaleX(1)}82%{transform:scaleX(1)}100%{transform:scaleX(0)}}
@keyframes v2iSpin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion: reduce){
  .ill *{animation:none!important}
  .ill .draw{stroke-dashoffset:0!important}
  .ill .swatch{transform:scaleX(1)!important}
}

/* ══════════════════════════════════════
   PROCESS
══════════════════════════════════════ */
.v2-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  background: #1a1a1a;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

/* Single red accent line spanning the whole block; one stroke fills it
   left to right once any step enters view. */
.v2-process-grid::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 900ms var(--ease-out);
}
.v2-process-grid:has(.v2-step.v2-visible)::before { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .v2-process-grid::before { transition: none; }
}

.v2-step {
  background: #0A0A0A;
  padding: 48px 40px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
}

.v2-step-num {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  color: rgba(255,255,255,0.2); text-transform: uppercase;
}
.v2-step-title {
  font-size: 22px; font-weight: 800; letter-spacing: -0.02em;
  color: #FAFAFA; line-height: 1.1;
}
.v2-step-desc {
  font-size: 14px; line-height: 1.7;
  color: rgba(250,250,250,0.60); max-width: 26ch;
}

/* Static line icon: faint base + solid red stroke. Subtle scale on hover (no draw animation). */
.v2-step-ico { width: 30px; height: 30px; display: block; transition: transform .4s var(--ease-snap); }
.v2-step-ico path { fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.v2-step-ico .ico-base { stroke: rgba(255,255,255,0.22); transition: stroke .3s var(--ease-snap); }
.v2-step-ico .ico-draw { stroke: var(--red); }
.v2-step-body { display: flex; flex-direction: column; gap: 10px; }

/* Hover */
.v2-step { transition: background .3s var(--ease-snap); }
.v2-step-num { transition: color .3s var(--ease-snap); }
.v2-step:hover { background: #161616; }
.v2-step:hover .v2-step-num { color: var(--red); }
.v2-step:hover .ico-base { stroke: rgba(255,255,255,0.42); }
.v2-step:hover .v2-step-ico { transform: scale(1.12); }

@media (prefers-reduced-motion: reduce) {
  .v2-step-ico { transition: none; }
}
@media (max-width: 640px) {
  .v2-step { flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 38px 26px; }
  .v2-step-body { align-items: center; gap: 8px; }
  .v2-step-desc { max-width: 34ch; }
}

/* ══════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════ */
.v2-tst { background: var(--white); padding: clamp(72px, 9vh, 112px) 0; }
.v2-tst-head { margin-bottom: 40px; }
.v2-tst-head .v2-section-h2 { white-space: nowrap; }
@media (max-width: 760px) { .v2-tst-head .v2-section-h2 { white-space: normal; } }
.v2-tst-rows {
  display: flex; flex-direction: column; gap: 16px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.v2-tst-track { display: flex; width: max-content; }
.v2-tst-row1 .v2-tst-track,
.v2-tst-row2 .v2-tst-track { animation: tstDrift1 52s linear infinite; }
.v2-tst-rows:hover .v2-tst-track { animation-play-state: paused; }
@keyframes tstDrift1 { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.v2-tst-card {
  flex: 0 0 clamp(300px, 30vw, 400px); margin-right: 16px;
  border: 1px solid rgba(17,17,17,0.1); border-radius: 14px; background: #fff;
  padding: 22px 24px; display: flex; flex-direction: column; gap: 14px;
}
.v2-tst-stars { display: inline-flex; gap: 2px; }
.v2-tst-stars svg { width: 15px; height: 15px; fill: var(--red); }
.v2-tst-q { font-size: 15px; line-height: 1.5; font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
.v2-tst-foot { display: flex; align-items: center; gap: 11px; }
.v2-tst-av { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 13px; letter-spacing: -.01em; }
.v2-tst-who b { display: block; font-size: 13px; font-weight: 700; line-height: 1.15; }
.v2-tst-who span { font-size: 12px; color: var(--muted); line-height: 1.15; }
@media (prefers-reduced-motion: reduce) {
  .v2-tst-row1 .v2-tst-track, .v2-tst-row2 .v2-tst-track { animation: none; }
  /* sin animación: cada fila se navega con desplazamiento horizontal manual */
  .v2-tst-row1, .v2-tst-row2 { overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
  .v2-tst-card { scroll-snap-align: start; }
  .v2-tst-rows { -webkit-mask: none; mask: none; }
}

/* ══════════════════════════════════════
   CTA
══════════════════════════════════════ */
.v2-cta {
  background: #0A0A0A;
  padding: clamp(84px, 12vh, 150px) 0;
}
.v2-cta-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
.v2-cta-left .v2-eyebrow { margin-bottom: 16px; }
.v2-cta-h2 {
  font-size: clamp(32px, 3.6vw, 54px);
  font-weight: 900; line-height: 1.0; letter-spacing: -0.035em;
  color: #FAFAFA;
}
.v2-cta-h2 em { color: var(--red); font-style: italic; }
.v2-cta-sub {
  font-size: 15px; line-height: 1.7; color: rgba(255,255,255,0.55);
  margin-top: 20px; max-width: 40ch;
}
.v2-cf-details { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.v2-cf-detail { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.6); }
.v2-cf-detail svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--red); }
.v2-cf-detail a { color: rgba(255,255,255,0.85); }
.v2-cf-detail a:hover { color: #fff; }

.v2-cf { display: flex; flex-direction: column; gap: 18px; }
.v2-cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.v2-cf-group { display: flex; flex-direction: column; gap: 7px; }
.v2-cf-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.v2-cf-input, .v2-cf-select, .v2-cf-textarea {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px; padding: 13px 16px; font-family: inherit; font-size: 14px;
  color: #fff; width: 100%; outline: none;
  transition: border-color .2s, background .2s;
}
.v2-cf-input::placeholder, .v2-cf-textarea::placeholder { color: rgba(255,255,255,0.3); }
.v2-cf-input:focus, .v2-cf-select:focus, .v2-cf-textarea:focus { border-color: var(--red); background: rgba(255,255,255,0.07); }
.v2-cf-select {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.v2-cf-select option { background: #1a1a1a; color: #fff; }
.v2-cf-textarea { resize: none; min-height: 110px; }
.v2-cf-submit {
  display: inline-flex; align-items: center; gap: 9px; align-self: flex-start;
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: #fff; background: var(--red); border: none; cursor: pointer;
  padding: 15px 28px; border-radius: 100px;
  transition: background .2s, transform .1s;
}
.v2-cf-submit svg { width: 16px; height: 16px; transition: transform .2s var(--ease-snap); }
.v2-cf-submit:hover { background: var(--red-dark); }
.v2-cf-submit:hover svg { transform: translateX(3px); }
.v2-cf-submit:active { transform: scale(0.98); }
@media (max-width: 860px) {
  .v2-cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .v2-cta-left { text-align: center; }
  .v2-cta-left .v2-cf-details { align-items: center; }
  .v2-cta-sub { margin-left: auto; margin-right: auto; }
  .v2-cf { max-width: 560px; margin: 0 auto; width: 100%; }
}
@media (max-width: 460px) { .v2-cf-row { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.v2-footer {
  background: #0A0A0A;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 32px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.v2-footer-copy {
  font-size: 12px; color: rgba(255,255,255,0.55); letter-spacing: .02em;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --side: 32px; }
  .v2-phil-grid   { grid-template-columns: 1fr; gap: 40px; }
  .v2-process-grid { grid-template-columns: repeat(2, 1fr); }
  .v2-included-grid { grid-template-columns: 1fr; border-top: none; }
  .v2-included-item {
    padding: 32px 0 !important;
    border-right: none !important;
    border-top: 1px solid rgba(17,17,17,0.1);
  }
  .v2-footer { padding: 24px var(--side); }
  .v2-cta    { padding: 100px 0; }
}

@media (max-width: 640px) {
  :root { --nav-h: 60px; --side: 20px; }
  .v2-work-head   { padding-top: 80px; }


  .v2-process-grid { grid-template-columns: 1fr; border-radius: 8px; }
  .v2-section { padding: 80px 0; }
  .v2-cta     { padding: 80px 0; }
  .v2-footer  { padding: 28px 20px; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
  .v2-cta-pill { display: none; }
}

/* Included items — horizontal layout on tablet so the illustration + text read as a row */
@media (max-width: 1024px) {
  .v2-included-item {
    display: flex !important; flex-direction: column; align-items: center; text-align: center;
    gap: 16px; padding: 40px 0 !important;
  }
  .v2-incl-art { width: 100%; max-width: 460px; height: clamp(190px, 30vw, 240px); }
  .v2-included-desc { max-width: 54ch; margin: 0 auto; }
}

/* ══════════════════════════════════════
   BRAND IDENTITY PANEL (BIP)
══════════════════════════════════════ */
.bip-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10, 10, 10, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
  opacity: 0; pointer-events: none;
  transition: opacity 250ms var(--ease-out);
}
.bip-overlay.bip-open {
  opacity: 1; pointer-events: all;
}

.bip-panel {
  display: flex; flex-direction: column;
  width: 100%; max-width: 1000px;
  height: min(816px, calc(100vh - 48px));
  overflow: hidden;
  transform: scale(0.96) translateY(20px);
  opacity: 0;
  transition: transform 320ms var(--ease-out), opacity 320ms var(--ease-out);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.28), 0 8px 24px rgba(0,0,0,0.16);
}
.bip-overlay.bip-open .bip-panel {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* ── Top: logo display — fixed height, never shrinks ── */
.bip-left {
  flex: 0 0 456px;
  position: relative;
  padding: 40px;
  transition: background 300ms;
  overflow: hidden;
}
.bip-logo-wrap {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 32px 88px;
}
.bip-logo-wrap img {
  width: 100%; height: 100%;
  object-fit: contain; object-position: center;
}
.bip-seq {
  position: absolute; bottom: 20px; left: 24px;
  font-size: 10px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,0.22);
  font-variant-numeric: tabular-nums;
}

/* ── Bottom: content — fills remaining space ── */
.bip-right {
  flex: 1; min-height: 0;
  display: flex; flex-direction: column; gap: 16px;
  padding: 20px 36px 24px;
  background: #fff;
  overflow-y: auto;
}

/* 4-col grid row */
.bip-top-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 24px;
  align-items: start;
}
.bip-col-main { grid-column: span 3; }
.bip-col-aside {
  grid-column: 4;
  display: flex; flex-direction: column; gap: 14px;
}

.bip-nav {
  position: absolute; top: 50%; z-index: 2;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.30);
  cursor: pointer; color: #fff;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  transition: background 150ms, border-color 150ms, color 150ms, opacity 150ms, transform 150ms;
}
.bip-nav-prev { left: 12px; }
.bip-nav-next { right: 12px; }
.bip-nav:hover { background: rgba(255,255,255,0.26); border-color: rgba(255,255,255,0.55); color: #fff; }
.bip-nav:active { transform: translateY(-50%) scale(0.9); }
.bip-nav svg { width: 14px; height: 14px; }
.bip-nav:disabled {
  opacity: 0.2;
  cursor: default;
  pointer-events: none;
}

.bip-close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.2);
  border: none; cursor: pointer; color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 150ms, transform 100ms;
}
.bip-close:hover  { background: rgba(255,255,255,0.32); }
.bip-close:active { transform: scale(0.95); }
.bip-close svg { width: 14px; height: 14px; }

.bip-cat {
  font-size: 10px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red);
  margin-bottom: 6px;
}
.bip-name {
  font-size: clamp(28px, 3vw, 40px); font-weight: 900;
  letter-spacing: -0.03em; color: var(--ink); line-height: 1.0;
}

.bip-rule {
  border: none; border-top: 1px solid rgba(17,17,17,0.08);
  margin: 0;
}

.bip-desc {
  font-size: 13px; line-height: 1.65; color: var(--muted);
  margin-top: 6px;
}

.bip-spec {
  display: flex; flex-direction: column; gap: 3px;
}

.bip-spec-label {
  font-size: 9px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}
.bip-spec-value {
  font-size: 12px; font-weight: 700; color: var(--ink); line-height: 1.4;
}

/* Meta row: typography + colors */
.bip-meta-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.bip-section-label {
  font-size: 9px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 10px;
}

/* Typography */
.bip-type-grid {
  display: flex; gap: 24px;
}
.bip-type-item {
  display: flex; flex-direction: column; gap: 3px;
}
.bip-type-sample {
  font-size: 28px; font-weight: 700; line-height: 1;
  letter-spacing: -0.02em; color: var(--ink);
  font-family: system-ui, sans-serif;
}
.bip-type-serif .bip-type-sample {
  font-family: Georgia, 'Times New Roman', serif;
}
.bip-type-name {
  font-size: 11px; font-weight: 700; color: var(--ink); line-height: 1.3;
}
.bip-type-role {
  font-size: 10px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}

/* Color swatches — horizontal, color on top, always pinned to bottom */
.bip-colors-wrap { width: 100%; margin-top: clamp(18px, 2.4vh, 28px); }
.bip-swatches {
  display: flex; flex-direction: row; gap: 12px; flex-wrap: wrap;
}
.bip-swatch {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  flex: 1 1 0; min-width: 64px;
}
.bip-swatch-dot {
  width: 100%; height: 40px;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(8, 8, 8, 0.1);
}
.bip-swatch-name {
  font-size: 11px; font-weight: 700; color: var(--ink);
  letter-spacing: .01em; line-height: 1;
}
.bip-swatch-hex {
  font-size: 10.5px; font-weight: 600; color: var(--muted);
  font-variant-numeric: tabular-nums; letter-spacing: .04em;
  text-transform: uppercase;
}

/* Deliverables */
.bip-deliverables {
  font-size: 13px; font-weight: 500;
  color: var(--muted); line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
  .bip-overlay { padding: 0; align-items: flex-end; }
  .bip-panel { flex-direction: column; max-height: 92vh; max-width: 100%; }
  .bip-left  { flex: 0 0 220px; }
  .bip-right { padding: 32px 28px; }
  .bip-meta-row { grid-template-columns: 1fr; gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .bip-overlay, .bip-panel { transition-duration: .01ms !important; }
}

/* ══════════════════════════════════════
   FAQ (editorial numbered, style 3)
══════════════════════════════════════ */
.v2-faq { max-width: none; }
/* mascota lentes junto al encabezado del FAQ */
.v2-faq-sec .v2-section-head { position: relative; }
.v2-faq-mascot {
  position: absolute; right: 0; bottom: -36px;
  width: clamp(100px, 11vw, 142px); height: auto;
  pointer-events: none; user-select: none;
  filter: drop-shadow(0 16px 22px rgba(8,8,8,0.10));
  animation: faqBob 4.6s ease-in-out infinite;
}
@keyframes faqBob { 0%,100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-9px) rotate(1.5deg); } }
@media (max-width: 900px) {
  .v2-faq-mascot { position: static; transform: none; display: block;
    width: clamp(132px, 40vw, 168px); margin: 26px auto 2px; animation: none; }
}
@media (prefers-reduced-motion: reduce) { .v2-faq-mascot { animation: none; } }
.v2-faq-item { border-top: 1px solid #E3E3E3; }
.v2-faq-item:last-child { border-bottom: 1px solid #E3E3E3; }
.v2-faq-q { width:100%; background:none; border:none; cursor:pointer; font-family:inherit; text-align:left;
  display:grid; grid-template-columns:54px 1fr 28px; align-items:start; gap:18px; padding:26px 2px; color:var(--ink); }
.v2-faq-n { font-size:13px; font-weight:800; color:var(--red); letter-spacing:.06em; padding-top:5px; }
.v2-faq-qt { font-size:clamp(18px,2vw,22px); font-weight:700; line-height:1.25; letter-spacing:-.01em; }
.v2-faq-chev { width:13px; height:13px; margin-top:8px; justify-self:end;
  border-right:2px solid var(--ink); border-bottom:2px solid var(--ink);
  transform:rotate(45deg); transition:transform .35s var(--ease-snap); }
.v2-faq-item.open .v2-faq-chev { transform:rotate(-135deg); }
.v2-faq-a { display:grid; grid-template-rows:0fr; transition:grid-template-rows .4s var(--ease-snap); }
.v2-faq-item.open .v2-faq-a { grid-template-rows:1fr; }
.v2-faq-a > div { overflow:hidden; }
.v2-faq-a p { font-size:15px; line-height:1.7; color:var(--muted); padding:0 28px 28px 72px; max-width:none; }
.v2-faq-q:focus-visible { outline:2px solid var(--red); outline-offset:3px; border-radius:6px; }
@media (max-width:600px){ .v2-faq-q { grid-template-columns:34px 1fr 22px; gap:12px; } .v2-faq-a p { padding-left:2px; } }
@media (prefers-reduced-motion: reduce){ .v2-faq-a, .v2-faq-chev { transition:none; } }

/* ══════════════════════════════════════
   CTA intermedio (dark band)
══════════════════════════════════════ */
.v2-ctamid { background: var(--red); padding: clamp(22px,3.2vw,38px) var(--gutter); }
.v2-ctamid-inner { margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:20px 40px; flex-wrap:wrap; }
.v2-ctamid .v2-eyebrow, .v2-ctamid .v2-eyebrow--ink { color: rgba(255,255,255,.85); margin-bottom: 4px; }
.v2-ctamid-h2 { font-size:clamp(21px,2.5vw,30px); font-weight:800; color:#fff; line-height:1.12; margin-top:2px; max-width:none; white-space:nowrap; letter-spacing:-.02em; }
.v2-ctamid-sub { font-size:14px; line-height:1.5; color:rgba(255,255,255,.85); margin-top:6px; max-width:64ch; }
@media (max-width:900px){
  .v2-ctamid-inner { flex-direction: column; align-items: center; text-align: center; }
  .v2-ctamid-h2 { white-space: normal; max-width: none; }
  .v2-ctamid-sub { margin-left: auto; margin-right: auto; }
}
.v2-ctamid .v2-btn { background:var(--ink); color:#fff; transition:background .2s var(--ease-snap), transform .1s; }
.v2-ctamid .v2-btn:hover { background:#1f1f1f; }


/* ══════════════════════════════════════
   Custom cursor · color por sección (opción 3)
══════════════════════════════════════ */
#v2cursor, #v2dot { display:none; }
@media (pointer: fine) {
  body { cursor: none; }
  a, button, [role="button"], .vC-item, .v2-faq-q, .v2-tile, .v2-lang-toggle { cursor: none; }
  input, textarea, select, [contenteditable] { cursor: auto; }
  /* Outer ring — color per section, follows precisely */
  #v2cursor {
    display:block; position:fixed; top:0; left:0; width:34px; height:34px; margin:-17px 0 0 -17px;
    border-radius:50%; border:2px solid var(--ink); pointer-events:none; z-index:9998; will-change:transform;
    transition:width .22s var(--ease-snap), height .22s var(--ease-snap), margin .22s var(--ease-snap), border-color .2s, opacity .2s;
  }
  #v2cursor.light { border-color:#fff; }
  #v2cursor.hover { width:54px; height:54px; margin:-27px 0 0 -27px; }
  /* Inner dot — magnetic (lags), translucent white (variant A) */
  #v2dot {
    display:block; position:fixed; top:0; left:0; width:9px; height:9px; margin:-4.5px 0 0 -4.5px;
    border-radius:50%; pointer-events:none; z-index:9999; will-change:transform;
    background:rgba(255,255,255,.45); box-shadow:0 0 0 1px rgba(0,0,0,.12);
    transition:width .22s var(--ease-snap), height .22s var(--ease-snap), margin .22s var(--ease-snap), opacity .2s;
  }
  #v2dot.hover { width:13px; height:13px; margin:-6.5px 0 0 -6.5px; }
  #v2cursor.hide, #v2dot.hide { opacity:0; }
}
@media (prefers-reduced-motion: reduce){ #v2cursor,#v2dot{ transition:opacity .2s; } }


/* ── Responsive: retícula unificada · intros centradas en tablet/móvil ── */
@media (max-width: 900px) {
  .v2-section-head { text-align: center; }
  .v2-section-head .v2-body { max-width: 60ch; margin-left: auto; margin-right: auto; }
  /* Testimonios */
  .v2-tst-head { text-align: center; }
  .v2-tst-head .v2-section-h2 { white-space: normal; }
  /* Filosofía: encabezado centrado, bloque de texto centrado con lectura a la izquierda */
  .v2-phil-grid > div:first-child { text-align: center; }
  .v2-phil-mark { display: block; width: 44px; height: 44px; margin: 0 auto 4px; }
  .v2-phil-quote { max-width: 64ch; margin-left: auto; margin-right: auto; }
}

/* Voz / tagline de marca (debajo de la descripción) */
.bip-tagline { margin-top: 6px; font-size: 15px; font-style: italic; font-weight: 600; letter-spacing: -.01em; color: var(--red); }
