/* Dueño de Curramba · landing */
html { scroll-behavior: smooth; }
body.landing { overflow-x: hidden; }
.l-nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; background: rgba(11,26,43,.72); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); }
.l-nav .marca { font-weight: 900; color: #fff; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.l-nav-der { display: flex; align-items: center; gap: 12px; }
.l-nav-der > a:not(.btn):not(.chip-cuenta) { color: #e2e8f0; text-decoration: none; font-weight: 800; font-size: .9rem; }
.l-nav-der > a:not(.btn):not(.chip-cuenta):hover { color: #fde68a; }
@media (max-width: 820px) { .l-nav-der > a:not(.btn):not(.chip-cuenta) { display: none; } .l-marca { display: none; } }

/* HERO */
.hero { --mx: 0; --my: 0; position: relative; min-height: calc(100vh - 60px); display: grid; place-items: center; padding: 30px 16px 60px; overflow: hidden; text-align: center; }
.hero-sol { position: absolute; left: 50%; top: 42%; width: 900px; height: 900px; margin: -450px 0 0 -450px; border-radius: 50%; background: radial-gradient(circle, rgba(253,230,138,.45), rgba(249,115,22,.18) 35%, transparent 65%); }
.hero-rayos { position: absolute; left: 50%; top: 42%; width: 1600px; height: 1600px; margin: -800px 0 0 -800px; background: repeating-conic-gradient(rgba(253,230,138,.07) 0 6deg, transparent 6deg 18deg); animation: rayosGiran 60s linear infinite; }
.hero-contenido { position: relative; z-index: 3; max-width: 760px; }
.hero-logo { perspective: 900px; margin: 0 auto 12px; max-width: 520px; }
.hero-logo img { width: 100%; border-radius: 22px; display: block; box-shadow: 0 14px 0 rgba(0,0,0,.35), 0 40px 80px rgba(0,0,0,.55); transform: rotateX(calc(var(--my) * -14deg)) rotateY(calc(var(--mx) * 18deg)); transition: transform .2s ease-out; animation: logoEntra 1s cubic-bezier(.2,1.3,.4,1) both; }
@keyframes logoEntra { from { opacity: 0; transform: translateY(-60px) scale(.7) rotateX(40deg); } }
.hero-titulo { margin: 8px 0 6px; font-family: 'Lilita One', sans-serif; font-weight: 400; font-size: clamp(2rem, 7vw, 3.6rem); line-height: 1; text-shadow: 0 4px 0 rgba(0,0,0,.35); animation: aparecer .7s .3s both; }
.hero-titulo span { background: linear-gradient(90deg, #fde68a, #f97316, #ef4444); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(1rem, 3.2vw, 1.2rem); color: #e2e8f0; max-width: 620px; margin: 0 auto 18px; animation: aparecer .7s .45s both; }
.hero-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; animation: aparecer .7s .6s both; }
.hero-cifras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 640px; margin: 24px auto 0; animation: aparecer .7s .8s both; }
.hero-cifras > div { padding: 10px 6px; border-radius: 14px; background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.1); }
.hero-cifras b { display: block; font-family: 'Lilita One', sans-serif; font-weight: 400; font-size: 1.6rem; color: #fde68a; } .hero-cifras small { color: var(--suave); font-weight: 700; font-size: .75rem; }
@media (max-width: 560px) { .hero-cifras { grid-template-columns: repeat(2, 1fr); } }
.hero-flotantes { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.flot { position: absolute; width: clamp(70px, 11vw, 130px); aspect-ratio: 1; font-size: 3rem; display: grid; place-items: center; transform: translate(calc(var(--mx) * var(--p, 40px)), calc(var(--my) * var(--p, 40px))); transition: transform .3s ease-out; opacity: .9; }
.flot img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 8px rgba(0,0,0,.45)); animation: heroeFlota 4s ease-in-out infinite; animation-delay: calc(var(--i) * -.6s); }
.f0 { left: 3%; top: 12%; --p: 60px; } .f1 { left: 10%; top: 58%; --p: -50px; } .f2 { left: 1%; top: 80%; --p: 30px; } .f3 { right: 3%; top: 14%; --p: -60px; } .f4 { right: 10%; top: 55%; --p: 45px; }
.f5 { right: 2%; top: 80%; --p: -35px; } .f6 { left: 20%; top: 4%; --p: 25px; } .f7 { right: 20%; top: 3%; --p: -25px; } .f8 { left: 22%; bottom: 3%; --p: 40px; } .f9 { right: 22%; bottom: 2%; --p: -40px; }
@media (max-width: 760px) { .f6, .f7, .f8, .f9, .f1, .f4 { display: none; } .flot { opacity: .55; } }
.hero-bajar { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 4; color: #fde68a; text-decoration: none; font-size: 1.4rem; animation: bocina .8s ease-in-out infinite alternate; }

/* secciones */
.l-sec { max-width: 1080px; margin: 0 auto; padding: 70px 16px 20px; scroll-margin-top: 60px; }
.l-cab { text-align: center; margin-bottom: 22px; }
.l-cab small { letter-spacing: .3em; font-weight: 900; color: #f97316; font-size: .75rem; }
.l-cab h2 { margin: 4px 0 6px; font-family: 'Lilita One', sans-serif; font-weight: 400; font-size: clamp(1.9rem, 6vw, 2.8rem); line-height: 1.05; }
.l-cab p { margin: 0 auto; color: var(--suave); max-width: 560px; }
.revelar { opacity: 0; transform: translateY(40px) scale(.97); transition: opacity .7s ease, transform .7s cubic-bezier(.2,1,.3,1); transition-delay: calc(var(--i, 0) * 90ms); }
.revelar.visto { opacity: 1; transform: none; }

/* demo de dados */
.demo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; max-width: 900px; margin: 0 auto; }
@media (max-width: 720px) { .demo { grid-template-columns: 1fr; } }
.demo-mesa { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 30px 16px; border-radius: 24px; background: radial-gradient(circle at 50% 30%, #3b4d2e, #1a2614); box-shadow: inset 0 0 0 4px #d9c58a, 0 8px 0 #6b5220, 0 30px 60px rgba(0,0,0,.5); }
.demo-mesa .dados { --ds: clamp(56px, 16vw, 84px); }
.demo-mesa .total-dados { color: #fde68a; font-size: 2.2rem; }
.demo-carta { perspective: 1000px; min-height: 380px; }
.dc-in { position: relative; width: 100%; max-width: 380px; margin: 0 auto; }
.dc-in.girando { animation: carta3dEntra .8s cubic-bezier(.2,1.15,.35,1) both; }
.dc-frente { --g: #999; border-radius: 20px; overflow: hidden; background: #f8f1df; color: #1f2937; border: 6px solid #fbf5e4; outline: 2px solid #c9a24a; outline-offset: -10px; box-shadow: 0 3px 0 #d8c48f, 0 6px 0 #a88c49, 0 30px 60px rgba(0,0,0,.6); }
.dc-frente.vacio { min-height: 340px; display: grid; place-items: center; text-align: center; background: repeating-linear-gradient(45deg, #f3ecd8 0 14px, #ece4cc 14px 28px); color: #9a3412; font-weight: 900; }
.dc-frente.vacio span { font-size: 4rem; }
.dc-banda { background: linear-gradient(180deg, color-mix(in srgb, var(--g) 80%, #fff), var(--g)); color: #fff; text-align: center; font-weight: 900; letter-spacing: .2em; font-size: .72rem; padding: 8px; text-transform: uppercase; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.dc-foto { width: 100%; aspect-ratio: 16/7; object-fit: cover; display: block; }
.sin-foto { display: grid; place-items: center; font-size: 4rem; background: #e7dcc0; }
.dc-foto.sin-foto { aspect-ratio: 16/7; }
.dc-frente h3 { margin: 10px 14px 2px; font-family: 'Lilita One', sans-serif; font-weight: 400; font-size: 1.6rem; }
.dc-lema { margin: 0 14px; font-style: italic; color: #6b7280; }
.dc-precio { display: flex; gap: 8px; margin: 10px 14px 14px; } .dc-precio span { flex: 1; text-align: center; padding: 8px; border-radius: 10px; background: #efe4c6; font-size: .85rem; } .dc-precio b { display: block; font-size: 1.2rem; color: #b45309; }
.dc-pasa { margin: 10px 14px 16px; padding: 10px; border-radius: 10px; background: #fde68a; font-weight: 900; text-align: center; }

/* barrios */
.grupos-chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-bottom: 16px; }
.chip-g { --g: #999; padding: 7px 12px; border-radius: 999px; border: 0; font: inherit; font-weight: 800; font-size: .82rem; color: #fff; cursor: pointer; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 2px var(--g); transition: transform .12s; }
.chip-g.activa { background: var(--g); box-shadow: 0 4px 0 rgba(0,0,0,.35); transform: translateY(-2px); text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.barrios-lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; perspective: 1200px; }
.carta-b { --g: #999; position: relative; aspect-ratio: 3/4; border: 0; padding: 0; background: none; cursor: pointer; font: inherit; color: inherit; animation: cartaPjEntra .5s calc(var(--k) * 40ms) cubic-bezier(.2,1.4,.4,1) both; }
.cb-in { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2,1.2,.35,1); }
.carta-b:hover .cb-in { transform: rotateY(-8deg) rotateX(4deg) translateY(-4px); }
.carta-b.volteada .cb-in { transform: rotateY(180deg); }
.cb-f, .cb-b { position: absolute; inset: 0; border-radius: 16px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 5px 0 rgba(0,0,0,.4), 0 16px 30px rgba(0,0,0,.4); }
.cb-f { background: #f8f1df; color: #1f2937; display: flex; flex-direction: column; border: 4px solid #fbf5e4; }
.cb-foto { width: 100%; flex: 1; object-fit: cover; min-height: 0; } .cb-foto.sin-foto { font-size: 3.4rem; }
.cb-banda { height: 12px; background: var(--g); }
.cb-f b { padding: 8px 8px 0; font-size: .92rem; line-height: 1.1; } .cb-f > span { padding: 2px 8px 10px; font-weight: 900; color: #b45309; }
.cb-b { transform: rotateY(180deg); background: linear-gradient(160deg, color-mix(in srgb, var(--g) 70%, #111827), #111827); color: #fff; padding: 14px; display: flex; flex-direction: column; gap: 6px; text-align: left; border: 4px solid color-mix(in srgb, var(--g) 70%, #fff); }
.cb-b small { letter-spacing: .15em; font-weight: 900; font-size: .65rem; text-transform: uppercase; opacity: .85; } .cb-b > b { font-family: 'Lilita One', sans-serif; font-weight: 400; font-size: 1.3rem; }
.cb-b p { margin: 0; font-style: italic; font-size: .85rem; flex: 1; } .cb-b div { display: grid; gap: 4px; } .cb-b div span { padding: 6px 8px; border-radius: 8px; background: rgba(0,0,0,.3); font-size: .8rem; } .cb-b div b { color: #fde68a; }

/* pasos */
.pasos { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.paso { position: relative; padding: 22px 16px 16px; border-radius: 20px; background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 6px 0 rgba(0,0,0,.3); }
.paso-n { position: absolute; top: -14px; left: 16px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; background: linear-gradient(180deg, #fbbf24, #f97316); box-shadow: 0 3px 0 #9a3412; }
.paso-e { font-size: 2.4rem; } .paso h3 { margin: 6px 0 4px; } .paso p { margin: 0; color: var(--suave); font-size: .92rem; }

/* lo único */
.unicos { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.unico { padding: 20px; border-radius: 22px; box-shadow: 0 6px 0 rgba(0,0,0,.35), 0 20px 40px rgba(0,0,0,.3); transition: transform .2s; }
.unico:hover { transform: translateY(-4px) rotate(-.5deg); }
.unico > span { font-size: 2.6rem; } .unico h3 { margin: 6px 0 4px; font-size: 1.15rem; } .unico p { margin: 0; font-size: .92rem; opacity: .9; }
.u-voz { background: linear-gradient(135deg, #7c2d12, #f97316); } .u-cartas { background: linear-gradient(135deg, #065f46, #10b981); } .u-maq { background: linear-gradient(135deg, #0e7490, #6366f1); }
.u-3d { background: linear-gradient(135deg, #4c1d95, #db2777); } .u-disp { background: linear-gradient(135deg, #1e3a8a, #0ea5e9); } .u-log { background: linear-gradient(135deg, #854d0e, #eab308); }
.mini-carta { width: 70px; height: 96px; perspective: 500px; }
.mc-in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.2,1.2,.35,1); } .mc-in.vuelta { transform: rotateY(180deg); }
.mc-f, .mc-b { position: absolute; inset: 0; border-radius: 10px; border: 3px solid #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 1.8rem; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 6px 12px rgba(0,0,0,.4); }
.mc-f b, .mc-b b { font-size: .5rem; text-align: center; line-height: 1.1; padding: 0 3px; } .mc-f { background: #047857; } .mc-b { background: #b45309; transform: rotateY(180deg); }

/* top */
.top-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; }
@media (max-width: 760px) { .top-grid { grid-template-columns: 1fr; } }
.top-lista, .logros-muestra { padding: 14px; }
.top-fila { display: grid; grid-template-columns: 32px 48px 1fr auto; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; color: #fff; text-decoration: none; }
.top-fila:hover { background: rgba(255,255,255,.07); }
.top-pos { font-size: 1.4rem; text-align: center; font-weight: 900; color: var(--suave); }
.top-av { width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 40% 30%, #fff5, #7c3aed 75%); display: grid; place-items: center; overflow: visible; font-size: 1.6rem; } .top-av img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.25) translateY(-6%); }
.top-fila small { display: block; color: var(--suave); font-size: .75rem; font-weight: 700; } .top-fila em { font-style: normal; font-weight: 900; color: #fde68a; font-size: .85rem; }
.top-vacio { text-align: center; padding: 20px; } .top-vacio span { font-size: 3rem; }
.logros-muestra h3 { margin: 0 0 10px; }
.lm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.lm { --r: #cd7f32; text-align: center; padding: 8px 4px; border-radius: 12px; background: linear-gradient(180deg, color-mix(in srgb, var(--r) 30%, #1f2937), #111827); box-shadow: inset 0 0 0 2px var(--r); }
.lm img, .lm .emo-f { width: 48px; height: 48px; object-fit: contain; font-size: 1.9rem; display: inline-grid; place-items: center; } .lm small { display: block; font-size: .62rem; font-weight: 800; line-height: 1.15; }

/* final */
.l-final { max-width: 900px; margin: 60px auto 30px; padding: 40px 20px; text-align: center; border-radius: 28px; background: radial-gradient(circle at 50% 0%, rgba(253,230,138,.35), transparent 60%), linear-gradient(135deg, #b45309, #db2777 55%, #7c3aed); box-shadow: 0 10px 0 rgba(0,0,0,.35), 0 40px 80px rgba(0,0,0,.5); }
.l-final h2 { margin: 0 0 8px; font-family: 'Lilita One', sans-serif; font-weight: 400; font-size: clamp(1.9rem, 6vw, 2.8rem); line-height: 1.05; }
.l-final p { margin: 0 0 18px; font-weight: 700; }
@media (max-width: 560px) {
  .barrios-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cb-f b { font-size: .8rem; } .cb-b { padding: 10px; } .cb-b > b { font-size: 1.05rem; } .cb-b p { font-size: .75rem; } .cb-b div span { font-size: .7rem; }
  .unicos, .pasos { grid-template-columns: 1fr; }
  .lm-grid { grid-template-columns: repeat(3, 1fr); }
}
