/* Featherly — design system
   Source: official brand doc (Social Media/Featherly CA - Brand Colours.docx)
   + live site (featherly.ca, built in Brizy) + brand flyers.
   Palette:  green #50856e · tan #c7b18d · charcoal #656564 · ink #292929 · cream #f1f0ec
   Secondary (brand doc, underused on site): teal #62979a · gold #d6b38a · rose #dbb2a3
   Type: Poppins (display, 700/800) + Open Sans (body/UI, 400/600/700) — matches brand flyers.
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&family=Open+Sans:wght@400;500;600;700&display=swap');

:root {
  /* color */
  --green: #50856e;
  --green-dark: #3d6a56;
  --green-light: #759e8c;
  --green-tint: #e6eeea;
  --tan: #c7b18d;
  --tan-dark: #b0925f;
  --beige: #e3d8c8;
  --charcoal: #656564;
  --charcoal-dark: #4f4d49;
  --teal: #62979a;
  --ink: #292929;
  --ink-soft: #5b584f;
  --line: #e4ddd0;
  --cream: #f1f0ec;
  --white: #ffffff;

  /* type */
  --font-display: 'Poppins', -apple-system, sans-serif;
  --font: 'Open Sans', -apple-system, sans-serif;

  /* spacing scale — 8px base */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;

  /* elevation — warm ink-tinted shadows, not pure black */
  --shadow-sm: 0 1px 2px rgba(41,41,41,.06), 0 1px 3px rgba(41,41,41,.06);
  --shadow-md: 0 4px 10px rgba(41,41,41,.07), 0 2px 4px rgba(41,41,41,.05);
  --shadow-lg: 0 16px 40px rgba(41,41,41,.12), 0 4px 12px rgba(41,41,41,.06);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --max: 1180px;
  --ease: cubic-bezier(.25,.8,.35,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--green-dark); }

:focus-visible {
  outline: 2.5px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; color: var(--ink);
}
h1 { font-size: clamp(34px, 4.4vw, 50px); letter-spacing: -0.03em; }
h2 { font-size: clamp(26px, 2.8vw, 34px); }
h3 { font-family: var(--font); font-size: 19px; font-weight: 700; letter-spacing: -0.005em; margin-bottom: var(--sp-3); }
p { color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 700; }

ul.check { list-style: none; }
ul.check li {
  position: relative; padding-left: 34px; margin-bottom: 16px; color: var(--ink-soft); font-weight: 500;
}
ul.check li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--tan);
  color: var(--white); font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}

/* Buttons — solid pills, three tones, real hover motion */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; border-radius: 999px;
  font-family: var(--font); font-weight: 700; font-size: 15px; letter-spacing: -0.005em;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease);
  border: none; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--green); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--green-dark); color: var(--white); box-shadow: var(--shadow-md); }
.btn-brown { background: var(--tan); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-brown:hover { background: var(--tan-dark); color: var(--ink); box-shadow: var(--shadow-md); }
.btn-dark { background: var(--ink); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-dark:hover { background: #000; color: var(--white); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.55); }
.btn-outline:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.9); }
.btn-outline-green { color: var(--green); border: 1.5px solid var(--green); background: transparent; }
.btn-outline-green:hover { background: var(--green-tint); color: var(--green-dark); }

/* Header */
.site-header {
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.nav-wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  padding: 14px 24px; gap: 12px 24px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 32px; width: auto; }
.logo .wordmark { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: .01em; color: var(--ink); }
.nav-links {
  display: flex; align-items: center; gap: 30px; flex: 1; justify-content: center;
  font-weight: 700; font-size: 13.5px; letter-spacing: .04em; text-transform: uppercase;
}
.nav-links a { color: var(--ink); position: relative; padding: 6px 0; }
.nav-links a:hover { color: var(--green); }
.dropdown { position: relative; }
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 8px; min-width: 190px; box-shadow: var(--shadow-lg);
  text-transform: none; font-weight: 600;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 9px 12px; border-radius: 7px; font-size: 14px; }
.dropdown-menu a:hover { background: var(--cream); }
.nav-cta {
  white-space: nowrap; background: var(--tan); color: var(--ink); padding: 12px 24px; font-size: 13.5px;
  box-shadow: var(--shadow-sm);
}
.nav-cta:hover { background: var(--tan-dark); color: var(--ink); box-shadow: var(--shadow-md); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { padding: 10px 16px; font-size: 12.5px; }
}
@media (max-width: 480px) {
  .nav-wrap { padding: 12px 16px; gap: 10px; }
  .logo .wordmark { display: none; }
  .nav-cta { padding: 9px 14px; font-size: 11.5px; }
}

