/* =========================================================
   TORRE 10 ESMERALDA
   COTIZADOR INTERACTIVO — CSS OPTIMIZADO
   Reemplaza todos los bloques CSS anteriores por este archivo.
========================================================= */

/* =========================================================
   1. VARIABLES Y BASE
========================================================= */

.t10-cotizador {
  --t10-marfil: #f5f1ea;
  --t10-blanco: #ffffff;
  --t10-dorado: #c7a46a;
  --t10-dorado-oscuro: #a8844f;
  --t10-negro: #1c1c1c;
  --t10-texto: #000;
  --t10-borde: #ded5c7;
  --t10-verde: #78a66b;
  --t10-apartado: #d3a947;
  --t10-vendido: #be3037;
  --t10-vendido-oscuro: #a5282e;
  --t10-seleccionado: #242830;

  width: 100%;
  padding: 80px 24px 100px;
  overflow: visible;
  background: var(--t10-marfil);
  color: var(--t10-negro);
  font-family: Montserrat, Arial, sans-serif;
}

.t10-cotizador,
.t10-cotizador *,
.t10-cotizador *::before,
.t10-cotizador *::after {
  box-sizing: border-box;
}

.t10-cotizador button,
.t10-cotizador input,
.t10-cotizador textarea {
  font: inherit;
}

.t10-cotizador button {
  appearance: none;
}

.t10-cotizador__intro,
.t10-cotizador__layout {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
}

/* =========================================================
   2. ENCABEZADO
========================================================= */

.t10-cotizador__intro {
  margin-bottom: 34px;
}

