/* ============================================================
   SARTOREX COLLECTIBLES — MASTER STYLESHEET
   Aesthetic: Luxury editorial / collector's cabinet
   Fonts: Cormorant Garamond (display) + DM Sans (body)
   Palette: Deep navy, warm gold, ivory
   ============================================================ */

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

:root {
  --navy:       #0d1b2a;
  --navy-mid:   #162436;
  --navy-light: #1e3148;
  --gold:       #c9a84c;
  --gold-light: #e2c97e;
  --gold-pale:  #f5ecd4;
  --ivory:      #faf7f2;
  --ivory-dark: #f0ebe0;
  --text-dark:  #1a1a2e;
  --text-mid:   #4a4a6a;
  --text-light: #8888aa;
  --white:      #ffffff;
  --nav-h:      72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--ivory);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  z-index: 1000;
  border-bottom: 1px solid rgba(201,168,76,0.25);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.nav-logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.nav-logo-sub {
  font-size: 9px;
  color: rgba(201,168,76,0.65);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 9px 22px;
  border-radius: 2px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--gold-light) !important; }

/* ── PAGE OFFSET ── */
main { padding-top: var(--nav-h); }

/* ── HERO SHARED ── */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 100px 48px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

.hero-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--white);
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 40px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── SECTION WRAPPER ── */
.section {
  padding: 80px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-sm { padding: 56px 48px; }

.section-full {
  padding: 80px 48px;
  width: 100%;
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-mid {
  background: var(--navy-mid);
  color: var(--white);
}

.section-cream {
  background: var(--ivory-dark);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-title em { font-style: italic; color: var(--gold); }

.section-intro {
  font-size: 16px;
  color: var(--text-mid);
  max-width: 620px;
  margin-bottom: 52px;
  line-height: 1.75;
}

.section-intro.white { color: rgba(255,255,255,0.7); }

.section-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}

/* ── DIVIDER ── */
.gold-rule {
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin: 24px 0 40px;
}

/* ── CARDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-top: 3px solid var(--gold);
  padding: 36px 32px;
  border-radius: 2px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.card-dark {
  background: var(--navy-light);
  border-color: rgba(201,168,76,0.2);
  border-top-color: var(--gold);
  color: var(--white);
}

.card-icon {
  font-size: 32px;
  margin-bottom: 18px;
  display: block;
}

.card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--navy);
}

.card-dark h3 { color: var(--gold); }

.card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}

.card-dark p { color: rgba(255,255,255,0.7); }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 60px 48px 32px;
  border-top: 1px solid rgba(201,168,76,0.2);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo-main { font-size: 26px; }
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 12px;
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--gold); }

.footer-rule {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
}

.footer-regulatory {
  font-size: 11px;
  color: rgba(255,255,255,0.38);
  line-height: 1.8;
}

/* ── FORMS ── */
.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #ddd;
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ── BADGE ── */
.badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
}

/* ── UTILITY ── */
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-40 { margin-bottom: 40px; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hero { padding: 60px 24px 56px; }
  .section, .section-full, .section-sm { padding: 56px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  footer { padding: 48px 24px 28px; }
}