/* Bands — full-bleed color sections */
.band { padding: var(--sp-9) 0; }
.band.tight { padding: var(--sp-7) 0; }
.band-green { background: var(--green); color: var(--white); }
.band-green h1, .band-green h2, .band-green h3, .band-green p { color: var(--white); }
.band-green p { color: rgba(255,255,255,.86); }
.band-green-light { background: var(--green-light); color: var(--white); }
.band-green-light h1, .band-green-light h2, .band-green-light h3, .band-green-light p { color: var(--white); }
.band-green-light p { color: rgba(255,255,255,.9); }
.band-charcoal { background: var(--charcoal); color: var(--white); }
.band-charcoal h1, .band-charcoal h2, .band-charcoal h3, .band-charcoal p { color: var(--white); }
.band-charcoal p { color: rgba(255,255,255,.82); }
.band-cream { background: var(--cream); }
.band-white { background: var(--white); }
.band-beige { background: var(--beige); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--tan-dark); font-family: var(--font); font-weight: 800; font-size: 12.5px;
  letter-spacing: 2.2px; text-transform: uppercase; margin-bottom: var(--sp-4);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--tan-dark); border-radius: 2px; }
.hero-centered .eyebrow, .section-head.center .eyebrow { justify-content: center; }
.band-green .eyebrow, .band-green-light .eyebrow, .band-charcoal .eyebrow { color: var(--tan); }
.band-green .eyebrow::before, .band-green-light .eyebrow::before, .band-charcoal .eyebrow::before { background: var(--tan); }

/* Hero */
.hero-badge {
  width: 84px; height: 84px; border-radius: 50%; background: var(--white);
  border: 2px solid var(--tan); display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--sp-6); box-shadow: var(--shadow-md);
}
.hero-badge img { height: 36px; }
.hero-badge-lg { width: 108px; height: 108px; }
.hero-badge-lg img { height: 52px; }
.hero-centered { text-align: center; }
.hero-centered h1 { max-width: 760px; margin: 0 auto var(--sp-4); }
.hero-centered .lead { max-width: 580px; margin: 0 auto var(--sp-6); }
.hero-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--sp-8); align-items: center; }
.hero-split img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
@media (max-width: 800px) { .hero-split { grid-template-columns: 1fr; gap: var(--sp-6); } }

.lead { font-size: 18.5px; line-height: 1.6; margin-bottom: var(--sp-6); }
.cta-row { display: flex; gap: var(--sp-4); flex-wrap: wrap; justify-content: center; }
.hero-split .cta-row { justify-content: flex-start; }

/* Sections */
.section-head { max-width: 700px; margin-bottom: var(--sp-6); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); }
@media (max-width: 800px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--sp-6); box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.card h3 { margin-bottom: var(--sp-2); }

/* Icon tile — used for service cards; real SVG glyphs, not text badges */
.icon-tile {
  width: 52px; height: 52px; border-radius: 14px; background: var(--green-tint);
  color: var(--green-dark); display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-4);
}
.icon-tile svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon-card { text-align: left; }

/* Numbered step marker — used only where order is real (process steps) */
.step { display: flex; gap: var(--sp-5); margin-bottom: var(--sp-6); }
.step-num {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--tan); color: var(--tan-dark); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
}
.band-charcoal .step-num, .band-green .step-num, .band-green-light .step-num { background: transparent; border-color: var(--tan); color: var(--tan); }
.band-charcoal ul.check li, .band-green ul.check li, .band-green-light ul.check li { color: rgba(255,255,255,.92); }
.step h3 { margin-bottom: var(--sp-1); }

/* Badge row — real certification logos, own aspect ratios preserved */
.badge-row { display: flex; flex-wrap: wrap; gap: var(--sp-5); align-items: center; }
.badge-img { width: auto; border-radius: var(--radius-sm); background: var(--white); box-shadow: var(--shadow-sm); }
.badge-img-wide { height: 64px; padding: 12px 16px; }
.badge-img-tall { height: 108px; padding: 8px; }
.badge-img-square { height: 84px; padding: 0; }

/* Credentials row */
.credentials { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-6); align-items: center; }
.credentials .item { font-weight: 700; font-size: 15.5px; display: flex; align-items: center; gap: 10px; }
.credentials .item::before { content: "●"; color: var(--tan); font-size: 9px; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); padding: var(--sp-5) 0; }
.faq-item h3 { margin-bottom: var(--sp-2); font-size: 18.5px; }

