/* ============================================================
   Agorali — Shared Stylesheet
   Fonts : Outfit (headings) + DM Sans (body)
   All pages import this file via <link rel="stylesheet" href="style.css">
   Page-specific overrides stay in each page's own <style> tag.
   ============================================================ */

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

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

/* ---- Design tokens ---- */
:root {
  --green:       #2D6A4F;
  --green-deep:  #1F4F39;
  --green-light: #52B788;
  --green-pale:  #D8F3DC;
  --amber:       #E9C46A;
  --amber-pale:  #FFF8E7;
  --text:        #1B2821;
  --text-muted:  #5C6B5E;
  --bg:          #FAFDF8;
  --white:       #FFFFFF;
  --radius-xl:   30px;
  --radius-lg:   22px;
  --radius-md:   16px;
  --shadow:      0 16px 42px rgba(45, 106, 79, 0.10);
  --shadow-lg:   0 18px 48px rgba(45, 106, 79, 0.12);
}

/* ---- Base ---- */
html { scroll-behavior: smooth; }

body {
  font-family: "DM Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a    { color: inherit; text-decoration: none; }
button { font: inherit; }

/* ---- Layout ---- */
.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* ---- Fade-in animation ---- */
.fade-in-section {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Navigation ---- */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 253, 248, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(45, 106, 79, 0.10);
}

nav .container {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.logo img { width: 42px; height: 42px; display: block; }

.nav-center,
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-center { flex-wrap: wrap; }

.nav-center a {
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 500;
}
.nav-center a:hover { color: var(--green); }

.lang-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--green-pale);
}

.lang-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green);
}
.lang-btn.active { background: var(--green); color: var(--white); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 700;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(45, 106, 79, 0.22);
}
.btn-primary:hover { background: var(--green-deep); }

.btn-secondary {
  border: 2px solid rgba(45, 106, 79, 0.20);
  color: var(--green);
  background: transparent;
}
.btn-secondary:hover { background: var(--green-pale); }

/* ---- Eyebrow / badge ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--green-pale);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 24px;
  border: 1px solid rgba(45, 106, 79, 0.12);
}

/* ---- Section shared ---- */
.section { padding: 24px 0 72px; }

.section-head {
  max-width: 760px;
  margin-bottom: 32px;
}
.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--green-light);
  font-weight: 700;
  margin-bottom: 10px;
}

.section-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 12px;
}

.section-sub { color: var(--text-muted); font-size: 1rem; }

/* ---- Card ---- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(45, 106, 79, 0.10);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p   { color: var(--text-muted); font-size: 0.95rem; }

/* ---- Hero (inner pages) ---- */
.hero { padding: 74px 0 42px; }

.hero h1 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 14ch;
  margin-bottom: 16px;
}

.hero p {
  color: var(--text-muted);
  max-width: 58ch;
  font-size: 1.02rem;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  color: var(--green);
  font-weight: 700;
  font-size: 0.95rem;
}
.hero-links a:hover { text-decoration: underline; }

/* ---- CTA block ---- */
.cta { padding: 10px 0 92px; }

.cta-shell {
  background: linear-gradient(180deg, var(--green-pale) 0%, #effaf2 100%);
  border: 1px solid rgba(45, 106, 79, 0.12);
  border-radius: 30px;
  padding: 38px;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta h2 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 12px;
}
.cta p {
  color: var(--text-muted);
  max-width: 48ch;
  margin: 0 auto 22px;
}
.cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---- Footer ---- */
footer {
  border-top: 1px solid rgba(45, 106, 79, 0.10);
  padding: 28px 0 40px;
}
footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--green); }

/* ---- Responsive ---- */
@media (max-width: 920px) {
  .nav-center {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 680px) {
  nav .container, .nav-right, .nav-center,
  .cta-actions, footer .container { flex-wrap: wrap; }
  .nav-center { width: 100%; justify-content: center; }
  .btn { width: 100%; }
  .cta-shell { padding: 24px 20px; }
  footer .container { flex-direction: column; text-align: center; }
}
