/* VNK Electrical — Quote / Contact form */

.vnk-quote-section {
  padding: 20px 0 80px;
}

.vnk-quote-section .section-title {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.vnk-quote-intro {
  max-width: 720px;
  margin: 0 auto 48px;
  font-size: 17px;
  line-height: 1.7;
  color: #5c5c5c;
}

.vnk-quote-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  padding: 40px 36px 44px;
}

@media (max-width: 767px) {
  .vnk-quote-card {
    padding: 28px 20px 32px;
  }
}

.vnk-form-section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1B2A47;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #FFB300;
  display: inline-block;
}

.vnk-form-section-title:not(:first-child) {
  margin-top: 36px;
}

#vnk-quote-form .form-group {
  margin-bottom: 22px;
}

#vnk-quote-form label {
  font-size: 14px;
  font-weight: 600;
  color: #1B2A47;
  margin-bottom: 8px;
  display: block;
}

#vnk-quote-form label .required {
  color: #e53935;
}

#vnk-quote-form .form-control,
#vnk-quote-form select.form-control {
  height: 48px;
  padding: 10px 16px;
  font-size: 15px;
  color: #333;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

#vnk-quote-form select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

#vnk-quote-form textarea.form-control {
  height: auto;
  min-height: 140px;
  resize: vertical;
}

#vnk-quote-form .form-control:focus,
#vnk-quote-form select.form-control:focus {
  background: #fff;
  border-color: #FFB300;
  box-shadow: 0 0 0 3px rgba(244, 180, 0, 0.2);
  outline: none;
}

#vnk-quote-form .form-control::placeholder {
  color: #999;
}

/* Selectable option cards */
.vnk-choice-group {
  margin-bottom: 28px;
}

.vnk-choice-label {
  font-size: 14px;
  font-weight: 600;
  color: #1B2A47;
  margin-bottom: 12px;
  display: block;
}

.vnk-choice-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.vnk-choice-cards--urgency {
  grid-template-columns: repeat(4, 1fr);
}

