/* Creative Crave - brand: navy + gold on cream */
:root {
  --navy: #0a2a5e;
  --navy-dark: #061b3f;
  --gold: #c3a357;
  --gold-dark: #a9873d;
  --cream: #faf6ee;
  --white: #ffffff;
  --ink: #1c2430;
  --muted: #5a6373;
  --border: #e4ddcc;
  --radius: 14px;
  --max-width: 640px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

a { color: var(--navy); }

/* Header */
.site-header {
  background: var(--navy);
  padding: 18px 0;
}
.site-header .logo {
  height: 34px;
  width: auto;
  display: block;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 44px 0 56px;
  text-align: center;
}
.hero h1 {
  font-size: 2rem;
  line-height: 1.15;
  margin: 0 0 14px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.hero .subhead {
  margin: 0 auto;
  max-width: 480px;
  color: #d8dfee;
  font-size: 1.05rem;
}

/* Form section */
.form-section {
  padding: 0 0 56px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px 32px;
  margin-top: -32px;
  box-shadow: 0 10px 30px rgba(10, 42, 94, 0.12);
  border: 1px solid var(--border);
}

.card h2 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 1.4rem;
}

.form-intro {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.field {
  margin-bottom: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 480px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
  .field-row .field { margin-bottom: 0; }
}

label, legend {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: var(--ink);
}

fieldset {
  border: none;
  padding: 0;
  margin: 0 0 18px;
}

.req { color: var(--gold-dark); font-weight: 700; }
.opt { color: var(--muted); font-weight: 400; font-size: 0.85rem; }

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
}

select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' stroke='%235a6373' stroke-width='2' fill='none' fill-rule='evenodd'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

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

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(10, 42, 94, 0.15);
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  font-size: 1rem;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.radio:has(input:checked) {
  border-color: var(--gold);
  background: #fbf3df;
}
.radio input {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
  flex: none;
}

.submit-btn {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.15s ease, transform 0.05s ease;
}
.submit-btn:hover { background: var(--navy-dark); }
.submit-btn:active { transform: translateY(1px); }
.submit-btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.privacy-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  margin: 14px 0 0;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea,
fieldset.has-error .radio {
  border-color: #b23b3b;
}
.error-text {
  color: #b23b3b;
  font-size: 0.85rem;
  margin-top: 6px;
}

/* Thank you state */
.thanks {
  text-align: center;
  padding: 44px 22px;
}
.thanks h2 {
  color: var(--navy);
  font-size: 1.6rem;
}
.thanks p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* Footer */
.site-footer {
  padding: 28px 0 40px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
.site-footer .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.logo-small {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

@media (min-width: 640px) {
  .hero h1 { font-size: 2.4rem; }
}
