/* Cotizador INX - CSS principal (frontend) */



/* Fix: evitar que reglas globales (img{max-width:100%}) deformen las tiles del mapa */
.gm-style img,
.gm-style .gm-style-cc img {
  max-width: none !important;
}

/* Estilo del área del mapa para que no se vea cortado y tenga bordes redondeados */

#map img {
  max-width: none !important;
  background: none !important;
}
/* Contenedor del mapa: asegurar dimensiones estables y sin recorte extraño */
#map {
  border-radius: 16px;
  overflow: hidden;
}
/* Iframe propio del mapa: dimensiones y esquinas redondeadas */
#ci-map-iframe {
  width: 100%;
  height: 400px;
  min-height: 400px;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
}
.cotizador-inx {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}
.tarjeta-con-lista:hover{
    -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.cotizador-inx .ci-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 20px;
}

.cotizador-inx .ci-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.cotizador-inx .ci-button {
  display: inline-block;
  background: #eea40e;
  color: #fff;
  padding: 10px 18px;
  border-radius: 50px;
  text-decoration: none;
}

.cotizador-inx .ci-image {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.cotizador-inx .ci-image img {
  width: auto !important;
  height: auto !important;
  object-fit: contain !important ;
  min-height: auto;
}
/* Solo etapa 3: ajustar ancho de imagen */
.cotizador-inx .ci-step[data-step="3"] .ci-image img,
.cotizador-inx .ci-e3-grid .ci-image img,
.cotizador-inx .ci-e3-col .ci-image img {
  width: 320px  !important;
}


.cotizador-inx .ci-step[data-step="3"] .ci-col.selected {
  border-color: transparent !important;
}
.cotizador-inx .ci-step[data-step="4"] .ci-step-content {
  background: #fff !important;
  padding: 40px;
  border-radius: 20px;
}
.cotizador-inx .ci-step[data-step="5"] .ci-image{
      aspect-ratio: auto !important;
}
.cotizador-inx  .ci-step[data-step="5"] .ci-step-subtitle{
  text-align: start !important;
}

.cotizador-inx  .ci-step[data-step="5"] .ci-radio-group label {
    font-weight: 600;
    text-align: center;
    width: 100px;
    margin-top: 30px;
}

.cotizador-inx  .ci-step[data-step="5"] .ci-radio-label {
    width: 120px;
    margin: 10px auto;
    text-align: center;
    position: relative;
    left: 7px;
}
.cotizador-inx  .ci-step[data-step="5"] .cotizador-inx .ci-step-title {
  font-size: 35px;
  margin-bottom: 0px !important;
}

.cotizador-inx .ci-step[data-step="6"] .ci-field {
    display: flex
;
    justify-content: center;
}
.cotizador-inx .ci-step[data-step="5"] .ci-step-content {
  padding: 40px 0px;
}


.ci-radio-group {
    display: flex
;
    justify-content: center;
   
}
.ci-radio-group input[type="radio"] {
    width: 100%;
    height: 3em;;
    margin-bottom: 20px;
}

.ci-no {
    display: flex
;
    flex-direction: column;
        align-items: center;
}
.contenedor-fondo-card {
  background: #fff;
  padding: 50px 0px;
  margin-top: -20px;
  border-radius: 0px 10px 10px;
}
.contenedor-fondo-card .ci-text {
  color: #eea40e !important;
  padding-bottom: 10px;
}
.ci-desc {
  text-align: center;
  font-size: 20px;
  width: 200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  font-weight: bold;
}
.ci-desc {
  text-align: center;
}

.cotizador-inx .ci-img-placeholder {
  color: #777;
  font-size: 0.95rem;
}

.cotizador-inx .ci-text {
  font-size: 0.95rem;
  text-align: center;
}

.cotizador-inx .ci-actions {
  text-align: center;
}

.cotizador-inx .ci-button:hover {
  background: #1a5a8c;
}
.tarjeta-con-lista {
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}
.cotizador-inx .ci-text {
  font-weight: bold;
}

/* Estado seleccionado con check en la esquina superior derecha */
.cotizador-inx .ci-col {
  position: relative;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.cotizador-inx .ci-col:hover {
  border-color: #e5e7eb;
}

.cotizador-inx .ci-col.selected {
  border-color: #eea40e;
}

.cotizador-inx .ci-col.selected::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  background: #eea40e;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.ci-back-container {
  display: flex;
  flex-direction: column;
}
/* Formulario multietapas */

.cotizador-inx .ci-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.cotizador-inx .ci-form-title {
  font-weight: 600;
}

.cotizador-inx .ci-back {
  border: none;
  font-weight: 600;
  cursor: pointer;
  background: #eea40e;
  padding: 10px 20px;
  border-radius: 30px;
  color: #fff;
}

.cotizador-inx .ci-progress-bar {
  width: 200px;
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
}
.cotizador-inx .ci-progress-fill {
  height: 100%;
  width: 0;
  background: #1a5a8c;
  transition: width 0.25s ease;
}

.cotizador-inx .ci-step-title {
  font-size: 35px;
  margin-bottom: 40px;
}
.cotizador-inx .ci-step-subtitle {
  font-size: 18px;
  text-align: center;
  color: #555;
  margin-bottom: 16px;
}
.cotizador-inx .ci-center { text-align: center; }
.cotizador-inx .ci-radio-group label { font-weight: 600; }
.cotizador-inx .ci-radio-group input { margin-right: 6px; }
.cotizador-inx .ci-field { margin: 12px 0; }

.cotizador-inx .ci-form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
}

