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

/* ===== VARIABLES ===== */
:root {
  --bg: #F7F2EC;
  --bg-warm: #F0E9DF;
  --white: #FFFFFF;
  --text: #2A2320;
  --text-soft: #6B5C55;
  --accent: #B85C42;
  --accent-light: #D4806A;
  --sage: #7A9485;
  --border: #E0D5CB;
  --shadow: 0 2px 24px rgba(42,35,32,0.07);
  --shadow-lg: 0 8px 48px rgba(42,35,32,0.12);
  --radius: 4px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247, 242, 236, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 5vw;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.01em;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s;
}

/* ===== SECTIONS ===== */
.section { padding: 6rem 5vw; }
.section-narrow { padding: 5rem 5vw; }
.container { max-width: 1100px; margin: 0 auto; }
.container-sm { max-width: 720px; margin: 0 auto; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
.lead { font-size: 1.15rem; color: var(--text-soft); line-height: 1.8; font-weight: 300; }
.label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
}
.italic { font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.6; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: white !important;
}
.btn-primary:hover {
  background: #A34D35;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(184,92,66,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--text);
}
.btn-outline:hover {
  background: var(--text);
  color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding-left: 0;
  padding-right: 0;
}
.btn-ghost:hover { gap: 0.8rem; }

/* ===== DIVIDER ===== */
.divider {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 1.5rem 0;
}
.divider-center { margin-left: auto; margin-right: auto; }

/* ===== CARD ===== */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem;
  transition: box-shadow 0.25s, transform 0.25s;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

/* ===== QUOTE BLOCK ===== */
.quote-block {
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
}
.quote-block p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ===== FORM ===== */
.form-group { margin-bottom: 1.5rem; }
label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.5rem;
}
input, textarea, select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
  outline: none;
  -webkit-appearance: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--accent); }
textarea { resize: vertical; min-height: 140px; }

/* ===== HERO TEXTURE ===== */
.hero-texture {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(184,92,66,0.06) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(122,148,133,0.08) 0%, transparent 40%);
  pointer-events: none;
}

/* ===== FOOTER ===== */
footer {
  background: var(--text);
  color: rgba(247,242,236,0.7);
  padding: 3rem 5vw;
  font-size: 0.875rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--bg);
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: var(--bg); }

/* ===== FADE IN ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== ALERT ===== */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-top: 1rem;
  display: none;
}
.alert-success { background: #EAF5EC; color: #2D6A3A; border: 1px solid #B6DFB9; }
.alert-error { background: #FBF0EE; color: #8B2A1A; border: 1px solid #E8B4A8; }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 5vw;
    gap: 1rem;
  }
  .nav-burger { display: flex; }
  .section { padding: 4rem 5vw; }
}

/* buy card links styling */
.buy-card a:not(.btn) {
  color: white;
  text-decoration: underline;
}