/* ═══════════════════════════════════════════════════════════════════
   style.css — Strategic Mates · Programa / Franquicia con Propósito
   layout.css ya define: body, .container, variables CSS, reset, .btn
═══════════════════════════════════════════════════════════════════ */

:root {
  --hero-min: calc(100svh - var(--offset-total, 68px));
  --radius: 20px;
}

/* ── Eyebrow ── */
.fcp-eyebrow {
  display: block;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: black;
  margin-bottom: 10px;
  text-align: center;
}
.fcp-eyebrow--light { color: var(--gold); }

/* ── Heading de sección ── */
.fcp-section-h {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 900;
  color: var(--ink);
  text-align: center;
  line-height: 1.12;
  margin-bottom: clamp(18px, 3vw, 20px);
}
.fcp-section-h--light { color: #fff; }

.u-gold { color: var(--gold); font-weight: 900; }

/* ── Botones ── */
.fcp-btn--gray{
  background: #eaeaea;
  color: black;
  padding: 13px 32px;
  border-radius: var(--r-sm);
  font-size: .86rem; font-weight: 800;
  letter-spacing: .06em;
  box-shadow: var(--s-md);

}
.fcp-btn--ghost {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 2px solid rgba(255,255,255,.4);
  padding: 13px 32px;
  border-radius: var(--r-sm);
  font-size: .86rem; font-weight: 800;
  letter-spacing: .06em;
  backdrop-filter: blur(10px);
}
.fcp-btn--ghost:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.7); }

.fcp-btn--navy {
  background: var(--navy);
  color: white;
  border: 2px solid rgba(28,55,85,.3);
  padding: 13px 32px;
  border-radius: var(--r-sm);
  font-size: .86rem; font-weight: 800;
  letter-spacing: .06em;
  box-shadow: var(--s-md);
}
.fcp-btn--navy:hover { transform: translateY(-2px); background: var(--navy); }

/* ── Reveal ── */
html.js .reveal {
  opacity: 0; transform: translateY(12px);
  transition: opacity .35s cubic-bezier(.22,.8,.22,1), transform .35s cubic-bezier(.22,.8,.22,1);
}
html.js .reveal.is-in { opacity: 1; transform: none; }
html.js .section-in .reveal { opacity: 1; transform: none; }

/* ══════════════════════════════════════════════════════
   PIEZAS FLOTANTES — sistema de animación
══════════════════════════════════════════════════════ */
.fcp-floatPieces {
  position: fixed; inset: 0;
  z-index: 90; pointer-events: none;
}
.fcp-pieceImg {
  position: fixed; left: 0; top: 0;
  width: 200px; height: auto;
  transform: translate(-9999px,-9999px);
  opacity: 0;
  /* Sombra dramática para que las piezas "floten" */
  filter: drop-shadow(0 2px 3px rgba(216, 184, 128, 0.4)) drop-shadow(0 8px 12px rgba(216, 184, 128, 0.25));
  will-change: transform, opacity;
}

/* Anchors invisibles */
.piece-anchor {
  position: absolute; width: 220px; height: 220px;
  opacity: 0; pointer-events: none;
}
.piece-anchor--left  { left: clamp(12px, 5vw, 80px); top: 50%; transform: translateY(-50%); }
.piece-anchor--right { right: clamp(12px, 5vw, 80px); top: 50%; transform: translateY(-50%); }
.piece-anchor--mTop  { left: 50%; top: 22%; transform: translate(-50%,-50%); }
.piece-anchor--mBot  { left: 50%; top: 76%; transform: translate(-50%,-50%); }

/* ══════════════════════════════════════════════════════
   §1  HERO
══════════════════════════════════════════════════════ */
.fcp-hero {
  position: relative;
  min-height: var(--hero-min);
  display: flex; align-items: center;
  overflow: hidden; isolation: isolate;
}
.fcp-hero__bg { position: absolute; inset: 0; z-index: 0; }
.fcp-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.fcp-hero__veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(1100px 700px at 50% 40%, rgba(57, 57, 57, 0.413), rgba(55, 55, 55, 0.445)),
    linear-gradient(135deg, rgba(0,0,0,.88) 0%, rgba(52, 52, 52, 0.699) 100%);
}
.fcp-hero__content {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  padding-block: clamp(48px, 8vh, 96px);
  width: 100%;
}
.hero-copy {
  max-width: 780px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  color: #fff;
}
.hero-h1 {
  font-size: clamp(1.8rem, 3.8vw, 3.1rem);
  font-weight: 900; line-height: 1.06; letter-spacing: -.4px;
  margin: 0;
}
.hero-sub  { font-size: .98rem; color: rgba(255,255,255,.85); line-height: 1.65; max-width: 64ch; margin: 0; }
.hero-sub2 { font-size: .9rem;  color: rgba(255,255,255,.72); line-height: 1.65; max-width: 70ch; margin: 0; }
.hero-ctas {
  display: flex; gap: 14px; flex-wrap: wrap;
  justify-content: center; margin-top: 8px;
}

