:root {
    --color-cream: #f4f1ec;
    --color-cream-alt: #f0ede5;
    --color-text-dark: #1f2522;
    --color-text-light: #5a645f;
    --color-green-dark: #4f5e55;
    --color-green-accent: #7c8a81;
    --color-white: #ffffff;
    --color-border: #d0cdc5;
    
    --font-heading: 'Forum', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-cream);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, .pre-title, .scala-title, .brand, .italic-title {
    font-family: var(--font-heading);
    font-weight: 400;
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-text-dark);
}

h1 em {
    font-style: italic;
    color: var(--color-green-accent);
}

h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.2rem;
    font-weight: 600;
    font-family: var(--font-body);
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-dark);
}

.text-center { text-align: center; }
.tracking { letter-spacing: 2px; }
.uppercase { text-transform: uppercase; }
.bold-subtitle { font-weight: 600; font-size: 0.85rem; letter-spacing: 1px; color: var(--color-text-light); }

.title-line {
    width: 60px;
    height: 2px;
    background-color: var(--color-text-dark);
    margin-bottom: 2rem;
}
.title-line.center { margin: 0 auto 2rem; }
.title-line.short { width: 30px; margin-bottom: 1rem; }
.title-line.light { background-color: var(--color-white); }

/* Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
}

.section-bloque {
    min-height: 100vh;
    border-bottom: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.section-bloque.dark { background-color: var(--color-green-dark); color: var(--color-white); }
.section-bloque.dark p, .section-bloque.dark h1 { color: var(--color-white); }
.section-bloque.bg-cream { background-color: var(--color-cream-alt); }

/* Botones */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background-color: var(--color-green-dark);
    color: var(--color-white);
    padding: 1rem 2rem;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    margin-top: 1rem;
}
.cta-sub {
    font-size: 0.8rem;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Icons (círculos perfectos) */
.icon-circle {
    width: 40px; height: 40px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: var(--color-green-dark);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.icon-circle.outline {
    background-color: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-dark);
}
.icon-circle.light { background-color: var(--color-white); color: var(--color-text-dark); }
.icon-circle.dark { background-color: var(--color-green-dark); color: var(--color-white); }
.icon-circle.big { width: 60px; height: 60px; font-size: 1.8rem; margin-bottom: 1.5rem; }
.icon-circle img { width: 55%; height: 55%; object-fit: contain; }

/* Piezas de Ajedrez */
.pawn-3d, .rook-3d, .knight-3d, .bishop-3d {
    font-size: 8rem;
    line-height: 1;
    width: 1em;
    height: 1em;
    filter: drop-shadow(5px 15px 15px rgba(0,0,0,0.2));
    color: #1a1a1a;
}

/* Piezas viajeras (una sola instancia por tipo entre los bloques 1-4) */
.pieces-journey { position: relative; }
.travel-pieces {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 30;
}
.travel-pieces img {
    position: absolute;
    width: 12rem;
    height: auto;
    opacity: 0; /* piezas viajeras ocultas hasta el primer scroll */
    will-change: transform, opacity;
}
.small { font-size: 4rem; }
.big { font-size: 12rem; }
.white { color: #f4f1ec; filter: drop-shadow(5px 15px 15px rgba(0,0,0,0.1)); }

/* Imágenes de piezas (peón, torre, caballo, alfil) */
.pawn-3d img, .rook-3d img, .knight-3d img, .bishop-3d img, .piece img {
    width: 1em;
    height: 1em;
    object-fit: contain;
    display: block;
}

/* Imagen de tablero (bloques 5 y 6) */
.board-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* =========================================
   BLOQUE 1 
   ========================================= */
.b1-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    align-items: center;
    position: relative;
    z-index: 1;
}
.b1-wave {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 22vh;
    min-height: 140px;
    z-index: 0;
    pointer-events: none;
}
.b1-grid-deco {
    position: absolute;
    top: 30px; right: 30px;
    width: 220px; height: 150px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
    background-image:
        linear-gradient(#e0ddd4 1px, transparent 1px),
        linear-gradient(90deg, #e0ddd4 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(circle at 45% 40%, #000 40%, transparent 78%);
    mask-image: radial-gradient(circle at 45% 40%, #000 40%, transparent 78%);
}
.dots-bubble {
    position: absolute;
    width: 34px; height: 22px;
    border-radius: 12px;
    background: var(--color-white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    z-index: 10;
}
.dots-bubble i {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: #b9b6ad;
    display: block;
}
.hero-dot {
    position: absolute;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--color-green-dark);
    opacity: 0.5;
    z-index: 9;
}
.pre-title-group { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.pre-title-group .line-deco { width: 1px; height: 40px; background: var(--color-text-dark); }
.b1-left .subtitle { max-width: 450px; font-size: 1rem; }

.b1-right { position: relative; height: 600px; z-index: 1; align-self: end; }
.b1-lines { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }

.b1-connector {
    fill: none;
    stroke: #d0cdc5;
    stroke-width: 2;
    stroke-dasharray: 10 8;
    stroke-linecap: round;
    animation: b1-dash-flow 1.6s linear infinite;
}

@keyframes b1-dash-flow {
    to { stroke-dashoffset: -36; }
}
.b1-right .pawn-3d { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); z-index: 5; }
#pion-b1 {
    font-size: 12rem;
}
#pion-b1::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -3px;
    transform: translateX(-50%);
    width: 72%;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0) 70%);
}

