/* ---------------------------------------------------------------------------
   Smart Alpha Capital — application / contact forms
   Self-hosted, framework-free. Colours inherit from the surrounding section
   (currentColor) so the same markup looks right on the light and dark panels.
--------------------------------------------------------------------------- */
.sac-form {
  --sac-gold: #cbb378;
  --sac-gold-dark: #b5a06a;
  --sac-line: rgba(127, 127, 127, 0.4);
  font-family: 'Roboto', system-ui, sans-serif;
  width: 100%;
  color: inherit;
}
.sac-form *,
.sac-form *::before,
.sac-form *::after { box-sizing: border-box; }

.sac-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; }
.sac-col-full { grid-column: 1 / -1; }
@media (max-width: 680px) { .sac-grid { grid-template-columns: 1fr; gap: 20px; } }

.sac-field { display: flex; flex-direction: column; gap: 9px; min-width: 0; margin: 0; }
.sac-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; opacity: 0.7;
}
.sac-req { color: var(--sac-gold); }

.sac-control {
  width: 100%; font-family: inherit; font-size: 16px; line-height: 1.4;
  color: inherit; background: transparent; border: 0;
  border-bottom: 1px solid var(--sac-line);
  padding: 10px 2px; border-radius: 0; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sac-control::placeholder { color: currentColor; opacity: 0.4; }
.sac-control:focus { border-bottom-color: var(--sac-gold); box-shadow: 0 1px 0 0 var(--sac-gold); }
textarea.sac-control { min-height: 120px; resize: vertical; }

select.sac-control {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 28px;
  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' stroke='%23cbb378' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center;
}
select.sac-control option { color: #1e1e1e; }

.sac-radios { display: flex; flex-wrap: wrap; gap: 12px 26px; padding-top: 6px; }
.sac-radio, .sac-consent { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; }
.sac-radio { font-size: 15px; }
.sac-radio input, .sac-consent input { accent-color: var(--sac-gold); width: 17px; height: 17px; margin: 0; cursor: pointer; }

.sac-consent { align-items: flex-start; gap: 11px; font-size: 14px; opacity: 0.85; margin-top: 4px; line-height: 1.5; }
.sac-consent input { margin-top: 2px; flex: 0 0 auto; }
.sac-form a { color: var(--sac-gold); text-decoration: underline; }

.sac-actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.sac-submit {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: inherit; font-size: 15px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: #fff; background: var(--sac-gold);
  border: 0; border-radius: 40px; padding: 16px 42px; cursor: pointer;
  transition: background 0.2s, transform 0.05s;
}
.sac-submit:hover { background: var(--sac-gold-dark); }
.sac-submit:active { transform: translateY(1px); }
.sac-submit:disabled { opacity: 0.6; cursor: default; }

.sac-status { margin: 0; font-size: 14.5px; line-height: 1.5; }
.sac-status.is-ok { color: #3ba776; }
.sac-status.is-err { color: #e2574c; }

/* honeypot: hidden from users, visible to bots */
.sac-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
