/* Landlord Certificates
   Layout: single landing page, alternating plain / tinted bands, hero with a "compliance pack" card.
   Palette from PAT pass labels: deep ink green + pass green on near-white. */
@font-face { font-family: 'Archivo'; src: url('/fonts/archivo-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('/fonts/archivo-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('/fonts/source-sans-3-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('/fonts/source-sans-3-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('/fonts/source-sans-3-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --ink: #12302d;
  --ink-2: #1d4541;
  --paper: #fafbf9;
  --band: #eef3f0;
  --line: #d6e0db;
  --text: #1f2a28;
  --muted: #5a6764;
  --pass: #1f9a55;
  --pass-dark: #17804a;
  --pass-tint: #e3f4ea;
  --display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --body: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font: 17px/1.6 var(--body); }
img { max-width: 100%; height: auto; }
a { color: var(--pass-dark); }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.15; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
section { padding-block: 72px; }
section.band { background: var(--band); }
.sub { color: var(--muted); max-width: 62ch; margin: 10px 0 0; }
.note { color: var(--muted); font-size: 0.9rem; margin-top: 14px; }
:focus-visible { outline: 3px solid var(--pass); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; font: 700 1rem var(--body); padding: 14px 24px; border-radius: 8px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s; }
.btn-pass { background: var(--pass); color: #fff; }
.btn-pass:hover { background: var(--pass-dark); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-sm { padding: 9px 16px; font-size: .92rem; }

/* Header */
.top { background: var(--ink); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-name { font: 800 .98rem/1.1 var(--display); color: #fff; letter-spacing: .01em; }
.top-nav { display: flex; align-items: center; gap: 22px; }
.top-nav a { color: #cfe0db; text-decoration: none; font-weight: 600; font-size: .95rem; }
.top-nav a:hover { color: #fff; }
.top-nav .top-phone { color: #fff; font-variant-numeric: tabular-nums; }
.top-nav .btn { color: #fff; }

/* Hero */
.hero { background: var(--ink); color: #e6efec; padding-block: 64px 80px; }
.hero-in { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.hero-copy { min-width: 0; }
.kicker { color: #8fd4ad; font-weight: 700; font-size: .95rem; margin: 0 0 12px; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 800; letter-spacing: -0.02em; }
.lede { font-size: 1.12rem; color: #c9d9d4; max-width: 56ch; margin: 18px 0 26px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-proof { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .95rem; color: #c9d9d4; }
.hero-proof li::before { content: "✓"; color: #8fd4ad; font-weight: 700; margin-right: 6px; }

/* Compliance pack card (signature element) */
.pack { background: #fff; color: var(--text); border-radius: 14px; padding: 22px 22px 18px; box-shadow: 0 18px 50px rgba(0,0,0,.28); }
.pack-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 6px; }
.pack-head span:first-child { font: 800 1.05rem var(--display); color: var(--ink); }
.pack-ref { font-size: .82rem; color: var(--muted); }
.pack-list { list-style: none; margin: 0; padding: 0; }
.pack-list li { display: grid; grid-template-columns: 1fr auto 28px; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: .97rem; }
.pk-name { font-weight: 700; }
.pk-val { color: var(--muted); font-size: .9rem; text-align: right; font-variant-numeric: tabular-nums; }
.tick { width: 26px; height: 26px; border-radius: 6px; background: var(--pass); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.pack-foot { margin-top: 12px; font-size: .86rem; color: var(--muted); }

/* Requirements table */
.table-wrap { overflow-x: auto; margin-top: 26px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
table.need { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .96rem; }
.need th { text-align: left; background: var(--ink); color: #fff; font-weight: 600; padding: 12px 16px; font-size: .88rem; }
.need td { padding: 13px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.need td:first-child { font-weight: 700; }
.need td.y { color: var(--pass-dark); font-weight: 700; }
.need td.y::before { content: "✓ "; }
.need td.n { color: var(--muted); }

/* Services */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.svc-card { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--pass); border-radius: 10px; padding: 24px; min-width: 0; }
.svc-lede { color: var(--muted); margin: 8px 0 14px; font-size: .97rem; }
.svc-card ul { margin: 0; padding-left: 20px; }
.svc-card li { margin-bottom: 6px; }
.svc-out { color: var(--muted); font-size: .92rem; margin-top: 18px; }

/* Steps (a real sequence, so numbered) */
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; background: #fff; border-radius: 10px; padding: 24px; border: 1px solid var(--line); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font: 800 1rem var(--display); margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 8px 0 0; }

/* Why */
.why { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.why-list li { padding-left: 34px; position: relative; }
.why-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 5px; background: var(--pass-tint); color: var(--pass-dark); display: grid; place-items: center; font-weight: 700; font-size: .8rem; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }
.reviews figure { margin: 0; background: #fff; border-radius: 10px; padding: 22px; border: 1px solid var(--line); }
.reviews figure::before { content: "★★★★★"; color: #e0a21b; letter-spacing: 2px; display: block; margin-bottom: 8px; }
.reviews blockquote { margin: 0 0 12px; }
.reviews figcaption { color: var(--muted); font-size: .9rem; font-weight: 600; }

/* Quote form */
.quote { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.quote-intro p { color: var(--muted); }
.tip { background: var(--pass-tint); color: var(--ink) !important; padding: 12px 14px; border-radius: 8px; font-size: .95rem; }
.qform { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px; display: grid; gap: 14px; min-width: 0; }
.qform label { display: grid; gap: 5px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.qform input, .qform select, .qform textarea { font: 400 1rem var(--body); padding: 11px 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); color: var(--text); width: 100%; }
.qform input[type=checkbox] { width: 18px; height: 18px; padding: 0; accent-color: var(--pass); }
.qform input[type=file] { background: transparent; border-style: dashed; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.svc-pick { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.svc-pick legend { font-weight: 700; color: var(--ink); margin-bottom: 8px; font-size: .95rem; }
.svc-pick label { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; cursor: pointer; font-weight: 600; }
.svc-pick label:has(input:checked) { border-color: var(--pass); background: var(--pass-tint); }
.form-msg { margin: 0; padding: 12px 14px; border-radius: 8px; font-weight: 600; }
.form-msg.ok { background: var(--pass-tint); color: var(--pass-dark); }
.form-msg.err { background: #fdecea; color: #a12a1a; }
.privacy { font-size: .85rem; color: var(--muted); margin: 0; }

/* FAQ */
.faq details, .faq h2 { max-width: 820px; }
.faq h2 { margin-bottom: 20px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 800 1.2rem var(--display); color: var(--pass); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* Footer */
.foot { background: var(--ink); color: #c9d9d4; padding-block: 48px 24px; font-size: .95rem; }
.foot a { color: #fff; }
.foot-in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-name { font: 800 1.1rem var(--display); color: #fff; margin: 0 0 6px; }
.foot-pts { display: flex; align-items: center; gap: 14px; background: #fff; color: var(--ink) !important; text-decoration: none; padding: 12px 18px; border-radius: 10px; align-self: flex-start; max-width: 360px; }
.foot-pts img { width: 72px; height: auto; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; font-size: .85rem; color: #93aaa4; }

/* WhatsApp */
.wa { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; align-items: center; gap: 8px; background: #25d366; color: #fff; text-decoration: none; font-weight: 700; padding: 12px 18px 12px 14px; border-radius: 999px; box-shadow: 0 6px 18px rgba(0,0,0,.25); }

/* Responsive */
@media (max-width: 960px) {
  .hero-in, .why, .quote { grid-template-columns: 1fr; gap: 36px; }
  .svc, .steps, .reviews { grid-template-columns: 1fr; }
  .top-nav a:not(.btn):not(.top-phone) { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  section { padding-block: 52px; }
  .row { grid-template-columns: 1fr; }
  .top-nav .top-phone { display: none; }
  .brand-name { font-size: .88rem; }
  .wa span { display: none; }
  .wa { padding: 13px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---- Round 2 additions ---- */
.top-nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--pass); }
.menu-btn { display: none; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: 7px; padding: 8px 14px; font: 600 .95rem var(--body); cursor: pointer; }
.hero-sub { padding-block: 56px 60px; }
.hero-sub h1 { max-width: 22ch; }
.svc-more { display: inline-block; margin-top: 14px; font-weight: 700; text-decoration: none; }
.svc-more::after { content: " ›"; }
.svc-pick legend span { font-weight: 400; color: var(--muted); font-size: .88rem; margin-left: 6px; }
.need td a { color: inherit; }
.two { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.two > div { min-width: 0; }
.two h2 { margin-bottom: 14px; }
.panel { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--pass); border-radius: 10px; padding: 24px; }
.panel h3 { margin-bottom: 10px; }
ul.clean { padding-left: 20px; margin: 10px 0 0; }
ul.clean li { margin-bottom: 7px; }
.panel ul { padding-left: 20px; margin: 0; }
.panel li { margin-bottom: 7px; }
.mt { margin-top: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chips span { background: var(--pass-tint); color: var(--ink); border-radius: 999px; padding: 4px 12px; font-size: .92rem; font-weight: 600; }
.codes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.codes > div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px; }
.codes p { margin: 10px 0 0; color: var(--muted); font-size: .95rem; }
.codes strong { color: var(--ink); }
.code { display: inline-grid; place-items: center; min-width: 46px; height: 32px; border-radius: 6px; font: 800 1rem var(--display); color: #fff; }
.code.c1 { background: #b42318; } .code.c2 { background: #d9661a; } .code.fi { background: #5b6b8c; } .code.c3 { background: #4f7a3a; }
.foot-links a { color: #cfe0db; text-decoration: none; }
.foot-links a:hover { color: #fff; }
@media (max-width: 1060px) {
  .menu-btn { display: inline-block; }
  .top-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; border-top: 1px solid rgba(255,255,255,.12); }
  .top-nav.open { display: flex; }
  .top-nav a, .top-nav a:not(.btn):not(.top-phone), .top-nav .top-phone { display: block; padding: 12px 0; }
  .top-nav .btn { margin-top: 8px; text-align: center; }
  .top { position: sticky; }
  .top-in { position: relative; }
}
@media (max-width: 960px) { .two { grid-template-columns: 1fr; gap: 28px; } .codes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .codes { grid-template-columns: 1fr; } }

/* ---- Round 3: quote card at the top of every page ---- */
.hero-in { align-items: start; }
.hero .hero-copy { padding-top: 12px; }
.qcard { box-shadow: 0 18px 50px rgba(0,0,0,.28); border: 0; scroll-margin-top: 90px; }
.qcard-title { font-size: 1.25rem; padding-bottom: 10px; border-bottom: 3px solid var(--pass); margin-bottom: 2px; }
.qcard .svc-pick label { padding: 7px 10px; font-size: .88rem; }
.qcard input, .qcard select, .qcard textarea { padding: 9px 11px; }
.qcard .row { gap: 12px; }
.qcard label.addon { display: flex; align-items: center; gap: 8px; background: var(--pass-tint); padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.qcard .btn { width: 100%; }
.hero-sub .hero-in { grid-template-columns: 1.2fr 1fr; }
.hero .btn-ghost { white-space: nowrap; }
.pack-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 48px; }
.pack-row h3 { font-size: 1.5rem; }
.pack-row .sub { margin-bottom: 20px; }
.pack { box-shadow: 0 10px 30px rgba(18,48,45,.12); border: 1px solid var(--line); }
.cta-band { background: var(--ink); color: #c9d9d4; padding-block: 56px; }
.cta-band h2 { color: #fff; }
.cta-band p { margin: 8px 0 0; max-width: 60ch; }
.cta-band a:not(.btn) { color: #8fd4ad; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
@media (max-width: 960px) {
  .hero-sub .hero-in, .pack-row { grid-template-columns: 1fr; gap: 32px; }
}
