.andamios-wrap.v5 { display:flex; gap:30px; align-items:flex-start; }
.form-left { flex: 0 0 70%; }
.form-right { flex: 0 0 30%; }
.card { background:#fff; padding:20px; border-radius:12px; box-shadow:0 8px 28px rgba(0,0,0,0.06); }
.fields-grid { display:grid; grid-template-columns: 1fr 1fr; gap:12px; }
.fields-grid p { margin:0; }
.required-star { color:#d33; font-weight:800; margin-right:6px; }
.options-grid { display:flex; gap:8px; flex-wrap:wrap; }
.option-card, .option-radio { padding:10px 14px; border-radius:10px; border:1px solid #e6eef3; cursor:pointer; display:flex; align-items:center; }
.option-card input, .option-radio input { display:none; }
.option-card span, .option-radio span { font-weight:600; color:#0b2540; }
.option-card.selected, .option-radio.selected { background:#146670; color:#fff; border-color:#0f4d52; box-shadow:0 10px 24px rgba(20,102,112,0.12); }
.option-card.selected span, .option-radio.selected span { color:#fff; }
.summary { font-family: Arial, Helvetica, sans-serif; font-size:14px; color:#123; }
.summary .res-row { display:flex; justify-content:space-between; padding:6px 0; align-items:center; }
.summary .res-row span, .summary .res-row strong { font-size:14px; font-weight:400; }
.summary .res-row.total span, .summary .res-row.total strong { font-weight:700; font-size:16px; }
.summary .res-row.grand-total span, .summary .res-row.grand-total strong { font-weight:800; font-size:18px; color:#146670; }
#servicios_list .extra-item { margin-left:6px; color:#334; padding:2px 0; }
.submit-button { background:#146670; color:#fff; padding:14px 22px; border:none; border-radius:8px; font-weight:700; cursor:pointer; box-shadow:0 8px 20px rgba(20,102,112,0.12); }
.andamios-modal { position:fixed; left:0; top:0; right:0; bottom:0; background: rgba(0,0,0,0.45); display:flex; align-items:center; justify-content:center; z-index:9999; }
.andamios-modal-content { background:#fff; padding:28px; border-radius:12px; max-width:480px; text-align:center; box-shadow:0 10px 30px rgba(2,6,23,0.2); }
.andamios-wrap.v5 { flex-wrap:nowrap; }
@media(max-width:900px){ .andamios-wrap.v5 { flex-direction:column; } .fields-grid { grid-template-columns: 1fr; } }
/* --- Forzar dos columnas 70/30 --- */
.andamios-wrap.v5 {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    align-items: flex-start;
}

.andamios-wrap.v5 form {
    display: contents; /* permite que form-left y form-right se comporten como columnas */
}

.form-left {
    width: 70%;
}

.form-right {
    width: 30%;
}

@media (max-width: 900px) {
    .andamios-wrap.v5 {
        flex-wrap: wrap;
    }
    .form-left, .form-right {
        width: 100%;
    }
}

/* Fila del resumen en 3 columnas: título | dto | valor */
.summary .res-row {
    display: grid;
    grid-template-columns: 1fr 80px 100px; /* ajustable */
    gap: 10px;
    align-items: center;
}

/* Texto normal izquierda */
.summary .res-row span {
    font-weight: 400;
    color: #333;
}

/* Columna DTO */
.summary .res-row .dto {
    text-align: right;
    color: #d00; /* rojo */
    font-weight: 600;
    min-width: 50px;
}

/* Columna del precio */
.summary .res-row strong {
    text-align: right;
    font-weight: 700;
}