.tag {
    position: absolute;
    background: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    font-weight: 500;
    font-size: 0.85rem;
    z-index: 10;
}
.tag-publicidad { flex-direction: column; border-radius: 12px; padding: 1rem; }
.tag-publicidad .img-ph { width: 100px; height: 60px; background: #ddd; border-radius: 6px; overflow: hidden; }
.tag-publicidad .img-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.btn-ver-mas {
    display: inline-block;
    padding: 0.45rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-dark);
    background: var(--color-white);
    text-align: center;
}
.tag-publicidad .icon-abs {
    position: absolute;
    left: -15px; top: 50%;
    transform: translateY(-50%);
    width: 30px; height: 30px;
    aspect-ratio: 1 / 1;
    background: var(--color-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.tag-seguimiento { flex-direction: column; border-radius: 12px; padding: 1rem; align-items: flex-start; }
.tag-seguimiento ul { list-style: none; display: flex; flex-direction: column; gap: 5px; width: 100%; }
.tag-seguimiento li { height: 6px; background: #eee; border-radius: 3px; width: 80px; }
.tag-seguimiento li:first-child { background: var(--color-green-dark); }

/* =========================================
   BLOQUE 2 
   ========================================= */
.b2-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 2rem;
    margin-top: 2rem;
}
.b2-arrow-nav { display: flex; align-items: flex-start; gap: 1rem; margin-top: 3rem; font-size: 0.8rem; }
.b2-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}
.b2-item:first-child .icon-circle {
    background: var(--color-green-dark);
    color: var(--color-white);
}

.b2-center { position: relative; }
.b2-funnel {
    display: block;
    width: min(430px, 100%);
    margin: 2.5rem auto 0;
    overflow: visible;
}
.b2-funnel .funnel-band { fill: url(#fgLight); }
.b2-funnel .funnel-band.b1 { fill: url(#fgDark); }
.b2-funnel .funnel-band.cyl { fill: url(#fgCyl); }
.b2-funnel .funnel-shadow { fill: rgba(31,36,33,0.15); }
.b2-funnel-nums {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}
.b2-funnel-nums span {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 1.85rem;
    line-height: 1;
    color: #8a938c;
}
.b2-funnel-nums span.n1 { color: #ffffff; font-size: 1.95rem; }
.b2-funnel-nums span.n1 { top: calc(40 / 445 * 100%); }
.b2-funnel-nums span.n2 { top: calc(127 / 445 * 100%); }
.b2-funnel-nums span.n3 { top: calc(214 / 445 * 100%); }
.b2-funnel-nums span.n4 { top: calc(300 / 445 * 100%); }
.b2-funnel-nums span.n5 { top: calc(386 / 445 * 100%); }
.funnel-arrow { margin-top: 0.75rem; display: flex; justify-content: center; }
.b2-bottom { margin-top: 5rem; }

/* =========================================
   BLOQUE 3 
   ========================================= */
.italic-title { font-size: 3rem; font-style: italic; margin: 3rem 0; }
.b3-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 6rem;
}
.timeline-line {
    position: absolute;
    top: 30px; left: 0; width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.3);
    z-index: 1;
}
.node {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 120px;
    gap: 1rem;
}
.node-circle {
    width: 60px; height: 60px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    background: var(--color-white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--color-text-dark);
}
.node-card {
    background: var(--color-white);
    border-radius: 8px;
    padding: 10px;
    font-size: 0.7rem;
    color: var(--color-text-dark);
    width: 100px;
}
.node-card.dark { background: #333; color: white; }
.node-card.img-card {
    height: auto;
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.node-card.img-card img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}
.skeleton-line {
    height: 6px;
    border-radius: 3px;
    background: #eee;
    width: 100%;
}
.skeleton-line.short { width: 60%; }
.node-card.list ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.node-card.list li {
    display: flex;
    align-items: center;
    gap: 5px;
}
.node-card.list li::before {
    content: "";
    width: 11px;
    height: 11px;
    flex-shrink: 0;
    border: 1px solid #cfcdc6;
    border-radius: 3px;
}
.node-card.list li:first-child::before {
    background: var(--color-green-dark);
    border-color: var(--color-green-dark);
}
.node-card.list li::after {
    content: "";
    flex: 1;
    height: 5px;
    background: #ecebe5;
    border-radius: 3px;
}
.node-circle.avatar {
    position: relative;
    overflow: hidden;
}
.node-circle.avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: translateY(5%) scale(1.6);
    transform-origin: center;
    display: block;
    border-radius: 50%;
}
.node-num { font-family: var(--font-heading); font-size: 1.2rem; }
.node p { font-size: 0.75rem; color: #ddd; }

.b3-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px dashed rgba(255,255,255,0.3);
    padding-top: 2rem;
}
.pieces { display: flex; gap: 2rem; }
.b3-cierre { display: flex; align-items: center; gap: 2rem; }
.knight-note { font-size: 0.8rem; max-width: 150px; text-align: right; }
.vertical-line { width: 1px; height: 80px; background: rgba(255,255,255,0.3); }

/* =========================================
   BLOQUE 4 
   ========================================= */
.b4-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 1;
}
.b4-pieces {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    position: relative;
}
.b4-pieces > div { position: relative; }
.b4-pieces > div::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 76%;
    height: 18px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(31,36,33,0.28) 0%, rgba(31,36,33,0) 72%);
    filter: blur(3px);
    z-index: -1;
    pointer-events: none;
}
.b4-deco-line {
    position: absolute;
    top: 150px;
    left: 36%;
    right: 2%;
    height: 1px;
    background: repeating-linear-gradient(90deg, #c9c7be 0 6px, transparent 6px 14px);
    transform: rotate(-9deg);
    transform-origin: left center;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}
.b4-deco-dot {
    position: absolute;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #b9bcb2;
    opacity: 0.8;
    pointer-events: none;
    z-index: 0;
}
.pre-title-group.horizontal { flex-direction: row; align-items: center; margin-bottom: 2rem; }
.pre-title-group.horizontal .line-deco { width: 40px; height: 1px; }

.b4-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 1.5rem;
    border-top: 1px solid var(--color-border);
    padding-top: 3rem;
    position: relative;
    z-index: 1;
}
.b4-arrow {
    align-self: start;
    margin-top: 71px;
    display: flex;
    align-items: center;
    opacity: 0.8;
}
.b4-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.b4-col .pill { margin-top: auto; }
.b4-col .icon-circle {
    background: #e9e7de;
    color: #3f4a44;
    border: 1px solid #d8d5cb;
}
.b4-col .icon-circle.big { width: 68px; height: 68px; }
.col-num { font-family: var(--font-heading); font-size: 1.5rem; display: block; margin-bottom: 1rem; color: var(--color-text-light); }
.pill { display: inline-block; background: #e2dfd8; padding: 5px 10px; border-radius: 15px; font-size: 0.75rem; font-weight: 500; margin-top: 1rem; }

/* =========================================
   BLOQUE 5 & 6 (Tablero en perspectiva)
   ========================================= */
.b5-container, .b6-container { padding-top: 40px; }
.b5-content, .b6-content { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }
.b5-content { grid-template-columns: 1fr 1.15fr; }
.b5-right {
    position: relative;
    min-height: 730px;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (min-width: 1025px) {
    .b5-right .chess-perspective {
        position: absolute;
        left: -260px;
        top: 60px;
        width: calc(100% + 130px);
        z-index: 1;
    }
    .b5-right .floating-tooltip { z-index: 3; }
}
.b5-right .board-image {
    -webkit-mask-image: radial-gradient(130% 115% at 48% 44%, #000 36%, rgba(0,0,0,0.55) 62%, transparent 88%);
    mask-image: radial-gradient(130% 115% at 48% 44%, #000 36%, rgba(0,0,0,0.55) 62%, transparent 88%);
}
.b5-container .b5-banner {
    position: absolute;
    left: 0;
    top: 545px;
    z-index: 6;
    max-width: 500px;
    margin-top: 0;
    box-shadow: 0 16px 32px rgba(0,0,0,0.16);
}

.b5-banner, .b6-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--color-green-dark);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 3rem;
}
.banner-title { font-weight: 600; margin-bottom: 0.5rem; color: white;}
.b5-banner p, .b6-banner p { color: white; margin: 0; font-size: 0.9rem; }

/* Chessboard Perspective */
.chess-perspective {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    perspective: 1000px;
}
.board-grid {
    position: absolute;
    width: 150%;
    height: 150%;
    left: -25%; top: 0;
    background-image: 
        linear-gradient(#d0cdc5 1px, transparent 1px),
        linear-gradient(90deg, #d0cdc5 1px, transparent 1px);
    background-size: 50px 50px;
    transform: rotateX(60deg) rotateZ(-45deg);
    transform-style: preserve-3d;
    opacity: 0.3;
}
.piece { position: absolute; font-size: 4rem; filter: drop-shadow(2px 10px 5px rgba(0,0,0,0.2)); }
/* Aproximaciones de posición */
.p1 { top: 60%; left: 30%; }
.p2 { top: 30%; left: 50%; }
.p3 { top: 40%; left: 70%; font-size: 5rem; }
.p4 { top: 20%; left: 40%; font-size: 6rem; color: #f4f1ec; filter: drop-shadow(2px 10px 5px rgba(0,0,0,0.1)); }

.floating-tooltip {
    position: absolute;
    background: var(--color-white);
    padding: 0.8rem 1.1rem 0.8rem 0.55rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    width: 240px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    font-size: 0.8rem;
}
.floating-tooltip .icon-circle.dark {
    width: 52px;
    height: 52px;
    margin: 0;
}
.floating-tooltip p { margin: 0; font-size: 0.78rem; }
.floating-tooltip strong { display: block; margin-bottom: 0.2rem; }
.tip-connector {
    position: absolute;
    right: calc(100% - 1px);
    width: 260px;
    height: 160px;
    overflow: visible;
    pointer-events: none;
}
.t1 .tip-connector { top: 12px; }
.t2 .tip-connector { top: 20px; }
.t3 .tip-connector { top: -30px; }
.t4 .tip-connector { top: -60px; }
.t1 { top: 0; right: 0; }
.t2 { top: 180px; right: 12px; }
.t3 { top: 365px; right: 0; }
.t4 { top: 545px; right: 16px; }

.b5-bottom { margin-top: 5rem; border-top: 1px solid var(--color-border); padding-top: 2rem; position: relative; }
.b5-bottom .icon-circle { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); background: var(--color-cream-alt); }

/* Bloque 6 Timeline */
.b6-board-area { margin-top: 3rem; }
.vertical-timeline {
    border-left: 1px dashed var(--color-text-light);
    padding-left: 2rem;
    margin-left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.vt-item { position: relative; }
.vt-icon {
    position: absolute;
    left: -40px; top: 0;
    width: 38px; height: 38px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    background: var(--color-cream-alt);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}
.vt-num { font-family: var(--font-heading); font-size: 1.2rem; display: block; }
.vt-content h4 { font-size: 0.85rem; margin: 0.5rem 0; font-weight: 600; }
.vt-content p { font-size: 0.85rem; }

.winding-path {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 10;
}
.path-node {
    position: absolute;
    background: var(--color-green-dark);
    color: white;
    width: 27px; height: 27px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 2px solid var(--color-cream-alt);
    box-shadow: 0 3px 8px rgba(0,0,0,0.18);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-family: var(--font-heading);
    z-index: 11;
}
.n1 { top: 83%; left: 14%; }
.n2 { top: 70%; left: 32%; }
.n3 { top: 60%; left: 47%; }
.n4 { top: 47%; left: 60%; }
.n5 { top: 37%; left: 70%; }
.n6 { top: 55%; left: 84%; }

.b6-cta-mobile { display: none; }

/* =========================================
   BLOQUE 7 (Resultados y Testimonios)
   ========================================= */
.b7-header { margin-bottom: 3rem; }
.b7-intro { max-width: 520px; font-size: 1rem; }

.b7-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}
.b7-stat {
    background: var(--color-white);
    border-radius: 14px;
    padding: 1.4rem 1.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
}
.b7-stat .stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.4rem;
    color: var(--color-green-dark);
    line-height: 1.1;
}
.b7-stat .title-line.short { margin: 0.7rem auto 0.9rem; }
.b7-stat p { margin: 0; font-size: 0.78rem; color: var(--color-text-light); }

.b7-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}
.b7-card {
    background: var(--color-white);
    border-radius: 14px;
    padding: 1.8rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.b7-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}
.b7-card-top {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}
.avatar-initials {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #e9e7de;
    border: 1px solid #d8d5cb;
    color: #3f4a44;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.card-meta { flex: 1; }
.card-meta strong { display: block; font-size: 0.95rem; margin-bottom: 0.15rem; }
.card-meta span { font-size: 0.75rem; color: var(--color-text-light); }
.stars { display: flex; gap: 2px; flex-shrink: 0; }
.stars svg {
    width: 13px; height: 13px;
    aspect-ratio: 1 / 1;
    fill: var(--color-green-dark);
    stroke: var(--color-green-dark);
    stroke-width: 2;
    pointer-events: none;
}
.b7-quote {
    flex: 1;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--color-text-dark);
    margin: 0;
}
.b7-card .pill {
    background: var(--color-green-dark);
    color: var(--color-white);
    align-self: flex-start;
    margin-top: 0;
}
.b7-featured {
    background: var(--color-green-dark);
    border-radius: 16px;
    color: var(--color-white);
    padding: 2.5rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    box-shadow: 0 16px 32px rgba(0,0,0,0.16);
    position: relative;
}
.b7-featured .icon-circle.dark.soft {
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.25);
}
.b7-featured .b7-quote.big {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-style: italic;
    line-height: 1.45;
    color: var(--color-white);
}
.b7-featured .b7-name { margin: 0.75rem 0 0; font-size: 0.85rem; color: rgba(255,255,255,0.75); }
.b7-featured .pill.light-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.5);
    color: var(--color-white);
    margin: 0;
    white-space: normal;
    text-align: center;
}

@media (max-width: 1024px) {
    .b7-stats { grid-template-columns: repeat(2, 1fr); }
    .b7-grid { grid-template-columns: repeat(2, 1fr); }
    .b7-featured { grid-template-columns: auto 1fr; }
    .b7-featured .pill.light-outline { grid-column: 1 / -1; width: fit-content; }
}

@media (max-width: 768px) {
    .b7-grid { grid-template-columns: 1fr; }
    .b7-stat .stat-num { font-size: 1.9rem; }
    .b7-featured { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 2rem 1.5rem; }
    .b7-quote.big { font-size: 1.25rem; }
}

/* Desktop compacto (tablet apaisada / laptop chico): ajustes de contenidos
   que se desbordan en la franja 769-1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    .b1-right { transform: scale(0.9); transform-origin: center; }
    .b3-bottom { flex-wrap: wrap; justify-content: center; gap: 2rem; }
    .b4-pieces { flex-wrap: wrap; row-gap: 1.5rem; }
    .b4-pieces .pawn-3d, .b4-pieces .rook-3d, .b4-pieces .knight-3d, .b4-pieces .bishop-3d { font-size: 12rem; }
}

/* =========================================
   ICONOS LUCIDE (normalización y proporción)
   El tamaño de cada icono es relativo al diámetro
   de su contenedor para mantener la perspectiva
   y escalar correctamente en cada dispositivo.
   ========================================= */
.icon-circle svg,
.vt-icon svg,
.node-circle svg,
.icon-abs svg,
.btn-primary svg,
.cta-sub svg {
    display: block;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    max-width: 100%;
    max-height: 100%;
    stroke-width: 2;
    pointer-events: none;
}
.icon-circle svg { width: 55%; height: 55%; }          /* 40px → 22px */
.icon-circle.big svg { width: 50%; height: 50%; }      /* 60px → 30px */
.node-circle svg { width: 44%; height: 44%; }          /* 60px → ~26px */
.vt-icon svg { width: 52%; height: 52%; }              /* 38px → ~20px */
.icon-abs svg { width: 60%; height: 60%; }             /* 30px → 18px */
.btn-primary svg { width: 1.2em; height: 1.2em; }      /* relativo al texto del botón */
.cta-sub svg { width: 1.1em; height: 1.1em; }          /* relativo al texto del CTA */

/* =========================================
   RESPONSIVE
   ========================================= */

/* Tablet y pantallas medianas (≤ 1024px) */
@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2rem; }
    .italic-title { font-size: 2.2rem; }

    .b2-grid { grid-template-columns: 1fr 1fr; }
    .b2-right { grid-column: 1 / -1; }

    .b3-timeline { flex-wrap: wrap; justify-content: center; gap: 2rem 1.5rem; }

    .b4-grid { grid-template-columns: repeat(2, 1fr); }
    .b4-arrow { display: none; }
    .b4-top { grid-template-columns: 1fr; gap: 2rem; }
    .b4-pieces { justify-content: center; }

    .b5-content, .b6-content { grid-template-columns: 1fr 1fr; }
}

