/* Web pública de EasyTurno: mismo lenguaje visual que EasyContable (TRM Software). */
:root {
    --acento: #38bdf8;
    --acento-2: #2dd4a7;
    --texto: #e8eef7;
    --tenue: #93a4bb;
    --borde: rgba(148, 176, 214, .18);
    --panel: rgba(17, 32, 56, .72);
    --fondo: #091020;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; background: #091020; }
body {
    margin: 0;
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
    color: var(--texto);
    background:
        radial-gradient(1100px 620px at 70% -10%, #122a46 0%, transparent 62%),
        linear-gradient(170deg, #091020 0%, #0d1b30 55%, #0a1526 100%) fixed;
    background-color: #091020;
    line-height: 1.6;
}
a { color: var(--acento); }
.degradado { background: linear-gradient(100deg, var(--acento), var(--acento-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.cabecera { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); background: rgba(9, 16, 32, .72); border-bottom: 1px solid var(--borde); }
.cabecera .contenedor { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1.25rem; }
.marca { font-weight: 700; font-size: 1.05rem; color: var(--texto); text-decoration: none; display: inline-flex; gap: .45rem; align-items: center; }
.marca em { font-style: normal; }
.marca i { color: var(--acento); }
.navegacion { display: flex; gap: 1.4rem; font-size: .88rem; }
.navegacion a { color: var(--tenue); text-decoration: none; }
.navegacion a:hover { color: var(--texto); }
@media (max-width: 860px) { .navegacion { display: none; } }

.contenedor { max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.estrecho { max-width: 520px; margin: 0 auto; padding: 3.5rem 1.25rem; }

.tarjeta { background: var(--panel); border: 1px solid var(--borde); border-radius: 14px; padding: 1.9rem; backdrop-filter: blur(14px); box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .9); }
.tarjeta h2 { font-size: 1rem; font-weight: 600; margin: 0 0 1.4rem; }
.form-label { font-size: .82rem; color: var(--tenue); margin-bottom: .35rem; }
.form-control { background-color: rgba(8, 17, 32, .85); border: 1px solid var(--borde); color: var(--texto); padding: .6rem .8rem; }
.form-control:focus { background-color: rgba(8, 17, 32, .95); color: var(--texto); border-color: var(--acento); box-shadow: 0 0 0 .18rem rgba(56, 189, 248, .18); }
.form-control::placeholder { color: #55678a; }
.form-text { color: #6f82a0; font-size: .78rem; }
.form-check-input { background-color: rgba(8,17,32,.85); border-color: var(--borde); }
.form-check-input:checked { background-color: var(--acento); border-color: var(--acento); }
.form-check-label { font-size: .85rem; color: var(--tenue); }
.boton { display: inline-block; width: 100%; border: 0; border-radius: 8px; padding: .68rem; font-weight: 600; color: #04121f; text-align: center; text-decoration: none; background: linear-gradient(100deg, var(--acento), var(--acento-2)); transition: filter .15s ease; }
.boton:hover { filter: brightness(1.08); color: #04121f; }
.boton:disabled { filter: grayscale(.4); opacity: .7; }
.boton-secundario { display: inline-block; border: 1px solid var(--borde); border-radius: 8px; padding: .55rem 1rem; color: var(--texto); text-decoration: none; font-weight: 500; font-size: .9rem; background: transparent; }
.boton-secundario:hover { border-color: var(--acento); color: var(--texto); }
.aviso { border-radius: 8px; padding: .6rem .8rem; font-size: .86rem; margin-bottom: 1.1rem; background: rgba(190, 40, 60, .16); border: 1px solid rgba(248, 113, 133, .35); color: #fecdd3; }
.aviso a { color: #fff; }
.aviso-ok { background: rgba(20, 150, 110, .16); border-color: rgba(45, 212, 167, .35); color: #b8f1dd; }
.enlaces { text-align: center; margin-top: 1.2rem; font-size: .84rem; }
.enlaces a { text-decoration: none; }
.enlaces a:hover { text-decoration: underline; }
.titular { font-size: 1.9rem; font-weight: 700; letter-spacing: -.03em; margin-bottom: .4rem; }
.entradilla-corta { color: var(--tenue); margin-bottom: 1.6rem; }
.trampa { position: absolute; left: -5000px; }

.portada { padding: 4.5rem 0 3.5rem; }
.portada h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.07; margin: 0 0 1.2rem; }
.portada .entradilla { color: var(--tenue); font-size: 1.08rem; max-width: 52ch; margin-bottom: 1.6rem; }
.claves { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .55rem; }
.claves li { display: flex; gap: .6rem; align-items: baseline; }
.claves i { color: var(--acento-2); }

/* Mini cuadrante decorativo de la portada */
.muestra { margin-top: 2.2rem; border: 1px solid var(--borde); border-radius: 12px; background: rgba(8, 17, 32, .55); padding: .9rem; font-size: .74rem; overflow: hidden; }
.muestra .fila { display: grid; grid-template-columns: 7.5rem repeat(7, 1fr); gap: .3rem; margin-bottom: .3rem; align-items: center; }
.muestra .nombre { color: var(--tenue); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.muestra .dia { color: #6f82a0; text-align: center; }
.muestra .t { border-radius: 6px; padding: .28rem 0; text-align: center; font-weight: 600; color: #04121f; }
.muestra .m { background: #7dd3fc; } .muestra .tt { background: #5eead4; } .muestra .n { background: #a5b4fc; } .muestra .l { background: transparent; border: 1px dashed var(--borde); color: #55678a; font-weight: 400; } .muestra .v { background: #fcd34d; }

.seccion { padding: 3.2rem 0; border-top: 1px solid var(--borde); }
.seccion > .contenedor > h2 { font-size: 1.65rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: .5rem; }
.seccion .intro { color: var(--tenue); max-width: 70ch; margin-bottom: 2rem; }
.modulo { height: 100%; background: rgba(17, 32, 56, .45); border: 1px solid var(--borde); border-radius: 12px; padding: 1.4rem 1.5rem; }
.modulo h3 { font-size: 1.05rem; font-weight: 600; margin: 0 0 .7rem; display: flex; gap: .55rem; align-items: center; }
.modulo h3 i { color: var(--acento); font-size: 1.15rem; }
.modulo p { color: var(--tenue); font-size: .93rem; margin-bottom: .6rem; }
.modulo ul { color: var(--tenue); font-size: .92rem; padding-left: 1.1rem; margin: 0; }
.modulo li { margin-bottom: .3rem; }
.modulo strong { color: var(--texto); font-weight: 500; }
.limite i { color: #fbbf24 !important; }

/* Precios */
.plan { height: 100%; display: flex; flex-direction: column; background: rgba(17, 32, 56, .45); border: 1px solid var(--borde); border-radius: 14px; padding: 1.6rem; }
.plan h3 { font-size: 1.05rem; font-weight: 600; margin: 0 0 .3rem; }
.plan .precio { font-size: 1.7rem; font-weight: 700; letter-spacing: -.02em; margin: .4rem 0 .2rem; }
.plan .precio small { font-size: .85rem; font-weight: 400; color: var(--tenue); }
.plan p { color: var(--tenue); font-size: .92rem; }
.plan ul { color: var(--tenue); font-size: .9rem; padding-left: 1.1rem; flex: 1; }
.plan-destacado { border-color: rgba(45, 212, 167, .55); background: linear-gradient(120deg, rgba(56, 189, 248, .09), rgba(45, 212, 167, .09)); }
.etiqueta-extra { display: inline-block; margin-bottom: .45rem; padding: .1rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--acento-2); border: 1px solid rgba(45, 212, 167, .45); align-self: flex-start; }

details.pregunta { border-bottom: 1px solid var(--borde); padding: 1rem 0; }
details.pregunta summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
details.pregunta summary::-webkit-details-marker { display: none; }
details.pregunta summary::after { content: '+'; color: var(--acento); font-size: 1.2rem; line-height: 1; }
details.pregunta[open] summary::after { content: '−'; }
details.pregunta p { color: var(--tenue); margin: .8rem 0 0; max-width: 75ch; }

.pie { border-top: 1px solid var(--borde); padding: 2rem 0; color: var(--tenue); font-size: .85rem; }
.pie a { color: var(--tenue); text-decoration: none; }
.pie a:hover { color: var(--texto); }
.pie .legales { display: flex; gap: 1.2rem; flex-wrap: wrap; }

.legal { max-width: 860px; }
.legal h1 { font-size: 2rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: .3rem; }
.legal .actualizado { color: var(--tenue); font-size: .85rem; margin-bottom: 2rem; }
.legal h2 { font-size: 1.2rem; font-weight: 600; margin: 2.2rem 0 .8rem; }
.legal p, .legal li { color: #c8d3e3; }
.legal li { margin-bottom: .35rem; }
.legal .recuadro { border: 1px solid var(--borde); border-left: 3px solid var(--acento); border-radius: 8px; padding: 1rem 1.2rem; background: rgba(17,32,56,.45); margin-bottom: 1.5rem; color: #c8d3e3; }
.legal table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; font-size: .92rem; }
.legal table th, .legal table td { border-bottom: 1px solid var(--borde); padding: .55rem .6rem; vertical-align: top; text-align: left; color: #c8d3e3; }
.legal table.datos th { width: 200px; color: var(--tenue); font-weight: 500; }
.legal .falta { color: #fda4af; background: rgba(190,40,60,.18); padding: 0 .3rem; border-radius: 4px; font-weight: 600; }
.legal .otros-textos { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid var(--borde); font-size: .9rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.form-select { --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2393a4bb' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
