/* VetaLab. Idea de diseño: un corte de mina. Bandas oscuras de roca y bandas claras de superficie; una veta de oro
   las cruza. Una sola audacia: la veta y el oro; todo lo demás, sobrio. Un solo mundo visual (sin modo claro/oscuro). */
:root {
  --noche: #0a1328; --roca: #101c39; --roca-2: #16264a; --oro: #f2c230; --oro-claro: #ffe28a; --oro-hondo: #7a5600;
  --hielo: #eef2f9; --tinta: #0d1530; --gris: #566078; --borde: #dbe2ee;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --cuerpo: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --radio: 22px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--cuerpo); font-size: 18px; line-height: 1.55; color: var(--tinta); background: #fff; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--oro); outline-offset: 3px; }
.visualmente-oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cinta-boceto { position: fixed; left: 12px; bottom: 12px; z-index: 30; margin: 0; padding: 4px 12px; border-radius: 99px; background: #fff3cd; color: #5c4400; font-size: 14px; font-weight: 700; }
.contenedor { width: min(1160px, 100% - 40px); margin: 0 auto; }

/* Marca: V y L mayúsculas, nunca en versalitas */
.marca { text-decoration: none; font-family: var(--display); font-size: 24px; letter-spacing: -.02em; }
.m-veta { color: var(--oro); font-weight: 800; }
.m-lab { font-weight: 400; }
.marca .m-lab, .pie .m-lab { color: #fff; }

/* Botones */
.boton { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 10px 24px; border: 0; border-radius: 99px; background: var(--oro); color: var(--noche); font: 700 17px var(--cuerpo); text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .2s; }
.boton:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(242, 194, 48, .4); }
.boton-fantasma { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45); }
.boton-chico { min-height: 40px; padding: 6px 18px; font-size: 15px; }

/* Barra */
.barra { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px max(20px, 5vw); background: rgba(10, 19, 40, .86); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.barra nav { display: flex; align-items: center; gap: 24px; }
.barra nav a:not(.boton) { color: #cfd8ea; text-decoration: none; font-size: 15px; }
.barra nav a:not(.boton):hover { color: #fff; }
@media (max-width: 820px) { .barra nav a:not(.boton) { display: none; } }

/* Portada: estratos de roca y la veta */
.portada { position: relative; overflow: hidden; padding: 72px 0 88px; color: #fff; background: var(--noche); }
.estratos { position: absolute; inset: 0; background:
  repeating-linear-gradient(173deg, transparent 0 70px, rgba(255, 255, 255, .025) 70px 72px, transparent 72px 150px),
  linear-gradient(173deg, var(--roca-2) 0 22%, var(--roca) 22% 48%, var(--noche) 48% 100%); }
.veta { position: absolute; inset: 0; width: 100%; height: 100%; }
.veta-roca { fill: none; stroke: var(--oro); stroke-width: 3; stroke-linecap: round; opacity: .6; filter: drop-shadow(0 0 8px rgba(242, 194, 48, .55)); }
.veta-brillo { fill: none; stroke: var(--oro-claro); stroke-width: 5; stroke-linecap: round; stroke-dasharray: .1 .9; animation: recorrer 7s linear infinite; filter: drop-shadow(0 0 12px var(--oro)); }
@keyframes recorrer { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.pepita { fill: #fff8de; filter: drop-shadow(0 0 6px var(--oro)); }
.portada-rejilla { position: relative; width: min(1160px, 100% - 40px); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: center; }
.antetitulo { margin: 0 0 18px; font-size: 15px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--oro); }
h1 { font-size: clamp(46px, 6.4vw, 88px); font-weight: 800; line-height: .98; letter-spacing: -.035em; font-variation-settings: "opsz" 96; }
h1 .linea { display: block; animation: subir .8s cubic-bezier(.2, .7, .2, 1) both; }
h1 .linea + .linea { animation-delay: .12s; }
h1 em { font-style: normal; color: var(--oro); }
@keyframes subir { from { opacity: 0; transform: translateY(24px); } }
.bajada { max-width: 34em; margin: 24px 0 34px; font-size: clamp(18px, 1.6vw, 21px); color: #cdd6e9; }
.acciones { display: flex; flex-wrap: wrap; gap: 14px; }
.telefono { margin: 0; display: grid; gap: 12px; justify-items: center; }
.telefono iframe { width: min(320px, 100%); height: 640px; border: 11px solid #05080f; border-radius: 44px; background: #fff; box-shadow: 0 0 0 1px rgba(242, 194, 48, .3), 0 40px 90px rgba(0, 0, 0, .55), 0 0 80px rgba(242, 194, 48, .12); }
.telefono figcaption { font-size: 15px; color: var(--oro-claro); }
@media (max-width: 900px) { .portada-rejilla { grid-template-columns: 1fr; } .telefono iframe { height: 600px; } }

/* Bandas */
.banda { padding: 104px 0; }
.banda-clara { background: var(--hielo); }
.banda-noche { background: var(--noche); color: #fff; }
.titulo-seccion { font-size: clamp(32px, 4vw, 52px); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; margin-bottom: 14px; }
.bajada-seccion { max-width: 38em; margin: 0 0 44px; font-size: 20px; color: var(--gris); }
.banda-noche .bajada-seccion { color: #c3cde3; }

/* El nombre */
.nombre { background: #fff; }
.nombre-pregunta { margin: 0 0 28px; text-align: center; font: 700 15px var(--cuerpo); letter-spacing: .12em; text-transform: uppercase; color: var(--oro-hondo); }
.nombre-tesis { margin: 0 auto 40px; max-width: 18em; text-align: center; font-size: clamp(30px, 4vw, 50px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.nombre-rejilla { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: stretch; }
.mitad-rotulo { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.mitad-veta .mitad-rotulo { color: var(--oro); } .mitad-lab .mitad-rotulo { color: #1f3864; }
.mitad { padding: 30px; border-radius: 28px; display: grid; gap: 14px; align-content: start; }
.mitad-veta { background: var(--noche); color: #fff; }
.mitad-lab { background: var(--hielo); }
.dibujo { width: 100%; height: auto; border-radius: 18px; }
.roca { fill: var(--roca); } .estrato { stroke: rgba(255, 255, 255, .08); stroke-width: 2; fill: none; }
.veta-dibujo { fill: none; stroke: url(#veta-hallada); stroke-width: 5; stroke-linecap: round; filter: drop-shadow(0 0 8px rgba(242, 194, 48, .7)); }
.destello { fill: #fff8de; filter: drop-shadow(0 0 8px var(--oro)); }
.fondo-lab { fill: #dfe6f2; } .r-grid { stroke: #c9d3e4; stroke-width: .5; }
.r-eje { stroke: #8a97b0; stroke-width: .8; }
.r-onda { fill: none; stroke: #7d8aa5; stroke-width: 1.1; stroke-linejoin: round; }
.r-flecha { fill: none; stroke: #1f3864; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.b-medio { fill: #7d8aa5; }
.b-tenue { fill: #b8c2d5; }
.b-azul { fill: #1f3864; }
.b-oro { fill: #d9a400; filter: drop-shadow(0 0 3px rgba(242, 194, 48, .8)); }
.rotulo-oro { fill: #8a6200; }
.rotulo-dibujo { font: 700 8.5px var(--cuerpo); fill: #566078; text-anchor: middle; letter-spacing: .02em; }
.palabra { margin: 4px 0 0; font: 800 clamp(56px, 7vw, 92px)/1 var(--display); letter-spacing: -.04em; }
.mitad-lab .m-lab { color: var(--tinta); font-weight: 300; }
.sentidos { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sentidos li { padding-left: 18px; border-left: 3px solid var(--oro); }
.mitad-veta .sentidos li { color: #c3cde3; } .mitad-veta .sentidos strong { color: #fff; }
.mitad-lab .sentidos li { color: var(--gris); border-left-color: #1f3864; } .mitad-lab .sentidos strong { color: var(--tinta); }
.sentidos strong { display: block; font-family: var(--display); font-size: 19px; }
.mas { align-self: center; font: 300 64px/1 var(--display); color: var(--oro-hondo); }
.nombre-cierre { margin: 36px 0 0; text-align: center; font: 700 clamp(24px, 3vw, 36px)/1.2 var(--display); letter-spacing: -.02em; }
.nombre .saber-mas { text-align: center; }
@media (max-width: 860px) { .nombre-rejilla { grid-template-columns: 1fr; } .mas { justify-self: center; } }

/* La idea */
.idea { text-align: center; }
.frase-grande { font-size: clamp(36px, 5.4vw, 74px); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; }
.tachado { color: #9aa4b8; }
.marca-texto .m-lab { color: var(--tinta); }
.subrayado-oro { background: linear-gradient(transparent 62%, rgba(242, 194, 48, .55) 62% 92%, transparent 92%); }
.vias { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 52px auto 0; max-width: 900px; text-align: left; }
.via { margin: 0; padding: 26px; border-radius: var(--radio); background: #fff; }
.via-dos { box-shadow: 0 0 0 2px var(--oro), 0 24px 50px rgba(122, 86, 0, .15); }
.via svg { width: 100%; height: auto; }
.via figcaption { margin-top: 10px; color: var(--gris); }
.via figcaption strong { color: var(--tinta); }
.n-gris { fill: #d4dae5; } .n-azul { fill: #1f3864; }
.t { font: 13px var(--cuerpo); fill: var(--gris); text-anchor: middle; }
.f-gris, .f-ida, .f-vuelta { fill: none; stroke-width: 3; stroke-dasharray: 8 8; animation: correr 1.2s linear infinite; }
.f-gris { stroke: #a7b0c2; } .f-ida { stroke: #1f3864; } .f-vuelta { stroke: #b88a00; stroke-width: 4; }
.p-gris { fill: #a7b0c2; } .p-azul { fill: #1f3864; } .p-oro { fill: #b88a00; }
@keyframes correr { to { stroke-dashoffset: -32; } }
@media (max-width: 700px) { .vias { grid-template-columns: 1fr; } }
.saber-mas { max-width: 680px; margin: 32px auto 0; }
.saber-mas summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 20px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 2px #1f3864; color: #1f3864; font-weight: 700; cursor: pointer; list-style: none; }
.saber-mas summary::-webkit-details-marker { display: none; }
.saber-mas summary::after { content: "+"; font-size: 20px; line-height: 1; }
.saber-mas[open] summary::after { content: "−"; }
.saber-mas p { text-align: left; color: var(--gris); margin: 18px 0 0; }

/* La experiencia: rejilla tipo bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.celda { padding: 28px; border-radius: var(--radio); background: var(--hielo); display: flex; flex-direction: column; gap: 10px; }
.celda h3 { font-size: 23px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.celda p { margin: 0; color: var(--gris); }
.celda-ancha { grid-column: span 2; }
.celda-oro { background: linear-gradient(140deg, #fff7d9, #ffe9a3); }
.celda-oro p { color: #4d3a05; }
.celda-noche { grid-column: span 3; background: var(--roca); color: #fff; }
.celda-noche p { color: #c3cde3; }
.estrellas-fila { display: flex; gap: 8px; margin-bottom: 6px; }
.estrellas-fila i { width: 34px; height: 34px; background: rgba(122, 86, 0, .18); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); animation: ganar 6s infinite; }
.estrellas-fila i:nth-child(2) { animation-delay: .5s; } .estrellas-fila i:nth-child(3) { animation-delay: 1s; }
.estrellas-fila i:nth-child(4) { animation-delay: 1.5s; } .estrellas-fila i:nth-child(5) { animation-delay: 2s; } .estrellas-fila i:nth-child(6) { animation-delay: 2.5s; }
@keyframes ganar { 0%, 8% { background: rgba(122, 86, 0, .18); transform: scale(1); } 12% { transform: scale(1.25); } 16%, 85% { background: var(--oro); transform: scale(1); } 100% { background: rgba(122, 86, 0, .18); } }
.icono { width: 44px; height: 44px; border-radius: 14px; background: var(--noche); position: relative; }
.icono::after { content: ""; position: absolute; inset: 10px; background: var(--oro); -webkit-mask: var(--forma) center / contain no-repeat; mask: var(--forma) center / contain no-repeat; }
.celda-noche .icono { background: var(--oro); } .celda-noche .icono::after { background: var(--noche); }
.icono-mano { --forma: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><rect x='6' y='2' width='12' height='20' rx='3' fill='none' stroke='black' stroke-width='2'/><circle cx='12' cy='17' r='1.6' fill='black'/></svg>"); }
.icono-candado { --forma: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><rect x='4' y='10' width='16' height='12' rx='2' fill='black'/><path d='M8 10V7a4 4 0 0 1 8 0v3' fill='none' stroke='black' stroke-width='2'/></svg>"); }
.icono-ajuste { --forma: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4 7h16M4 17h16' stroke='black' stroke-width='2'/><circle cx='9' cy='7' r='3' fill='black'/><circle cx='15' cy='17' r='3' fill='black'/></svg>"); }
.icono-onda { --forma: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 9h4l5-4v14l-5-4H3z' fill='black'/><path d='M16 8a5 5 0 0 1 0 8M19 5a9 9 0 0 1 0 14' fill='none' stroke='black' stroke-width='2'/></svg>"); }
.icono-capsula { --forma: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><rect x='2' y='8' width='20' height='8' rx='4' fill='none' stroke='black' stroke-width='2'/><path d='M12 8v8' stroke='black' stroke-width='2'/><path d='M12 9h6a3 3 0 0 1 0 6h-6z' fill='black'/></svg>"); }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } .celda-noche { grid-column: span 2; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .celda-ancha, .celda-noche { grid-column: auto; } }

/* Seguir la Veta de Valor: una vuelta en cuatro pasos y un pozo con niveles. Quieto y legible; solo una luz lenta
   baja por la veta del pozo. */
.veta-zona { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.izquierda { margin-left: 0; }
.vuelta-fig, .pozo { margin: 0; }
.rotulo-fig { margin-bottom: 16px; font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--oro); }
.rotulo-fig span { color: #9fb0d0; font-weight: 400; text-transform: none; letter-spacing: 0; }
.ciclo4 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 40px 1fr; grid-template-rows: auto 56px auto; gap: 8px; align-items: center; }
.c-paso { padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 4px; }
.c-paso b { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--oro); color: var(--noche); font: 800 16px var(--display); }
.c-paso strong { font-family: var(--display); font-size: 20px; }
.c-paso span { color: #b7c2da; font-size: 16px; line-height: 1.4; }
.c-flecha { text-align: center; font-size: 28px; color: var(--oro); }
.c-centro { text-align: center; font-size: 14px; font-weight: 700; color: var(--oro); display: grid; justify-items: center; line-height: 1.2; }
.giro-icono { font-size: 26px; line-height: 1; }
.f41, .c-centro, .f23 { align-self: center; }
.pozo { position: relative; padding-left: 28px; }
.niveles::before { content: ""; position: absolute; left: -20px; top: 22px; bottom: 10px; width: 4px; border-radius: 2px; background: linear-gradient(var(--oro), #8a6200); box-shadow: 0 0 14px rgba(242, 194, 48, .5); }
.niveles::after { content: ""; position: absolute; left: -24px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: #fff8de; box-shadow: 0 0 12px var(--oro); animation: bajar 6s ease-in-out infinite; }
@keyframes bajar { 0% { top: 22px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 20px); opacity: 0; } }
.pestanas { display: flex; flex-wrap: nowrap; gap: 8px; margin-bottom: 16px; overflow-x: auto; }
.pestanas button { min-height: 40px; padding: 6px 14px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #dfe6f5; font: 700 15px var(--cuerpo); cursor: pointer; }
.pestanas button[aria-selected="true"] { background: var(--oro); border-color: var(--oro); color: var(--noche); }
.niveles { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.niveles li { position: relative; padding: 16px 18px; border-radius: 16px; display: grid; gap: 4px; }
.niveles li::before { content: ""; position: absolute; left: -26px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--oro); }
.niveles li:nth-child(1) { background: rgba(255, 255, 255, .08); }
.niveles li:nth-child(2) { background: rgba(255, 255, 255, .05); margin-left: 16px; }
.niveles li:nth-child(3) { background: rgba(255, 255, 255, .03); margin-left: 32px; border: 1px solid rgba(242, 194, 48, .4); }
.niveles li:nth-child(2)::before { left: -42px; } .niveles li:nth-child(3)::before { left: -58px; }
.nivel-n { font-size: 14px; font-weight: 700; color: var(--oro); }
.niveles strong { font-family: var(--display); font-size: 19px; font-weight: 600; line-height: 1.3; }
@media (max-width: 900px) { .veta-zona { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ciclo4 { grid-template-columns: 1fr; grid-template-rows: none; } .c-flecha, .c-centro { display: none; } .c1 { order: 1; } .c2 { order: 2; } .c3 { order: 3; } .c4 { order: 4; } }
@media (prefers-reduced-motion: reduce) { .niveles::after { animation: none; display: none; } }

/* Influencia */
.influencia { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.dial input { width: 100%; height: 36px; accent-color: #b88a00; cursor: pointer; }
.dial-marcas { display: flex; justify-content: space-between; font-weight: 700; font-size: 15px; color: var(--gris); }
.nivel { padding: 32px; border-radius: var(--radio); background: var(--noche); color: #fff; box-shadow: 0 30px 60px rgba(10, 19, 40, .25); }
.nivel h3 { margin: 14px 0 16px; font-size: 32px; color: var(--oro); }
.nivel dl { margin: 0; display: grid; gap: 14px; }
.nivel dt { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9fb0d0; }
.nivel dd { margin: 2px 0 0; font-size: 19px; }
.nivel-nota { margin: 20px 0 0; font-size: 15px; color: #c3cde3; }
.medidor { display: flex; gap: 6px; }
.medidor i { flex: 1; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .14); transition: background .3s; }
.medidor i.lleno { background: var(--oro); }
@media (max-width: 900px) { .influencia { grid-template-columns: 1fr; } }

/* Ejemplos y la idea del visitante */
.usos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.uso { padding: 26px; border-radius: var(--radio); border: 1px solid var(--borde); border-top: 5px solid #c9d2e2; }
.uso-vivo { border-top-color: var(--oro); }
.uso h3 { margin: 10px 0 8px; font-size: 21px; line-height: 1.2; }
.uso p { margin: 0; color: var(--gris); font-size: 17px; }
.estado { font-size: 14px; font-weight: 700; color: var(--gris); }
.uso-vivo .estado { color: var(--oro-hondo); }
@media (max-width: 900px) { .usos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .usos { grid-template-columns: 1fr; } }
.su-idea { margin-top: 64px; padding: 44px; border-radius: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; color: #fff; background: radial-gradient(circle at 100% 0, rgba(242, 194, 48, .25), transparent 45%), var(--roca); }
.su-idea .bajada-seccion { color: #c3cde3; margin-bottom: 0; }
.su-idea-campos { display: grid; gap: 12px; }
.su-idea label { font-weight: 700; }
.su-idea textarea { width: 100%; padding: 14px 16px; border-radius: 16px; border: 2px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; font: 18px var(--cuerpo); resize: vertical; }
.su-idea textarea::placeholder { color: #9fb0d0; }
.su-idea .boton { justify-self: start; }
.nota-envio { margin: 0; font-size: 15px; color: #c3cde3; }
@media (max-width: 900px) { .su-idea { grid-template-columns: 1fr; padding: 28px; } }

/* Cómo empezar: cinco pasos unidos por una línea de oro */
.ruta { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.ruta::before { content: ""; position: absolute; top: 24px; left: 26px; right: calc((100% - 72px) / 5 - 26px); height: 4px; border-radius: 2px; background: linear-gradient(90deg, #f2c230, #b88a00); }
.ruta li { position: relative; display: grid; gap: 8px; align-content: start; }
.ruta b { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--noche); color: var(--oro); font: 800 20px var(--display); box-shadow: 0 0 0 6px var(--hielo); }
.ruta h3 { font-size: 21px; margin-top: 6px; }
.ruta p { margin: 0; color: var(--gris); font-size: 17px; }
.ruta-destacado { padding: 0 0 4px; }
.ruta-destacado b { background: var(--oro); color: var(--noche); }
@media (max-width: 900px) {
  .ruta { grid-template-columns: 1fr; gap: 22px; padding-left: 0; }
  .ruta::before { top: 26px; bottom: 26px; left: 24px; right: auto; width: 4px; height: auto; background: linear-gradient(#f2c230, #b88a00); }
  .ruta li { grid-template-columns: 52px 1fr; column-gap: 16px; }
  .ruta b { grid-row: span 2; }
  .ruta h3 { margin-top: 12px; }
}

/* Fundamentos */
.fundamentos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fundamentos details { background: var(--hielo); border-radius: 16px; padding: 4px 20px; }
.fundamentos summary { cursor: pointer; padding: 16px 0; display: grid; gap: 2px; list-style: none; }
.fundamentos summary::-webkit-details-marker { display: none; }
.fundamentos summary strong { font-family: var(--display); font-size: 19px; }
.fundamentos summary strong::after { content: " +"; color: #b88a00; }
.fundamentos details[open] summary strong::after { content: " −"; }
.fundamentos summary span { font-size: 15px; color: var(--gris); }
.fundamentos p { margin: 0 0 16px; color: var(--gris); }
@media (max-width: 900px) { .fundamentos { grid-template-columns: 1fr; } }

/* Pie */
.pie { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 30px max(20px, 5vw); background: var(--noche); color: #c3cde3; font-size: 15px; }
.pie p { margin: 0; max-width: 60em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .veta-brillo { display: none; }
  h1 .linea, .f-gris, .f-ida, .f-vuelta { animation: none; }
  .estrellas-fila i { animation: none; background: var(--oro); }
  .boton, .medidor i { transition: none; }
}

/* Concepto de la portada: la Veta de Valor, en el oro de la marca. */
.veta-valor { color: var(--oro); font-weight: 700; }

/* Entrada del participante: botón en la barra y página Participar */
.boton-participar { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px var(--oro); }
@media (max-width: 820px) { .barra nav { gap: 10px; } }
.invitado { margin: 22px 0 0; color: #cdd6e9; font-size: 16px; }
.invitado a { color: var(--oro); font-weight: 700; }
.portada-participar { padding: 80px 0 96px; }
.participar-zona { position: relative; max-width: 760px; }
.h1-participar { font-size: clamp(40px, 5.6vw, 72px); }
.codigo { margin-top: 8px; display: grid; gap: 10px; }
.codigo label { font-weight: 700; color: #fff; }
.codigo-fila { display: flex; gap: 12px; flex-wrap: wrap; }
.codigo input { flex: 1 1 220px; min-height: 60px; padding: 10px 18px; border-radius: 16px; border: 2px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; font: 800 26px var(--display); letter-spacing: .14em; text-transform: uppercase; }
.codigo input::placeholder { color: #8e9cbb; letter-spacing: .04em; font-weight: 400; text-transform: none; }
.codigo input[aria-invalid="true"] { border-color: #ff9d8a; }
.codigo .boton { min-height: 60px; padding: 10px 32px; font-size: 19px; }
.codigo-ayuda { margin: 0; color: #c3cde3; font-size: 15px; }
.codigo-error { margin: 0; min-height: 1.4em; color: #ffb4a8; font-weight: 700; font-size: 16px; }
.atajo { position: relative; margin: 18px 0 0; color: #c3cde3; font-size: 15px; }
.buscador { width: 100%; max-width: 640px; min-height: 56px; padding: 10px 18px; border-radius: 16px; border: 2px solid var(--borde); font: 18px var(--cuerpo); }
.resultado-conteo { color: var(--gris); font-size: 15px; margin: 12px 0 18px; }
.dialogos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dialogo { padding: 24px; border-radius: var(--radio); border: 1px solid var(--borde); display: grid; gap: 8px; align-content: start; }
.dialogo h3 { font-size: 21px; }
.dialogo p { margin: 0; color: var(--gris); }
.dialogo .dialogo-meta { font-size: 14px; font-weight: 700; color: var(--oro-hondo); }
.dialogo .boton { justify-self: start; margin-top: 6px; }
.nota-privacidad { margin: 28px 0 0; padding: 14px 18px; border-radius: 14px; background: var(--hielo); color: var(--gris); font-size: 15px; }
@media (max-width: 900px) { .dialogos { grid-template-columns: 1fr; } }

.tipos { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: -12px 0 26px; }
.tipo { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 4px; }
.tipo strong { font-family: var(--display); font-size: 19px; color: var(--oro); }
.tipo span { color: #cdd6e9; font-size: 16px; }
.bajada-codigo { margin-top: 0; }
@media (max-width: 600px) { .tipos { grid-template-columns: 1fr; } }
/* Ficha de un diálogo abierto */
.ficha { max-width: 760px; }
.ficha dl { margin: 26px 0; display: grid; gap: 14px; }
.ficha dt { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--oro); }
.ficha dd { margin: 2px 0 0; font-size: 19px; color: #e3e9f5; }
.aviso-demo { margin: 16px 0 0; color: #c3cde3; font-size: 15px; }

.compartir { margin-top: 30px; padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.compartir-titulo { margin: 0 0 6px; font: 700 19px var(--display); color: #fff; }
.compartir-enlace { margin: 0 0 14px; color: #c3cde3; font-size: 16px; word-break: break-all; }
.compartir-enlace strong { color: var(--oro-claro); }
.compartir-botones { display: flex; flex-wrap: wrap; gap: 12px; }
.boton-whatsapp { background: #25d366; color: #06301a; }
.boton-whatsapp:hover { box-shadow: 0 10px 30px rgba(37, 211, 102, .35); }
