/* Contact form block — firmwork (voctos-net) */

/* Section background gradient — original .bg-lg-2: light at top, fading into the
   dark navy footer at the bottom. */
section.voctos-contact {
  background-image: linear-gradient(0deg, #0D172D 27.73%, #EFF0F4 100%);
  padding-top: 48px;
}

.voctos-contact .voctos-contact-form {
  display: block;
}

/* Header row: title left, required-fields note right */
.voctos-contact .vc-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}
.voctos-contact .vc-title {
  font-weight: 400;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}
.voctos-contact .vc-required {
  flex: none;
  margin: 6px 0 0;
  font-size: 14px;
  color: #f0145a;
  white-space: nowrap;
}
.voctos-contact .vc-intro {
  margin: 0 0 20px;
}

/* Accent word: colour + hand-drawn wavy underline (curve.svg) */
.voctos-contact .vc-accent {
  color: #7616f4;
  position: relative;
  white-space: nowrap;
  padding-bottom: 16px;
  background: url(../assets/img/curve.svg) no-repeat center bottom;
  background-size: 100% auto;
}

/* Fields grid: 3 columns on desktop */
.voctos-contact .vc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.voctos-contact .vc-grid input,
.voctos-contact .vc-grid textarea {
  width: 100%;
  font-size: 14px;
  font-weight: 400;
}
.voctos-contact .vc-f-company  { grid-column: 1 / 3; }
.voctos-contact .vc-f-budget   { grid-column: 3 / 4; }
.voctos-contact .vc-f-comments { grid-column: 1 / 3; min-height: 150px; }
.voctos-contact .vc-attach     { grid-column: 3 / 4; min-height: 150px; }

/* Required fields get a soft pink tint (higher specificity beats Tailwind bg-eighth) */
.voctos-contact .vc-grid .vc-req {
  background-color: #fdecef;
}
.voctos-contact .vc-grid .vc-req::placeholder { color: #c98a98; }
.voctos-contact .vc-grid .vc-req:focus {
  background-color: #fbe2e7;
  box-shadow: 0 0 0 1px #f4b9c6 inset;
}

/* Phone field: small country-code box + number input inside one pill */
.voctos-contact .vc-phone-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.voctos-contact .vc-phone-wrap .vc-code {
  position: relative;
  flex-shrink: 0;
  border-right: 1px solid #e8bfca;
  padding-right: 8px;
}
.voctos-contact .vc-code [x-cloak] { display: none !important; }
.voctos-contact .vc-code-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  outline: none;
  font-size: 14px;
  font-weight: 500;
  color: #0D172D;
  cursor: pointer;
  padding: 0;
}
.voctos-contact .vc-flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}
.voctos-contact .vc-code-chev { width: 10px; height: 6px; color: #c98a98; }
.voctos-contact .vc-code-list {
  position: absolute;
  top: calc(100% + 12px);
  left: -8px;
  z-index: 30;
  min-width: 210px;
  max-height: 250px;
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(13, 23, 45, 0.18);
  padding: 6px;
  margin: 0;
  list-style: none;
}
.voctos-contact .vc-code-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: #0D172D;
  cursor: pointer;
  white-space: nowrap;
}
.voctos-contact .vc-code-list li:hover,
.voctos-contact .vc-code-list li.is-active { background: #fdecef; }
.voctos-contact .vc-code-num { font-weight: 600; min-width: 42px; }
.voctos-contact .vc-code-country { color: #55617A; }
.voctos-contact .vc-grid .vc-phone-wrap input {
  background: transparent;
  padding: 0;
  border: none;
  outline: none;
  box-shadow: none;
}
.voctos-contact .vc-grid .vc-phone-wrap input.vc-req:focus {
  background: transparent;
  box-shadow: none;
}
.voctos-contact .vc-grid .vc-phone-wrap:focus-within {
  background-color: #fbe2e7;
  box-shadow: 0 0 0 1px #f4b9c6 inset;
}

/* Attach-file box */
.voctos-contact .vc-attach {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  border: 1.5px dashed #c9b6f5;
  border-radius: 10px;
  background: #fff;
  color: #7616f4;
  cursor: pointer;
  text-align: center;
  transition: border-color .15s ease, background-color .15s ease;
}
.voctos-contact .vc-attach:hover { border-color: #7616f4; background: #faf7ff; }
.voctos-contact .vc-attach.is-dragover { border-color: #7616f4; background: #f3ecff; }
.voctos-contact .vc-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.voctos-contact .vc-attach-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  pointer-events: none;
}
.voctos-contact .vc-clip { display: block; width: 18px; height: auto; }
.voctos-contact .vc-file-name {
  font-size: 13px;
  color: #475569;
  word-break: break-all;
  pointer-events: none;
}
.voctos-contact .vc-attach.has-file { border-style: solid; border-color: #7616f4; background: #faf7ff; }

/* Footer: button + consent on the left, file note on the right */
.voctos-contact .vc-foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.voctos-contact .vc-foot-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1 1 420px;
  flex-wrap: wrap;
}
.voctos-contact .vc-submit {
  flex: none;
  min-width: 200px;
  padding: 16px 40px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .15s ease, opacity .15s ease;
}
.voctos-contact .vc-submit:disabled { opacity: .6; cursor: progress; }
.voctos-contact .vc-consent {
  flex: 1 1 220px;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}
.voctos-contact .vc-privacy { color: #7616f4; text-decoration: underline; }
.voctos-contact .vc-privacy:hover { opacity: .85; }
.voctos-contact .vc-filenote {
  flex: 1 1 240px;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  text-align: right;
}

/* Status message */
.voctos-contact .vc-status {
  margin: 18px 0 0;
  font-size: 14px;
  font-weight: 500;
}
.voctos-contact .vc-status.is-error   { color: #f0145a; }
.voctos-contact .vc-status.is-success { color: #1f9d55; }

/* Tablet */
@media (max-width: 900px) {
  .voctos-contact .vc-grid { grid-template-columns: repeat(2, 1fr); }
  .voctos-contact .vc-f-company  { grid-column: 1 / 2; }
  .voctos-contact .vc-f-budget   { grid-column: 2 / 3; }
  .voctos-contact .vc-f-comments { grid-column: 1 / 3; }
  .voctos-contact .vc-attach     { grid-column: 1 / 3; min-height: 120px; }
  .voctos-contact .vc-filenote   { text-align: left; }
  .voctos-contact .vc-title { font-size: 24px; }
}

/* Mobile */
@media (max-width: 600px) {
  .voctos-contact .vc-head { flex-direction: column; gap: 4px; }
  .voctos-contact .vc-required { margin-top: 20px; color: #7f8287; font-size: 12px;}
  .voctos-contact .vc-grid { grid-template-columns: 1fr; }
  .voctos-contact .vc-f-company,
  .voctos-contact .vc-f-budget,
  .voctos-contact .vc-f-comments,
  .voctos-contact .vc-attach { grid-column: 1 / 2; }
  .voctos-contact .vc-submit { width: 100%; }
  .voctos-contact .vc-title { font-size: 24px; }
  .voctos-contact .vc-grid input, .voctos-contact .vc-grid textarea { font-size: 12px;}
  .voctos-contact .vc-grid .vc-req::placeholder { color: #7f8287; }
}