/* Indicador de etapas (1–8) */
.cotizador-inx .ci-steps-indicator {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin: 12px 0 16px;
}
.cotizador-inx .ci-step-dot {
  width: 36px;
  height: 36px;
  border: 2px solid #eea40e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #eea40e;
  font-weight: 700;
  background: #fff;
}
.cotizador-inx .ci-step-dot.active {
  background: #eea40e;
  color: #fff;
}

.btn-color-amarillo {
  background: #eea40e;
  color: #fff;
  padding: 15px 40px;
  border-radius: 40px;
  box-shadow: none !important;
  text-decoration: none;
  width: 15%;
  font-weight: 800;
  font-size: 16px;
}
.btn-color-amarillo:hover {
  background: #fff !important;
  color: #eea40e;
  border: 1px solid #eea40e;
}
.btn-color-amarillo-disabled {
  background: #fff !important;
  color: #eea40e;
  padding: 10px 40px;
  border-radius: 40px;
  font-weight: bold;
  align-items: center !important;
  display: flex;
  width: 15%;
  justify-content: center;
  box-shadow: none !important;
}
.cotizador-inx .ci-button {
  display: inline-block;
  background: #eea40e;
  color: #fff;
  padding: 15px 18px;
  border-radius: 50px;
  text-decoration: none;
  width: 20%;
  font-weight: 800;
  font-size: 16px;
}

.cotizador-inx .ci-button:hover {
  background: #fff !important;
  color: #eea40e;
  border: 1px solid #eea40e;
}

.btn-color-amarillo-disabled:hover {
  background: #eea40e !important;
  color: #fff;
  border: 1px solid #fff;
  box-shadow: none !important;
}

.ci-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

select#ci-region {
    height: 40px;
    padding: 0px 30px;
    border-radius: 35px;
     padding: 10px 40px 10px 15px;
    appearance: none; /* Quita la flecha nativa */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center; /* Posición de la flecha */
    background-size: 12px;
    width: 90%;
}
select#ci-comuna {
    height: 40px;
    padding: 0px 30px;
    border-radius: 35px;
     padding: 10px 40px 10px 15px;
    appearance: none; /* Quita la flecha nativa */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center; /* Posición de la flecha */
    background-size: 12px;
    width: 100%;
}
select#ci-e6-select {
    height: 40px;
       height: 40px;
    padding: 0px 30px;
    border-radius: 35px;
     padding: 10px 40px 10px 15px;
    appearance: none; /* Quita la flecha nativa */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center; /* Posición de la flecha */
    background-size: 12px;
    width: 90%;
}
.itmes p {
    font-size: 18px;
    font-weight: bold;
}
select#ci-e6-select {
    width: 500px;
}

/* ===== Etapa 7: estilos de inputs, gráfico y contacto ===== */
.cotizador-inx .ci-step[data-step="7"] .ci-field {
  margin-bottom: 14px;
}
.cotizador-inx .ci-input-number,
.cotizador-inx .ci-input-text {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}
.cotizador-inx .ci-chart-container {
  margin: 16px 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.cotizador-inx .ci-chart-container canvas {
  width: 100% !important;
  height: 260px !important;
}
.cotizador-inx .ci-e7-seasons-grid,
.cotizador-inx .ci-e7-hours-grid {
  margin-bottom: 12px;
}
.cotizador-inx .ci-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 12px;
}
img.indicador-icono {
    width: 60px !important;
    min-height: 80px !important;
    height: 75px !important;
    object-fit: contain !important;
}
.ci-indicators-section {
    background: #D9D9D9;
    padding: 30px;
}

/* Responsive correcto: reducir columnas en pantallas pequeñas */
@media (max-width: 900px) {
  /* En tablets: 2 columnas */
  .cotizador-inx .ci-image img {

    height: 40px !important;
  
}
.cotizador-inx .ci-button {

    width: 60%;
  }
  .cotizador-inx .ci-form-header {
  

    flex-direction: column;
  }
  .ci-back-container {
    display: flex
;
    flex-direction: row;
    align-items: center;
            width: 100%;
        margin: 0 auto;
        justify-content: space-between;
}
.cotizador-inx .ci-steps-indicator {

    gap: 4px}


}

@media (max-width: 600px) {
  /* En móviles: 1 columna */

}