/* Barlow by Jeremy Tribby – SIL Open Font License 1.1 (self-hosted, latin subset) */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/barlow-400.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/barlow-500.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/barlow-600.woff2) format("woff2"); }

/* Office Answers – site styles */
:root {
  --purple: #832d6f;
  --purple-dark: #6a2359;
  --green: #96d16f;
  --green-dark: #719d53;
  --green-pale: #f0ffe7;
  --text: #383838;
  --muted: #717070;
  --grey-band: #f3f3f3;
  --line: #e2e2e2;
  --footer: #1f2433;
  --white: #fff;
  --wrap: 1000px;
  --shadow: 0 1px 4px rgba(0, 0, 0, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--muted);
  font: 400 16px/1.7 "Barlow", Arial, Helvetica, sans-serif;
}
img, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--purple); }
a:hover { color: var(--purple-dark); }
h1, h2, h3, h4, h5 { color: var(--text); font-weight: 500; line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: 30px; }
h2 { font-size: 28px; }
h3 { font-size: 24px; }
h4, h5 { font-size: 20px; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: .35em; }
strong { color: var(--text); font-weight: 600; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 10px; top: 10px; z-index: 100; background: #fff; padding: 8px 12px; }

/* ---------- Header & navigation ---------- */
.site-header { background: #fff; position: relative; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 108px; }
.logo img { width: 190px; }
.nav-toggle { display: none; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; background: var(--grey-band); }
.main-nav li { position: relative; margin: 0; }
.main-nav a { display: block; text-decoration: none; color: var(--purple); font-size: 14px; letter-spacing: .02em; text-transform: uppercase; line-height: 1.2; padding: 7px 13px; white-space: nowrap; }
.main-nav > ul > li > a:hover,
.main-nav > ul > li:focus-within > a { color: var(--green-dark); }
.main-nav > ul > li.active > a { background: var(--green); color: var(--purple-dark); }
.main-nav > ul > li.active > a::after { content: ""; position: absolute; left: 50%; bottom: -7px; margin-left: -7px; border: 7px solid transparent; border-bottom: 0; border-top-color: var(--green); }
.main-nav .sub { list-style: none; margin: 0; padding: 6px 0; position: absolute; left: 0; top: 100%; min-width: 250px; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .15); display: none; }
.main-nav li:hover > .sub, .main-nav li:focus-within > .sub { display: block; }
.main-nav .sub a { text-transform: none; font-size: 15px; padding: 8px 16px; color: var(--text); }
.main-nav .sub a:hover { background: var(--green-pale); color: var(--purple); }

/* ---------- Page title banner ---------- */
.page-title { background: var(--purple); color: #fff; padding: 46px 0; }
.page-title h1 { color: #fff; margin: 0; font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 50px 0; }
.section.tight { padding: 30px 0; }
.band-grey { background: var(--grey-band); }
.band-green { background: var(--green-pale); }
.center { text-align: center; }
.lead { font-size: 17px; text-align: center; max-width: 900px; margin: 0 auto 1.4em; }
.section-heading { text-align: center; color: var(--purple); font-weight: 600; margin-bottom: 1.2em; }
.rule::before { content: ""; display: block; width: 45px; height: 2px; background: #ccc; margin-bottom: 16px; }

.btn { display: inline-block; background: var(--purple); color: #fff !important; text-decoration: none; text-transform: uppercase; font-size: 14px; letter-spacing: .03em; padding: 10px 22px; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--purple-dark); }
.btn-green { background: var(--green); color: var(--text) !important; text-transform: none; font-size: 17px; padding: 14px 28px; }
.btn-green:hover { background: var(--green-dark); color: #fff !important; }
.btn-row { text-align: center; margin: 1.5em 0 0; }

/* Two-column split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split.top { align-items: start; }
.split.wide-text { grid-template-columns: 3fr 2fr; }
.split.wide-media { grid-template-columns: 2fr 3fr; }
.split img { width: 100%; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; box-shadow: var(--shadow); padding: 12px 12px 22px; display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; margin-bottom: 16px; }
.card h2, .card h3 { font-size: 20px; margin: 0 8px .6em; }
.card p { margin: 0 8px 1em; font-size: 15px; }
.card .btn { align-self: flex-start; margin: auto 8px 0; }
.box { background: #fff; box-shadow: var(--shadow); padding: 22px 26px; }
.box h2 { font-size: 26px; }
.box p:last-child { margin-bottom: 0; }
.box-media { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; }
.box-media img { width: 120px; }

/* Plain text columns (no card) */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.cols.two { grid-template-columns: repeat(2, 1fr); }
.cols h2, .cols h3 { font-size: 24px; }

/* Long-form content */
.prose { max-width: 980px; }
.prose h2 { margin-top: 1.2em; }
.prose h3 { margin-top: 1.3em; font-size: 26px; }
.prose > :first-child { margin-top: 0; }
.float-right { float: right; width: 45%; margin: 0 0 20px 30px; }
.clear { clear: both; }

/* Home page */
.hero { position: relative; max-width: 980px; margin: 0 auto; background: #000; aspect-ratio: 980 / 532; overflow: hidden; }
.hero video, .hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero .btn { position: absolute; left: 11px; bottom: 10px; text-transform: none; font-size: 15px; }
.service-list .box { margin-bottom: 18px; }
.service-list .box h2 { font-size: 26px; margin-bottom: .4em; }
.service-list .box p { font-size: 15px; color: var(--text); }
.bars { margin-bottom: 30px; }
.bar { margin-bottom: 14px; font-size: 13px; }
.bar span { display: block; height: 9px; border: 1px solid #ccc; border-radius: 6px; overflow: hidden; margin-top: 3px; background: #fff; }
.bar i { display: block; height: 100%; background: var(--purple); }
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.sectors figure { margin: 0; background: #fff; }
.sectors img { width: 100%; aspect-ratio: 234 / 170; object-fit: cover; }
.sectors figcaption { text-align: center; font-size: 13px; padding: 8px 4px 10px; }

/* Testimonials */
.testimonial-frame { background: var(--purple); padding: 26px; }
.testimonials { background: #fff; padding: 26px 46px 22px; position: relative; text-align: center; }
.testimonials h2 { font-size: 26px; }
.testimonials h2::after { content: ""; display: block; width: 60px; height: 2px; background: var(--text); margin: 12px auto 0; }
.testimonial { display: none; font-size: 14px; }
.testimonial.on { display: block; }
.testimonial cite { display: block; font-style: normal; font-weight: 600; font-size: 13px; color: var(--text); margin-top: 1em; }
.testimonial cite::before { content: "—  "; }
.t-nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; font-size: 28px; color: #bbb; cursor: pointer; padding: 6px; line-height: 1; }
.t-nav:hover { color: var(--purple); }
.t-prev { left: 4px; }
.t-next { right: 4px; }
.t-dots { margin-top: 12px; }
.t-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: #ccc; margin: 0 4px; padding: 0; cursor: pointer; }
.t-dots button.on { background: var(--purple); }
.round-img { border-radius: 50%; aspect-ratio: 1 / 1; object-fit: cover; }

/* Reviews page */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: #fff; box-shadow: var(--shadow); padding: 18px 20px 26px; }
.review h2 { font-size: 22px; padding-bottom: 10px; border-bottom: 3px solid var(--green-dark); }
.review p { font-size: 14px; color: var(--text); margin: 0; }

/* About page */
.people { display: grid; grid-template-columns: 225px 1fr; gap: 26px 60px; align-items: start; }
.people figure { margin: 0; }
.people figcaption { margin-top: 8px; }

/* FAQs */
.faqs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 50px; }
.faqs h2 { font-size: 20px; color: var(--purple); margin: 1.2em 0 .5em; }

/* Price lists */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 60px; }
.price-grid h2 { font-size: 26px; margin-top: 1.4em; }
.prices { list-style: none; padding: 0; }
.prices li { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dotted #ccc; padding: 4px 0; margin: 0; }
.prices li b { font-weight: 500; color: var(--text); white-space: nowrap; }
.cta-call { text-align: center; }
.cta-call .tel { font-size: 26px; color: var(--purple); font-weight: 600; text-decoration: none; }

/* Video embed */
.video { position: relative; aspect-ratio: 16 / 9; max-width: 740px; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Payment form */
.pay-form { max-width: 720px; background: var(--grey-band); padding: 26px 30px; }
.pay-form .row { display: grid; grid-template-columns: 230px 1fr; gap: 6px 16px; align-items: center; margin-bottom: 12px; }
.pay-form .names { display: grid; grid-template-columns: 90px 1fr 1fr; gap: 10px; }
.pay-form label { color: var(--text); font-size: 15px; }
.pay-form .names label { display: block; font-size: 13px; }
.pay-form input[type=text], .pay-form select { width: 100%; padding: 8px 10px; font: inherit; font-size: 15px; border: 1px solid #bbb; background: #fff; }
.pay-form .amount input { max-width: 180px; }
.pay-form .err { color: #b00020; font-size: 14px; margin: 0 0 12px; display: none; }
.pay-form .err.on { display: block; }
.pay-form small { color: var(--muted); }

/* ---------- Blog ---------- */
.blog-cats { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; gap: 6px 24px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.blog-cats a { text-decoration: none; color: var(--text); }
.blog-cats a.on, .blog-cats a:hover { color: var(--purple); }
.post-list { display: grid; gap: 30px; }
.post-item { display: grid; grid-template-columns: 300px 1fr; gap: 28px; border: 1px solid var(--line); background: #fff; align-items: start; }
.post-item > a { display: block; }
.post-item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post-item .body { padding: 22px 26px 22px 0; }
.post-item h2 { font-size: 24px; margin-bottom: .4em; }
.post-item h2 a { color: var(--text); text-decoration: none; }
.post-item h2 a:hover { color: var(--purple); }
.meta { font-size: 13px; color: var(--muted); margin-bottom: .8em; }
.post { max-width: 760px; margin: 0 auto; }
.post h1 { font-size: 34px; }
.post-body { color: var(--text); }
.post-body img { margin: 1.2em auto; }
.post-body h2 { font-size: 24px; margin-top: 1.2em; }
.post-body h3 { font-size: 20px; margin-top: 1.2em; }
.post-body blockquote { border-left: 3px solid var(--green); margin: 1em 0; padding: .2em 0 .2em 1em; font-style: italic; }
.post-body table { border-collapse: collapse; margin: 1em 0; }
.post-body td, .post-body th { border: 1px solid var(--line); padding: 4px 8px; }
.post-cats { font-size: 14px; border-top: 1px solid var(--line); margin-top: 2em; padding-top: 1em; }
.related h2 { font-size: 22px; }
.related .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related a { text-decoration: none; color: var(--text); font-size: 15px; line-height: 1.35; display: block; }
.related img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; margin-bottom: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: #fff; font-family: Helvetica, Arial, sans-serif; padding: 26px 0 30px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.3fr 1.2fr; gap: 40px; }
.site-footer h2 { color: #fff; font-family: "Barlow", Arial, sans-serif; font-size: 18px; margin: 0 0 22px; }
.site-footer h2::after { content: ""; display: block; width: 22px; height: 3px; background: var(--green); margin-top: 10px; }
.site-footer p { font-size: 13px; line-height: 1.8; }
.f-posts a { display: block; position: relative; margin-bottom: 22px; max-width: 224px; text-decoration: none; }
.f-posts img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.f-posts span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; font-size: 17px; line-height: 1.25; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); }
.contact-list { list-style: none; padding: 0; margin: 0; font-size: 16px; line-height: 1.45; }
.contact-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; margin-bottom: 18px; }
.contact-list svg { width: 18px; height: 18px; fill: none; stroke: var(--green); stroke-width: 2; margin-top: 2px; }
.contact-list a { text-decoration: none; }
.social { display: flex; gap: 16px; margin: 6px 0 0 32px; }
.social a { display: block; width: 30px; height: 30px; }
.social svg { width: 30px; height: 30px; display: block; }
.footer-legal { text-align: center; border-top: 1px solid #3a4054; margin-top: 10px; padding-top: 16px; grid-column: 2 / 4; }
.footer-legal p { margin: 0 0 1em; }
.copyright { font-size: 12px !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .site-header .wrap { min-height: 80px; }
  .logo img { width: 150px; }
  .nav-toggle { display: block; background: none; border: 1px solid #ccc; padding: 8px 12px; font: inherit; color: var(--purple); cursor: pointer; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 6px 12px rgba(0, 0, 0, .15); padding: 8px 0 14px; }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; background: none; }
  .main-nav a { padding: 10px 20px; font-size: 15px; }
  .main-nav > ul > li.active > a::after { display: none; }
  .main-nav .sub { display: block; position: static; box-shadow: none; padding: 0 0 4px 16px; min-width: 0; }
  .main-nav .sub a { padding: 6px 20px; }
}
@media (max-width: 800px) {
  .split, .split.wide-text, .split.wide-media, .cols, .cols.two, .cards.two, .faqs, .price-grid, .people { grid-template-columns: 1fr; gap: 26px; }
  .cards, .reviews { grid-template-columns: 1fr 1fr; }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 10px; }
  .footer-legal { grid-column: auto; }
  .post-item { grid-template-columns: 1fr; gap: 0; }
  .post-item .body { padding: 18px 20px; }
  .related .grid { grid-template-columns: 1fr 1fr; }
  .float-right { float: none; width: 100%; margin: 0 0 20px; }
  .pay-form .row { grid-template-columns: 1fr; }
  .people figure { max-width: 225px; }
}
@media (max-width: 560px) {
  h1 { font-size: 26px; }
  h2 { font-size: 24px; }
  .page-title { padding: 30px 0; }
  .section { padding: 36px 0; }
  .wrap { padding: 0 16px; }
  .cards, .reviews, .related .grid { grid-template-columns: 1fr; }
  .pay-form { padding: 20px 16px; }
  .pay-form .names { grid-template-columns: 1fr; }
  .testimonials { padding: 22px 34px 18px; }
  .hero .btn { font-size: 13px; padding: 7px 14px; }
}
