/* Infinity Cargo Freight · Super cotizador (asistente) */
.cotz-body { margin: 0; background: #eef3f7; color: #16212c; font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.cotz-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; background: #0e1c27; color: #fff; flex-wrap: wrap; }
.cotz-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; }
.cotz-brand img { height: 34px; width: auto; }
.cotz-topbar__actions { display: flex; gap: 8px; align-items: center; }
.cotz-link { color: #cfe0ec; text-decoration: none; font-weight: 700; font-size: .92rem; padding: 8px 12px; border-radius: 9px; border: 1px solid transparent; }
.cotz-link--ghost { border-color: rgba(255,255,255,.22); }
.cotz-link:hover { background: rgba(255,255,255,.08); }

.cotz-main { padding: 22px 16px 60px; }
.cotz-root { max-width: 760px; margin: 0 auto; }
.cotz-card { background: #fff; border: 1px solid #dce5ec; border-radius: 16px; overflow: hidden; box-shadow: 0 18px 50px rgba(16,28,39,.10); }

.cotz-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #eef2f5; }
.cotz-kick { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #6f7b87; font-weight: 800; }
.cotz-step { font-size: 1rem; font-weight: 800; margin-top: 2px; }
.cotz-pct { font-size: .82rem; font-weight: 800; color: #2f7fc4; }
.cotz-progress { height: 4px; background: #e6edf2; }
.cotz-progress span { display: block; height: 100%; background: #2f7fc4; transition: width .25s ease; }

.cotz-body-step { padding: 20px 18px; min-height: 280px; }
.cotz-h { font-size: 1.18rem; font-weight: 800; }
.cotz-sub { font-size: .9rem; color: #6f7b87; font-weight: 600; }
.cotz-intro { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.cotz-note { font-size: .85rem; color: #6f7b87; margin-top: 14px; background: #f5f8fb; border: 1px solid #e3e9ee; border-radius: 10px; padding: 10px 12px; }
.cotz-note a { color: #2f7fc4; font-weight: 700; }

.cotz-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px 12px; }
.cotz-grid--cargo { grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); align-items: end; }
.cotz-f { display: flex; flex-direction: column; gap: 4px; font-size: .78rem; font-weight: 800; color: #3a4654; min-width: 0; }
.cotz-f--wide { grid-column: 1 / -1; }
.cotz-f input, .cotz-f select, .cotz-f textarea { width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid #d0dde6; border-radius: 9px; font: inherit; font-size: .94rem; color: #16212c; background: #fff; box-sizing: border-box; }
.cotz-f textarea { min-height: 60px; }
.cotz-f input:focus, .cotz-f select:focus, .cotz-f textarea:focus { outline: none; border-color: #2f7fc4; box-shadow: 0 0 0 3px rgba(47,127,196,.16); }
.cotz-f select { padding-right: 30px; }
.cotz-phone { display: flex; gap: 6px; }
.cotz-phone select { width: 108px; flex: 0 0 auto; }
.cotz-phone input { flex: 1; min-width: 0; }

.cotz-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.cotz-opt { display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 14px; border: 1.5px solid #dce5ec; border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s; }
.cotz-opt:hover { border-color: #b9cad8; }
.cotz-opt.is-on { border-color: #2f7fc4; background: #f1f8fe; box-shadow: 0 0 0 1px #2f7fc4 inset; }
.cotz-opt__ic { color: #185fa5; }
.cotz-opt__t { font-weight: 800; font-size: .98rem; }
.cotz-opt__s { font-size: .8rem; color: #6f7b87; font-weight: 600; }

.cotz-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.cotz-chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 1.5px solid #dce5ec; border-radius: 999px; background: #fff; cursor: pointer; font-weight: 800; font-size: .88rem; color: #3a4654; }
.cotz-chip.is-on { border-color: #2f7fc4; background: #f1f8fe; color: #16212c; }

.cotz-block { border: 1px solid #e3e9ee; border-left: 5px solid #8a96a2; border-radius: 12px; padding: 13px 15px; margin: 0 0 14px; background: #fff; }
.cotz-block__h { font-size: .92rem; font-weight: 900; margin-bottom: 10px; display: flex; align-items: center; gap: 7px; }
.cotz-block--blue { border-left-color: #2f7fc4; background: #f4f9fe; } .cotz-block--blue .cotz-block__h { color: #185fa5; }
.cotz-block--green { border-left-color: #1d9e75; background: #f2fbf7; } .cotz-block--green .cotz-block__h { color: #0f6e56; }
.cotz-block--amber { border-left-color: #c98a1a; background: #fdf9f0; } .cotz-block--amber .cotz-block__h { color: #854f0b; }
.cotz-block--purple { border-left-color: #7a5bd6; background: #f7f5fe; } .cotz-block--purple .cotz-block__h { color: #534ab7; }

.cotz-cond { border-radius: 10px; padding: 11px 13px; margin: 10px 0; }
.cotz-cond__t { font-size: .82rem; font-weight: 900; margin-bottom: 7px; }
.cotz-cond--blue { background: #e6f1fb; border: 1px solid #b5d4f4; } .cotz-cond--blue .cotz-cond__t { color: #0c447c; }
.cotz-cond--red { background: #fcebeb; border: 1px solid #f3a8a8; } .cotz-cond--red .cotz-cond__t { color: #791f1f; }
.cotz-unrow { display: flex; gap: 8px; align-items: flex-end; }
.cotz-unlist { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cotz-untag { background: #fff; border: 1px solid #f0997b; color: #791f1f; border-radius: 999px; padding: 4px 10px; font-size: .8rem; font-weight: 800; }
.cotz-untag b { cursor: pointer; margin-left: 3px; }

.cotz-cphelp { margin-top: 8px; }
.cotz-cphint { font-size: .8rem; color: #6f7b87; font-weight: 700; margin-bottom: 5px; }
.cotz-towns { display: flex; flex-wrap: wrap; gap: 6px; }
.cotz-town { padding: 7px 12px; border: 1px solid #cfe1f3; background: #fff; color: #185fa5; border-radius: 999px; font-size: .84rem; font-weight: 800; cursor: pointer; }
.cotz-town:hover { background: #eaf3fc; }
.cotz-town.is-on { background: #2f7fc4; color: #fff; border-color: #2f7fc4; }

.cotz-list { list-style: none; padding: 0; margin: 12px 0 0; }
.cotz-li { display: flex; align-items: center; gap: 8px; background: #faeeda; color: #633806; border-radius: 9px; padding: 8px 11px; margin-bottom: 6px; font-size: .86rem; font-weight: 700; }
.cotz-li__t { flex: 1; }
.cotz-li b { cursor: pointer; font-size: 1.1rem; line-height: 1; }
.cotz-li--empty { background: #f5f8fb; color: #6f7b87; }

.cotz-assign { margin-top: 14px; border-top: 1px dashed #d7dee5; padding-top: 12px; }
.cotz-assign__t { font-size: .82rem; font-weight: 800; color: #6f7b87; margin-bottom: 8px; }
.cotz-assign__row { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.cotz-assign__row select { min-width: 160px; min-height: 38px; border: 1px solid #d0dde6; border-radius: 8px; padding: 6px 10px; font: inherit; }
.cotz-tag { border-radius: 7px; padding: 6px 10px; font-size: .82rem; font-weight: 800; flex: 1; }
.cotz-tag--amber { background: #faeeda; color: #633806; }

.cotz-x { margin-left: auto; cursor: pointer; border: none; background: rgba(0,0,0,.06); color: #5f6e7b; width: 22px; height: 22px; border-radius: 50%; font-size: 1rem; line-height: 1; }

.cotz-done { text-align: center; padding: 4px 0 8px; }
.cotz-summary { background: #f6faf8; border: 1px solid #d9ece2; border-radius: 12px; padding: 13px 15px; font-size: .9rem; line-height: 1.75; }
.cotz-summary__r b { color: #16212c; }

.cotz-nav { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-top: 1px solid #eef2f5; }
.cotz-err { flex: 1; text-align: center; font-size: .82rem; font-weight: 800; color: #c0341f; }
.cotz-btn { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid #cfd9e2; background: #fff; color: #16212c; border-radius: 10px; padding: 11px 18px; font: inherit; font-weight: 800; font-size: .92rem; cursor: pointer; }
.cotz-btn:hover { background: #f4f8fb; }
.cotz-btn--primary { background: #1d9e75; border-color: #1d9e75; color: #fff; }
.cotz-btn--primary:hover { background: #18855f; }
.cotz-btn--soft { background: #eef5fc; border-color: #cfe1f3; color: #185fa5; }
.cotz-btn--ghost { background: #fff; }
.cotz-btn:disabled { opacity: .6; cursor: default; }
.cotz-twobtn { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }

@media (max-width: 560px) {
  .cotz-nav { flex-wrap: wrap; }
  .cotz-err { order: 3; flex: 1 1 100%; text-align: left; }
}

/* Fecha + hora juntas */
.cotz-dt { display: flex; gap: 6px; }
.cotz-dt input { flex: 1; min-width: 0; }
.cotz-dt input[type="time"] { max-width: 120px; }

/* Autocompletado de dirección */
.cotz-ac { position: relative; }
.cotz-ac__search { display: flex; align-items: center; gap: 8px; border: 1px solid #cfe1f3; background: #f4f9fe; border-radius: 10px; padding: 0 12px; }
.cotz-ac__search input { flex: 1; border: none; background: transparent; min-height: 42px; font: inherit; font-size: .94rem; outline: none; color: #16212c; }
.cotz-ac__list { position: absolute; left: 0; right: 0; top: 48px; z-index: 30; background: #fff; border: 1px solid #cfd9e2; border-radius: 10px; box-shadow: 0 16px 40px rgba(16,28,39,.16); overflow: hidden; }
.cotz-ac__list:empty { display: none; }
.cotz-ac__item { display: block; width: 100%; text-align: left; border: none; background: #fff; padding: 10px 13px; font: inherit; font-size: .88rem; color: #16212c; cursor: pointer; border-bottom: 1px solid #eef2f5; }
.cotz-ac__item:last-child { border-bottom: none; }
.cotz-ac__item:hover { background: #eaf3fc; }
.cotz-ac__empty { padding: 10px 13px; font-size: .84rem; color: #6f7b87; }

/* ===== Integración con la web (cabecera/pie reales) ===== */
.cotz-page { background: #eef3f7; min-height: 60vh; }
.cotz-intro-band { background: linear-gradient(180deg,#0e1c27 0%, #112634 100%); color: #fff; padding: 34px 16px 30px; }
.cotz-intro-band .section-inner { max-width: 980px; margin: 0 auto; }
.cotz-intro-band .eyebrow { color: #6fd0aa; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; margin: 0 0 6px; }
.cotz-intro-band h1 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin: 0 0 8px; line-height: 1.12; }
.cotz-intro-lede { color: #c8d6e2; font-size: .98rem; max-width: 640px; margin: 0; }
.cotz-main { padding: 26px 16px 64px; margin-top: -22px; }

/* Cabecera del card: lado derecho con reset + % */
.cotz-head__side { display: flex; align-items: center; gap: 10px; }
.cotz-reset { display: inline-flex; align-items: center; gap: 4px; border: 1px solid #d8e0e8; background: #fff; color: #6f7b87; border-radius: 8px; padding: 5px 9px; font: inherit; font-size: .74rem; font-weight: 800; cursor: pointer; }
.cotz-reset:hover { background: #f4f8fb; color: #16212c; }

/* Sub-etiquetas dentro de pasos por servicio */
.cotz-sublabel { font-size: .76rem; font-weight: 900; color: #3a4654; text-transform: uppercase; letter-spacing: .04em; margin: 4px 0 7px; }
.cotz-hint { font-size: .82rem; color: #6f7b87; margin: 10px 0 0; }

/* Botón "editar" del resumen */
.cotz-edit { display: inline-flex; align-items: center; gap: 3px; border: none; background: transparent; color: #2f7fc4; font: inherit; font-size: .78rem; font-weight: 800; cursor: pointer; padding: 0 0 0 4px; vertical-align: middle; }
.cotz-edit:hover { text-decoration: underline; }
.cotz-summary__r { padding: 3px 0; }

/* Enlace WhatsApp en el resumen */
.cotz-wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; background: #25d366; color: #06351b; border-radius: 11px; padding: 11px 16px; font-weight: 800; font-size: .92rem; text-decoration: none; }
.cotz-wa:hover { background: #1fbb59; }

@media (max-width: 560px) {
  .cotz-head__side { gap: 7px; }
  .cotz-reset span { display: none; }
}

/* Botones de borrar accesibles (antes eran <b>) */
.cotz-li__x { border: none; background: transparent; color: #854f0b; cursor: pointer; font-size: 1.15rem; line-height: 1; padding: 0 2px; border-radius: 6px; }
.cotz-li__x:hover { background: rgba(133,79,11,.12); }
.cotz-untag__x { border: none; background: transparent; color: #791f1f; cursor: pointer; font-size: 1rem; line-height: 1; margin-left: 3px; padding: 0 2px; border-radius: 6px; }
.cotz-untag__x:hover { background: rgba(121,31,31,.12); }
.cotz-li__x:focus-visible, .cotz-untag__x:focus-visible, .cotz-x:focus-visible, .cotz-edit:focus-visible, .cotz-reset:focus-visible { outline: 2px solid #2f7fc4; outline-offset: 2px; }
.cotz-body-step .cotz-h:focus, .cotz-body-step .cotz-block__h:focus { outline: none; }

/* ===================================================================
   REDISEÑO PROFESIONAL v2 — sistema de campos, fecha/hora, Incoterm
   =================================================================== */
.cotz-card { border-radius: 18px; border-color: #e2e9ef; box-shadow: 0 24px 60px rgba(16,28,39,.12); }
.cotz-head { padding: 16px 22px; background: linear-gradient(180deg,#fbfdff,#f3f7fb); }
.cotz-kick { font-size: .65rem; letter-spacing: .14em; color: #607486; }
.cotz-step { font-size: 1.05rem; letter-spacing: -.01em; }
.cotz-pct { font-size: .85rem; }
.cotz-progress { height: 5px; background: #e9eff4; }
.cotz-progress span { background: linear-gradient(90deg,#2f7fc4,#1d9e75); }
.cotz-body-step { padding: 24px 22px; }
.cotz-h { font-size: 1.3rem; letter-spacing: -.01em; line-height: 1.2; }
.cotz-sub { font-size: .92rem; color: #687686; }

/* Campos: más altos, legibles y con foco claro */
.cotz-f { gap: 6px; font-size: .8rem; font-weight: 700; color: #46545f; }
.cotz-f input, .cotz-f select, .cotz-f textarea {
  min-height: 48px; padding: 12px 14px; border: 1.5px solid #d6dfe7; border-radius: 11px;
  font-size: 15px; color: #16212c; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.cotz-f textarea { min-height: 70px; line-height: 1.45; }
.cotz-f input::placeholder, .cotz-f textarea::placeholder { color: #9aa6b1; opacity: 1; }
.cotz-f input:hover, .cotz-f select:hover, .cotz-f textarea:hover { border-color: #b6c5d2; }
.cotz-f input:focus, .cotz-f select:focus, .cotz-f textarea:focus {
  outline: none; border-color: #2f7fc4; box-shadow: 0 0 0 4px rgba(47,127,196,.14);
}
/* Select con flecha propia (más limpio y consistente entre navegadores) */
.cotz-f select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23607486' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 15px;
}

/* Fecha + hora: que NO se corte el texto */
.cotz-dt { display: flex; gap: 8px; }
.cotz-dt input[type="date"] { flex: 1.5 1 0; min-width: 158px; }
.cotz-dt input[type="time"] { flex: 1 1 0; min-width: 120px; max-width: none; }
.cotz-f input[type="date"], .cotz-f input[type="time"] { font-variant-numeric: tabular-nums; }

/* Teléfono */
.cotz-phone { gap: 8px; }
.cotz-phone select { width: 120px; flex: 0 0 auto; }

/* Tarjetas de opción (servicio, prioridad) */
.cotz-opt { padding: 16px; border-radius: 14px; gap: 6px; border-width: 1.5px;
  transition: border-color .15s ease, transform .12s ease, box-shadow .15s ease; }
.cotz-opt:hover { border-color: #b6c5d2; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(16,28,39,.08); }
.cotz-opt.is-on { border-color: #2f7fc4; background: #f1f8fe; box-shadow: 0 0 0 1px #2f7fc4 inset; }
.cotz-opt__ic { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  background: #eaf3fc; border-radius: 11px; margin-bottom: 4px; }
.cotz-opt.is-on .cotz-opt__ic { background: #2f7fc4; }
.cotz-opt.is-on .cotz-opt__ic svg { stroke: #fff; }
.cotz-opt__t { font-size: 1.02rem; }

/* Chips */
.cotz-chip { padding: 11px 16px; font-size: .9rem; border-width: 1.5px; transition: all .14s ease; }
.cotz-chip:hover { border-color: #b6c5d2; }
.cotz-chip.is-on { background: #eaf3fc; border-color: #2f7fc4; color: #16212c; box-shadow: 0 0 0 1px #2f7fc4 inset; }

/* Bloques */
.cotz-block { border-radius: 14px; padding: 16px 18px; }
.cotz-block__h { font-size: .96rem; margin-bottom: 13px; }

/* Incoterm: caja explicativa */
.cotz-incohelp { background: #eef5fc; border: 1px solid #cfe1f3; border-left: 4px solid #2f7fc4;
  border-radius: 11px; padding: 11px 14px; font-size: .86rem; color: #2c4a66; line-height: 1.5; margin: 6px 0 14px; }
.cotz-incohelp b { color: #16456f; }

/* Botones */
.cotz-btn { min-height: 48px; border-radius: 12px; padding: 12px 22px; font-size: .95rem; }
.cotz-btn--primary { background: linear-gradient(180deg,#23a87e,#1b8c64); border-color: #1b8c64; color: #fff;
  box-shadow: 0 6px 16px rgba(29,158,117,.26); }
.cotz-btn--primary:hover { background: linear-gradient(180deg,#1f9c73,#177a57); }
.cotz-nav { padding: 18px 22px; }

/* Resumen */
.cotz-summary { border-radius: 14px; padding: 16px 18px; line-height: 1.85; }

/* Búsqueda de dirección (cuando hay clave Geoapify) */
.cotz-ac__search { min-height: 48px; border-radius: 4px; }
.cotz-ac__search input { min-height: 46px; font-size: 15px; }

/* ===================================================================
   v3 — esquinas más rectas (4px) + desplegable de país con banderas
   =================================================================== */
.cotz-card { border-radius: 8px; }
.cotz-f input, .cotz-f select, .cotz-f textarea { border-radius: 4px; }
.cotz-block { border-radius: 6px; }
.cotz-incohelp { border-radius: 4px; }
.cotz-chip { border-radius: 4px; }
.cotz-opt { border-radius: 6px; }
.cotz-opt__ic { border-radius: 6px; }
.cotz-btn { border-radius: 5px; }
.cotz-summary { border-radius: 6px; }
.cotz-cond { border-radius: 4px; }
.cotz-ac__list { border-radius: 4px; }

/* Desplegable de país (buscador + bandera real) */
.cotz-cc { position: relative; }
.cotz-cc__btn { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 48px; padding: 0 12px; border: 1.5px solid #d6dfe7; border-radius: 4px; background: #fff; font: inherit; font-size: 15px; color: #16212c; cursor: pointer; text-align: left; }
.cotz-cc__btn:hover { border-color: #b6c5d2; }
.cotz-cc.is-open .cotz-cc__btn { border-color: #2f7fc4; box-shadow: 0 0 0 4px rgba(47,127,196,.14); }
.cotz-cc__flag { width: 21px; height: 15px; border-radius: 2px; flex: 0 0 auto; box-shadow: 0 0 0 1px rgba(16,24,32,.10); background-size: cover; }
.cotz-cc__name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cotz-cc__dial { font-weight: 700; }
.cotz-cc__chev { margin-left: auto; color: #7a8794; flex: 0 0 auto; }
.cotz-cc--dial { width: 112px; flex: 0 0 auto; }
.cotz-cc--dial .cotz-cc__btn { padding: 0 8px; gap: 6px; }
.cotz-cc--dial .cotz-cc__chev { width: 13px; }
.cotz-cc__pop { position: absolute; z-index: 60; top: calc(100% + 4px); left: 0; right: 0; min-width: 250px; background: #fff; border: 1px solid #cdd7df; border-radius: 6px; box-shadow: 0 18px 44px rgba(16,28,39,.18); overflow: hidden; }
.cotz-cc--dial .cotz-cc__pop { right: auto; width: 290px; }
.cotz-cc__pop[hidden] { display: none; }
.cotz-cc__searchbox { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-bottom: 1px solid #eef2f5; }
.cotz-cc__searchbox input { flex: 1; border: none; outline: none; font: inherit; font-size: 14px; background: transparent; min-height: 26px; color: #16212c; }
.cotz-cc__list { max-height: 264px; overflow-y: auto; }
.cotz-cc__item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: none; background: #fff; font: inherit; font-size: 14px; color: #16212c; cursor: pointer; text-align: left; }
.cotz-cc__item:hover { background: #eff5fb; }
.cotz-cc__iname { flex: 1; }
.cotz-cc__idial { color: #6f7b87; font-weight: 700; }
.cotz-cc__empty { padding: 14px; color: #6f7b87; font-size: 13px; text-align: center; }
.cotz-phone { display: flex; gap: 8px; }
.cotz-phone input[data-bind] { flex: 1; min-width: 0; }

/* v3.2 — formulario fluido y adaptativo (escritorio, tablet y móvil) */
.cotz-page { width: 100%; }
.cotz-root { max-width: 1100px; width: 100%; margin: 0 auto; }
.cotz-main { padding: clamp(14px, 2.5vw, 30px) clamp(12px, 4vw, 40px) 60px; }
.cotz-body-step { padding: clamp(16px, 2.4vw, 26px); }
.cotz-block { padding: clamp(13px, 1.8vw, 18px); }
/* columnas que se reparten solas: 1 en móvil, 2-3 según ancho disponible */
.cotz-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px 18px; }
.cotz-cc--dial { width: 110px; }
.cotz-cc__pop { max-width: calc(100vw - 36px); }
.cotz-cc--dial .cotz-cc__pop { width: 300px; max-width: calc(100vw - 36px); }
.cotz-dt input[type="date"] { min-width: 150px; }

/* Tablet / móvil grande: el contenido manda */
@media (max-width: 560px) {
  .cotz-grid { grid-template-columns: 1fr; gap: 12px; }
  .cotz-opts { grid-template-columns: 1fr 1fr; }
  .cotz-head { flex-wrap: wrap; row-gap: 6px; }
  .cotz-step { font-size: .98rem; }
  .cotz-nav { flex-wrap: wrap; gap: 8px; }
  .cotz-nav .cotz-btn { flex: 1 1 auto; justify-content: center; }
  .cotz-err { order: 3; flex: 1 1 100%; text-align: center; }
  .cotz-intro-band h1 { font-size: 1.4rem; }
}
/* Móvil pequeño */
@media (max-width: 380px) {
  .cotz-opts { grid-template-columns: 1fr; }
  .cotz-phone { flex-wrap: wrap; }
  .cotz-cc--dial { width: 100%; }
  .cotz-phone input[data-bind] { flex: 1 1 100%; }
}

/* ===================================================================
   v3.3 — menos líneas de color: tarjetas blancas con sombra sutil.
   El color queda solo en el icono y el título de cada bloque.
   =================================================================== */
.cotz-block {
  background: #ffffff;
  border: 1px solid #e9edf2;
  border-left: 1px solid #e9edf2;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16,28,39,.04), 0 8px 22px rgba(16,28,39,.05);
}
/* sin fondos tintados ni barra lateral de color (el acento vive en el título) */
.cotz-block--blue, .cotz-block--green, .cotz-block--amber, .cotz-block--purple { background: #ffffff; border-left-color: #e9edf2; }
.cotz-block__h { gap: 8px; }

/* Caja de ayuda del Incoterm: sutil, sin barra de color */
.cotz-incohelp {
  background: #f7f9fc; border: 1px solid #e8edf3; border-left: 1px solid #e8edf3;
  border-radius: 8px; color: #3a4654;
}
.cotz-incohelp b { color: #16456f; }

/* Condicionales (refrigerada / ADR): tinte muy suave, sin línea fuerte */
.cotz-cond { border-radius: 8px; }
.cotz-cond--blue { background: #f5f9fd; border: 1px solid #e4edf6; }
.cotz-cond--red { background: #fdf5f5; border: 1px solid #f2dede; }
.cotz-cond--blue .cotz-cond__t { color: #185fa5; }
.cotz-cond--red .cotz-cond__t { color: #b1342f; }

/* La tarjeta principal del paso: un pelín menos de sombra para no duplicar */
.cotz-card { box-shadow: 0 1px 2px rgba(16,28,39,.05), 0 18px 50px rgba(16,28,39,.09); }

/* Adjuntar archivos (paso resumen) */
.cotz-attach { margin-top: 16px; border: 1px solid #e9edf2; border-radius: 12px; padding: 14px 16px; background: #fff; box-shadow: 0 1px 2px rgba(16,28,39,.04), 0 8px 22px rgba(16,28,39,.05); }
.cotz-attach__h { font-size: .92rem; font-weight: 900; color: #185fa5; display: flex; align-items: center; gap: 7px; margin-bottom: 8px; }
.cotz-attach__list { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 6px; }
.cotz-attach__file { display: inline-flex; align-items: center; gap: 5px; background: #eef5fc; border: 1px solid #cfe0f1; color: #16456f; border-radius: 6px; padding: 5px 10px; font-size: 12.5px; font-weight: 700; }
.cotz-attach__none { font-size: 12.5px; color: #9aa6b1; }
.cotz-attach__hint { font-size: 11.5px; color: #6f7b87; }
