/* =================================================================
   DeFreitas & Associates — Executive Accounting & Consulting
   Design System: Inspired by Quill & Co (Fresh, Modern, Optimistic)
   Mint-Green Accent (#22c46e) + Forest Dark Ink (#0c1f17)
   Typography: Sora (Display Sans) + Epilogue (Warm Body Sans)
   ================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Epilogue:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Sora:wght@400;500;600;700;800&display=swap');

/* ---------- Tokens ---------- */
:root {
  --mint-50: #f0fdf6;
  --mint-100: #dcfce9;
  --mint-200: #bbf7d4;
  --mint-300: #86efb4;
  --mint-400: #4ade8f;
  --mint-500: #22c46e;
  --mint-600: #16a358;
  --mint-700: #15803d;
  --ink: #0c1f17;
  --ink-soft: #46594f;
  --ink-faint: #7a8a82;
  --paper: #ffffff;
  --paper-2: #f6faf7;
  --paper-3: #eef5f0;
  --line: #e3ece6;
  --gold: #f6c453;
  --sky: #dff3ff;
  --plum: #6d5cf0;

  --grad-hero: radial-gradient(120% 120% at 80% 0%, #eafff3 0%, #f4fbf7 38%, #ffffff 70%);
  --grad-mint: linear-gradient(135deg, #22c46e 0%, #16a358 60%, #0f8f4e 100%);
  --grad-soft: linear-gradient(150deg, #f0fdf6 0%, #e6f7ee 100%);
  --grad-dark: linear-gradient(160deg, #0c1f17 0%, #103226 55%, #0a1b13 100%);

  --shadow-sm: 0 2px 10px rgba(12, 31, 23, .05);
  --shadow: 0 18px 44px -22px rgba(12, 31, 23, .28);
  --shadow-lg: 0 40px 90px -40px rgba(12, 31, 23, .42);

  --r-sm: 14px;
  --r: 22px;
  --r-lg: 32px;
  --r-xl: 44px;

  --wrap: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font-head: "Sora", system-ui, -apple-system, sans-serif;
  --font-body: "Epilogue", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.08; letter-spacing: -.02em; font-weight: 700; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: 1.3rem; }
em { font-style: italic; color: var(--mint-600); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- Eyebrows & Badges ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: .74rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--mint-700);
  background: var(--mint-100); padding: .42rem .9rem; border-radius: 50px;
  margin-bottom: 1.1rem;
}
.eyebrow.light { background: rgba(255, 255, 255, .12); color: var(--mint-200); }
.eyebrow.center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 600; font-size: .96rem;
  padding: .95rem 1.7rem; border-radius: 50px; cursor: pointer; border: 0;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  white-space: nowrap;
}
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }

.btn-solid { background: var(--grad-mint); color: #fff; box-shadow: 0 14px 30px -12px rgba(22, 163, 88, .6); }
.btn-solid:hover { transform: translateY(-3px); box-shadow: 0 22px 42px -14px rgba(22, 163, 88, .7); }

.btn-ghost { background: transparent; color: var(--ink); border: 1.6px solid var(--line); }
.btn-ghost:hover { border-color: var(--mint-400); color: var(--mint-700); transform: translateY(-2px); }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.btn-soft { background: var(--mint-100); color: var(--mint-700); }
.btn-soft:hover { background: var(--mint-200); transform: translateY(-2px); }

/* ---------- Header & Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .82); backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: padding .3s var(--ease), box-shadow .3s, border-color .3s, background .3s;
}
.site-header.shrink {
  border-color: var(--line); box-shadow: 0 8px 30px -20px rgba(12, 31, 23, .3);
  background: rgba(255, 255, 255, .95);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 1.15rem 0; transition: padding .3s var(--ease); }
.site-header.shrink .nav { padding: .7rem 0; }

.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
}
.brand-footer-img {
  height: 52px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
}

.nav-links { display: flex; gap: .4rem; list-style: none; }
.nav-links a {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: .9rem;
    color: var(--ink-soft);
    padding: .5rem .8rem;
    border-radius: 50px;
    transition: .25s;
    text-decoration: none;
}
.nav-links a:hover { color: var(--ink); background: var(--mint-50); }
.nav-links a.active { color: var(--mint-700); background: var(--mint-100); font-weight: 600; }

.nav-cta { display: flex; align-items: center; gap: 1.1rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); }
.nav-phone svg { width: 17px; height: 17px; color: var(--mint-600); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2.4px; background: var(--ink); border-radius: 3px; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--grad-hero); overflow: hidden; padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(4rem, 7vw, 6rem); }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: 0; }
.hero-blob.a { width: 520px; height: 520px; background: radial-gradient(circle, #9bf3c4, transparent 70%); top: -160px; right: -120px; }
.hero-blob.b { width: 420px; height: 420px; background: radial-gradient(circle, #c9eaff, transparent 70%); bottom: -180px; left: -140px; }
.hero .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }

.hero-copy h1 { margin: .2rem 0 1.3rem; }
.hero-tag { font-size: 1.18rem; color: var(--ink-soft); max-width: 32em; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; }

.hero-trust { display: flex; align-items: center; gap: .7rem; margin-top: 2rem; font-size: .95rem; color: var(--ink-soft); }
.hero-trust .stars { color: var(--gold); letter-spacing: 2px; }
.hero-trust b { color: var(--ink); }

.hero-avatars { display: flex; }
.hero-avatars span {
  width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid #fff; margin-left: -10px;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .8rem; color: #fff;
}
.hero-avatars span:first-child { margin-left: 0; }
.hero-avatars span:nth-child(1) { background: var(--mint-500); }
.hero-avatars span:nth-child(2) { background: var(--plum); }
.hero-avatars span:nth-child(3) { background: var(--gold); color: var(--ink); }
.hero-avatars span:nth-child(4) { background: #3aa0e8; }

.hero-media { position: relative; }
.hero-frame {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 6px solid #fff; background: var(--paper-2);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5/4; transform: scale(1.04); transition: transform 0.6s var(--ease); }
.hero-frame:hover img { transform: scale(1.08); }

.hero-badge {
  position: absolute; left: -22px; bottom: 38px; background: #fff; border-radius: var(--r);
  padding: 1rem 1.3rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: .85rem;
  border: 1px solid var(--line);
}
.hero-badge .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--mint-100); display: grid; place-items: center; color: var(--mint-700); }
.hero-badge .ic svg { width: 22px; height: 22px; }
.hero-badge .n { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; }
.hero-badge .l { font-size: .78rem; color: var(--ink-faint); }

.hero-float {
  position: absolute; right: -18px; top: 34px; background: var(--ink); color: #fff; border-radius: var(--r);
  padding: .85rem 1.1rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: .7rem;
}
.hero-float .dot { width: 36px; height: 36px; border-radius: 10px; background: var(--mint-500); display: grid; place-items: center; }
.hero-float .dot svg { width: 20px; height: 20px; color: #fff; }
.hero-float b { font-family: var(--font-head); display: block; font-size: 1.05rem; }
.hero-float span span { font-size: .74rem; color: rgba(255, 255, 255, .65); display: block; }

/* ---------- Logo Strip ---------- */
.logos { background: #fff; border-bottom: 1px solid var(--line); }
.logos .wrap { padding-top: 2.4rem; padding-bottom: 2.4rem; }
.logos-head { text-align: center; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); font-family: var(--font-head); font-weight: 600; margin-bottom: 1.5rem; }
.logos-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(1.5rem, 5vw, 3.6rem); }
.logos-row .lg { display: flex; align-items: center; gap: .55rem; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--ink-faint); opacity: .78; transition: .3s; }
.logos-row .lg:hover { opacity: 1; color: var(--ink); }
.logos-row .lg svg { width: 24px; height: 24px; color: var(--mint-500); }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section.soft { background: var(--grad-soft); }
.section.paper2 { background: var(--paper-2); }
.sec-head { margin-bottom: 3rem; max-width: 640px; }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.sec-head p { color: var(--ink-soft); font-size: 1.08rem; margin-top: .8rem; }