.t10-cotizador .t10-eyebrow {
  display: block;
  margin-bottom: 16px;
  color: var(--t10-dorado-oscuro);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.t10-cotizador h2,
.t10-cotizador h3 {
  color: var(--t10-negro);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
}

.t10-cotizador h2 {
  margin: 0 0 20px;
  font-size: clamp(48px, 5vw, 68px);
  line-height: 1;
}

.t10-cotizador__intro p {
  width: 100%;
  max-width: 650px;
  margin: 0;
  color: var(--t10-texto);
  font-size: 16px;
  line-height: 1.75;
}

/* =========================================================
   3. DISTRIBUCIÓN PRINCIPAL
========================================================= */

.t10-cotizador__layout {
  display: grid;
  grid-template-columns: minmax(0, 730px) minmax(360px, 390px);
  justify-content: center;
  align-items: start;
  gap: 32px;
}

.t10-cotizador__main {
  width: 100%;
  min-width: 0;
}

/* =========================================================
   4. SELECTOR DE NIVELES
========================================================= */

.t10-level-tabs {
  display: grid;
  grid-template-columns: 1.28fr repeat(5, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin: 0 0 18px;
}

.t10-level-tab {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px 8px;
  overflow: hidden;
  border: 1px solid var(--t10-dorado);
  border-radius: 0;
  background: var(--t10-dorado);
  color: var(--t10-blanco);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.35px;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.t10-level-tab:first-child {
  padding-inline: 12px;
  font-size: 10px;
}

.t10-level-tab:not(.is-active):hover {
  border-color: var(--t10-dorado-oscuro);
  background: var(--t10-dorado-oscuro);
  color: var(--t10-blanco);
}

.t10-level-tab.is-active {
  border-color: var(--t10-negro);
  background: var(--t10-negro);
  color: var(--t10-blanco);
  box-shadow: 0 8px 20px rgba(28, 28, 28, 0.18);
}

.t10-level-tab.is-active:hover {
  border-color: #0b0f1a;
  background: #0b0f1a;
  color: var(--t10-blanco);
}

.t10-level-tab:focus-visible,
.t10-unit-hotspot:focus-visible,
.t10-scheme-card:focus-visible,
.t10-primary-button:focus-visible,
.t10-whatsapp-button:focus-visible,
.t10-modal__close:focus-visible {
  outline: 3px solid rgba(199, 164, 106, 0.45);
  outline-offset: 3px;
}

/* =========================================================
   5. TARJETA Y PLANO
========================================================= */

.t10-plan-card {
  width: 100%;
  padding: 28px 24px 22px;
  border: 1px solid var(--t10-borde);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 20px 55px rgba(28, 28, 28, 0.06);
}

/* Mantiene el tamaño natural de la imagen en escritorio. */
.t10-plan-stage {
  position: relative;
  display: table;
  width: auto;
  max-width: 100%;
  margin-inline: auto;
}

.t10-plan-image {
  display: block;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  margin-inline: auto;
  object-fit: contain;
  filter: saturate(0.86);
}

.t10-plan-hotspots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* =========================================================
   6. ÁREAS INTERACTIVAS
========================================================= */

.t10-unit-hotspot {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 0;
  color: var(--t10-blanco);
  text-align: center;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    opacity 0.25s ease,
    outline-color 0.25s ease;
}

.t10-unit-hotspot:hover {
  z-index: 5;
  opacity: 0.9;
}

.t10-unit-hotspot strong {
  display: block;
  color: var(--t10-blanco);
  font-size: clamp(15px, 1.45vw, 22px);
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.t10-unit-hotspot small {
  display: block;
  margin-top: 5px;
  color: var(--t10-blanco);
  font-size: 8px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.t10-unit-hotspot.is-disponible:not(.is-selected) {
  background: rgba(120, 166, 107, 0.43);
}

.t10-unit-hotspot.is-apartado:not(.is-selected) {
  background: rgba(211, 169, 71, 0.48);
}

.t10-unit-hotspot.is-vendido:not(.is-selected) {
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(190, 48, 55, 0.64);
}

.t10-unit-hotspot.is-vendido:not(.is-selected):hover {
  background: rgba(171, 37, 44, 0.76);
}

.t10-unit-hotspot.is-selected {
  z-index: 4;
  background: rgba(36, 40, 48, 0.78);
  outline: 2px solid var(--t10-dorado);
  outline-offset: -2px;
}

/* =========================================================
   7. COORDENADAS DE LOS HOTSPOTS
   Se conserva !important porque el plugin agrega estilos inline.
========================================================= */

/* Planta baja */
.t10-unit-hotspot[data-unit="003"] {
  left: 5% !important;
  top: 3% !important;
  width: 44.5% !important;
  height: 38% !important;
}

.t10-unit-hotspot[data-unit="004"] {
  left: 49.5% !important;
  top: 3% !important;
  width: 45.5% !important;
  height: 38% !important;
}

.t10-unit-hotspot[data-unit="001"] {
  left: 50% !important;
  top: 61% !important;
  width: 45% !important;
  height: 37% !important;
}

/* Niveles 1 a 4 */
.t10-unit-hotspot:is(
  [data-unit="103"],
  [data-unit="203"],
  [data-unit="303"],
  [data-unit="403"]
) {
  left: 4% !important;
  top: 3% !important;
  width: 45.5% !important;
  height: 38% !important;
}

.t10-unit-hotspot:is(
  [data-unit="104"],
  [data-unit="204"],
  [data-unit="304"],
  [data-unit="404"]
) {
  left: 49.5% !important;
  top: 3% !important;
  width: 45.5% !important;
  height: 38% !important;
}

.t10-unit-hotspot:is(
  [data-unit="102"],
  [data-unit="202"],
  [data-unit="302"],
  [data-unit="402"]
) {
  left: 4% !important;
  top: 61% !important;
  width: 45.5% !important;
  height: 37% !important;
}

.t10-unit-hotspot:is(
  [data-unit="101"],
  [data-unit="201"],
  [data-unit="301"],
  [data-unit="401"]
) {
  left: 50% !important;
  top: 61% !important;
  width: 45% !important;
  height: 37% !important;
}

/* Nivel 5 */
.t10-unit-hotspot[data-unit="503"] {
  left: 3% !important;
  top: 2% !important;
  width: 94% !important;
  height: 38% !important;
}

.t10-unit-hotspot[data-unit="502"] {
  left: 3% !important;
  top: 60% !important;
  width: 46.5% !important;
  height: 37% !important;
}

.t10-unit-hotspot[data-unit="501"] {
  left: 49% !important;
  top: 60% !important;
  width: 46% !important;
  height: 37% !important;
}

/* =========================================================
   8. LEYENDA
========================================================= */

.t10-status-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 24px;
  width: 100%;
  padding: 23px 0 18px;
  color: var(--t10-texto);
  font-size: 12px;
}

.t10-status-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.t10-status-legend i {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
}

.t10-status-legend .is-disponible {
  background: var(--t10-verde);
}

.t10-status-legend .is-apartado {
  background: var(--t10-apartado);
}

.t10-status-legend .is-vendido {
  background: var(--t10-vendido);
}

.t10-status-legend .is-selected {
  background: var(--t10-seleccionado);
}

/* =========================================================
   9. FICHA INFERIOR
========================================================= */

.t10-unit-strip {
  display: grid;
  grid-template-columns: 0.75fr 1.15fr 0.9fr 0.9fr 1.35fr;
  align-items: stretch;
  width: 100%;
  padding: 15px 8px;
  border: 1px solid var(--t10-borde);
  background: var(--t10-blanco);
}

.t10-unit-strip__item {
  min-width: 0;
  padding: 5px 13px;
  border-right: 1px solid var(--t10-borde);
}

.t10-unit-strip__item:last-child {
  border-right: 0;
}

.t10-unit-strip__label {
  display: block;
  margin-bottom: 5px;
  color: var(--t10-texto);
  font-size: 8.5px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.t10-unit-strip__value {
  display: block;
  color: var(--t10-negro);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
}

/* =========================================================
   10. PANEL DERECHO Y UNIDAD SELECCIONADA
========================================================= */

.t10-quote-panel {
  position: sticky;
  top: 115px;
  width: 100%;
  min-width: 0;
  padding: 26px 24px;
  border: 1px solid var(--t10-borde);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 55px rgba(28, 28, 28, 0.07);
}

.t10-selected-unit {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--t10-borde);
}

.t10-selected-unit__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.t10-selected-unit h3 {
  margin: 0;
  font-size: 31px;
  line-height: 1.05;
}

.t10-selected-unit p {
  margin: 7px 0 0;
  color: var(--t10-texto);
  font-size: 12px;
  line-height: 1.55;
}

.t10-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.t10-status-badge.is-disponible {
  background: rgba(120, 166, 107, 0.16);
  color: #557d4a;
}

.t10-status-badge.is-apartado {
  background: rgba(211, 169, 71, 0.18);
  color: #8c6c1f;
}

.t10-status-badge.is-vendido {
  background: rgba(190, 48, 55, 0.13);
  color: var(--t10-vendido-oscuro);
}

/* =========================================================
   11. ESQUEMAS DE PAGO
========================================================= */

.t10-schemes h3,
.t10-summary h3 {
  margin: 0 0 15px;
  font-size: 26px;
  line-height: 1.15;
}

.t10-scheme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.t10-scheme-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 138px;
  padding: 17px 15px;
  overflow: hidden;
  border: 1px solid var(--t10-borde);
  border-radius: 0;
  background: var(--t10-blanco);
  color: var(--t10-negro);
  text-align: left;
  white-space: normal;
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.t10-scheme-card:not(.is-active):hover {
  border-color: var(--t10-dorado);
  background: #faf7f1;
  box-shadow: 0 10px 25px rgba(168, 132, 79, 0.12);
}

.t10-scheme-card.is-active {
  border-color: var(--t10-dorado);
  background: var(--t10-dorado);
  color: var(--t10-blanco);
  box-shadow: 0 10px 25px rgba(168, 132, 79, 0.12);
}

.t10-scheme-card.is-active::after {
  content: "✓";
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--t10-blanco);
  color: var(--t10-dorado-oscuro);
  font-size: 11px;
  font-weight: 700;
}

.t10-scheme-card strong {
  display: block;
  width: 100%;
  padding-right: 18px;
  color: inherit;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.15px;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.t10-scheme-card span {
  display: block;
  width: 100%;
  margin-top: 10px;
  color: #8b6b36;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.t10-scheme-card.is-active span {
  color: rgba(255, 255, 255, 0.88);
}

.t10-scheme-card:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* =========================================================
   12. RESUMEN FINANCIERO
========================================================= */

.t10-summary {
  margin-top: 28px;
}

.t10-summary-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(222, 213, 199, 0.78);
  font-size: 11.5px;
  line-height: 1.45;
}

.t10-summary-row span:first-child {
  color: var(--t10-texto);
}

.t10-summary-row strong {
  max-width: 57%;
  color: var(--t10-negro);
  font-weight: 600;
  text-align: right;
}

.t10-summary-row.is-total strong {
  color: var(--t10-dorado-oscuro);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
  font-weight: 700;
}

/* =========================================================
   13. NOTAS Y VISTA DE UNIDAD
========================================================= */

.t10-credit-note,
.t10-delivery {
  margin-top: 14px;
  padding: 13px 14px;
  border-left: 3px solid var(--t10-dorado);
  background: rgba(199, 164, 106, 0.09);
  color: #000;
  font-size: 12px;
  line-height: 1.65;
}

.t10-unit-preview {
  margin-top: 18px;
}

.t10-unit-preview:empty {
  display: none;
}

.t10-unit-preview img {
  display: block;
  width: 100%;
  max-height: 210px;
  object-fit: contain;
  border: 1px solid var(--t10-borde);
  background: var(--t10-blanco);
}

.t10-unit-preview a {
  display: inline-block;
  margin-top: 10px;
  color: var(--t10-dorado-oscuro);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

/* =========================================================
   14. BOTONES Y AVISO LEGAL
========================================================= */

.t10-primary-button,
.t10-whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  margin-top: 17px;
  padding: 13px 18px;
  border-radius: 0;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 1.1px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.t10-primary-button {
  border: 1px solid var(--t10-dorado);
  background: var(--t10-dorado);
  color: var(--t10-blanco);
}

.t10-primary-button:hover {
  border-color: var(--t10-dorado-oscuro);
  background: var(--t10-dorado-oscuro);
  color: var(--t10-blanco);
}

.t10-whatsapp-button {
  border: 1px solid var(--t10-negro);
  background: transparent;
  color: var(--t10-negro);
}

.t10-whatsapp-button:hover {
  background: var(--t10-negro);
  color: var(--t10-blanco);
}

.t10-whatsapp-button[hidden] {
  display: none;
}

.t10-primary-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.t10-legal-note {
  margin: 16px 0 0;
  padding-inline: 5px;
  color: #000;
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

/* =========================================================
   15. MODAL
========================================================= */

.t10-modal[hidden] {
  display: none !important;
}

.t10-modal:not([hidden]) {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  display: grid !important;
  place-items: center !important;
  width: 100vw !important;
  height: 100vh !important;
  margin: 0 !important;
  padding: 30px !important;
}

.t10-modal__backdrop {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(11, 15, 26, 0.78) !important;
  backdrop-filter: blur(5px);
  cursor: pointer;
}

.t10-modal__dialog {
  position: relative !important;
  z-index: 2 !important;
  width: min(680px, 100%) !important;
  max-height: calc(100vh - 60px) !important;
  margin: 0 auto !important;
  padding: 45px 42px 38px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  border: 1px solid var(--t10-dorado) !important;
  background: var(--t10-marfil) !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34) !important;
}

.t10-modal__dialog .t10-eyebrow {
  margin-bottom: 14px;
  font-size: 12px;
}

.t10-modal__dialog h3 {
  margin: 0 0 15px;
  font-size: 42px;
  line-height: 1.05;
}

.t10-modal__selection {
  margin: 0 0 28px;
  color: #5f5f5f;
  font-size: 15px;
  line-height: 1.6;
}

.t10-modal__close {
  position: absolute !important;
  top: 17px !important;
  right: 17px !important;
  z-index: 3 !important;
  display: grid !important;
  place-items: center !important;
  width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  border: 1px solid var(--t10-dorado) !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: var(--t10-negro) !important;
  font-family: Arial, sans-serif;
  font-size: 25px !important;
  font-weight: 300;
  line-height: 1 !important;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.t10-modal__close:hover {
  border-color: var(--t10-dorado) !important;
  background: var(--t10-dorado) !important;
  color: var(--t10-blanco) !important;
}

body.t10-modal-open {
  overflow: hidden !important;
}

/* =========================================================
   16. FORMULARIO DEL MODAL
========================================================= */

.t10-quote-form {
  width: 100%;
}

.t10-form-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.t10-form-grid label {
  display: block !important;
  min-width: 0;
  margin: 0 !important;
}

.t10-form-grid label.is-full {
  grid-column: 1 / -1 !important;
}

.t10-form-grid label > span {
  display: block;
  margin-bottom: 8px;
  color: var(--t10-negro);
  font-size: 12px;
  font-weight: 600;
}

.t10-form-grid input,
.t10-form-grid textarea {
  display: block !important;
  width: 100% !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 13px 15px !important;
  border: 1px solid #d8cbb7 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: var(--t10-blanco) !important;
  color: var(--t10-negro) !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.t10-form-grid textarea {
  min-height: 125px !important;
  resize: vertical;
}

.t10-form-grid input:focus,
.t10-form-grid textarea:focus {
  border-color: var(--t10-dorado) !important;
  box-shadow: 0 0 0 1px var(--t10-dorado) !important;
}

.t10-honeypot {
  position: absolute !important;
  top: auto !important;
  left: -99999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.t10-quote-form .t10-primary-button {
  width: 100% !important;
  min-height: 54px !important;
  margin-top: 22px !important;
}

.t10-form-status {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.t10-form-status.is-success {
  color: #557d4a;
}

.t10-form-status.is-error {
  color: var(--t10-vendido-oscuro);
}

/* =========================================================
   17. RESPONSIVE — PANTALLAS MEDIANAS
========================================================= */

@media (max-width: 1100px) {
  .t10-cotizador__layout {
    grid-template-columns: minmax(0, 760px);
  }

  .t10-quote-panel {
    position: static;
    width: 100%;
    max-width: 650px;
    margin-inline: auto;
  }
}

/* =========================================================
   18. RESPONSIVE — TABLET
========================================================= */

@media (max-width: 820px) {
  .t10-cotizador {
    padding: 65px 20px 80px;
  }

  .t10-level-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .t10-level-tab,
  .t10-level-tab:first-child {
    min-height: 44px;
    font-size: 10.5px;
  }

  .t10-unit-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .t10-unit-strip__item {
    padding: 11px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--t10-borde);
  }

  .t10-unit-strip__item:nth-child(odd) {
    border-right: 1px solid var(--t10-borde);
  }

  .t10-unit-strip__item:last-child {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 0;
  }
}

/* =========================================================
   19. RESPONSIVE — MODAL
========================================================= */

@media (max-width: 767px) {
  .t10-modal:not([hidden]) {
    align-items: start !important;
    padding: 18px !important;
    overflow-y: auto !important;
  }

  .t10-modal__dialog {
    width: 100% !important;
    max-height: none !important;
    margin: 20px auto !important;
    padding: 50px 22px 28px !important;
  }

  .t10-modal__dialog h3 {
    padding-right: 30px;
    font-size: 35px;
  }

  .t10-form-grid {
    grid-template-columns: 1fr !important;
  }

  .t10-form-grid label.is-full {
    grid-column: auto !important;
  }

  .t10-modal__close {
    top: 12px !important;
    right: 12px !important;
    width: 38px !important;
    height: 38px !important;
  }
}

/* =========================================================
   20. RESPONSIVE — MÓVIL
========================================================= */

@media (max-width: 600px) {
  .t10-cotizador {
    padding: 55px 15px 70px;
  }

  .t10-cotizador h2 {
    font-size: 42px;
    line-height: 1.04;
  }

  .t10-cotizador__intro p {
    font-size: 15px;
  }

  .t10-level-tabs {
    display: flex;
    grid-template-columns: none;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 7px;
    scrollbar-width: thin;
  }

  .t10-level-tab {
    flex: 0 0 auto;
    width: auto;
    min-width: 102px;
    padding: 11px 14px;
    overflow: visible;
    text-overflow: clip;
  }

  .t10-level-tab:first-child {
    min-width: 128px;
  }

  .t10-plan-card {
    padding: 15px;
  }

  .t10-plan-stage {
    width: auto;
    max-width: 100%;
  }

  .t10-unit-hotspot {
    padding: 4px;
  }

  .t10-unit-hotspot strong {
    font-size: 15px;
  }

  .t10-unit-hotspot small {
    display: none;
  }

  .t10-status-legend {
    justify-content: flex-start;
    gap: 12px 18px;
    font-size: 11px;
  }

  .t10-quote-panel {
    padding: 21px 17px;
  }

  .t10-selected-unit__top {
    flex-direction: column;
    gap: 12px;
  }

  .t10-selected-unit h3 {
    font-size: 29px;
  }

  .t10-scheme-grid {
    grid-template-columns: 1fr;
  }

  .t10-scheme-card {
    min-height: 105px;
    padding: 16px;
  }

  .t10-scheme-card strong {
    font-size: 11px;
  }

  .t10-summary-row {
    font-size: 11px;
  }
}

/* =========================================================
   21. ACCESIBILIDAD
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .t10-cotizador *,
  .t10-cotizador *::before,
  .t10-cotizador *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =====================================================
   CORRECCIÓN TEXTO COMPLETO EN SELECTOR DE NIVELES
===================================================== */

.t10-level-tabs {
  grid-template-columns: 1.3fr repeat(5, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

.t10-level-tab,
.t10-level-tab:first-child {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  min-width: 0 !important;
  min-height: 48px !important;
  padding: 12px 7px !important;

  font-family: Montserrat, sans-serif !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.25px !important;

  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

/* Planta baja necesita ligeramente más espacio */
.t10-level-tab:first-child {
  font-size: 10px !important;
  padding-inline: 10px !important;
}

/* Tablet */
@media (max-width: 820px) {
  .t10-level-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .t10-level-tab,
  .t10-level-tab:first-child {
    font-size: 10.5px !important;
  }
}

/* Móvil: navegación horizontal sin cortar textos */
@media (max-width: 600px) {
  .t10-level-tabs {
    display: flex !important;
    overflow-x: auto !important;
  }

  .t10-level-tab {
    flex: 0 0 105px !important;
  }

  .t10-level-tab:first-child {
    flex-basis: 130px !important;
  }
}

/* =====================================================
   ESQUEMAS DE PAGO — HOVER Y SELECCIONADO EN NEGRO
===================================================== */

/* Tarjeta seleccionada */
.t10-scheme-card.is-active {
  background: #1c1c1c !important;
  border-color: #1c1c1c !important;
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(28, 28, 28, 0.2) !important;
}

/* Hover de tarjetas no seleccionadas */
.t10-scheme-card:not(.is-active):not(:disabled):hover {
  background: #1c1c1c !important;
  border-color: #1c1c1c !important;
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(28, 28, 28, 0.2) !important;
}

/* Título blanco */
.t10-scheme-card.is-active strong,
.t10-scheme-card:not(.is-active):not(:disabled):hover strong {
  color: #ffffff !important;
}

/* Texto secundario dorado claro */
.t10-scheme-card.is-active span,
.t10-scheme-card:not(.is-active):not(:disabled):hover span {
  color: #d9bc86 !important;
}

/* Círculo de selección */
.t10-scheme-card.is-active::after {
  background: #c7a46a !important;
  color: #ffffff !important;
}

/* Transición más suave */
.t10-scheme-card {
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease !important;
}