/* TopoTech — página del cotizador */
.cot-hero h1 { max-width: 20ch; }
.cot { padding-top: clamp(2.5rem, 5vw, 4rem); }
.cot__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 980px) { .cot__grid { grid-template-columns: 1fr; } }

.cot__step { border: 0; padding: 0; margin: 0 0 2.5rem; min-width: 0; display: grid; gap: 1.25rem; }
.cot__step[hidden] { display: none; }
.cot__step legend { display: flex; align-items: center; gap: .75rem; padding: 0; margin-bottom: 1.1rem; font-size: var(--t-lg); font-weight: 800; font-stretch: 106%; letter-spacing: -.02em; color: var(--navy-900); }
.cot__n { width: 2rem; height: 2rem; border-radius: 50%; display: inline-grid; place-items: center; background: var(--navy); color: var(--white); font-size: 1rem; font-weight: 800; flex: none; }
[data-for][hidden] { display: none !important; }

/* Servicios */
.cot__svcs { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .75rem; }
.svc { position: relative; display: grid; grid-template-columns: auto 1fr; gap: .15rem .75rem; align-items: start; padding: 1rem 1.05rem; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--white); cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; }
.svc:hover { border-color: rgba(0, 68, 102, .4); }
.svc input { position: absolute; opacity: 0; pointer-events: none; }
.svc i { grid-row: span 2; width: 2.4rem; height: 2.4rem; border-radius: 10px; display: grid; place-items: center; background: var(--paper); color: var(--navy); font-size: 1.05rem; transition: background .15s, color .15s; }
.svc strong { color: var(--navy-900); font-size: 1rem; line-height: 1.25; }
.svc small { color: var(--muted); font-size: .86rem; line-height: 1.35; }
.svc:has(input:checked) { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: #f7fafb; }
.svc:has(input:checked) i { background: var(--amber); color: var(--navy-900); }
.svc:has(input:focus-visible) { outline: 3px solid var(--amber); outline-offset: 2px; }

/* Superficie + unidad */
.cot__area { display: flex; gap: .6rem; }
.cot__area input { font-family: var(--f-mono); font-size: 1.15rem; max-width: 220px; }
.cot__hint { color: var(--muted); font-size: .85rem; min-height: 1.2em; }

/* Selector segmentado */
.seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--paper); gap: 4px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: grid; place-items: center; min-height: 42px; padding: .45rem 1rem; border-radius: 9px; font-weight: 650; font-size: .95rem; color: var(--muted); text-align: center; line-height: 1.2; transition: background .15s, color .15s; }
.seg input:checked + span { background: var(--white); color: var(--navy-900); box-shadow: 0 1px 3px rgba(3, 37, 54, .14); }
.seg input:focus-visible + span { outline: 3px solid var(--amber); }
.seg--wide { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: 100%; }
@media (max-width: 560px) { .seg--wide { grid-auto-flow: row; } }
.cot__check { display: flex; gap: .6rem; align-items: center; font-weight: 600; color: var(--navy-900); cursor: pointer; }
.cot__check input { width: 1.2rem; height: 1.2rem; accent-color: var(--navy); }