/* CTA band */
.cta-band { background: var(--green); color: var(--white); border-radius: var(--radius-lg); padding: var(--sp-8); text-align: center; }
.cta-band h2, .cta-band p { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.88); margin-bottom: var(--sp-6); }
.cta-band.tone-beige { background: var(--beige); }
.cta-band.tone-beige h2, .cta-band.tone-beige p { color: var(--ink); }
.cta-band.tone-beige p { color: var(--ink-soft); }
.cta-band.tone-white { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.cta-band.tone-white h2 { color: var(--ink); }
.cta-band.tone-white p { color: var(--ink-soft); }

/* Pricing columns */
.pricing-col { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.pricing-col:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pricing-col .col-head { padding: var(--sp-5) var(--sp-5); font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--white); }
.pricing-col .col-body { padding: var(--sp-5); }
.pricing-col.tone-green .col-head { background: var(--green); }
.pricing-col.tone-brown .col-head { background: var(--tan); color: var(--ink); }
.pricing-col.tone-charcoal .col-head { background: var(--charcoal); }

.price-tag {
  font-size: 14.5px; font-weight: 800; color: var(--tan-dark); margin: var(--sp-2) 0 var(--sp-5);
  text-transform: uppercase; letter-spacing: .03em;
}

/* Blog */
.post-tag {
  display: inline-block; font-family: var(--font); font-weight: 800; font-size: 11px;
  letter-spacing: .07em; text-transform: uppercase; color: var(--green-dark);
  background: var(--green-tint); padding: 5px 12px; border-radius: 999px; margin-bottom: var(--sp-3);
}
.post-featured {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-7); align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--sp-7); box-shadow: var(--shadow-md); margin-bottom: var(--sp-7);
}
.post-featured .post-tag { background: var(--tan); color: var(--ink); }
.post-featured h2 { margin-bottom: var(--sp-3); }
.post-featured h2 a { color: var(--ink); }
.post-featured h2 a:hover { color: var(--green); }
.post-featured .stat { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--green-dark); margin-top: var(--sp-4); }
.post-featured-visual {
  background: var(--green); border-radius: var(--radius); min-height: 220px;
  display: flex; align-items: center; justify-content: center; padding: var(--sp-6);
}
.post-featured-visual svg { width: 84px; height: 84px; stroke: var(--white); fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
@media (max-width: 800px) { .post-featured { grid-template-columns: 1fr; padding: var(--sp-6); } }

.post-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); }
@media (max-width: 800px) { .post-list { grid-template-columns: 1fr; } }
.post-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-card h3 { font-size: 18px; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--green); }
.post-card p { margin-top: var(--sp-2); font-size: 14.5px; }
article.post { max-width: 720px; margin: 0 auto; }
article.post h1 { margin-bottom: var(--sp-6); }
article.post h2 { margin: var(--sp-7) 0 var(--sp-3); color: var(--green-dark); font-size: 24px; }
article.post p { margin-bottom: var(--sp-4); font-size: 16.5px; }
article.post ul { margin: 0 0 var(--sp-4) 22px; color: var(--ink-soft); }
article.post ul li { margin-bottom: var(--sp-2); }

/* Footer */
.site-footer { background: var(--ink); color: #cfccc4; padding: var(--sp-8) 0 var(--sp-5); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--sp-6); margin-bottom: var(--sp-7); }
.footer-grid h4 { font-family: var(--font-display); color: var(--tan); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: var(--sp-4); }
.footer-grid a { display: block; color: #cfccc4; margin-bottom: var(--sp-2); font-size: 14.5px; }
.footer-grid a:hover { color: var(--white); }
.site-footer p { color: #a8a49a; font-size: 14px; }
.footer-bottom { border-top: 1px solid #3d3b36; padding-top: var(--sp-5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Form */
form.contact-form { display: grid; gap: var(--sp-4); max-width: 520px; }
form.contact-form label { font-weight: 700; font-size: 14px; margin-bottom: 6px; display: block; }
form.contact-form input, form.contact-form select, form.contact-form textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 15px; background: var(--white);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
form.contact-form input:focus, form.contact-form select:focus, form.contact-form textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(98,151,154,.18);
}
form.contact-form textarea { min-height: 120px; resize: vertical; }
form.contact-form .btn-primary { justify-self: start; }
form.contact-form button[type="submit"]:disabled { opacity: .6; cursor: not-allowed; }
.form-message { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14.5px; font-weight: 600; }
.form-message-success { background: var(--green-tint); color: var(--green-dark); }
.form-message-error { background: #fbeaea; color: #a13a3a; }

/* --- Compatibility layer for pages using earlier class names --- */
section { padding: var(--sp-8) 0; }
section.tight { padding: var(--sp-6) 0; }
.hero { padding: var(--sp-9) 0 var(--sp-8); }
.hero .eyebrow { margin-bottom: var(--sp-4); }
.hero h1 { margin-bottom: var(--sp-4); max-width: 780px; }
.hero .lead { max-width: 620px; margin-bottom: var(--sp-6); text-align: left; }
.hero .cta-row { justify-content: flex-start; }
.bg-tint { background: var(--green-tint); }
.bg-dark { background: var(--charcoal); color: var(--white); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark p { color: var(--white); }
.bg-dark p { color: rgba(255,255,255,.82); }
.bg-dark .eyebrow { color: var(--tan); }
.bg-dark .eyebrow::before { background: var(--tan); }
.bg-dark ul.check li { color: rgba(255,255,255,.92); }
.pill {
  display: inline-block; background: var(--tan); color: var(--ink);
  font-weight: 800; font-size: 12.5px; padding: 6px 14px; border-radius: 20px;
  margin-bottom: var(--sp-3); text-transform: uppercase; letter-spacing: .04em;
}