/* ══════════════════════════════════════════════════════
   §2  ESTADÍSTICAS / CONTEXTO
══════════════════════════════════════════════════════ */
.fcp-context {
  padding: clamp(26px, 7vw, 56px) 0;
  background: white;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
@media (max-width: 860px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-row { grid-template-columns: 1fr 1fr; } }

.stat-card {
  background: white;
  padding: 58px 20px;
  text-align: center;
  border: 2px solid rgba(216, 184, 128, 0.737);
  transition: transform .2s;
}
.stat-card:hover { transform: translateY(-4px); }
.stat-num {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label {
  font-size: .78rem;
  color: black;
  line-height: 1.55;
}

.context-gap {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  gap: 24px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--gold-border);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--s-md);
}
@media (max-width: 700px) {
  .context-gap { grid-template-columns: 1fr; }
  .gap-arrow { transform: rotate(90deg); margin: 0 auto; }
}

.gap-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.gap-arrow svg { width: 32px; height: 32px; }

.gap-col { display: flex; flex-direction: column; gap: 10px; }
.gap-label {
  font-size: .65rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}
.gap-label--gold { color: var(--gold-strong); }
.gap-col p { font-size: .86rem; color: var(--muted); line-height: 1.68; margin: 0; }
.gap-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.gap-list li {
  font-size: .82rem; color: var(--ink);
  padding: 6px 12px 6px 28px;
  position: relative;
  background: rgba(28,55,85,.04);
  border-radius: var(--r-xs);
}
.gap-list li::before {
  content: '✕';
  position: absolute; left: 10px;
  color: #ef4444; font-size: .7rem; top: 8px;
}
.gap-col--solution .gap-list li::before { content: '✓'; color: #22c55e; }
.gap-steps {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
}
.gap-steps span {
  background: var(--navy); 
  color: white;
  padding: 10px 12px; 
  border-radius: var(--r-pill);
  font-size: .72rem; 
  font-weight: 700;
}
.gap-steps svg { color: var(--gold-strong); flex-shrink: 0; }

/* ══════════════════════════════════════════════════════
   §3  LOS 3 ACTORES
══════════════════════════════════════════════════════ */
.fcp-actors {
  padding: clamp(26px, 7vw, 76px) 0;
  background: var(--paper);
}
.section-head { text-align: center; margin-bottom: 14px; }
.section-sub  { 
  max-width: 72ch; 
  margin: 0 auto; 
  color: var(--muted); 
  font-size: .9rem; 
  line-height: 1.7; 
  text-align: center;
}
.section-sub--light { color: rgba(255,255,255,.72); }

.actors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 860px) { .actors-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

.actor-card {
  padding: 60px 28px 60px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 10px;
  transition: transform .22s, box-shadow .22s;
  border: 1px solid transparent;
}
.actor-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,.18); }

.actor-card--dark {
  background: white;
  border: 2px solid var(--navy);
}
.actor-card--gold {
  background: white;
  border: 2px solid var(--navy);
}

.actor-icon {
  width: 110px; height: 110px;
  border-radius: 50%;
  background: rgba(31, 31, 31, 0.9);
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
  margin-bottom: 6px;
  flex-shrink: 0;
}
.actor-icon--logo { background: rgba(31, 31, 31, 0.9);; padding: 18px; }
.actor-icon img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.2)); }
.actor-card--gold .actor-icon { background: rgba(31, 31, 31, 0.9); }

.actor-tag {
  font-size: .6rem; 
  font-weight: 800; 
  letter-spacing: .2em;
  text-transform: uppercase; 
  color: var(--navy); 
  margin-top: 10px;
}
.actor-tag--dark { color: var(--navy); }
.actor-h  { 
  font-size: 1.1rem; 
  font-weight: 700; 
  color: black; 
  margin: 0; 
}
.actor-h--dark { color: black; }
.actor-p  { font-size: .82rem; color: black; line-height: 1.65; margin: 0; }
.actor-p--dark { color: black; opacity: .82; }

/* ══════════════════════════════════════════════════════
   §4  CÓMO FUNCIONA — 4 pasos
══════════════════════════════════════════════════════ */
.fcp-match {
  padding: clamp(56px, 7vw, 96px) 0;
  background:white
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}
@media (max-width: 980px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps-grid { grid-template-columns: 1fr; } }