.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; max-width: none; }
.split-head p { margin: 0; max-width: 32em; }

/* ---------- Stats Banner ---------- */
.stats { background: var(--grad-dark); position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 120% at 100% 0%, rgba(34, 196, 110, .22), transparent 60%); }
.stats .wrap { position: relative; padding-top: clamp(3.5rem, 5vw, 4.5rem); padding-bottom: clamp(3.5rem, 5vw, 4.5rem); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: center; color: #fff; padding: 1rem; }
.stat .n { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1; color: #fff; display: flex; justify-content: center; align-items: baseline; }
.stat .n .suf, .stat .n .pre { color: var(--mint-300); }
.stat .l { margin-top: .6rem; font-size: .92rem; color: rgba(255, 255, 255, .66); font-family: var(--font-head); font-weight: 500; }

/* ---------- Services Cards Grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2.1rem 1.9rem;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.svc::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-mint); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.svc:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: transparent; }
.svc:hover::after { transform: scaleX(1); }

.svc .ico { width: 54px; height: 54px; border-radius: 16px; background: var(--mint-100); display: grid; place-items: center; color: var(--mint-700); margin-bottom: 1.3rem; transition: .4s; }
.svc:hover .ico { background: var(--grad-mint); color: #fff; transform: rotate(-6deg); }
.svc .ico svg { width: 26px; height: 26px; }

.svc h3 { margin-bottom: .55rem; }
.svc p { color: var(--ink-soft); font-size: .97rem; margin-bottom: 1rem; flex-grow: 1; }
.svc .more { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--mint-700); display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; }
.svc .more svg { transition: transform .3s var(--ease); }
.svc:hover .more svg { transform: translateX(4px); }

/* ---------- Split Content Components ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.flip .split-media { order: 2; }

.split-media { position: relative; }
.frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff; background: var(--paper-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; transition: transform .9s var(--ease); }
.frame:hover img { transform: scale(1.06); }

.tab {
  position: absolute; left: -18px; bottom: 26px; background: #fff; border-radius: var(--r);
  padding: .85rem 1.1rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: .75rem; border: 1px solid var(--line);
}
.tab .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--mint-100); display: grid; place-items: center; color: var(--mint-700); }
.tab .ic svg { width: 21px; height: 21px; }
.tab b { font-family: var(--font-head); font-size: .98rem; display: block; }
.tab span { font-size: .76rem; color: var(--ink-faint); display: block; }

.split-copy .lead { font-size: 1.12rem; color: var(--ink-soft); margin: .4rem 0 1.6rem; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 1.3rem; margin-top: 1.6rem; }
.feature-list li { display: flex; gap: 1rem; }
.feature-list .ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 13px; background: var(--mint-100); display: grid; place-items: center; color: var(--mint-700); }
.feature-list .ico svg { width: 22px; height: 22px; }
.feature-list h4 { font-size: 1.05rem; margin-bottom: .25rem; }
.feature-list p { font-size: .95rem; color: var(--ink-soft); }

/* ---------- Steps Process Component ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.step { position: relative; padding: 2rem 1.6rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: .4s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step .num {
  width: 46px; height: 46px; border-radius: 13px; background: var(--ink); color: var(--mint-300);
  font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; font-size: 1.15rem; margin-bottom: 1.1rem;
}
.step h4 { margin-bottom: .45rem; }
.step p { font-size: .93rem; color: var(--ink-soft); }

/* ---------- Pricing Plans Grid ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; align-items: stretch; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2.3rem 2rem;
  display: flex; flex-direction: column; position: relative; transition: transform .4s var(--ease), box-shadow .4s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan.featured { background: var(--grad-dark); color: #fff; border-color: transparent; box-shadow: var(--shadow-lg); transform: scale(1.03); }
.plan.featured:hover { transform: scale(1.03) translateY(-6px); }

.plan.featured h3, .plan.featured .price { color: #fff; }
.plan .tag { position: absolute; top: 1.5rem; right: 1.5rem; background: var(--mint-500); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .72rem; letter-spacing: .08em; padding: .3rem .7rem; border-radius: 50px; text-transform: uppercase; }
.plan .plan-name { font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mint-600); margin-bottom: .9rem; }
.plan.featured .plan-name { color: var(--mint-300); }

.plan .price { font-family: var(--font-head); font-weight: 700; font-size: 2.9rem; line-height: 1; display: flex; align-items: baseline; gap: .2rem; }
.plan .price .per { font-size: .95rem; color: var(--ink-faint); font-weight: 500; }
.plan.featured .price .per { color: rgba(255, 255, 255, .6); }

.plan .price-sub { font-size: .9rem; color: var(--ink-faint); margin: .55rem 0 1.5rem; }
.plan.featured .price-sub { color: rgba(255, 255, 255, .6); }

.plan ul { list-style: none; display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.8rem; flex-grow: 1; }
.plan li { display: flex; align-items: flex-start; gap: .6rem; font-size: .95rem; color: var(--ink-soft); }
.plan.featured li { color: rgba(255, 255, 255, .82); }
.plan li svg { flex: 0 0 auto; width: 19px; height: 19px; color: var(--mint-500); margin-top: 2px; }
.plan.featured li svg { color: var(--mint-300); }
.plan .btn { width: 100%; justify-content: center; }

/* ---------- Filterable Services Catalog ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.4rem; justify-content: center; }
.filter {
  font-family: var(--font-head); font-weight: 600; font-size: .88rem; padding: .6rem 1.25rem; border-radius: 50px;
  background: #fff; border: 1.6px solid var(--line); color: var(--ink-soft); cursor: pointer; transition: .25s;
}
.filter:hover { border-color: var(--mint-400); color: var(--mint-700); }
.filter.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.cat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.9rem 1.7rem; transition: .4s;
  display: flex; flex-direction: column;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.cat-card .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--mint-100); display: grid; place-items: center; color: var(--mint-700); margin-bottom: 1.1rem; }
.cat-card .ico svg { width: 24px; height: 24px; }
.cat-card .meta { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-family: var(--font-head); font-weight: 600; color: var(--mint-600); margin-bottom: .5rem; }
.cat-card h3 { font-size: 1.18rem; margin-bottom: .5rem; }
.cat-card p { font-size: .93rem; color: var(--ink-soft); margin-bottom: .9rem; flex-grow: 1; }
.cat-card .from { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .95rem; }
.cat-card .from b { color: var(--mint-700); }

/* ---------- Testimonials Grid ---------- */
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.qcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem 1.8rem; transition: .4s; }
.qcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.qcard .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 1rem; }
.qcard blockquote { font-size: 1.04rem; color: var(--ink); line-height: 1.55; margin-bottom: 1.5rem; font-family: var(--font-head); font-weight: 400; }
.qmeta { display: flex; align-items: center; gap: .8rem; }
.qmeta .av { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-mint); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.qmeta b { font-family: var(--font-head); display: block; font-size: .96rem; }
.qmeta span { font-size: .82rem; color: var(--ink-faint); }