/* Móvil (≤ 768px) */
@media (max-width: 768px) {
    .container { padding: 40px 16px; }

    h1 { font-size: 2.1rem; line-height: 1.2; }
    h2 { font-size: 1.6rem; }
    .italic-title { font-size: 1.6rem; margin: 2rem 0; }
    .pre-title { font-size: 0.75rem; }

    .b1-container { grid-template-columns: 1fr; gap: 2rem; }
    .b1-right { height: 440px; transform: scale(0.78); transform-origin: center; }
    .b1-left .subtitle { max-width: 100%; }
    .b1-wave { height: 16vh; min-height: 100px; }
    .b1-grid-deco { display: none; }
    #pion-b1 { font-size: 6rem; }

    .btn-primary { padding: 0.85rem 1.5rem; font-size: 0.8rem; }

    .tag { padding: 0.4rem 0.7rem; font-size: 0.75rem; gap: 0.5rem; }
    .tag .icon-circle { width: 34px; } /* aspect-ratio mantiene el círculo */
    .tag-publicidad { padding: 0.7rem; }
    .tag-publicidad .img-ph { width: 72px; height: 44px; }

    .pawn-3d, .rook-3d, .knight-3d, .bishop-3d { font-size: 4.5rem; }
    .small { font-size: 2.5rem; }
    .big { font-size: 6rem; }
    .travel-pieces img { width: 6rem; }

    .b2-grid { grid-template-columns: 1fr; }
    .b2-right { grid-column: auto; }
    .b2-funnel { width: min(340px, 100%); }
    .b2-bottom { margin-top: 3rem; }

    .b3-timeline { flex-direction: column; align-items: center; gap: 2.5rem; margin-bottom: 4rem; }
    .timeline-line { display: none; }
    .node { width: 170px; }
    .node-circle { width: 56px; height: 56px; } /* mantiene el círculo perfecto */
    .b3-bottom { flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; }
    .b3-cierre { flex-direction: column; gap: 1rem; text-align: center; }
    .vertical-line { display: none; }

    .b4-grid { grid-template-columns: 1fr; }
    .b4-pieces { flex-wrap: wrap; row-gap: 1.5rem; }
    .b4-pieces .pawn-3d, .b4-pieces .rook-3d, .b4-pieces .knight-3d, .b4-pieces .bishop-3d { font-size: 6rem; }

    .b5-content, .b6-content { grid-template-columns: 1fr; }

    .piece { font-size: 3rem; }
    .p3 { font-size: 3.5rem; }
    .p4 { font-size: 4rem; }

    .b5-right { display: flex; flex-direction: column; gap: 1rem; align-items: stretch; min-height: 0; }
    .floating-tooltip { position: static; width: 100%; margin-bottom: 0; }
    .t1, .t2, .t3, .t4 { top: auto; right: auto; }

    .b5-banner, .b6-banner { flex-direction: column; text-align: center; padding: 1.25rem; }
    .b5-banner .icon-circle, .b6-banner .icon-circle { flex-shrink: 0; }
    .b5-container .b5-banner { position: static; left: auto; bottom: auto; max-width: none; margin-top: 2.5rem; box-shadow: none; }
    .tip-connector { display: none; }

    .b6-board-area .chess-perspective { max-width: 460px; margin: 0 auto; }

    .vertical-timeline { margin: 0 auto; padding-left: 2.5rem; max-width: 520px; }
    .vt-icon { width: 34px; left: -58px; }
    .b6-left .btn-primary { display: none; }
    .b6-cta-mobile { display: block; text-align: center; margin-top: 2.5rem; }
    .b6-cta-mobile .btn-primary { margin: 0; }
}