.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-weight: 900; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(28,55,85,.25);
  flex-shrink: 0;
}
.step-h {
  font-size: .95rem; font-weight: 800; color: var(--navy);
  margin: 0 0 10px; line-height: 1.25;
}
.step-p { font-size: .82rem; color: var(--muted); line-height: 1.68; margin: 0; }

/* Anchors desktop para piezas */
.how-piecesRow {
  margin: 0px auto 0;
  display: flex; justify-content: center; gap: 20px;
  height: 200px;
}
.center-anchor { 
  width: 180px; 
  height: 180px; 
  opacity: 0; 
  pointer-events: none; 
  transform: translateY(64px);
}

.match-note {
  margin: 14px auto 0;
  max-width: 78ch; text-align: center;
  font-weight: 600; font-size: .8rem;
  color: black;
  background: #eaeaea;
  border: 1px solid rgba(28,55,85,.12);
  border-left: 3px solid var(--gold);
    border-right: 3px solid var(--gold);
  padding: 16px 22px;
}

/* Anchors mobile */
.piece-underTitleRow {
  display: none; margin: 12px auto 0; gap: 12px;
  justify-content: center; align-items: center; width: 100%;
}
.piece-underTitleAnchor { width: 150px; height: 150px; opacity: 0; pointer-events: none; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}
@media (max-width: 980px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps-grid { grid-template-columns: 1fr; } }

.step-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,1) 100%);
  padding: 22px 22px 24px;
  box-shadow: 2px 3px 4px 2px gray;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  overflow: hidden;
}

.step-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--navy));
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 2px 3px 4px 2px var(--navy);
  border-color: rgba(28,55,85,.45);
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.step-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top left, rgba(216,184,128,.24), rgba(216,184,128,.08)),
    var(--navy);
  color: white;
  box-shadow: 0 10px 24px rgba(28,55,85,.16);
  flex-shrink: 0;
}

.step-icon svg {
  width: 28px;
  height: 28px;
}

.step-badge {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .14em;
  color: var(--gold-strong);
  border-radius: 999px;
  padding: 8px 12px;
  line-height: 1;
  flex-shrink: 0;
}

.step-h {
  font-size: .95rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 10px;
  line-height: 1.25;
}

.step-p {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.68;
  margin: 0;
  overflow-wrap: anywhere;
}

/* ══════════════════════════════════════════════════════
   §5  BUSINESS BISHOP
══════════════════════════════════════════════════════ */
.fcp-bishop {
  padding: clamp(56px, 7vw, 96px) 0;
  background: linear-gradient(160deg, var(--navy) 0%, #24415e 65%, #3a5a72 100%);
}
.section-box { max-width: 1020px; margin-inline: auto; }

.bishop-pieceUnderTitle {
  display: flex; justify-content: center; margin-top: 16px;
}
.bishop-anchor.bishop-anchor--final {
  width: 220px; height: 220px; opacity: 0; pointer-events: none;
}

.chips {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}
@media (max-width: 640px) { .chips { grid-template-columns: 1fr; } }

.chip {
  display: flex; align-items: flex-start; gap: 14px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(216,184,128,.2);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-md);
  padding: 18px 16px;
  transition: background .2s, transform .2s;
}
.chip:hover { background: rgba(255,255,255,.12); transform: translateX(4px); }
.chip-ico {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px;
  background: rgba(216,184,128,.15);
  border: 1px solid rgba(216,184,128,.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.chip-ico svg { width: 22px; height: 22px; }
.chip-t { font-weight: 800; font-size: .9rem; color: var(--gold); margin-bottom: 5px; }
.chip-p { font-size: .8rem; color: rgba(255,255,255,.68); line-height: 1.6; }

.cta-inline { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 28px; }
.cta-note { margin: 0; color: rgba(255,255,255,.55); font-size: .82rem; text-align: center; max-width: 68ch; line-height: 1.65; }

/* ══════════════════════════════════════════════════════
   §6  SMALL BUSINESS
══════════════════════════════════════════════════════ */
.fcp-pawn {
  padding: clamp(26px, 7vw, 56px) 0;
  background:
    radial-gradient(900px 500px at 20% 30%, rgba(216,184,128,.12), transparent 55%),
    var(--paper);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}
@media (max-width: 560px) { .benefits-grid { grid-template-columns: 1fr; } }

.benefit-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-md);
  box-shadow: var(--s-sm);
  transition: transform .2s, box-shadow .2s;
}
.benefit-item:hover { transform: translateX(4px); box-shadow: var(--s-md); }
.benefit-item--highlight {
  grid-column: 1 / -1;
  border-width: 2px;
  background: white;
}
.benefit-ico {
  width: 28px; height: 28px; flex-shrink: 0;
  color: var(--gold-strong); margin-top: 1px;
}
.benefit-ico svg { width: 24px; height: 24px; }
.benefit-item p { font-size: .84rem; color: var(--ink); line-height: 1.6; margin: 0; }
.benefit-item--highlight p { color: var(--navy); font-weight: 600; text-align: center; }

