/* ==========================================================
   RuGo v107 — CONTACT DESKTOP POLISH

   Scope:
   1. Active core-data field uses the accent color while being edited.
   2. CONTINUAR uses the approved v093 master arrow system.

   No CONTACT form JS, validation, consent logic, intake behavior,
   layout, field dimensions or footer/hero rules are changed.
   ========================================================== */

.contact-v086{
  --rugo-master-arrow-glyph:"↓";
  --rugo-master-arrow-size:22px;
  --rugo-master-arrow-weight:700;
  --rugo-master-arrow-box:22px;
  --rugo-master-arrow-leading:1;
}

/* ----------------------------------------------------------
   ACTIVE CORE PROJECT DATA
   NOMBRE / TELÉFONO / EMAIL / MUNICIPIO

   :focus-within keeps the complete row synchronized with the actual input.
   PRIVACIDAD and MARKETING are intentionally excluded.
   ---------------------------------------------------------- */

.contact-v086__sheet-section--data .contact-v086__row-label,
.contact-v086__sheet-section--data .contact-v086__row-label em,
.contact-v086__sheet-section--data .contact-v086__input{
  transition:
    color 150ms ease,
    border-color 150ms ease;
}

.contact-v086__sheet-section--data .contact-v086__row:focus-within
  .contact-v086__row-label,
.contact-v086__sheet-section--data .contact-v086__row:focus-within
  .contact-v086__row-label em{
  color:var(--contact-red)!important;
}

.contact-v086__sheet-section--data .contact-v086__row:focus-within
  .contact-v086__input{
  color:var(--contact-red)!important;
  caret-color:var(--contact-red);
  border-bottom-color:var(--contact-red)!important;
}

/* ----------------------------------------------------------
   CONTINUAR — MASTER ARROW PARITY

   Same exact glyph as HOME / DETALLES:
     ↓

   Right direction is produced ONLY by rotation:
     rotate(-90deg)

   The old literal → is fully superseded.
   ---------------------------------------------------------- */

.contact-v086__submit::after{
  content:var(--rugo-master-arrow-glyph)!important;
  width:var(--rugo-master-arrow-box);
  height:var(--rugo-master-arrow-box);
  display:inline-grid;
  place-items:center;
  flex:0 0 var(--rugo-master-arrow-box);
  color:currentColor;
  font-family:var(--launch-font)!important;
  font-size:var(--rugo-master-arrow-size)!important;
  font-weight:var(--rugo-master-arrow-weight)!important;
  line-height:var(--rugo-master-arrow-leading)!important;
  letter-spacing:0!important;
  font-style:normal!important;
  text-decoration:none!important;
  transform-origin:50% 50%;
  transform:translateX(0) rotate(-90deg)!important;
  transition:transform 150ms ease;
}

.contact-v086__submit:hover::after,
.contact-v086__submit:focus-visible::after{
  transform:translateX(7px) rotate(-90deg)!important;
}

@media(max-width:1180px){
  .contact-v086{
    --rugo-master-arrow-size:20px;
    --rugo-master-arrow-box:20px;
  }
}