/* Footer del sitio */
.site-footer {
    background-color: var(--color-green-dark);
    color: var(--color-white);
    padding: 1.75rem 20px;
}

.site-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-footer-brand {
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 2px;
    margin: 0;
    color: var(--color-white);
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.8rem;
}

.site-footer a:hover,
.site-footer a[aria-current="page"] {
    color: var(--color-white);
    text-decoration: underline;
}

/* Página legal (Política de Privacidad) */
.legal-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border-bottom: 1px solid var(--color-border);
}

.legal-brand {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: var(--color-green-dark);
    text-decoration: none;
}

.legal-back {
    font-size: 0.8rem;
    color: var(--color-text-light);
    text-decoration: none;
}

.legal-back:hover {
    color: var(--color-green-dark);
    text-decoration: underline;
}

.legal-main {
    padding: 3rem 0 4rem;
}

.legal-container {
    max-width: 820px;
    padding-top: 0;
    padding-bottom: 0;
}

.legal-container h1 {
    font-size: 2.6rem;
    margin-bottom: 0.75rem;
}

.legal-date {
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
}

.legal-container h2 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    color: var(--color-green-dark);
}

.legal-container ul {
    margin: 0 0 1.5rem 1.25rem;
}

.legal-container li {
    margin-bottom: 0.4rem;
}

.legal-container a {
    color: var(--color-green-dark);
}

@media (max-width: 768px) {
    .legal-header { padding: 1.25rem 16px; }
    .legal-main { padding: 2rem 0 3rem; }
    .legal-container h1 { font-size: 1.9rem; }
    .legal-container h2 { font-size: 1.2rem; margin-top: 2rem; }

    .site-footer-inner { flex-direction: column; text-align: center; }
}
