/* shared.css — base styles, header, footer — used by ALL pages */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,700&family=DM+Sans:wght@300;400;500;600&display=swap');

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

:root {
  --green: #2d7a4f;
  --green-light: #e8f5ee;
  --green-dark: #1e5c3a;
  --text: #1a1a1a;
  --muted: #6b7280;
  --bg: #fafaf8;
  --white: #ffffff;
  --border: #e5e7eb;
  --peach: #fdf3ee;
  --dark: #111813;
  --shadow-sm: 0 1px 4px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.09);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.6; }

/* ── FOCUS RING ── */
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* ── HEADER ── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white); border-bottom: 1px solid var(--border);
  height: 60px; display: flex; align-items: center;
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  width: 100%; display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-dot { width: 10px; height: 10px; background: var(--green); border-radius: 50%; }
.logo span { font-weight: 600; font-size: 16px; color: var(--text); }
nav { display: flex; gap: 28px; align-items: center; }
nav a { text-decoration: none; color: var(--text); font-size: 14px; font-weight: 400; transition: color .2s; }
nav a:hover { color: var(--green); }
.btn-cta {
  background: var(--green); color: #fff; border: none; border-radius: 6px;
  padding: 9px 18px; font-size: 14px; font-weight: 500; cursor: pointer;
  text-decoration: none; transition: background .2s, transform .1s; white-space: nowrap;
}
.btn-cta:hover { background: var(--green-dark); }
.btn-cta:active { transform: scale(.97); }

/* ── FOOTER ── */
footer { background: var(--dark); border-top: 1px solid rgba(255,255,255,.08); padding: 48px 24px 24px; color: rgba(255,255,255,.6); }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo span { color: #fff; }
.footer-brand p { font-size: 13px; line-height: 1.6; margin-bottom: 16px; }
.footer-flags { font-size: 20px; display: flex; gap: 8px; }
.footer-col h4 { font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,.55); text-decoration: none; transition: color .2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px;
  display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,.3);
}

/* ── UTILITY ── */
.btn-primary {
  background: var(--green); color: #fff; padding: 11px 20px; border-radius: 6px;
  font-size: 14px; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  transition: background .2s, transform .1s, box-shadow .2s; cursor: pointer; border: none; font-family: inherit;
}
.btn-primary:hover { background: var(--green-dark); box-shadow: 0 4px 12px rgba(45,122,79,.35); }
.btn-primary:active { transform: scale(.97); }
.section-badge {
  display: inline-block; font-size: 11px; color: var(--green); background: var(--green-light);
  border: 1px solid rgba(45,122,79,.2); text-transform: uppercase; letter-spacing: .1em;
  padding: 4px 10px; border-radius: 20px; margin-bottom: 10px;
}
.section-title { font-size: 32px; font-weight: 600; margin-bottom: 12px; color: var(--text); }
.page-wrap { margin-top: 60px; }

/* ── SCROLL-TO-TOP ── */
.scroll-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--green); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s, box-shadow .2s;
  box-shadow: var(--shadow-md);
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
