/* Yameveo Contact Form — Sentinel Classic Design */

/* ── Section layout — break out of the 780px page content constraint ──────── */
.yc-section {
  /* Full-viewport-width breakout from .single-content (max-width: 780px) */
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: var(--bg, #F2F5F8);
  padding: 80px 40px;
  box-sizing: border-box;
}

.yc-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  max-width: 1160px;
  margin: 0 auto;
  align-items: start;
}

/* ── Form column header ───────────────────────────────────────────────────── */
.yc-overline {
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #D4A853;
  margin: 0 0 14px;
}

.yc-heading {
  font-family: 'Sora', sans-serif;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  color: #1B2B3A;
  margin: 0 0 16px;
}

.yc-subtext {
  font-size: 16px;
  color: #3E5C72;
  line-height: 1.7;
  margin: 0 0 36px;
}

/* ── Honeypot ─────────────────────────────────────────────────────────────── */
.yc-hp {
  position: absolute;
  left: -9999px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ── Form rows & fields ───────────────────────────────────────────────────── */
.yc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.yc-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}

.yc-row .yc-field {
  margin-bottom: 0;
}

.yc-field label {
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1B2B3A;
  letter-spacing: 0.2px;
}

.yc-req {
  color: #D4A853;
  margin-left: 2px;
}

.yc-field input,
.yc-field select,
.yc-field textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #1B2B3A;
  background: #fff;
  border: 1.5px solid #D0DCE6;
  border-radius: 8px;
  padding: 13px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
}

.yc-field input::placeholder,
.yc-field textarea::placeholder {
  color: #7A9FB8;
}

.yc-field input:focus,
.yc-field select:focus,
.yc-field textarea:focus {
  border-color: #D4A853;
  box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.15);
}

.yc-field input.yc-error,
.yc-field select.yc-error,
.yc-field textarea.yc-error {
  border-color: #e0434b;
  box-shadow: 0 0 0 3px rgba(224, 67, 75, 0.12);
}

/* Select arrow */
.yc-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%237A9FB8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.yc-field textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

/* ── Submit button ────────────────────────────────────────────────────────── */
.yc-actions {
  margin-top: 8px;
}

.yc-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: #1B2B3A;
  background: #D4A853;
  border: none;
  border-radius: 8px;
  padding: 15px 32px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.yc-btn:hover {
  background: #e0b762;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 168, 83, 0.4);
}

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

.yc-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Arrow: visible by default, hidden while loading */
.yc-btn-arrow {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.yc-btn:hover .yc-btn-arrow {
  transform: translateX(4px);
}

.yc-btn.yc-is-loading .yc-btn-arrow {
  display: none;
}

/* Spinner: hidden by default, visible while loading */
.yc-btn-spinner {
  display: none;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  animation: yc-spin 0.9s linear infinite;
}

.yc-btn.yc-is-loading .yc-btn-spinner {
  display: inline-block;
}

@keyframes yc-spin {
  to { transform: rotate(360deg); }
}

/* ── Feedback message ─────────────────────────────────────────────────────── */
.yc-feedback {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.6;
  border-radius: 8px;
  padding: 0;
}

.yc-feedback:not(:empty) {
  padding: 14px 18px;
}

.yc-feedback.yc-success {
  background: #edf7f0;
  border: 1px solid #a3d9b0;
  color: #1a6630;
}

.yc-feedback.yc-error-msg {
  background: #fdf1f2;
  border: 1px solid #f0b4b8;
  color: #8b1a1f;
}

/* ── Info sidebar ─────────────────────────────────────────────────────────── */
.yc-info-col {
  padding-top: 90px; /* align with form content below heading + subtext block */
}

.yc-info-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.yc-info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid #D0DCE6;
  border-radius: 12px;
  padding: 18px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.yc-info-card:hover {
  border-color: #D4A853;
  box-shadow: 0 4px 16px rgba(212, 168, 83, 0.12);
}

.yc-info-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: #EAF0F5;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3E5C72;
}

.yc-info-icon svg {
  width: 18px;
  height: 18px;
}

.yc-info-label {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #7A9FB8;
  margin-bottom: 3px;
}

.yc-info-value {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #1B2B3A;
}

a.yc-info-value {
  color: #D4A853;
  transition: color 0.2s;
}

a.yc-info-value:hover {
  color: #b88a3a;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .yc-section {
    padding: 64px 28px;
  }

  .yc-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .yc-info-col {
    padding-top: 0;
  }

  .yc-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}

@media (max-width: 600px) {
  .yc-section {
    padding: 48px 20px;
  }

  .yc-heading {
    font-size: 28px;
  }

  .yc-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .yc-row .yc-field {
    margin-bottom: 20px;
  }

  .yc-btn {
    width: 100%;
    justify-content: center;
  }

  .yc-info-cards {
    grid-template-columns: 1fr;
  }
}
