/* BPAT website — green / black / white. Red only for FAIL. */
:root {
  --green: #1F7A3F; --green-dark: #155C2E; --green-soft: #E8F3EC;
  --ink: #141A16; --muted: #55605A; --line: #DCE3DE; --bg: #FFFFFF; --bg-alt: #F4F7F5;
  --radius: 14px; --wrap: 1080px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--bg); padding-bottom: 64px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 6vw, 3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.45rem, 4vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.small { font-size: .85rem; color: var(--muted); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 9; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: #fff; border-bottom: 1px solid var(--line); }
.topin { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.brand img { width: 120px; }
.topcall { margin-left: auto; font-weight: 700; text-decoration: none; color: var(--ink); white-space: nowrap; }
.menu summary { list-style: none; cursor: pointer; font-weight: 700; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 16px; top: 64px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.1); display: flex; flex-direction: column; min-width: 220px; padding: 8px; }
.menu nav a { padding: 12px 14px; text-decoration: none; color: var(--ink); border-radius: 8px; font-weight: 600; }
.menu nav a[aria-current] { color: var(--green); }
.menu nav a:hover { background: var(--bg-alt); }
.menu nav .navquote { background: var(--green); color: #fff; text-align: center; margin-top: 4px; }
.desk { display: none; }
@media (min-width: 900px) {
  .brand img { width: 150px; }
  .menu { display: none; }
  .desk { display: flex; gap: 2px; margin-left: auto; }
  .desk a { padding: 8px 10px; font-size: .95rem; font-weight: 600; text-decoration: none; color: var(--ink); border-radius: 8px; }
  .desk a[aria-current] { color: var(--green); }
  .desk a:hover { background: var(--bg-alt); }
  .topcall { margin-left: 8px; background: var(--green); color: #fff; padding: 10px 14px; border-radius: 10px; }
}

/* hero */
.hero { background: linear-gradient(180deg, var(--green-soft), #fff); padding: 40px 0 32px; }
.hero.small { padding: 36px 0 20px; }
.heroin { display: grid; gap: 28px; align-items: center; }
.heroimg { border-radius: var(--radius); box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.lead { font-size: 1.2rem; color: #2A332D; max-width: 38em; }
.trust { margin-top: 14px; }
@media (min-width: 860px) { .heroin { grid-template-columns: 1.15fr 1fr; } .hero { padding: 64px 0 48px; } }

/* buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 6px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 12px; background: var(--green); color: #fff; font-weight: 700; text-decoration: none; border: 2px solid var(--green); font-size: 1rem; cursor: pointer; }
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn.alt { background: #fff; color: var(--green-dark); }
.btn.alt:hover { background: var(--green-soft); }

/* sections */
.band { padding: 44px 0; }
.band.alt { background: var(--bg-alt); }
.two { display: grid; gap: 32px; }
@media (min-width: 860px) { .two { grid-template-columns: 1fr 1fr; align-items: start; } }
.cards3, .cards4 { display: grid; gap: 16px; }
@media (min-width: 700px) { .cards3 { grid-template-columns: repeat(3, 1fr); } .cards4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card p { margin: 0; color: var(--muted); }
.card.link { text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.card.link:hover { border-color: var(--green); transform: translateY(-2px); }
.card.link h3::after { content: " ›"; color: var(--green); }
.more { margin-top: 20px; }

/* lists & tables */
.ticks, .plain { padding: 0; margin: 0 0 1em; list-style: none; }
.ticks li { padding-left: 32px; position: relative; margin: 0 0 10px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; font-size: 13px; display: grid; place-items: center; font-weight: 700; margin-top: 3px; }
.plain li { margin: 0 0 12px; }
.steps { padding-left: 1.3em; margin: 0; } .steps li { margin: 0 0 12px; }
.prices { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-bottom: 12px; }
.prices th, .prices td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.prices th { background: var(--green); color: #fff; }
.prices tr:last-child td { border-bottom: 0; }
.prices td:last-child, .prices th:last-child { text-align: right; }

/* labels */
.labels { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.labels img { border-radius: 10px; border: 1px solid var(--line); }

/* FAQs */
.faqs details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: #fff; }
.faqs summary { cursor: pointer; padding: 16px 44px 16px 18px; font-weight: 700; list-style: none; position: relative; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 1.4rem; color: var(--green); }
.faqs details[open] summary::after { content: "–"; }
.faqs details p { padding: 0 18px 16px; margin: 0; color: #2A332D; }

/* reviews */
.reviews { display: grid; gap: 16px; } @media (min-width: 760px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.review blockquote { margin: 0 0 10px; } .review figcaption { color: var(--muted); font-size: .9rem; }

/* quote form */
.quote label { display: block; font-weight: 600; margin-bottom: 12px; font-size: .95rem; }
.quote input, .quote select, .quote textarea { display: block; width: 100%; margin-top: 4px; padding: 12px; font: inherit; font-size: 16px; border: 1px solid #C5CFC8; border-radius: 10px; background: #fff; }
.quote .btn { width: 100%; }

/* call to action & footer */
.cta { background: var(--green); color: #fff; padding: 44px 0; text-align: center; }
.cta .btns { justify-content: center; }
.cta .btn { background: #fff; color: var(--green-dark); border-color: #fff; }
.cta .btn.alt { background: transparent; color: #fff; }
.foot { background: var(--ink); color: #D7DED9; padding: 40px 0 20px; }
.foot a { color: #fff; }
.foot h2 { font-size: 1rem; color: #fff; }
.footin { display: grid; gap: 24px; } @media (min-width: 800px) { .footin { grid-template-columns: 1.3fr 1fr 1fr; } }
.foot .small { color: #9AA59F; margin-top: 16px; }

/* always-visible call bar on phones */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; display: grid; grid-template-columns: 1fr 1.4fr; background: #fff; border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
.callbar a { min-height: 48px; display: grid; place-items: center; border-radius: 10px; font-weight: 700; text-decoration: none; border: 2px solid var(--green); color: var(--green-dark); }
.callbar a.q { background: var(--green); color: #fff; }
@media (min-width: 900px) { .callbar { display: none; } body { padding-bottom: 0; } }

/* sample certificate */
.certthumb { border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0,0,0,.12); max-height: 520px; width: auto; margin: 0 auto; }
.certpages { display: grid; gap: 24px; }
@media (min-width: 900px) { .certpages { grid-template-columns: repeat(3, 1fr); } }
.certpage { margin: 0; }
.certpage img { border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.certpage figcaption { margin-top: 8px; font-size: .95rem; color: var(--muted); }
