/* ===== Mahalli marketing — shared styles ===== */
:root {
  --paper: #F7F8F4;
  --paper-2: #EEF0E9;
  --pine: #123332;
  --pine-2: #0C2423;
  --green: #0E8A6D;
  --green-hi: #12A583;
  --rank-1: #0E8A6D;
  --rank-2: #E0A02E;
  --rank-3: #D6455D;
  --ink: #123332;
  --ink-soft: #4A5F5C;
  --line: rgba(18,51,50,0.12);
  --line-soft: rgba(18,51,50,0.07);
  --shadow: 0 1px 2px rgba(18,51,50,0.04), 0 8px 30px rgba(18,51,50,0.06);
  --shadow-lg: 0 2px 4px rgba(18,51,50,0.05), 0 24px 60px rgba(18,51,50,0.12);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Instrument Sans', system-ui, sans-serif;
  background: var(--paper); color: var(--ink); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, .display { font-family: 'Bricolage Grotesque', system-ui, sans-serif; line-height: 1.05; letter-spacing: -0.02em; font-weight: 700; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* NAV */
nav { position: sticky; top: 0; z-index: 100; background: rgba(247,248,244,0.82); backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line-soft); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 21px; letter-spacing: -0.03em; display: flex; align-items: center; gap: 9px; }
.logo-mark { width: 24px; height: 24px; border-radius: 6px; background: var(--pine); position: relative; flex: none; }
.logo-mark::before { content: ''; position: absolute; background: var(--green); border-radius: 1px; width: 6px; height: 6px; top: 5px; left: 5px; box-shadow: 8px 0 var(--paper-2), 0 8px var(--rank-2), 8px 8px var(--green); }
.logo span { color: var(--green); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a.link { font-size: 15px; color: var(--ink-soft); font-weight: 500; transition: color .18s; }
.nav-links a.link:hover, .nav-links a.link.active { color: var(--green); }
.btn { font-family: 'Instrument Sans', sans-serif; font-size: 15px; font-weight: 600; cursor: pointer; padding: 10px 20px; border-radius: 10px; border: 1px solid transparent; transition: transform .16s, box-shadow .16s, background .16s; display: inline-flex; align-items: center; gap: 8px; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 6px 18px rgba(14,138,109,0.28); }
.btn-primary:hover { background: var(--green-hi); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(14,138,109,0.34); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: rgba(255,255,255,0.4); }
.btn-ghost:hover { border-color: var(--pine); background: #fff; }
.btn-lg { padding: 15px 28px; font-size: 16px; border-radius: 12px; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; }

/* PAGE HEADER (inner pages) */
.page-hero { padding: 72px 0 40px; position: relative; text-align: center; }
.page-hero-bg { position: absolute; inset: 0; z-index: 0; opacity: 0.5; background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 20%, #000 40%, transparent 100%); mask-image: radial-gradient(ellipse 70% 70% at 50% 20%, #000 40%, transparent 100%); }
.page-hero > .wrap { position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--green); background: rgba(14,138,109,0.09); padding: 6px 13px; border-radius: 100px; margin-bottom: 22px; border: 1px solid rgba(14,138,109,0.16); }
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; margin-bottom: 18px; }
.page-hero h1 em { font-style: normal; color: var(--green); }
.page-hero p.lede { font-size: 19px; color: var(--ink-soft); max-width: 560px; margin: 0 auto 30px; }

/* SECTIONS */
section { position: relative; }
.sec { padding: 80px 0; }
.sec-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.sec-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.sec-head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 16px; }
.sec-head p { font-size: 18px; color: var(--ink-soft); }

/* CTA BAND */
.cta-band { background: var(--pine); border-radius: 28px; padding: 60px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content:''; position:absolute; inset:0; background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%); mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.72); font-size: 18px; max-width: 500px; margin: 0 auto 30px; }
.hero-note { font-size: 14px; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 7px; }
.cta-band .hero-note { color: rgba(255,255,255,0.6); }

/* FOOTER */
footer { padding: 60px 0 40px; border-top: 1px solid var(--line); margin-top: 80px; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 44px; }
.foot-brand { max-width: 300px; }
.foot-brand .logo { margin-bottom: 14px; }
.foot-brand p { color: var(--ink-soft); font-size: 15px; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-col h4 { font-family:'Bricolage Grotesque'; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); margin-bottom: 16px; font-weight: 700; }
.foot-col a { display: block; color: var(--ink); font-size: 15px; margin-bottom: 11px; opacity: 0.8; transition: opacity .16s; }
.foot-col a:hover { opacity: 1; color: var(--green); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line-soft); }
.foot-bottom p { font-size: 14px; color: var(--ink-soft); }
.foot-bottom .fb-links { display: flex; gap: 22px; }
.foot-bottom .fb-links a { font-size: 14px; color: var(--ink-soft); }
.foot-bottom .fb-links a:hover { color: var(--green); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: var(--paper); border-bottom: 1px solid var(--line); padding: 20px 28px; gap: 18px; }
  .menu-toggle { display: flex; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
  .menu-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
  .nav-cta .btn-ghost { display: none; }
  .cta-band { padding: 46px 24px; }
  .foot-top { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
