
hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-top: 1em;
  margin-bottom: 1em;
}
hr.light {
  background-color: #fff;
  border: 0;
  height: 1px;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.form-row {
  margin-bottom:15px;
}
/* Estilo base para inputs y textarea */
.pkia-responsive-form input[type="text"],
.pkia-responsive-form input[type="email"],
.pkia-responsive-form textarea {
  width: 100%;
  padding: 8px;
  font-size: 14px;
  box-sizing: border-box;
	border-radius:20px;
  border:solid 1px #333;
}
.pkia-responsive-form textarea {
	height: calc(1.5em * 5);
}

/* Estilo base igual a inputs */
.pkia-responsive-form select {
  width: 100%;
  padding: 8px 36px 16px 12px; /* extra espacio a la derecha para la flecha */
  font-size: 14px;
  border-radius: 20px;
  border: solid 1px #333;
  background: #fff;
  box-sizing: border-box;
  appearance: none; /* ocultar el estilo nativo del navegador */
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  position: relative;
  margin-bottom:0.25rem;
}

/* Flecha custom */
.pkia-responsive-form select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'><path fill='%23333' d='M0 0l5 6 5-6z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  color:#000;
}

/* Opcional: hover y focus */
.pkia-responsive-form select:focus {
  outline: none;
  border-color: #000;
  
}

.pkia-responsive-form select option[value=""] {
  color: #000; 
}

/* Color del placeholder */
.pkia-responsive-form input::placeholder,
.pkia-responsive-form textarea::placeholder {
  color: #000000;
  opacity: 1;
}

/* Columnas en escritorio */
.pkia-responsive-form .column-half {
  width: calc(50% - 2.5px);
  float: left;
  margin-right: 5px;
}

.pkia-responsive-form .column-half:last-child {
  margin-right: 0; /* Evita margen extra en el último */
}

.pkia-responsive-form .column-full {
  width: 100%;
  float: left;
}

.pkia-responsive-form .column-two-thirds {
  width: calc(66.66% - 2.5px);
  float: left;
  margin-right: 5px;
}

.pkia-responsive-form .column-one-third {
  width: calc(33.33% - 3.33px);
  float: left;
}

.pkia-responsive-form .column-third {
  width: 32%;
  float: left;
  margin-right: 2%;
}

.pkia-responsive-form .column-third:last-child {
  margin-right: 0;
}

/* Mitad de una columna third */
.pkia-responsive-form .column-third-half {
  width: 16%;
  float: left;
  margin-right: 2%;
}

/* Última columna para evitar margen extra */
.pkia-responsive-form .column-third-half:last-child {
  margin-right: 0;
}

/* Una columna third + su mitad (32% + 16%) */
.pkia-responsive-form .column-third-plus-half {
  width: 48%;
  float: left;
  margin-right: 2%;
}

.pkia-responsive-form .column-third-plus-half:last-child {
  margin-right: 0;
}

/* Una columna half + mitad de third (50% + 16%) */
.pkia-responsive-form .column-half-plus-third-half {
  width: 66%;
  float: left;
  margin-right: 2%;
}

.pkia-responsive-form .column-half-plus-third-half:last-child {
  margin-right: 0;
}

/* Limpiar flotantes */
.pkia-responsive-form .form-row::after {
  content: "";
  display: table;
  clear: both;
}

.pkia-client-form h4 {
  text-align: left;
  color: #ddd;
  margin: 1rem auto;
  border-bottom: solid 1px #fff;
  padding-bottom: 5px;
}

.pkia-acceptance label {
	color:#000000;
}

/* Responsive para móviles */
@media screen and (max-width: 600px) {
  .pkia-responsive-form .column-half,
  .pkia-responsive-form .column-full,
  .pkia-responsive-form .column-two-thirds,
  .pkia-responsive-form .column-one-third,
  .pkia-responsive-form .column-third,
  .pkia-responsive-form .column-half-plus-third-half {
    width: 100%;
    margin-right: 0;
    margin-top:20px;
    float: none;
  }
  .up-form .column-half,
  .up-form .column-full {
    width: 100%;
    margin-right: 0;
    float: none;
  }

  .up-form input,
  .up-form textarea {
	max-width: 100%;
    font-size: 16px;
    padding: 10px;
  }

  .up-form textarea {
    height: 120px;
  }
}

.pkia-field {
  position: relative;
}
.pkia-field label {
  position: absolute;
  top: 12px;
  left: 14px;
  transform: none;
  font-size: 14px;
  color: #000;
  pointer-events: none;
  transition: 
    top 0.25s ease,
    font-size 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}
.pkia-field .required {
  color: #000;
  font-weight: bold;
  font-size: 1rem;
}
.pkia-field input:focus + label,
.pkia-field input:not(:placeholder-shown) + label,
.pkia-field textarea:focus + label,
.pkia-field textarea:not(:placeholder-shown) + label,
.pkia-field select:focus + label, 
.pkia-field.has-value select + label {
  top: -20px;
  left: 10px;
  font-size: 12px;
  color: #000;
  transform: translateY(0);
}

.pkia-error {
  color: #ee3b3b;
  font-size: 0.8rem;
  display: block;
  margin-top: 0.25rem;
}
.pkia-success {
  color: #31a652;
  text-align: center;
  margin: 40px !important;
  font-size:1.2rem;
}
.pkia-response p {
	margin: .5rem;
	font-size: 0.9rem;
}

.pkia-modal {
  display: none; /* Oculta por defecto */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5); /* semitransparente */
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Contenido de la modal */
.pkia-modal-content {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.pkia-modal-content p {
  margin-bottom: 1rem;
  color: #000;
  font-size: 1rem;
}

#pkia-modal-close {
  padding: 0.5rem 1rem;
  background-color: #f099d2;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
#pkia-modal-close:hover {
  background-color: #e07ab8;
}

.pkia-contact-send{
  background-color: #fff;
  color: #000;
  border: 2px solid #000;
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pkia-contact-send:hover,
.pkia-contact-send:focus {
  background-color: #e00;
  color: #fff;
  border-color: #e00;
}
.pkia-contact-exceed{
  background-color: #000;
  color: #fff;
  border: 2px solid #000;
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pkia-contact-exceed:hover,
.pkia-contact-exceed:focus {
  background-color: #fff;
  color: #333;
  border-color: #000;
}
