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

:root {
  --sage: #6B8F6B;
  --sage-dark: #4a6b4a;
  --sage-light: #a8c5a8;
  --sage-pale: #e8f0e8;
  --cream: #F5F0EB;
  --cream-dark: #EDE6DD;
  --cream-deeper: #e0d8ce;
  --text: #2d3a2d;
  --text-light: #5a6b5a;
  --text-lighter: #8a9b8a;
  --white: #ffffff;
}

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

html { scroll-behavior: smooth; }

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

/* ── NAVIGATION ── */
nav {
  background: var(--cream);
  padding: 0 48px;
  height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--cream-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s;
}

nav.scrolled {
  box-shadow: 0 2px 20px rgba(45,58,45,0.08);
}

.nav-logo img { height: 52px; }

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

.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0; right: 0;
  height: 1.5px;
  background: var(--sage);
  transform: scaleX(0);
  transition: transform 0.25s;
}

.nav-links a:hover { color: var(--sage-dark); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-links a.active { color: var(--sage-dark); font-weight: 600; }

.nav-cta {
  background: var(--sage) !important;
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600 !important;
  font-size: 13px !important;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--sage-dark) !important; transform: translateY(-1px); }

/* ── FOOTER ── */
footer {
  background: var(--text);
  padding: 56px 48px 36px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img {
  height: 48px;
  filter: brightness(10);
  opacity: 0.85;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  max-width: 220px;
}

.footer-col h4 {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  max-width: 1080px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* ── SHARED SECTIONS ── */
.container { max-width: 1080px; margin: 0 auto; }

.section-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 14px;
  font-weight: 600;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 44px);
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 18px;
}

.section-body {
  font-size: 17px;
  color: var(--text-light);
  font-weight: 300;
  line-height: 1.75;
  max-width: 620px;
}

/* ── EMAIL SIGNUP SHARED ── */
.signup-section {
  background: var(--sage);
  padding: 80px 48px;
  text-align: center;
}

.signup-section .section-label { color: rgba(255,255,255,0.55); }

.signup-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.5vw, 40px);
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.25;
}

.signup-section p {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  font-weight: 300;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.signup-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 520px;
  margin: 0 auto 16px;
}

.signup-form input[type="email"] {
  flex: 1;
  min-width: 240px;
  padding: 14px 22px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  background: rgba(255,255,255,0.12);
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.signup-form input[type="email"]::placeholder { color: rgba(255,255,255,0.5); }
.signup-form input[type="email"]:focus { border-color: rgba(255,255,255,0.6); }

.signup-form button {
  background: var(--cream);
  color: var(--sage-dark);
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: all 0.25s;
}

.signup-form button:hover {
  background: #fff;
  transform: translateY(-2px);
}

.signup-note {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* ── PAGE HERO SHARED ── */
.page-hero {
  background: var(--sage);
  padding: 72px 48px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.page-hero .section-label { color: rgba(255,255,255,0.55); }

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 54px);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 18px;
  max-width: 680px;
}

.page-hero h1 em { font-style: italic; }

.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  font-weight: 300;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}

.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.25s; }
.fade-up-3 { animation-delay: 0.4s; }
.fade-up-4 { animation-delay: 0.55s; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { gap: 20px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .page-hero, .signup-section { padding: 56px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
