/* ============================================
   EcoTourDB — Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --dark-green: #163a2c;
  --darker-green: #0f2a20;
  --mid-green: #2f5c46;
  --mint: #7fd9a8;
  --mint-soft: #a9e6c4;
  --mint-bg: #dff2e6;
  --cream: #f2ede2;
  --cream-2: #ece5d6;
  --white: #ffffff;
  --ink: #16241d;
  --gray: #6f7a72;
  --border: #e4ddcd;
  --star: #f2a93b;

  --font-display: "Fraunces", serif;
  --font-body: "Inter", sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-card: 0 12px 30px rgba(15, 42, 32, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--dark-green);
  font-weight: 600;
}

p { margin: 0; }

a { color: inherit; }

button { font-family: var(--font-body); cursor: pointer; }

img { max-width: 100%; display: block; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* ---------- Navbar ---------- */

.navbar {
  background: var(--dark-green);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}

.nav-logo .logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--mint), var(--mid-green));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--darker-green);
  flex-shrink: 0;
}

.nav-logo .db-suffix {
  color: var(--mint-soft);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: #d7e6dc;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

.nav-links a.active {
  color: var(--white);
  border-color: var(--mint-soft);
  background: rgba(127, 217, 168, 0.08);
}

.nav-links svg { width: 16px; height: 16px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  padding: 12px 22px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}

.btn svg { width: 16px; height: 16px; }

.btn-solid-mint {
  background: linear-gradient(135deg, var(--mint), var(--mid-green));
  color: var(--darker-green);
}
.btn-solid-mint:hover { transform: translateY(-1px); opacity: 0.95; }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.08); }

.btn-solid-dark {
  background: var(--dark-green);
  color: var(--white);
}
.btn-solid-dark:hover { background: var(--darker-green); }

.btn-outline-dark {
  background: var(--white);
  color: var(--ink);
  border-color: var(--border);
}
.btn-outline-dark:hover { background: var(--cream); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  padding: 110px 60px 90px;
  color: var(--white);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(15,38,29,0.92) 0%, rgba(15,38,29,0.78) 45%, rgba(15,38,29,0.55) 75%);
}

.hero-content { position: relative; max-width: 640px; }

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--mint-soft);
  color: var(--mint-soft);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.1;
  color: var(--white);
}

.hero h1 .mint-line { color: var(--mint-soft); display: block; }

.hero p.lead {
  margin-top: 22px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #dbe6e0;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
}

/* ---------- Stats bar ---------- */

.stats-bar {
  background: var(--dark-green);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 34px 60px;
  position: relative;
}

.stat {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
}

.stat svg { width: 22px; height: 22px; color: var(--mint-soft); flex-shrink: 0; }

.stat .stat-number { font-size: 1.3rem; font-weight: 700; }
.stat .stat-label { font-size: 0.82rem; color: var(--mint-soft); margin-top: 2px; }

/* ---------- Section shells ---------- */

.section {
  padding: 90px 60px;
}

.section-cream { background: var(--cream); }

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 50px;
}

.eyebrow {
  display: block;
  color: var(--mid-green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.section-header h2 { font-size: 2.2rem; }

.section-header p {
  margin-top: 14px;
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.6;
}

/* ---------- Feature cards ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: var(--ink);
  display: block;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--white);
}

.feature-icon svg { width: 20px; height: 20px; }

.icon-dark { background: var(--dark-green); }
.icon-mint { background: var(--mint); color: var(--darker-green); }

.feature-card h3 { font-size: 1.15rem; margin-bottom: 8px; }

.feature-card p {
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 18px;
}

.feature-card .open-link {
  color: var(--mid-green);
  font-weight: 700;
  font-size: 0.9rem;
}

.feature-card-image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 200px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 26px;
  color: var(--white);
}

.feature-card-image::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,30,22,0.85), rgba(10,30,22,0.15));
}

.feature-card-image .fci-content { position: relative; z-index: 1; }
.feature-card-image h3 { color: var(--white); font-size: 1.1rem; }
.feature-card-image span { color: var(--mint-soft); font-size: 0.85rem; }

/* ---------- Quote banner ---------- */

.quote-banner {
  position: relative;
  padding: 100px 40px;
  background-size: cover;
  background-position: center;
  text-align: center;
  color: var(--white);
}

.quote-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,38,29,0.65), rgba(15,38,29,0.75));
}

.quote-banner blockquote {
  position: relative;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  max-width: 700px;
  margin: 0 auto;
}

.quote-banner .quote-caption {
  position: relative;
  display: block;
  margin-top: 14px;
  color: var(--mint-soft);
  font-size: 0.9rem;
  font-style: normal;
}

/* ---------- CTA section ---------- */

.cta-section {
  text-align: center;
  padding: 90px 60px;
}

.cta-section h2 { font-size: 2rem; }

.cta-section p {
  color: var(--gray);
  margin-top: 14px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn { margin-top: 30px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--dark-green);
  color: #c9d8cf;
  padding: 60px 60px 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  max-width: 1180px;
  margin: 0 auto;
  padding-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-col p { font-size: 0.9rem; line-height: 1.6; }

.footer-col h4 {
  color: var(--mint-soft);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul a { text-decoration: none; color: #c9d8cf; font-size: 0.9rem; }
.footer-col ul a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}
.footer-contact-item svg { width: 16px; height: 16px; color: var(--mint-soft); flex-shrink: 0; }

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #93a89c;
}

/* ============================================
   Wizard / form pages
   ============================================ */

.split-page {
  display: flex;
  min-height: 640px;
}

.split-visual {
  flex: 0 0 40%;
  position: relative;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  overflow: hidden;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.split-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 42, 32, 0.18) 0%, rgba(16, 42, 32, 0.56) 54%, rgba(16, 42, 32, 0.82) 100%);
  pointer-events: none;
}

