/* =====================================================
   VINCITORE DESIGN — CONTACT PAGE STYLES
   ===================================================== */

/* ── ACTIVE NAV STATE ──────────────────────────────── */
.nav-link--active {
  color: var(--gold) !important;
}
.nav-link--active::after {
  width: 100% !important;
}

/* ── HERO ──────────────────────────────────────────── */
.contact-hero {
  padding: calc(var(--nav-height) + 4rem) 0 4rem;
  background: var(--white);
  border-bottom: 1px solid var(--light-grey);
  overflow: hidden;
}

.contact-hero-inner {
  position: relative;
  max-width: 780px;
}

.contact-headline {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 1.5rem;
}
.contact-headline em {
  font-style: italic;
  color: var(--gold);
}

.contact-subhead {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 1.25rem;
}

.contact-note {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.contact-note::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

/* Large decorative quotation mark */
.contact-hero-mark {
  position: absolute;
  right: -2rem;
  top: -1.5rem;
  font-size: clamp(8rem, 18vw, 16rem);
  line-height: 1;
  color: var(--light-grey);
  font-family: Georgia, serif;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.contact-hero-inner { position: relative; z-index: 1; }


/* ── BODY LAYOUT ───────────────────────────────────── */
.contact-body {
  padding: 5rem 0 6rem;
  background: var(--off-white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 5rem;
  align-items: start;
}


/* ── FORM ──────────────────────────────────────────── */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: 8px;
  padding: 3rem;
}

.form-heading {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: -.01em;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--light-grey);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row { display: flex; gap: 1.25rem; }
.form-row--half .form-group { flex: 1; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

/* Honeypot — visually hidden, not for humans */
.form-group--hidden {
  position: absolute;
  left: -9999px;
  visibility: hidden;
}

.form-label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.required { color: var(--gold); }

.form-input {
  width: 100%;
  padding: .85rem 1rem;
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 400;
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid var(--mid-grey);
  border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-input::placeholder { color: var(--text-muted); font-weight: 300; }
.form-input:hover  { border-color: #aaa; }
.form-input:focus  {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,154,82,.12);
}
.form-input.error {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192,57,43,.1);
}

/* Select wrapper */
.select-wrap {
  position: relative;
}
.form-select { padding-right: 2.5rem; cursor: pointer; }
.select-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: .7rem;
  color: var(--text-muted);
  pointer-events: none;
}

/* Textarea */
.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.65;
}

/* Submit row */
.form-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: .5rem;
}

.btn-submit {
  position: relative;
  overflow: hidden;
  min-width: 180px;
  justify-content: center;
}
.btn-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.1);
  transform: translateX(-100%);
  transition: transform .35s var(--ease);
}
.btn-submit:hover::before { transform: translateX(0); }
.btn-arrow {
  display: inline-block;
  transition: transform .25s var(--ease);
}
.btn-submit:hover .btn-arrow { transform: translateX(4px); }

.form-privacy {
  font-size: .7rem;
  color: var(--text-muted);
  letter-spacing: .05em;
}

/* Inline error shown when Formspree returns a server error */
.form-submit-error {
  font-size: .8rem;
  color: #c0392b;
  line-height: 1.5;
  margin-top: .5rem;
  width: 100%;
}

/* Error messages */
.field-error {
  font-size: .68rem;
  color: #c0392b;
  letter-spacing: .04em;
  margin-top: -.2rem;
}

/* Success state */
.form-success {
  text-align: center;
  padding: 3rem 1rem;
}
.success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gold-subtle);
  color: var(--gold);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border: 1px solid rgba(184,154,82,.3);
}
.success-title {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: .75rem;
}
.success-body {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 380px;
  margin: 0 auto;
}


/* ── SIDEBAR ───────────────────────────────────────── */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}

.sidebar-block {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--light-grey);
}
.sidebar-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-heading {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .85rem;
}

.sidebar-email {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-dark);
  border-bottom: 1px solid var(--mid-grey);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
  display: inline-block;
  word-break: break-all;
}
.sidebar-email:hover { color: var(--gold); border-color: var(--gold); }

.sidebar-location-line {
  font-size: .88rem;
  color: var(--text-body);
  line-height: 1.6;
}
.sidebar-location-line--light { color: var(--text-muted); }

.sidebar-address {
  font-style: normal;
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px dashed var(--mid-grey);
}

/* Social links */
.sidebar-social {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.sidebar-social-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .82rem;
  color: var(--text-body);
  transition: color .2s;
}
.sidebar-social-link:hover { color: var(--gold); }
.ssl-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  flex-shrink: 0;
  transition: border-color .2s, background .2s;
  color: var(--text-muted);
}
.sidebar-social-link:hover .ssl-icon {
  border-color: var(--gold);
  background: var(--gold-subtle);
  color: var(--gold);
}

/* Pull quote note */
.sidebar-block--note {
  background: var(--gold-subtle);
  border: 1px solid rgba(184,154,82,.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border-bottom: 1px solid rgba(184,154,82,.2) !important;
}
.sidebar-note {
  font-size: .88rem;
  font-style: italic;
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: .85rem;
}
.sidebar-note-sig {
  font-size: .72rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: .06em;
}


/* ── BOTTOM CTA STRIP ──────────────────────────────── */
.contact-cta-strip {
  background: var(--white);
  border-top: 1px solid var(--light-grey);
  padding: 3.5rem 0;
}
.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-strip-label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .35rem;
}
.cta-strip-body {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 460px;
}


/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1024px) {
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .contact-sidebar { position: static; }
  .sidebar-social { flex-direction: row; flex-wrap: wrap; gap: 1rem; }
}

@media (max-width: 640px) {
  .contact-form-wrap { padding: 2rem 1.5rem; }
  .form-row { flex-direction: column; gap: 1.5rem; }
  .form-actions { flex-direction: column; align-items: flex-start; }
  .btn-submit { width: 100%; justify-content: center; }
  .contact-hero-mark { display: none; }
  .cta-strip-inner { flex-direction: column; align-items: flex-start; }
}