@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Nunito:wght@300;400;500;600&display=swap');

/* ── Light mode ── */
:root {
  --bg:           #F8F4FF;
  --bg2:          #F0E6FF;
  --surface:      #FFFFFF;
  --navy:         #1B2A4A;
  --navy-soft:    #2C3E6B;
  --navy-muted:   #4A5E85;
  --navy-faint:   #F8F4FF;
  --gold:         #B8842A;;
  --gold-light:   #D4A84B;
  --gold-pale:    #FDF3E3;
  --gold-border:  #E8C87A;
  --ink:          #1B2A4A;
  --ink-muted:    #4A5E85;
  --ink-faint:    #8A9BBF;
  --border:       rgba(27,42,74,0.10);
  --border-soft:  rgba(27,42,74,0.06);
  --shadow-sm:    0 1px 4px rgba(27,42,74,0.08);
  --shadow-md:    0 4px 20px rgba(27,42,74,0.12);
  --shadow-lg:    0 12px 40px rgba(27,42,74,0.16);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Nunito', sans-serif;
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --radius-xl:    32px;
  --transition:   0.22s cubic-bezier(0.4,0,0.2,1);
}

/* ── Dark mode ── */
[data-theme="dark"] {
  --bg:           #1E1B4B;
  --bg2:          #13113A;
  --surface:      #1B2A4A;
  --navy:         #E8EDFA;
  --navy-soft:    #C8D4EE;
  --navy-muted:   #8A9BBF;
  --navy-faint:   #4A5E85;
  --gold:         #D4A84B;
  --gold-light:   #E8C87A;
  --gold-pale:    #1F1608;
  --gold-border:  #6B5018;
  --ink:          #E8EDFA;
  --ink-muted:    #8A9BBF;
  --ink-faint:    #4A5E85;
  --border:       rgba(232,237,250,0.10);
  --border-soft:  rgba(232,237,250,0.05);
  --shadow-sm:    0 1px 4px rgba(0,0,0,0.3);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.5);
}

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s, color 0.3s;
}
h1,h2,h3,h4,h5 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font-family: var(--font-body); }

/* ── Layout ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 800; cursor: pointer;
  border: none; transition: var(--transition); white-space: nowrap;
  font-family: var(--font-body);
}
.btn-primary { background: var(--navy-soft); color: #fff; }
.btn-primary:hover { background: var(--navy); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.btn-outline:hover { background: var(--bg2); border-color: var(--navy-faint); }
.btn-ghost { background: transparent; color: var(--ink-muted); padding: 10px 16px; }
.btn-ghost:hover { color: var(--ink); background: var(--bg2); }

/* ── Tag / badge ── */
.tag {
  display: inline-flex; align-items: center;
  padding: 4px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 600;
  background: var(--gold-pale); color: var(--gold);
  border: 1px solid var(--gold-border); letter-spacing: 0.04em;
}

/* ── Form inputs ── */
.input-field {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface); color: var(--ink);
  font-size: 14px; outline: none;
  transition: var(--transition);
}
.input-field:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,132,42,0.15); }
.input-field::placeholder { color: var(--ink-faint); }

/* ── Card ── */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: background 0.3s, border-color 0.3s;
}

/* ── Divider ── */
hr.divider { height: 1px; background: var(--border); border: none; }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(18px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
.fade-up { animation: fadeUp 0.55s ease both; }
.fade-in { animation: fadeIn 0.4s ease both; }
.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }
.delay-4 { animation-delay: 0.32s; }

/* ── Form helpers ── */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-muted); margin-bottom: 7px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: 12px; color: var(--ink-faint); margin-top: 4px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
