/* Prepwell – Shared Stylesheet */

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

:root {
  --olive: #575917;
  --olive-mid: #8A8D35;
  --olive-light: #B8BA6A;
  --olive-pale: #DDDFA8;
  --olive-mist: #EEEFD4;
  --cream: #FEFCF7;
  --cream-dark: #EFEEE5;
  --charcoal: #2C2C2C;
  --mid: #5A5A5A;
  --light: #9A9A9A;
  --amber: #C8812A;
  --amber-light: #E09A45;
  --terracotta: #B85C38;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─────────────────────────────────────────────────────────────── */

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(254,252,247,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--olive-mist);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 16px;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 24px; font-weight: 700;
  color: var(--olive); text-decoration: none;
  flex-shrink: 0;
}
.nav-links {
  display: flex; align-items: center; gap: 4px;
  flex: 1; justify-content: center;
}
.nav-link {
  font-size: 14px; font-weight: 500;
  color: var(--mid); text-decoration: none;
  padding: 6px 14px; border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--olive); background: var(--olive-mist); }
.nav-link.active { color: var(--olive); font-weight: 600; background: var(--olive-mist); }
.nav-cta {
  background: var(--amber); color: var(--cream);
  padding: 10px 22px; border-radius: 14px; border: none;
  font-size: 14px; font-weight: 600; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s; text-decoration: none;
  flex-shrink: 0; white-space: nowrap;
}
.nav-cta:hover { background: var(--terracotta); }

/* Hamburger */
.nav-burger {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 6px; color: var(--olive);
}
.nav-mobile {
  display: none;
  background: var(--cream);
  border-top: 1px solid var(--olive-mist);
  padding: 16px 24px 20px;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block; font-size: 16px; font-weight: 500;
  color: var(--charcoal); text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--olive-mist);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a.active { color: var(--olive); font-weight: 600; }
.nav-mobile .nav-mobile-cta {
  display: block; margin-top: 16px;
  background: var(--amber); color: var(--cream);
  padding: 12px 24px; border-radius: 14px;
  text-align: center; font-weight: 600; font-size: 15px;
}
.nav-mobile .nav-mobile-cta:hover { background: var(--terracotta); }

/* ─── FOOTER ──────────────────────────────────────────────────────────── */

footer {
  background: var(--cream);
  padding: 40px 24px;
  text-align: center;
  border-top: 1px solid var(--olive-mist);
}
.footer-inner { max-width: 900px; margin: 0 auto; }
.footer-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 40px; margin-bottom: 40px; text-align: left;
  flex-wrap: wrap;
}
.footer-brand .footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700;
  color: var(--olive); text-decoration: none;
  display: block; margin-bottom: 8px;
}
.footer-brand p {
  font-size: 14px; color: var(--mid); max-width: 220px;
  font-style: italic; line-height: 1.5;
}
.footer-col h5 {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--light); margin-bottom: 14px;
}
.footer-col a {
  display: block;
  color: var(--mid); text-decoration: none;
  font-size: 14px; font-weight: 500;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--olive); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--olive-mist);
}
.footer-social {
  display: flex; align-items: center; gap: 12px;
}
.footer-social a {
  color: var(--olive); text-decoration: none;
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--amber); }
.footer-copy {
  font-size: 12px; color: var(--light);
}

/* ─── PAGE HEADER (inner pages) ─────────────────────────────────────── */

.page-hero {
  padding: 120px 24px 72px;
  background: var(--olive);
  text-align: center;
  color: var(--cream-dark);
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700; line-height: 1.2;
  color: var(--cream-dark);
  max-width: 700px; margin: 0 auto 16px;
}
.page-hero p {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--olive-pale);
  max-width: 540px; margin: 0 auto;
  line-height: 1.6;
}

/* ─── BUTTONS ─────────────────────────────────────────────────────────── */

.btn-primary {
  display: inline-block;
  background: var(--amber); color: var(--cream);
  padding: 14px 32px; border-radius: 14px; border: none;
  font-size: 15px; font-weight: 600; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s; text-decoration: none;
}
.btn-primary:hover { background: var(--terracotta); }

.btn-outline {
  display: inline-block;
  border: 2px solid var(--olive); color: var(--olive);
  padding: 12px 30px; border-radius: 14px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s; text-decoration: none;
  background: transparent;
}
.btn-outline:hover { background: var(--olive); color: var(--cream); }

/* ─── SECTION UTILITIES ───────────────────────────────────────────────── */

.section { padding: 80px 24px; }
.section-sm { padding: 60px 24px; }
.container { max-width: 1060px; margin: 0 auto; }
.container-sm { max-width: 760px; margin: 0 auto; }
.text-center { text-align: center; }

.section-label {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--amber); margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.5vw, 38px); font-weight: 700;
  color: var(--olive); margin-bottom: 12px; line-height: 1.2;
}
.section-sub {
  font-size: 16px; color: var(--mid);
  max-width: 540px; margin: 0 auto 48px;
  line-height: 1.6;
}

/* ─── CARDS ───────────────────────────────────────────────────────────── */

.card {
  background: white; border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid var(--olive-mist);
}
.card-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card-icon.amber-bg { background: rgba(200,129,42,0.12); }
.card-icon.olive-bg { background: rgba(87,89,23,0.08); }
.card-icon svg {
  width: 24px; height: 24px;
  fill: none; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.card-icon.amber-bg svg { stroke: var(--amber); }
.card-icon.olive-bg svg { stroke: var(--olive-mid); }
.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700;
  color: var(--olive); margin-bottom: 8px;
}
.card p { color: var(--mid); font-size: 15px; line-height: 1.55; }

/* ─── FADE-UP ANIMATION ───────────────────────────────────────────────── */

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ──────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .page-hero { padding: 100px 20px 60px; }
  .section { padding: 60px 20px; }
  .section-sm { padding: 40px 20px; }
}