/* Panel del resultado: lectura de instrumento */
.cot__panel { position: sticky; top: calc(var(--head-h) + 1.25rem); }
@media (max-width: 980px) { .cot__panel { position: static; } }
.quote-card, .quote-form { border-radius: 18px; background: var(--navy-900); color: var(--white); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: 0 24px 60px rgba(3, 37, 54, .22); }
.quote-card__label { font-size: .9rem; font-weight: 650; color: var(--amber); }
.quote-card__range { margin-top: .35rem; font-family: var(--f-mono); font-weight: 500; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.3rem); line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.quote-card__range small { display: block; font-size: .5em; color: rgba(255, 255, 255, .55); letter-spacing: 0; margin: .15rem 0; }
.quote-card__usd { margin-top: .4rem; font-size: .9rem; color: rgba(255, 255, 255, .6); }
.quote-card__inc { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line-dark); }
.quote-card__inc > p { font-size: .85rem; font-weight: 650; color: rgba(255, 255, 255, .6); margin-bottom: .55rem; }
.quote-card__inc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.quote-card__inc li { display: flex; justify-content: space-between; gap: 1rem; font-size: .93rem; line-height: 1.35; }
.quote-card__inc li span:last-child { color: rgba(255, 255, 255, .6); font-family: var(--f-mono); font-size: .85rem; white-space: nowrap; }
.quote-card__note { margin-top: 1.2rem; font-size: .82rem; color: rgba(255, 255, 255, .55); line-height: 1.5; }
.quote-card__acts { display: grid; gap: .6rem; margin-top: 1.4rem; }
.quote-card .btn--outline { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.quote-card .btn--outline:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); }
.quote-card.is-bump .quote-card__range { animation: bump .35s var(--ease); }
@keyframes bump { from { opacity: .35; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.quote-form { display: grid; gap: 1rem; }
.quote-form h2 { font-size: var(--t-md); font-weight: 800; color: var(--white); }
.quote-form__sum { font-size: .9rem; color: rgba(255, 255, 255, .7); line-height: 1.5; }
.quote-form .field > span { color: rgba(255, 255, 255, .85); }
.quote-form .field input, .quote-form .field textarea { background: rgba(255, 255, 255, .08); color: var(--white); border-color: transparent; }
.quote-form .field input:focus, .quote-form .field textarea:focus { background: rgba(255, 255, 255, .12); border-color: var(--amber); }
.quote-form .btn--navy { background: var(--amber); color: var(--navy-900); }
.quote-form .btn--navy:hover { background: #ffbb33; }
.quote-form__back { background: none; border: 0; color: rgba(255, 255, 255, .7); text-decoration: underline; cursor: pointer; font: inherit; font-size: .9rem; }
.quote-form .form-status.is-ok { color: #7be0b3; }
.quote-form .form-status.is-error { color: #ffb4a8; }
@media (max-width: 560px) { .quote-form .field-row { grid-template-columns: 1fr; } }

.cot-faq { background: var(--white); }
.cot-faq__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); }
.cot-faq__list { display: grid; gap: 1.5rem; margin: 0; }
.cot-faq__list dt { font-weight: 750; color: var(--navy-900); }
.cot-faq__list dd { margin: .3rem 0 0; color: var(--muted); }
@media (max-width: 860px) { .cot-faq__grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .quote-card.is-bump .quote-card__range { animation: none; } }

/* Contraste de campos sobre el fondo gris de la sección */
.cot .cot__form .field input, .cot .cot__form .field select { background: var(--white); border-color: var(--line); }
.cot .cot__form .field input:focus, .cot .cot__form .field select:focus { border-color: var(--navy); }
.cot .seg { background: #e3eaea; }
.quote-card__inc li { flex-wrap: wrap; }
.quote-card__inc li span:first-child { flex: 1 1 55%; }

/* Celular: barra fija con el valor, lleva al detalle */
.cot-bar { display: none; }
@media (max-width: 980px) {
    .cot-bar { position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; border-radius: 14px; background: var(--navy-900); color: var(--white); box-shadow: 0 12px 30px rgba(3, 37, 54, .35); text-decoration: none; transition: transform .25s var(--ease), opacity .25s; }
    .cot-bar strong { font-family: var(--f-mono); font-weight: 500; font-size: 1rem; }
    .cot-bar small { display: block; font-size: .75rem; color: var(--amber); font-weight: 650; }
    .cot-bar span:last-child { font-weight: 700; font-size: .9rem; white-space: nowrap; }
    .cot-bar.is-off { transform: translateY(150%); opacity: 0; pointer-events: none; }
    body:has(.cot-bar) .wa-float { bottom: 5.5rem; }
}
