/* _________________________________________________________
   ELITE COLLECTIVE — MASTER FORMS STYLESHEET
   Compact, branded forms. Navy · Gold · Cream palette.
   Last updated: 2026-04-16
   _________________________________________________________ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Lato:wght@300;400;700&display=swap');

:root {
  --navy:         #1B2A4A;
  --navy-deep:    #1B2A4A;
  --coastal-blue: #1B2A4A;
  --gold:         #C4A35A;
  --gold-dark:    #A08636;
  --gold-light:   #D4C4B0;
  --cream:        #F7F5F0;
  --cream-dark:   #EDE8DF;
  --white:        #FFFFFF;
}

/* -------- Form container -------- */
.ec-form {
  max-width: 520px;
  margin: 0 auto;
  padding: 28px 32px 20px;
  background: var(--navy);
  border-radius: 6px;
  font-family: 'Lato', sans-serif;
  color: var(--cream);
}

.ec-form__eyebrow {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 6px;
}

.ec-form__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 8px;
  line-height: 1.25;
}

.ec-form__divider {
  border: none;
  border-top: 1px solid var(--gold);
  margin: 8px 0 10px;
  opacity: 0.5;
}

.ec-form__intro {
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.75);
  margin: 0 0 16px;
  font-weight: 300;
}

/* -------- Fields -------- */
.ec-field { margin-bottom: 12px; }
.ec-field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.ec-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.ec-label__required { color: var(--gold); margin-left: 2px; }
.ec-label__optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255,255,255,0.45);
  font-size: 0.65rem;
  margin-left: 4px;
}

.ec-input,
.ec-textarea,
.ec-select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--white);
  transition: border-color 0.2s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

.ec-textarea { min-height: 80px; resize: vertical; }

.ec-select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3e%3cpath d='M1 1l5 5 5-5' stroke='%23C4A35A' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 7px;
  padding-right: 36px;
}

.ec-select option { background: var(--navy); color: var(--cream); }

.ec-input::placeholder,
.ec-textarea::placeholder {
  color: rgba(255,255,255,0.35);
  font-style: normal;
}

.ec-input:focus,
.ec-textarea:focus,
.ec-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(196, 163, 90, 0.2);
}

.ec-input:invalid:not(:placeholder-shown),
.ec-textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(255,255,255,0.2);
}

/* -------- Submit button -------- */
.ec-submit {
  display: block;
  width: 100%;
  padding: 10px 24px;
  margin-top: 16px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.ec-submit:hover { background: var(--gold-dark); }
.ec-submit:active { transform: scale(0.98); }

/* -------- Footer inside form -------- */
.ec-form__footer {
  background: rgba(0,0,0,0.15);
  margin: 20px -32px -20px;
  padding: 14px 32px;
  border-radius: 0 0 6px 6px;
  text-align: center;
}

.ec-form__footer-privacy {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  margin-bottom: 6px;
}

.ec-form__footer a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
}

.ec-form__footer a:hover,
.ec-form__footer a:focus { border-bottom-color: var(--gold); }

.ec-form__footer-caldre {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

/* -------- Responsive -------- */
@media (prefers-reduced-motion: reduce) {
  .ec-input, .ec-textarea, .ec-select, .ec-submit { transition: none; }
}

@media (max-width: 560px) {
  .ec-form { padding: 22px 20px 16px; max-width: 100%; }
  .ec-field--row { grid-template-columns: 1fr; gap: 10px; }
  .ec-form__title { font-size: 1.25rem; }
  .ec-form__footer { margin: 16px -20px -16px; padding: 12px 20px; }
}