/* assets/styles.css */

/* Base tokens */
:root {
  --brand: #10b981;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #ffffff;
  --light: #f5fbf7;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

/* Typography / helpers */
h1 { font-size: 2.25rem; margin: 8px 0 4px; line-height: 1.2; }
h2 { font-size: 1.35rem; margin-top: 28px; }
.lead { color: var(--muted); margin-bottom: 24px; }
a { color: var(--brand); text-decoration: none; }

/* Layout containers */
.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.content-wrap { max-width: 960px; margin: 0 auto; padding: 56px 16px 80px; }

/* Card */
.card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
}

/* Navigation (shared) */
.site-nav { position: sticky; top: 0; background: #ffffffcc; backdrop-filter: blur(6px); z-index: 100; transition: box-shadow .2s ease; }
.site-nav.scrolled { box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.nav-container { max-width: 1100px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.logo-img { width: 40px; height: 40px; object-fit: contain; }

.nav-links { display: flex; align-items: center; gap: 18px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--text); font-weight: 500; }
.nav-links a.active, .nav-links a[aria-current="page"] { color: var(--brand); }

.cta-button { padding: 8px 14px; background: var(--brand); color: #fff !important; border-radius: 8px; }

.mobile-menu-toggle { display: none; font-size: 22px; background: none; border: none; }

@media (max-width: 820px) {
  .mobile-menu-toggle { display: inline-block; }
  .nav-links {
    position: absolute; right: 16px; top: 60px;
    background: #fff; border: 1px solid var(--border); border-radius: 10px;
    padding: 12px; display: none; flex-direction: column; gap: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
  }
  .nav-links.open { display: flex; }
  .logo-img { width: 32px; height: 32px; }
}

/* Footer */
.footer { border-top: 1px solid var(--border); color: var(--muted); text-align: center; margin-top: 40px; }
.footer .inner { max-width: 1100px; margin: 0 auto; padding: 20px 16px; }
.footer .footer-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 8px; }
.footer a:hover { color: var(--brand); }

/* FAQ (if needed on faq.html) */
.faq-wrap { max-width: 960px; margin: 0 auto; padding: 56px 16px 80px; }
.faq-list details {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 12px 0;
  background: #fff;
}
.faq-list summary { cursor: pointer; font-weight: 600; list-style: none; outline: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details[open] { border-color: #34d399; box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
.faq-list details > div { margin-top: 10px; color: var(--text); }

/* Legal pages (Terms / Privacy) */
.legal-wrap ul { padding-left: 18px; }
.legal-wrap p, .legal-wrap li { color: #263238; }

/* Contact page */
.contact-grid { display: grid; gap: 24px; grid-template-columns: 1.15fr 0.85fr; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card { background: #fff; border: 1px solid #e6efe9; border-radius: 14px; padding: 18px 20px; box-shadow: 0 6px 18px rgba(0,0,0,.06); }
label { font-weight: 600; display: block; margin: 10px 0 6px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #dfe8e2; border-radius: 12px;
  font-size: 16px; outline: none;
}

.error { display:none; margin-top:10px; color:#b91c1c; font-weight:600; }

textarea { min-height: 140px; resize: vertical; }
.row { display: flex; gap: 12px; }
.row > div { flex: 1; }

.btn { background: var(--brand); color: #fff; padding: 12px 18px; border-radius: 12px; border: none; font-weight: 700; cursor: pointer; box-shadow: 0 10px 24px rgba(16,185,129,.25); }
.btn:hover { filter: brightness(.95); }

.side { background: var(--light); border: 1px solid #e6efe9; border-radius: 14px; padding: 18px 20px; }
.item { margin: 10px 0 14px; }
.item b { display: block; }
.success { display: none; margin-top: 10px; color: #0a7a43; font-weight: 600; }