.pawn-morphArea {
  margin: 28px auto 0;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.pawn-morphPrompt {
  font-weight: 800; 
  background: white;
  color: var(--navy); 
  text-align: center;
  border: 1px solid rgba(28,55,85,.14);
  border-radius: var(--r-pill);
  padding: 10px 28px; 
  font-size: .88rem; 
  max-width: 68ch;
}
.pawn-morphAnchor { width: 220px; height: 220px; opacity: 0; pointer-events: none; }

.pawn-layout {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 20px;
  align-items: start;
}
@media (max-width: 860px) { .pawn-layout { grid-template-columns: 1fr; } }

.pawn-copy {
  background: var(--paper);
  border: 1px solid var(--gold-border);
  border-top: 3px solid var(--gold);
  border-radius: var(--r-lg);
  box-shadow: var(--s-md);
  padding: 28px 24px;
}
.pawn-h3 { font-size: 1.05rem; font-weight: 900; color: var(--navy); margin: 0 0 14px; }
.pawn-p  { font-size: .86rem; color: var(--muted); line-height: 1.68; margin: 0; margin-top: 10px; }

.pawn-proof { display: grid; gap: 12px; }
.proof-card {
  background: var(--paper);
  border: 1px solid var(--gold-border);
  border-left: 3px solid var(--navy);
  border-radius: var(--r-md);
  padding: 16px;
  box-shadow: var(--s-sm);
  transition: transform .18s, box-shadow .18s;
}
.proof-card:hover { transform: translateX(4px); box-shadow: var(--s-md); }
.proof-k { font-size: .6rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-strong); margin-bottom: 6px; }
.proof-v { font-size: .88rem; font-weight: 700; color: var(--navy); line-height: 1.45; }
.pawn-morphSpot {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  border-radius: var(--r-lg);
  position: relative;
}

/* ══════════════════════════════════════════════════════
   PIEZAS ESTÁTICAS — solo responsive (≤820px)
══════════════════════════════════════════════════════ */
.r-staticPieces {
  display: none; margin: 16px auto 0;
  justify-content: center; gap: 14px; align-items: center;
}
.r-staticPieces--one { gap: 0; }
.r-piece { 
  width: 110px; 
  height: auto; 
  /* Sombra dramática para que las piezas "floten" */
  filter: drop-shadow(0 2px 3px rgba(216, 184, 128, 0.4)) drop-shadow(0 8px 12px rgba(216, 184, 128, 0.25));
}
.r-piece--big { width: 140px; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 980px) {
  .how-piecesRow  { display: none; }
  .piece-underTitleRow { display: flex; }
  .fcp-pieceImg { width: 155px; }
  .bishop-anchor.bishop-anchor--final { width: 190px; height: 190px; }
  .pawn-morphAnchor { width: 190px; height: 190px; }
}

@media (max-width: 820px) {
  .fcp-floatPieces     { display: none; }
  .piece-underTitleRow { display: none; }
  .bishop-pieceUnderTitle { display: none; }
  .pawn-morphSpot      { display: none; }
  .r-staticPieces      { display: flex; }
}

@media (max-width: 540px) {
  .fcp-btn--gold, .fcp-btn--ghost, .fcp-btn--navy { width: 100%; max-width: 400px; justify-content: center; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .r-piece { 
    width: 150px; 
  }
  .r-piece--big { width: 118px; }
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { transition: none; opacity: 1; transform: none; }
  .fcp-pieceImg { transition: none; }
}

.pawn-layout {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 20px;
  align-items: start;
}

.pawn-copy,
.pawn-proof,
.pawn-copy *,
.pawn-proof * {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 860px) {
  .pawn-layout { grid-template-columns: 1fr; }
}



.pawn-morphStatic {
  width: 170px;
  height: auto;
  filter: drop-shadow(0 14px 22px rgba(0,0,0,.18));
}

.pawn-morphAnchor {
  position: absolute;
  width: 220px;
  height: 220px;
  opacity: 0;
  pointer-events: none;
}