.vnk-choice-cards--services {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 991px) {
  .vnk-choice-cards--services {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 575px) {
  .vnk-choice-cards--services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .vnk-choice-cards,
  .vnk-choice-cards--urgency {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .vnk-choice-cards,
  .vnk-choice-cards--urgency {
    grid-template-columns: 1fr;
  }
}

.vnk-choice-card {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.vnk-choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.vnk-choice-card__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 88px;
  padding: 16px 12px;
  background: #f9f9f9;
  border: 2px solid #e5e5e5;
  border-radius: 10px;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.vnk-choice-card__inner i {
  font-size: 22px;
  color: #FFB300;
  margin-bottom: 8px;
}

.vnk-choice-card__title {
  font-size: 13px;
  font-weight: 600;
  color: #1B2A47;
  line-height: 1.35;
}

.vnk-choice-card:hover .vnk-choice-card__inner {
  border-color: #FFB300;
  background: #fffdf5;
}

.vnk-choice-card input:focus + .vnk-choice-card__inner {
  box-shadow: 0 0 0 3px rgba(244, 180, 0, 0.25);
}

.vnk-choice-card input:checked + .vnk-choice-card__inner {
  border-color: #FFB300;
  background: #1B2A47;
  box-shadow: 0 8px 24px rgba(35, 40, 45, 0.15);
}

.vnk-choice-card input:checked + .vnk-choice-card__inner i {
  color: #FFB300;
}

.vnk-choice-card input:checked + .vnk-choice-card__inner .vnk-choice-card__title {
  color: #fff;
}

/* File upload */
.vnk-file-upload {
  position: relative;
}

.vnk-file-upload__zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 24px;
  border: 2px dashed #ccc;
  border-radius: 10px;
  background: #fafafa;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.vnk-file-upload__zone:hover,
.vnk-file-upload__zone.is-dragover {
  border-color: #FFB300;
  background: #fffdf5;
}

.vnk-file-upload__zone i {
  font-size: 32px;
  color: #FFB300;
  margin-bottom: 10px;
}

.vnk-file-upload__zone span {
  font-size: 14px;
  color: #666;
  text-align: center;
}

.vnk-file-upload__zone strong {
  color: #1B2A47;
}

.vnk-file-upload input[type="file"] {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}

.vnk-file-list {
  margin-top: 12px;
  font-size: 13px;
  color: #555;
}

.vnk-file-list:empty {
  display: none;
}

.vnk-file-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  margin: 4px 4px 0 0;
  background: #f0f9f0;
  border: 1px solid #c3e6cb;
  border-radius: 20px;
  font-size: 13px;
  color: #2d6a4f;
}

.vnk-file-item i {
  font-size: 12px;
}

.vnk-file-item em {
  color: #888;
  font-style: normal;
}

.vnk-file-errors {
  margin-top: 8px;
}

.vnk-file-error {
  padding: 6px 10px;
  margin-bottom: 4px;
  background: #fff5f5;
  border: 1px solid #f5c6cb;
  border-radius: 6px;
  font-size: 13px;
  color: #c0392b;
}

/* Submit */
.vnk-quote-submit-wrap {
  margin-top: 32px;
  text-align: center;
}

.btn-vnk-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 260px;
  padding: 16px 40px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: #1B2A47;
  border: 2px solid #1B2A47;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-vnk-quote:hover,
.btn-vnk-quote:focus {
  color: #1B2A47;
  background: #FFB300;
  border-color: #FFB300;
  box-shadow: 0 10px 28px rgba(244, 180, 0, 0.35);
  transform: translateY(-2px);
  outline: none;
}

.btn-vnk-quote:active {
  transform: translateY(0);
}

/* Trust section */
.vnk-trust-section {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid #e8e8e8;
}

.vnk-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 24px;
}

@media (max-width: 991px) {
  .vnk-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .vnk-trust-grid {
    grid-template-columns: 1fr;
  }
}

.vnk-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #eee;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.vnk-trust-item:hover {
  border-color: #FFB300;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.vnk-trust-item i {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #1B2A47;
  background: #FFB300;
  border-radius: 50%;
}

.vnk-trust-item span {
  font-size: 14px;
  font-weight: 600;
  color: #1B2A47;
  line-height: 1.45;
}

/* Error messages */
#vnk-quote-form .error-container {
  margin-bottom: 20px;
}

.vnk-form-errors {
  background: #fff5f5;
  border: 1px solid #f5c6cb;
  border-radius: 8px;
  padding: 14px 18px;
}

.vnk-form-errors ul {
  margin: 0;
  padding-left: 18px;
}

.vnk-form-errors li {
  font-size: 14px;
  color: #c0392b;
  margin-bottom: 4px;
}

.vnk-form-errors li:last-child {
  margin-bottom: 0;
}

/* Button loading state */
.btn-vnk-quote:disabled,
.btn-vnk-quote.is-loading {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
  background: #555;
  border-color: #555;
  color: #fff;
}

/* Success message */
.vnk-form-success {
  text-align: center;
  padding: 60px 32px;
}

.vnk-form-success__icon {
  font-size: 56px;
  color: #27ae60;
  margin-bottom: 20px;
  line-height: 1;
}

.vnk-form-success__title {
  font-size: 24px;
  font-weight: 700;
  color: #1B2A47;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.vnk-form-success__msg {
  font-size: 16px;
  color: #555;
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.vnk-form-success__contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f9f9f9;
  border: 1px solid #e5e5e5;
  border-radius: 50px;
  padding: 12px 24px;
  font-size: 15px;
}

.vnk-form-success__contact span {
  color: #555;
  font-weight: 500;
}

.vnk-form-success__contact i {
  color: #FFB300;
}

.vnk-form-success__contact a {
  color: #1B2A47;
  font-weight: 700;
  text-decoration: none;
}

.vnk-form-success__contact a:hover {
  color: #FFB300;
}
