:root {
  --navy:       #0f2a4a;
  --navy-mid:   #1a3f6f;
  --blue:       #2563a8;
  --blue-light: #4a90d9;
  --accent:     #c8a96e;
  --cream:      #f7f5f0;
  --white:      #ffffff;
  --gray-100:   #f0f2f5;
  --gray-300:   #c8cdd6;
  --gray-500:   #6b7280;
  --gray-700:   #374151;
  --success:    #1e6b44;
  --error:      #991b1b;
  --radius:     6px;
  --shadow-sm:  0 1px 3px rgba(15,42,74,.08);
  --shadow-md:  0 4px 16px rgba(15,42,74,.12);
  --shadow-lg:  0 12px 40px rgba(15,42,74,.18);
  --transition: .2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--cream);
  color: var(--gray-700);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── HEADER ─────────────────────────────────────────────────────────────────── */

header {
  background: var(--navy);
  padding: 0 2rem;
  position: relative;
  overflow: hidden;
}

header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--blue-light), var(--accent));
}

.header-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem 0 2rem;
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
}

.logo-mark {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.02em;
  box-shadow: 0 2px 10px rgba(37,99,168,.4);
}

.header-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: .01em;
  line-height: 1.15;
}

.header-text p {
  font-size: .85rem;
  font-weight: 300;
  color: var(--blue-light);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: .25rem;
}

/* ── TRUST BAR ───────────────────────────────────────────────────────────────── */

.trust-bar {
  background: var(--navy-mid);
  padding: .6rem 2rem;
}

.trust-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  color: var(--gray-300);
  letter-spacing: .04em;
}

.trust-item svg {
  width: 13px;
  height: 13px;
  fill: var(--accent);
  flex-shrink: 0;
}

/* ── MAIN ────────────────────────────────────────────────────────────────────── */

main {
  flex: 1;
  padding: 3rem 2rem 4rem;
}

.page-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.intro {
  margin-bottom: 2.5rem;
}

.intro h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .5rem;
}

.intro p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gray-500);
  max-width: 560px;
}

/* ── CARD ────────────────────────────────────────────────────────────────────── */

.card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.card-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}

.card-header svg {
  width: 20px; height: 20px;
  fill: var(--accent);
  flex-shrink: 0;
}

.card-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}

.card-body { padding: 2rem; }

/* ── FORM GRID ───────────────────────────────────────────────────────────────── */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-group.full { grid-column: 1 / -1; }

label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .04em;
  text-transform: uppercase;
}

label span.req { color: var(--blue); margin-left: 2px; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  padding: .65rem .85rem;
  font-family: 'Source Sans 3', sans-serif;
  font-size: .95rem;
  color: var(--gray-700);
  background: var(--gray-100);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  width: 100%;
  outline: none;
  appearance: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(37,99,168,.1);
}

select {
  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 d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  padding-right: 2.2rem;
  cursor: pointer;
}

textarea { resize: vertical; min-height: 90px; }

/* ── DIVIDER ─────────────────────────────────────────────────────────────────── */

.section-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0 1.5rem;
}

.section-divider span {
  font-size: .78rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-300);
}

/* ── DROP ZONE ───────────────────────────────────────────────────────────────── */

.drop-zone {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  background: var(--gray-100);
  position: relative;
}

.drop-zone:hover,
.drop-zone.dragover {
  border-color: var(--blue);
  background: rgba(37,99,168,.04);
}

.drop-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.drop-icon {
  width: 44px; height: 44px;
  margin: 0 auto .85rem;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drop-icon svg { width: 20px; height: 20px; fill: white; }

.drop-zone h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: .3rem;
}

.drop-zone p {
  font-size: .85rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.drop-zone .browse-link {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── FILE LIST ───────────────────────────────────────────────────────────────── */

#file-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.file-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem .9rem;
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: .875rem;
  animation: fadeIn .2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}

.file-item svg { width: 16px; height: 16px; fill: var(--blue); flex-shrink: 0; }
.file-name { flex: 1; color: var(--gray-700); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-size { color: var(--gray-500); font-size: .78rem; white-space: nowrap; }

.file-remove {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  color: var(--gray-500);
  line-height: 1;
  transition: color var(--transition);
  flex-shrink: 0;
}

.file-remove:hover { color: var(--error); }
.file-remove svg { width: 14px; height: 14px; fill: currentColor; display: block; }

#file-error {
  font-size: .8rem;
  color: var(--error);
  margin-top: .4rem;
  display: none;
}

/* ── SUBMIT ──────────────────────────────────────────────────────────────────── */

.submit-row {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.privacy-note {
  font-size: .78rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: .35rem;
}

.privacy-note svg { width: 13px; height: 13px; fill: var(--accent); flex-shrink: 0; }

.btn-submit {
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy-mid) 100%);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: .8rem 2.2rem;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 3px 10px rgba(37,99,168,.35);
  display: flex;
  align-items: center;
  gap: .5rem;
  white-space: nowrap;
}

.btn-submit:hover:not(:disabled) {
  opacity: .92;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37,99,168,.4);
}

.btn-submit:active:not(:disabled) { transform: none; }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; }

.btn-submit .spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: none;
}

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

/* ── ALERTS ──────────────────────────────────────────────────────────────────── */

.alert {
  display: none;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
  font-size: .9rem;
  line-height: 1.5;
  border-left: 4px solid;
}

.alert.success {
  background: #ecfdf5;
  border-color: var(--success);
  color: var(--success);
}

.alert.error {
  background: #fef2f2;
  border-color: var(--error);
  color: var(--error);
}

.alert h4 { font-weight: 600; margin-bottom: .25rem; }

/* ── CONTACT STRIP ───────────────────────────────────────────────────────────── */

.contact-strip {
  margin-top: 3rem;
  padding: 1.5rem 2rem;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.contact-strip-label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .08em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.contact-items {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .875rem;
  color: var(--gray-700);
  text-decoration: none;
  transition: color var(--transition);
}

.contact-item:hover { color: var(--blue); }
.contact-item svg { width: 15px; height: 15px; fill: var(--blue-light); flex-shrink: 0; }

/* ── FOOTER ──────────────────────────────────────────────────────────────────── */

footer {
  background: var(--navy);
  color: var(--gray-300);
  text-align: center;
  padding: 1.25rem 2rem;
  font-size: .8rem;
  letter-spacing: .04em;
}

footer a { color: var(--blue-light); text-decoration: none; }

.footer-break { display: block; margin: .35rem 0 0; }

.footer-credit {
	display: block;
  font-size: .8rem;
  color: rgba(255,255,255,.8);
  letter-spacing: .03em;
	margin:10px 0 0 0;
}

.footer-credit a {
  color: rgba(255,255,255,.95);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-credit a:hover { color: var(--blue-light); }

/* ── RESPONSIVE ──────────────────────────────────────────────────────────────── */

@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .submit-row { flex-direction: column; align-items: flex-start; }
  .btn-submit { width: 100%; justify-content: center; }
  .card-body { padding: 1.25rem; }
  .contact-strip { flex-direction: column; gap: .75rem; }
}