/* Transportes Cassol · v1.0.28 · Formulario de cotización con envío PHP.
   Campos con ícono y etiqueta permanente dentro del recuadro. */

.section-contact .quote-form-shell {
  --field-line: #d7cae1;
  --field-purple: #542479;
  padding: clamp(14px, 1.55vw, 23px);
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(108, 51, 146, .16);
  box-shadow: 0 22px 54px -30px rgba(19, 3, 48, .58);
  overflow: hidden;
  position: relative;
}
.section-contact .quote-form-shell::after {
  content: "";
  position: absolute;
  bottom: 0;left: 0;right: 0;height: 4px;
  background: linear-gradient(90deg, #f65b2d 0%, #ff7b22 78%, #f65b2d 100%);
  pointer-events: none;
}
.section-contact .quote-form,
.section-contact .quote-grid {
  margin: 0;
  display: grid;
  gap: 10px;
}
.section-contact .quote-grid {
  grid-template-columns: repeat(2,minmax(0,1fr));
}
.section-contact .quote-field {
  min-width: 0;
  position: relative;
  display: block;
  border: 1px solid var(--field-line);
  border-radius: 11px;
  background: linear-gradient(180deg,#fff 0%,#fdfcff 100%);
  box-shadow: inset 0 1px 2px rgba(57, 23, 93, .025);
  transition: border-color .2s ease, box-shadow .2s ease;
  overflow: hidden;
}
.section-contact .quote-field:focus-within {
  border-color: #7c4c9d;
  box-shadow: 0 0 0 3px rgba(109, 45, 158,.13);
}
.section-contact .quote-field-full {
  grid-column: 1 / -1;
}
.section-contact .quote-label {
  display: flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  top: 8px;
  left: 12px;
  right: 12px;
  z-index: 1;
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  color: #4b365b;
  pointer-events: none;
  white-space: nowrap;
}
.section-contact .quote-label svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--field-purple);
  stroke-width: 1.8;
}
.section-contact .quote-field input,
.section-contact .quote-field textarea {
  display: block;
  width: 100%;
  margin: 0;
  height: 58px;
  min-height: 0;
  padding: 27px 12px 7px 36px;
  border: 0;
  border-radius: 0;
  background: transparent;
  outline: none;
  color: #291b39;
  font-size: .93rem;
  font-weight: 500;
  line-height: 1.35;
  box-shadow: none;
  transition: none;
}
.section-contact .quote-field textarea {
  height: 104px;
  min-height: 104px;
  resize: vertical;
  padding-top: 31px;
}
.section-contact .quote-field input:focus,
.section-contact .quote-field textarea:focus {
  border: 0;
  outline: none;
  box-shadow: none;
}
.section-contact .quote-field input::placeholder,
.section-contact .quote-field textarea::placeholder { color:#a4a0ae; }
.section-contact .quote-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 49px;
  padding: 10px 18px;
  border: 0;
  border-radius: 11px;
  margin: 0;
  background: linear-gradient(95deg,#ff5b19,#ff711f);
  color: #fff;
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: 0 10px 20px -14px rgba(246, 80, 14, .5);
}
.section-contact .quote-submit:hover {
  background: linear-gradient(95deg,#eb4a13,#ff681b);
  box-shadow: 0 13px 22px -13px rgba(246,80,14,.6);
}
.section-contact .quote-submit .quote-send-icon {
  width: 19px;
  height: 19px;
  flex: none;
  stroke-width: 2;
}
.section-contact .quote-form-feedback {margin:0;display:none;}
.section-contact .quote-form-feedback.is-visible {
  display:block;
  margin-top:1px;
  padding: 9px 12px;
  line-height:1.4;
  font-size:.84rem;
  color:#3c2367;
  background:#f7f1ff;
  border:1px solid #e5d9f4;
  border-radius:9px;
}
@media (max-width: 700px) {
  .section-contact .quote-form-shell {padding:13px;}
  .section-contact .quote-grid {gap:9px;}
  .section-contact .quote-label {font-size:.72rem;}
}
@media (max-width: 470px) {
  .section-contact .quote-grid {grid-template-columns:1fr;}
  .section-contact .quote-field-full {grid-column:auto;}
  .section-contact .quote-field input {height:55px;}
  .section-contact .quote-field textarea {height:105px;min-height:105px;}
}


/* ==============================================================
   TRANSPORTES CASSOL · v1.0.11
   Campos con letra ligeramente mayor, selección de uno de los seis
   servicios y tarjetas de altura equivalente en computadora.
   ============================================================= */

/* Dos recuadros del mismo alto en escritorio. El contenido de la
   tarjeta de contacto define la altura mínima natural de la fila. */
.section-contact .contact-layout {
  align-items: stretch;
}
.section-contact .contact-card {
  height: 100%;
}
.section-contact .quote-form-shell {
  margin-top: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.section-contact .quote-form {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.section-contact .quote-grid {
  flex: 1 1 auto;
  grid-template-rows: minmax(70px, 1fr) minmax(70px, 1fr) minmax(145px, 2.15fr);
  gap: 11px;
}
.section-contact .quote-label {
  font-size: .87rem;
  font-weight: 700;
  top: 10px;
  left: 13px;
  gap: 9px;
}
.section-contact .quote-label svg {
  width: 18px;
  height: 18px;
}
.section-contact .quote-field input,
.section-contact .quote-field select,
.section-contact .quote-field textarea {
  width: 100%;
  height: 100%;
  min-height: 69px;
  margin: 0;
  padding: 34px 14px 9px 39px;
  background: transparent;
  border: 0;
  outline: none;
  color: #291b39;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: none;
  border-radius: 0;
  font-family: inherit;
}
.section-contact .quote-field textarea {
  min-height: 145px;
  resize: vertical;
  padding-top: 37px;
}
.section-contact .quote-field select {
  padding-right: 35px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.section-contact .quote-field select:invalid {color: #81758a;}
.section-contact .quote-field select:focus {box-shadow: none;outline: none;}
.section-contact .quote-field select option {color:#291b39;background:#fff;}
.section-contact .quote-select-field:after {
  content: '';
  width: 8px;
  height: 8px;
  position: absolute;
  right: 17px;
  top: 50%;
  transform: translateY(-20%) rotate(45deg);
  border-right: 2px solid #592c7e;
  border-bottom: 2px solid #592c7e;
  pointer-events: none;
}
.section-contact .quote-submit {min-height: 56px;font-size: 1.04rem;}

/* Ícono de doblez hacia arriba: igual al ejemplo compartido. */
.back-to-top,
.back-to-top:hover {
  display: grid;
  place-items: center;
}
.back-to-top .back-top-chevron {
  width: 25px;
  height: 25px;
  display: block;
  color: #fff;
}

/* En tablet y celular las tarjetas se apilan; su altura se ajusta
   de forma natural para evitar espacios vacíos innecesarios. */
@media (max-width:980px) {
  .section-contact .contact-card,
  .section-contact .quote-form-shell {height:auto;}
  .section-contact .quote-grid {flex:none;}
  .section-contact .quote-field input,
  .section-contact .quote-field select {height:72px;}
  .section-contact .quote-field textarea {height:152px;}
}
@media (max-width:700px) {
  .section-contact .quote-label {font-size:.83rem;top:10px;}
  .section-contact .quote-grid {gap:10px;}
}
@media (max-width:600px) {
  .section-contact .quote-grid {grid-template-columns:1fr;}
  .section-contact .quote-field-full {grid-column:auto;}
  .section-contact .quote-field select {height:73px;}
  .section-contact .quote-field textarea {height:155px;}
}

/* En una sola columna se desactivan las filas proporcionales de
   escritorio: así el campo Teléfono no gana altura innecesaria. */
@media (max-width:600px) {
  .section-contact .quote-grid {
    grid-template-rows: none;
    grid-auto-rows: auto;
  }
  .section-contact .quote-field {height:auto;}
  .section-contact .quote-field input,
  .section-contact .quote-field select {height:73px;min-height:73px;}
  .section-contact .quote-field textarea {height:155px;min-height:155px;}
}

/* v1.0.28 — estado del formulario funcional y campo anti-spam invisible */
.section-contact .quote-honeypot {
  position:absolute !important; width:1px !important; height:1px !important;
  padding:0 !important; margin:-1px !important; overflow:hidden !important;
  clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important;
}
.section-contact .quote-submit:disabled {
  opacity:.72; cursor:wait; transform:none; box-shadow:none;
}
.section-contact .quote-form-feedback.is-visible.is-success {
  background:#f1faf3; border-color:#b8e0c4; color:#1e5a30;
}