.split-visual .visual-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(127,217,168,0.25);
  border: 1px solid rgba(127,217,168,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.split-visual .visual-icon svg { width: 20px; height: 20px; color: var(--mint-soft); }

.split-visual h1 { position: relative; z-index: 1; color: var(--white); font-size: 1.9rem; }
.split-visual p { position: relative; z-index: 1; color: #d9ebe0; margin-top: 8px; font-size: 0.95rem; max-width: 320px; }

.split-form {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  background: var(--cream);
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 460px;
  width: 100%;
  box-shadow: var(--shadow-card);
}

.form-card-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 22px;
}

.form-card-header h2 { font-size: 1.35rem; }
.form-card-header .step-label {
  color: var(--gray);
  font-size: 0.85rem;
  margin-top: 4px;
  display: block;
}

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
}

.field input::placeholder,
.field textarea::placeholder { color: #a9a297; }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(127,217,168,0.25);
}

.field input.readonly-field {
  background: var(--mint-bg);
  border-color: var(--mint-soft);
  color: var(--dark-green);
  font-weight: 600;
}

.field-amount { position: relative; }
.field-amount .currency-prefix {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
  font-weight: 600;
  pointer-events: none;
}
.field-amount input { padding-left: 28px; }

.info-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--mint-bg);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 20px;
}

.info-box .info-icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--dark-green);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}
.info-box .info-icon svg { width: 14px; height: 14px; }

.info-box strong { display: block; font-size: 0.88rem; color: var(--dark-green); margin-bottom: 3px; }
.info-box p, .info-box li { font-size: 0.85rem; color: var(--mid-green); line-height: 1.5; }
.info-box ul { margin: 4px 0 0; padding-left: 16px; }

.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 26px;
}

/* Star rating */
.star-rating {
  display: flex;
  gap: 6px;
  font-size: 1.6rem;
  margin-bottom: 4px;
}
.star-rating .star {
  cursor: pointer;
  color: var(--border);
  transition: color 0.1s ease;
}
.star-rating .star.filled,
.star-rating .star:hover,
.star-rating .star:hover ~ .star { color: var(--star); }

/* ---------- Thank you page ---------- */

.thankyou-wrap {
  min-height: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.thankyou-icon {
  position: relative;
  width: 92px; height: 92px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--mid-green), var(--dark-green));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 26px;
}
.thankyou-icon svg { width: 40px; height: 40px; color: var(--white); }
.thankyou-icon .leaf-badge {
  position: absolute;
  top: -8px; right: -8px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--mint);
  display: flex; align-items: center; justify-content: center;
  color: var(--darker-green);
  border: 3px solid var(--cream);
}
.thankyou-icon .leaf-badge svg { width: 14px; height: 14px; }

.thankyou-wrap h1 { font-size: 2rem; }
.thankyou-wrap > p.subtitle { margin-top: 12px; color: var(--gray); font-size: 1rem; }
.thankyou-wrap > p.detail {
  margin-top: 8px;
  color: var(--gray);
  max-width: 520px;
  font-size: 0.92rem;
  line-height: 1.6;
}

.next-steps-box {
  text-align: left;
  background: var(--mint-bg);
  border-radius: var(--radius-md);
  padding: 26px;
  max-width: 480px;
  width: 100%;
  margin-top: 30px;
}
.next-steps-box strong { display: block; color: var(--dark-green); margin-bottom: 14px; font-size: 0.95rem; }
.next-steps-box ol { list-style: none; margin: 0; padding: 0; }
.next-steps-box li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--mid-green);
  margin-bottom: 12px;
}
.next-steps-box li:last-child { margin-bottom: 0; }
.next-steps-box .step-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--dark-green);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.thankyou-wrap .btn { margin-top: 34px; }

/* ---------- SVG scenic panels (per-page themes) ---------- */

.scene-forest { background: linear-gradient(160deg, #1c4a35 0%, #123425 60%, #0c2419 100%); }
.scene-mountains { background: linear-gradient(160deg, #21463a 0%, #163329 55%, #0e2620 100%); }
.scene-path { background: linear-gradient(160deg, #234f3a 0%, #163629 55%, #0d2a1f 100%); }
.scene-water { background: linear-gradient(160deg, #1d4438 0%, #123128 55%, #0b241d 100%); }
.scene-hills { background: linear-gradient(160deg, #2a5a3c 0%, #17402c 55%, #0e2b1d 100%); }

.scene-decor {
  position: absolute; inset: 0;
  opacity: 0.5;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .split-page { flex-direction: column; }
  .split-visual { flex: none; padding: 30px; min-height: 220px; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .navbar { flex-direction: column; gap: 12px; padding: 16px 20px; }
  .nav-links { flex-wrap: wrap; justify-content: center; }
  .hero { padding: 70px 24px; }
  .hero h1 { font-size: 2.2rem; }
  .section { padding: 60px 24px; }
}