/* ---------- CTA Band ---------- */
.cta-band { position: relative; background: var(--grad-mint); overflow: hidden; text-align: center; color: #fff; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 50% -10%, rgba(255, 255, 255, .28), transparent 60%); }
.cta-band .wrap { position: relative; padding: clamp(3.5rem, 7vw, 5.5rem) 24px; max-width: 760px; }
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { color: rgba(255, 255, 255, .88); font-size: 1.12rem; margin-bottom: 2rem; max-width: 30em; margin-left: auto; margin-right: auto; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Journal & Blog Posts ---------- */
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: .4s; display: flex; flex-direction: column; }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.post .pmedia { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.post .pmedia img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post:hover .pmedia img { transform: scale(1.07); }
.post .pmedia.grad { display: grid; place-items: center; }
.post .pmedia.g1 { background: linear-gradient(135deg, #22c46e, #0f8f4e); }
.post .pmedia.g2 { background: linear-gradient(135deg, #6d5cf0, #3a2db5); }
.post .pmedia.g3 { background: linear-gradient(135deg, #f6c453, #e89a2b); }
.post .pmedia.grad svg { width: 64px; height: 64px; color: rgba(255, 255, 255, .85); }

.post .pbody { padding: 1.6rem; display: flex; flex-direction: column; flex-grow: 1; }
.post .meta { display: flex; align-items: center; gap: .55rem; font-size: .8rem; color: var(--ink-faint); margin-bottom: .7rem; }
.post .meta .type { background: var(--mint-100); color: var(--mint-700); padding: .2rem .65rem; border-radius: 50px; font-family: var(--font-head); font-weight: 600; font-size: .72rem; }
.post .meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-faint); }
.post h3 { font-size: 1.15rem; line-height: 1.25; margin-bottom: .55rem; }
.post p { font-size: .93rem; color: var(--ink-soft); margin-bottom: 1rem; flex-grow: 1; }
.post .more { font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--mint-700); display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; }
.post .more svg { transition: transform .3s var(--ease); }
.post:hover .more svg { transform: translateX(4px); }

/* Subpage Hero */
.page-hero { background: var(--grad-soft); position: relative; overflow: hidden; padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(3rem, 5vw, 4rem); text-align: center; }
.page-hero::before { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, #b9f5d4, transparent 70%); top: -200px; right: -120px; filter: blur(60px); opacity: .6; }
.page-hero .wrap { position: relative; z-index: 2; max-width: 760px; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: 1rem; }
.page-hero p { font-size: 1.12rem; color: var(--ink-soft); }
.crumb { display: inline-flex; gap: .4rem; font-size: .82rem; color: var(--ink-faint); font-family: var(--font-head); font-weight: 500; margin-bottom: 1.2rem; }
.crumb a:hover { color: var(--mint-700); }

/* ---------- Contact Page Components ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.8rem, 3vw, 2.6rem); box-shadow: var(--shadow); }

.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .85rem; margin-bottom: .45rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border: 1.6px solid var(--line); border-radius: 14px; font-family: var(--font-body);
  font-size: .97rem; color: var(--ink); background: var(--paper-2); transition: .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mint-400); background: #fff; box-shadow: 0 0 0 4px var(--mint-100); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

.contact-info { display: flex; flex-direction: column; gap: 1.2rem; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; }
.info-card h3 { font-size: 1.1rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
.info-card h3 svg { width: 20px; height: 20px; color: var(--mint-600); }

.nap-line { display: flex; align-items: flex-start; gap: .7rem; margin-bottom: .7rem; font-size: .95rem; color: var(--ink-soft); }
.nap-line:last-child { margin-bottom: 0; }
.nap-line svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--mint-600); margin-top: 3px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--grad-dark); color: #fff; padding-top: clamp(3.5rem, 6vw, 5rem); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand .brand-mark { color: #fff; }
.footer-brand p { color: rgba(255, 255, 255, .62); font-size: .95rem; margin: 1rem 0 1.4rem; max-width: 30em; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; color: #fff; transition: .3s; }
.footer-social a:hover { background: var(--mint-500); transform: translateY(-3px); }
.footer-social svg { width: 19px; height: 19px; }

.footer-col h4 { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mint-300); margin-bottom: 1.1rem; font-weight: 600; }
.footer-col a { display: block; color: rgba(255, 255, 255, .66); font-size: .94rem; padding: .32rem 0; transition: .25s; }
.footer-col a:hover { color: #fff; padding-left: 5px; }

.footer-nap { font-style: normal; color: rgba(255, 255, 255, .66); font-size: .94rem; line-height: 1.9; }
.footer-nap a:hover { color: var(--mint-300); }

.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.6rem 0; border-top: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .5); font-size: .85rem; }

/* ---------- Reveal Animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .1s; }
.reveal[data-d="2"] { transition-delay: .2s; }
.reveal[data-d="3"] { transition-delay: .3s; }
.reveal[data-d="4"] { transition-delay: .4s; }

/* ---------- Responsive Rules ---------- */
@media(max-width: 980px) {
  .svc-grid, .quotes-grid, .journal-grid, .cat-grid, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .plan.featured { transform: none; }
  .plan.featured:hover { transform: translateY(-6px); }
}

@media(max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media(max-width: 860px) {
  .nav-cta .nav-phone { display: none; }
  .nav-toggle { display: flex; z-index: 70; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); height: 100dvh;
    flex-direction: column; justify-content: center; gap: .4rem;
    background: #fff; padding: 2rem; transform: translateX(100%);
    transition: transform .4s var(--ease); box-shadow: var(--shadow-lg);
  }
  .nav.open .nav-links { transform: translateX(0); }
  .nav-links a { font-size: 1.3rem; padding: .6rem 1rem; }
  .nav-cta .btn { display: none; }
}

@media(max-width: 640px) {
  .svc-grid, .quotes-grid, .journal-grid, .cat-grid, .price-grid, .steps, .footer-top { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  .hero-badge { left: 8px; }
  .hero-float { right: 8px; }
}
