@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Noto+Sans+TC:wght@400;500;700;900&display=swap');

:root {
  --coral: #FF5A4E;
  --gold: #E29A2C;
  --teal: #1F9C81;
  --navy: #0B0720;
  --pearl: #FBF6EE;
  --ink: #1A1420;
  --line: rgba(11, 7, 32, 0.14);
  --font-display: 'Fredoka', 'Noto Sans TC', sans-serif;
  --font-body: 'Noto Sans TC', sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--pearl);
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Key visual banner ---------- */
.site-banner {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: var(--navy);
  display: flex;
  justify-content: center;
}
.site-banner img {
  width: auto;
  height: 260px;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
@media (max-width: 640px) {
  .site-banner img { height: 160px; }
}
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 246, 238, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-nav .wrap {
  max-width: 1040px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand-mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  text-decoration: none;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.brand-mark span { color: var(--coral); }
.nav-links {
  display: flex;
  gap: 22px;
  font-size: 14.5px;
  font-weight: 500;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.nav-links a:hover { border-color: var(--coral); color: var(--coral); }
.nav-links a.current { border-color: var(--navy); color: var(--navy); }

@media (max-width: 640px) {
  .nav-links { display: none; }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 90px;
  padding: 34px 0 44px;
  color: rgba(26, 20, 32, 0.6);
  font-size: 13.5px;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15.5px;
  padding: 13px 26px;
  border-radius: 3px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--coral); color: var(--pearl); }
.btn-primary:hover { background: #e64a3e; }
.btn-ghost { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--pearl); }
.btn-gold { background: var(--gold); color: var(--pearl); }
.btn-gold:hover { background: #c9871f; }

/* ---------- Section labels (used instead of ALLCAPS eyebrows) ---------- */
.kicker {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  color: var(--coral);
}

/* ---------- Forms ---------- */
.field {
  margin-bottom: 22px;
}
.field label {
  display: block;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 7px;
}
.field .hint {
  font-weight: 400;
  font-size: 13px;
  color: rgba(26,20,32,0.55);
  margin-top: 4px;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field textarea,
.field select {
  width: 100%;
  font: inherit;
  font-size: 15.5px;
  padding: 12px 14px;
  border: 1.6px solid var(--line);
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--coral);
}
.required-mark { color: var(--coral); margin-left: 3px; }

.checkbox-group, .radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checkbox-group label, .radio-group label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 15px;
  cursor: pointer;
}
.checkbox-group input, .radio-group input {
  margin-top: 4px;
  width: 17px;
  height: 17px;
  accent-color: var(--coral);
  flex-shrink: 0;
}

.file-drop {
  border: 1.6px dashed var(--line);
  border-radius: 3px;
  padding: 18px 14px;
  background: #fff;
  font-size: 14px;
  color: rgba(26,20,32,0.65);
}

.form-card {
  background: #fff;
  border: 1.6px solid var(--line);
  border-radius: 4px;
  padding: 36px clamp(20px, 5vw, 44px);
}

.form-status {
  margin-top: 18px;
  font-size: 14.5px;
  font-weight: 500;
  display: none;
}
.form-status.show { display: block; }
.form-status.ok { color: var(--teal); }
.form-status.err { color: var(--coral); }

.submit-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
