/* ════════════════════════════════════════════
   TRANSPORTES ALPINO — Solicitud de cotización
   + acceso discreto al panel interno
   ════════════════════════════════════════════ */

.cotizador{
  margin-top: var(--space-lg, 4rem);
  padding: 3rem 2.5rem 2.5rem;
  border: 1px solid var(--border, rgba(245,241,232,.08));
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(26,32,74,.42) 0%, rgba(10,14,31,.28) 100%);
  backdrop-filter: blur(8px);
}
.cot-head{ margin-bottom: 2.5rem; max-width: 640px; }
.cot-title{
  font-family: var(--font-display, serif);
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.12;
  color: var(--cream, #f5f1e8);
  margin: .6rem 0 1rem;
  letter-spacing: -.015em;
  font-weight: 400;
}
.cot-title .italic{ font-style: italic; color: var(--gold, #c9a96e); }
.cot-sub{
  font-size: .95rem; line-height: 1.65;
  color: var(--text-secondary, #a8acc4); max-width: 52ch;
}

/* ── Pasos ── */
.cot-step{
  display: flex; align-items: center; gap: .75rem;
  margin: 2.4rem 0 1.1rem; padding-bottom: .6rem;
  border-bottom: 1px solid var(--border, rgba(245,241,232,.08));
}
.cot-step:first-of-type{ margin-top: 0; }
.cot-step-num{
  font-family: var(--font-display, serif);
  font-size: .8rem; color: var(--gold, #c9a96e); letter-spacing: .1em;
}
.cot-step-label{
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--text-muted, #6c7196);
}
.cot-hint{
  font-size: .82rem; color: var(--text-muted, #6c7196);
  margin: -.3rem 0 1rem; line-height: 1.5;
}

/* ── Campos ── */
.cot-grid{
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.1rem 1.4rem;
}
.cot-field{
  display: block; font-weight: 400;
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-muted, #6c7196);
}
.cot-field.cot-full{ grid-column: 1 / -1; margin-top: 1.1rem; }
.req{ color: var(--gold, #c9a96e); }
.cot-field input,
.cot-field select,
.cot-field textarea{
  display: block; width: 100%; margin-top: .5rem;
  padding: .8rem .95rem;
  background: rgba(7,9,26,.5);
  border: 1px solid var(--border, rgba(245,241,232,.1));
  border-radius: 10px;
  color: var(--cream, #f5f1e8);
  font-family: var(--font-body, sans-serif);
  font-size: .95rem; letter-spacing: 0; text-transform: none;
  outline: none;
  transition: border-color .2s ease, background .2s ease;
}
.cot-field textarea{ resize: vertical; min-height: 120px; line-height: 1.6; }
.cot-field input:focus,
.cot-field select:focus,
.cot-field textarea:focus{
  border-color: var(--gold, #c9a96e);
  background: rgba(7,9,26,.72);
}
.cot-field input::placeholder,
.cot-field textarea::placeholder{ color: rgba(108,113,150,.75); }
.cot-field select option{ background: #0f1430; color: #f5f1e8; }
.cot-field input.invalid,
.cot-field textarea.invalid{ border-color: #d96a6a; }

/* ── Chips ── */
.cot-chips{ display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: .5rem; }
.cot-chips label{ cursor: pointer; }
.cot-chips input{ position: absolute; opacity: 0; pointer-events: none; }
.cot-chips span{
  display: inline-block; padding: .5rem 1rem;
  border: 1px solid var(--border, rgba(245,241,232,.12));
  border-radius: 40px;
  font-size: .82rem; color: var(--text-secondary, #a8acc4);
  transition: all .18s ease; user-select: none;
}
.cot-chips label:hover span{ border-color: rgba(201,169,110,.5); color: var(--cream, #f5f1e8); }
.cot-chips input:checked + span{
  background: var(--gold, #c9a96e); border-color: var(--gold, #c9a96e);
  color: #0a0e1f; font-weight: 500;
}
.cot-chips input:focus-visible + span{ outline: 2px solid var(--gold, #c9a96e); outline-offset: 2px; }

/* ── Fotos ── */
.cot-drop{
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .6rem; padding: 2.2rem 1rem;
  border: 1.5px dashed var(--border-strong, rgba(245,241,232,.18));
  border-radius: 14px; cursor: pointer;
  transition: all .2s ease; text-align: center;
}
.cot-drop:hover, .cot-drop.dragover{
  border-color: var(--gold, #c9a96e); background: rgba(201,169,110,.06);
}
.cot-drop-icon{ font-size: 1.5rem; color: var(--gold, #c9a96e); line-height: 1; }
.cot-drop-txt{ font-size: .85rem; color: var(--text-muted, #6c7196); }
.cot-previews{
  display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: .7rem; margin-top: 1rem;
}
.cot-thumb{ position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; }
.cot-thumb img,
.cot-thumb video{ width: 100%; height: 100%; object-fit: cover; display: block; background:#07091a; }
.cot-thumb button{
  position: absolute; top: 4px; right: 4px; width: 22px; height: 22px;
  border: none; border-radius: 50%; background: rgba(7,9,26,.82); color: #f5f1e8;
  font-size: 12px; line-height: 1; cursor: pointer;
}
.cot-thumb button:hover{ background: #d96a6a; }

/* ── Aviso ── */
.cot-aviso{
  margin-top: 2.2rem; padding: 1.1rem 1.3rem;
  background: rgba(201,169,110,.08);
  border-left: 2px solid var(--gold, #c9a96e);
  border-radius: 0 10px 10px 0;
  font-size: .85rem; line-height: 1.65; color: var(--text-secondary, #a8acc4);
}
.cot-aviso strong{ color: var(--gold, #c9a96e); font-weight: 500; }

/* ── Acciones ── */
.cot-actions{ display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; margin-top: 1.8rem; }
.cot-submit{
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 2rem; border: none; border-radius: 40px;
  background: var(--cream, #f5f1e8); color: #0a0e1f;
  font-family: var(--font-body, sans-serif); font-size: .92rem; font-weight: 500;
  cursor: pointer; transition: all .22s var(--ease-out, ease);
}
.cot-submit:hover:not(:disabled){ background: var(--gold, #c9a96e); transform: translateY(-1px); }
.cot-submit:disabled{ opacity: .5; cursor: wait; }
.cot-alt{
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body, sans-serif); font-size: .88rem;
  color: var(--text-muted, #6c7196); text-decoration: underline;
  text-underline-offset: 4px; padding: 0;
}
.cot-alt:hover{ color: var(--gold, #c9a96e); }
.cot-status{ margin-top: 1.1rem; font-size: .88rem; line-height: 1.6; min-height: 1.2em; }
.cot-status.ok{ color: #7ddba0; }
.cot-status.err{ color: #d96a6a; }
.cot-status.info{ color: var(--text-muted, #6c7196); }

.cot-done{ padding: 2.5rem 1rem; text-align: center; }
.cot-done h4{
  font-family: var(--font-display, serif); font-size: 1.7rem;
  color: var(--cream, #f5f1e8); margin-bottom: .7rem; font-weight: 400;
}
.cot-done p{ color: var(--text-secondary, #a8acc4); font-size: .95rem; line-height: 1.7; }

/* ════════ ACCESO DISCRETO AL PANEL INTERNO ════════ */
.acceso-interno{
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,14,31,.55);
  border: 1px solid rgba(245,241,232,.1);
  backdrop-filter: blur(6px);
  opacity: .22; transition: opacity .3s ease, transform .3s ease, border-color .3s ease;
  -webkit-tap-highlight-color: transparent;
}
.acceso-interno img{ width: 20px; height: auto; display: block; }
.acceso-interno:hover, .acceso-interno:focus-visible{
  opacity: 1; transform: scale(1.06); border-color: rgba(201,169,110,.45);
}
@media (max-width: 640px){
  .acceso-interno{ width: 34px; height: 34px; right: 12px; bottom: 12px; opacity: .3; }
  .acceso-interno img{ width: 17px; }
  .cotizador{ padding: 2rem 1.25rem 1.75rem; border-radius: 16px; }
  .cot-actions{ flex-direction: column; align-items: stretch; }
  .cot-submit{ justify-content: center; }
}
@media print{ .acceso-interno, .cotizador{ display: none; } }
