/* ==========================================================================
   Localbrook replica. Values measured from the computed styles of the live
   GoHighLevel page at 1440px and 390px. Desktop first; the live site
   switches to its mobile layout at max-width: 767px.
   ========================================================================== */

:root {
  --navy: #212650;
  --teal: #21A597;
  --slate: #0F172A;
  --ink: #111827;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-200: #E5E7EB;
  --form-ink: #2C3345;
  --submit: #000084;
  --check: #22C55E;
  --jakarta: 'Plus Jakarta Sans', sans-serif;
  --dm: 'DM Sans', sans-serif;
  --inter: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--dm); color: #000; background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1170px; margin: 0 auto; padding: 0 10px; }
.sec { padding: 80px 20px; }
section[id], footer[id] { scroll-margin-top: 159px; }

/* ---------- type scale shared by sections ---------- */
.eyebrow { font-family: var(--jakarta); font-size: 15px; font-weight: 500; line-height: 1.3; letter-spacing: 1.8px; text-transform: uppercase; color: var(--navy); }
.h-36, .h-34, .h-32, .h-30 { font-family: var(--jakarta); font-weight: 700; color: var(--slate); margin-top: 10px; }
.h-36 { font-size: 36px; line-height: 1.25; }
.h-34 { font-size: 34px; line-height: 1.25; }
.h-32 { font-size: 32px; line-height: 1.25; }
.h-30 { font-size: 30px; line-height: 1.3; }
.h-20 { font-family: var(--jakarta); font-size: 20px; font-weight: 700; line-height: 1.4; color: var(--slate); }
.body-17 { font-size: 17px; line-height: 1.7; }
.body-15 { font-size: 15px; line-height: 1.7; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 150px;
  font-family: var(--dm); font-size: 16px; font-weight: 500; line-height: normal;
  text-decoration: none; transition: all .2s;
}
.btn span { display: inline-block; margin: 0 5px; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 6px 7px 0 rgba(112,112,112,.66); }
.btn-outline { background: #fff; color: var(--navy); border: 1px solid var(--navy); box-shadow: 0 12px 30px 0 rgba(15,23,42,.04); }
.btn:hover { transform: translateY(-10px); box-shadow: 0 8px 5px -5px rgba(0,0,0,.25); }

.cta-row { display: grid; grid-template-columns: 1fr 1fr; column-gap: 10px; margin: 40px -5px 0; }
.cta-col-left { text-align: right; }
.cta-col-right { text-align: left; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 99; background: #fff; padding: 0 20px;
  box-shadow: 0 8px 30px 0 rgba(15,23,42,.04);
}
.header-row { display: flex; align-items: center; padding: 28px 10px; }
.header-logo { flex: 1 1 auto; min-width: 0; padding: 0 10px; }
.header-logo img { width: 100%; max-width: 200px; height: auto; }
.header-nav { flex: 0 0 auto; padding: 0 10px; }
.nav-desktop { display: flex; gap: 12px; }
.nav-desktop a {
  display: block; padding: 8.1px 6px; text-decoration: none;
  font-family: var(--jakarta); font-size: 16px; font-weight: 500; line-height: 1.3; color: var(--slate);
}
.nav-toggle, .nav-close { display: none; background: none; border: 0; padding: 0; cursor: pointer; color: var(--slate); }
.nav-toggle svg { width: 14px; height: 16px; fill: currentColor; display: block; }
.mobile-menu { position: fixed; inset: 0; z-index: 1000; background: #fff; overflow-y: auto; }
.mobile-menu ul { padding: 73px 22px 22px; }
.mobile-menu a {
  display: block; padding: 12.5px 0; text-decoration: none;
  font-family: var(--jakarta); font-size: 17px; font-weight: 500; line-height: 24px; color: var(--slate);
}
.nav-close { display: block; position: absolute; top: 32px; right: 20px; }
.nav-close svg { width: 12px; height: 16px; fill: var(--slate); display: block; }
body.menu-open { overflow: hidden; }

/* ---------- hero ---------- */
.sec-hero { background-image: linear-gradient(0deg, #21A597 0%, #212650 100%); }
/* GHL 12-column row: 7/12 + 5/12 of the full row, each column padded 10px */
.hero-row { display: grid; grid-template-columns: 7fr 5fr; padding: 0; align-items: start; }
.hero-left { padding: 15px 10px 0; min-width: 0; }
.hero-eyebrow { font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: 1.92px; color: var(--teal); }
.hero-title { margin-top: 12px; font-family: var(--jakarta); font-size: 56px; font-weight: 700; line-height: 1.1; letter-spacing: -1.5px; color: #fff; }
.hero-lede { margin-top: 19px; font-size: 18px; line-height: 1.7; color: #fff; }
.hero-btn { margin: 54px 0 0 5px; }
.hero-note { margin-top: 44px; font-size: 14px; line-height: 1.6; color: #fff; }

.card-white {
  background: #fff; border-radius: 25px; padding: 36px 31px 36px;
  box-shadow: 0 18px 45px 0 rgba(15,23,42,.08); margin: 15px 10px 33px; min-width: 0;
}
.card-eyebrow { font-size: 14px; font-weight: 500; line-height: 1.3; letter-spacing: 1.12px; }
.card-title { margin-top: 8px; font-family: var(--jakarta); font-size: 22px; font-weight: 700; line-height: 1.3; color: var(--navy); }
.card-text { margin-top: 14px; font-size: 14px; line-height: 1.6; color: var(--navy); }
.hero-card .form-wrap { margin-top: 19px; }
.card-note { margin-top: 13px; font-size: 12px; line-height: 1.5; color: var(--navy); }

/* ---------- logo carousel ---------- */
.logo-showcase { position: relative; height: 120px; margin: 43px 5px 0; overflow: hidden; }
.logo-track {
  display: flex; align-items: center; height: 100%; width: max-content; padding-left: 20px;
  animation: logo-scroll 24.24s linear infinite;
}
.logo-item { flex: 0 0 auto; width: 100px; margin-right: 77px; display: flex; align-items: center; }
.logo-item img { width: 100px; height: auto; object-fit: contain; }
@keyframes logo-scroll { from { transform: translateX(0); } to { transform: translateX(-885px); } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; } }

/* ---------- lead form (reproduces the GHL form builder) ---------- */
.form-wrap {
  background: #fff; border: 1px solid #fff; border-radius: 3px;
  box-shadow: 0 4px 4px 0 rgba(87,100,126,.21); padding: 60px 40px 30px 39px;
}
.lead-form { font-family: var(--inter); color: var(--form-ink); overflow-wrap: break-word; }
.ff { border: 1px solid transparent; border-radius: 4px; margin-bottom: 16px; }
.ff > label { display: block; font-size: 14px; font-weight: 500; line-height: 1.8; margin-bottom: 7.8px; }
.lead-form input[type=text], .lead-form input[type=tel], .lead-form input[type=email] {
  display: block; width: 100%; height: 36px; padding: 8px 15px; margin: 0;
  font-family: var(--inter); font-size: 12px; font-weight: 300; line-height: 18px; color: var(--form-ink);
  background: #fff; border: 1px solid #ACACAC; border-radius: 5px; outline: 0;
}
.lead-form input::placeholder { color: #757575; opacity: 1; }
.lead-form input:focus { border-color: #1570EF; }
.input-icon { position: relative; }
.input-icon svg { position: absolute; left: 13px; top: 11px; width: 14px; height: 14px; color: #8C8C8C; pointer-events: none; }
.lead-form .input-icon input { padding-left: 36px; }
.ff-btn { margin-top: 31px; }
.ff-btn button {
  display: block; width: 100%; min-height: 45px; padding: 9px 50px; border: 0; border-radius: 5px; cursor: pointer;
  background: var(--submit); color: #fff; transition: all .2s ease-in-out;
}
.ff-btn button p { font-family: var(--inter); font-size: 15px; font-weight: 400; line-height: 27px; }
.ff-btn button:disabled { opacity: .65; cursor: progress; }
.form-consent { margin-top: -4px; font-size: 12px; line-height: 1.55; text-align: center; color: var(--gray-500); }
.form-consent a { color: inherit; }
/* honeypot: off-screen rather than display:none so naive bots still fill it */
.ff-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: 5px; font-size: 14px; line-height: 21px; text-align: center; background: #FEF2F2; color: #991B1B; }
.form-success { text-align: center; padding: 10px 0 6px; font-family: var(--inter); color: var(--form-ink); }
.form-success:focus { outline: none; }
.form-success svg { width: 44px; height: 44px; margin: 0 auto 14px; display: block; }
.form-success svg circle { fill: rgba(34,197,94,.14); }
.form-success svg path { fill: none; stroke: #16A34A; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.form-success h3 { font-family: var(--jakarta); font-size: 20px; font-weight: 700; line-height: 1.35; color: var(--navy); }
.form-success p { margin-top: 10px; font-size: 15px; line-height: 1.6; }

/* ---------- shared two/three column rows ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; align-items: start; }
.col { min-width: 0; padding-top: 15px; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.checklist li { display: flex; align-items: flex-start; padding-left: 6px; font-size: 15px; line-height: 27px; }
.checklist .i-check { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 5.5px; fill: var(--check); }
.checklist li > span { padding-left: 7.5px; }
.checklist li { margin-bottom: 1px; }

/* ---------- why reputation matters ---------- */
.sec-storefront { padding-bottom: 0; }
.sec-storefront .col:first-child { padding-bottom: 31px; }
.sec-storefront .eyebrow { letter-spacing: 1.5px; }
.sf-p1 { margin-top: 18px; }
.sf-p2 { margin-top: 15px; }
.manage-card { background: #F5F5F5; border-radius: 25px; padding: 32px 27px 41px; margin-top: 29.4px; }
.manage-card .checklist { margin-top: 24px; }
.manage-card .checklist li { line-height: 25.5px; margin-bottom: 1.5px; }
.manage-card .i-check { margin-top: 4.75px; }
.sf-right { padding-top: 45px; }
.sf-img { width: calc(100% - 40px); max-width: 525px; height: auto; margin: 0 auto; }
.result-box { margin-top: 30px; background: #EEF2FF; border-radius: 20px; padding: 26px 23px; }
.result-box p { font-size: 14px; line-height: 1.7; color: var(--navy); }

/* ---------- how it works ---------- */
.sec-how { background: #F9FAFB; padding-top: 140px; }
.center-head { text-align: center; padding: 25px 0 0; margin: 0 -5px; }
.how-text { margin-top: 14px; color: var(--navy); }
.sec-how .three-col { margin-top: 79px; }
.step-card { background: #fff; border-radius: 25px; padding: 32px 27px 32px; box-shadow: 0 18px 45px 0 rgba(15,23,42,.04); }
.step-n { font-family: var(--jakarta); font-size: 13px; font-weight: 400; line-height: 1.3; letter-spacing: 2.34px; text-transform: uppercase; color: #000; }
.step-title { margin-top: 10px; }
.step-card .body-15 { margin-top: 10px; }
.sec-how .cta-row, .sec-gbp .cta-row, .sec-contact .cta-row { padding-bottom: 43px; }

/* ---------- why clients choose ---------- */
.sec-why { background: var(--teal); padding-bottom: 10px; }
.sec-why .eyebrow { color: #000; }
.sec-why .h-34 { margin-top: 10.5px; }
.why-text { margin-top: 16px; color: var(--navy); }
.sec-why .col { padding-bottom: 15px; }
.why-right .checklist { margin-top: 10px; padding-bottom: 10px; }
.why-right .checklist li { color: var(--navy); }

/* ---------- GBP optimisation ---------- */
.sec-gbp { background: #F5F5F5; padding-top: 140px; }
.sec-gbp .h-34 { color: var(--navy); }
.gbp-text { margin-top: 18px; }
.sec-gbp .checklist { margin-top: 26.4px; }
.gbp-img { width: 520px; max-width: 100%; height: auto; margin: 0 auto; border-radius: 5px; box-shadow: 0 18px 45px 0 rgba(15,23,42,.7); }
.sec-gbp .checklist { margin-bottom: 11px; }
.gbp-caption { margin-top: 15px; font-size: 14px; line-height: 1.7; }

/* ---------- testimonials ---------- */
.sec-social { padding-top: 140px; }
.sec-social .h-34 { margin-top: 9.5px; }
.sec-social .three-col { margin-top: 92.5px; padding-bottom: 15px; }
.quote-card { background: var(--navy); border-radius: 25px; padding: 32px 27px 32px; box-shadow: 0 18px 45px 0 rgba(15,23,42,.03); }
.quote { font-size: 15px; line-height: 27px; color: #fff; }
.quote-by { margin-top: 16px; font-size: 13px; line-height: 1.6; color: #fff; }

/* ---------- FAQ ---------- */
.sec-faq { background: #F5F5F5; }
.sec-faq .container { padding: 25px 5px 36px; }
.sec-faq .h-30 { margin-top: 10px; }
.faq-text { margin-top: 6px; font-size: 16px; line-height: 1.7; }
.faq-list { margin-top: 80px; }
.faq-item { border: 1px solid var(--gray-200); border-radius: 10px; background: #fff; }
.faq-item + .faq-item { margin-top: 10px; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 0; width: 100%;
  padding: 15px; background: #fff; border: 0; border-radius: 10px; text-align: left; cursor: pointer; color: #000;
}
.faq-q h3 { font-family: var(--jakarta); font-size: 16px; font-weight: 400; line-height: 24px; color: var(--ink); }
.faq-q svg { flex: 0 0 14px; width: 14px; height: 16px; fill: var(--ink); transition: transform .2s; }
.faq-q[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq-a { padding: 0 15px 15px; }
.faq-a p { font-size: 15px; line-height: 1.5; color: var(--gray-600); }

/* ---------- book demo ---------- */
.sec-book { background: var(--teal); padding-top: 140px; }
.book-row { display: grid; grid-template-columns: 5fr 7fr; padding: 0; align-items: start; }
.book-left { padding: 15px 10px 0; min-width: 0; }
.sec-book .eyebrow { color: #000; }
.sec-book .h-32 { color: var(--navy); margin-top: 10.5px; }
.book-text { margin-top: 18px; }
.sec-book .checklist { margin-top: 26.4px; }
.sec-book .logo-showcase { margin: 11px 0 0; }
.book-card {
  background: #F9FAFB; border-radius: 25px; padding: 34px 29px 33px; margin: 15px 10px 15px; min-width: 0;
  box-shadow: 0 18px 45px 0 rgba(15,23,42,.06);
}
.book-card-title { font-family: var(--jakarta); font-size: 22px; font-weight: 700; line-height: 1.4; color: var(--slate); }
.book-card-text { margin-top: 12px; font-size: 15px; line-height: 1.7; color: var(--gray-500); }
.book-card .form-wrap { margin-top: 16px; }
.book-card-note { margin-top: 28px; font-size: 13px; line-height: 1.6; color: var(--gray-400); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); padding: 80px 20px; }
.footer-row { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; padding-top: 15px; padding-bottom: 15px; }
.site-footer h4 { font-family: var(--jakarta); font-size: 20px; font-weight: 700; line-height: 1.4; color: #fff; }
.footer-text { margin-top: 10px; font-size: 14px; line-height: 1.7; color: #fff; }
.footer-copy { margin-top: 19.4px; font-size: 13px; line-height: 1.6; color: #fff; }
.footer-right { text-align: right; }
.footer-links { font-size: 18px; line-height: 1.6; color: var(--gray-400); }
.footer-links a { color: var(--gray-200); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-phone { margin-top: 8px; font-size: 13px; line-height: 1.6; color: #fff; }

/* ---------- contact ---------- */
.sec-contact { background: #F5F5F5; }
.contact-title { color: var(--navy); margin-top: 0; }
.contact-text { margin-top: 18.5px; }
.contact-text span { font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; }
.contact-lines { margin-top: 44px; }
.contact-form { margin: 0 10px; padding-top: 61px; }

/* ---------- legal ---------- */
.sec-legal-head, .sec-legal { padding: 20px 0; }
.legal-title { margin: 20px 0; font-family: var(--jakarta); font-size: 38px; font-weight: 700; line-height: 1.3; text-align: center; color: #000; }
.legal-body { padding-top: 30px; padding-bottom: 30px; font-size: 16px; line-height: 1.3; }
.legal-body p { margin: 0; }
.legal-body hr { margin: 8px 0; height: 2px; border: 1px inset #808080; }
.legal-body a { color: #188BF6; text-decoration: none; }

/* ==========================================================================
   Mobile (live breakpoint: max-width 767px)
   ========================================================================== */
@media (max-width: 767px) {
  .sec { padding: 40px 15px; }
  .container { padding-left: 20px; padding-right: 20px; }
  section[id], footer[id] { scroll-margin-top: 189px; }

  .eyebrow { font-size: 13px; letter-spacing: 1.56px; }
  .h-36, .h-34 { font-size: 28px; line-height: 1.25; }
  .h-32, .h-30 { font-size: 26px; }
  .h-32 { line-height: 1.25; }
  .body-17 { font-size: 16px; line-height: 1.7; }
  .body-15 { font-size: 16px; line-height: 1.7; }
  .btn { font-size: 18px; }

  .site-header { padding: 15px; }
  .header-row { padding: 28px 0; }
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; width: 20px; height: 37px; }

  .hero-row, .two-col, .book-row, .three-col, .footer-row, .cta-row { grid-template-columns: 1fr; }
  .hero-eyebrow { font-size: 14px; letter-spacing: 1.68px; }
  .hero-title { font-size: 36px; line-height: 1.15; }
  .hero-lede { margin-top: 16px; font-size: 16px; }
  .hero-btn { margin: 53px 0 0; text-align: center; }
  .hero-note { margin-top: 44px; font-size: 13px; }
  .logo-showcase { margin: 40px 0 0; }
  .hero-row, .book-row { padding: 0 20px; }
  .hero-left, .book-left { padding-left: 0; padding-right: 0; }
  .card-white { margin: 42px 0 33px; padding: 36px 26px; }
  .hero-card .form-wrap { margin-top: 17.6px; }
  .form-wrap { padding-left: 40px; }
  .card-eyebrow { font-size: 13px; letter-spacing: 1.04px; }
  .card-title { font-size: 20px; }
  .card-text { font-size: 16px; }
  .card-note { font-size: 16px; line-height: 1.5; }

  .cta-row { margin: 40px -10px 0; row-gap: 32px; }

  .manage-card { padding: 32px 22px 42px; }
  .manage-card .h-20 { font-size: 18px; }
  .checklist li { font-size: 14px; line-height: 25.2px; margin-bottom: 0; }
  .manage-card .checklist li { line-height: 23.8px; margin-bottom: 0; }
  .sec-storefront .eyebrow { letter-spacing: 1.3px; }
  .sf-right { padding-top: 45px; padding-bottom: 15px; }
  .result-box { padding: 26px 18px; }
  .result-box p { font-size: 13px; }

  .center-head { padding: 25px 0 0; margin: 0 -10px; }
  .sec-how .three-col { margin-top: 68px; }
  .step-card { padding: 32px 22px; }
  .step-n { font-size: 18px; letter-spacing: 3.24px; }
  .step-title { font-size: 32px; line-height: 1.4; }

  .gbp-img { width: 100%; }
  .sec-gbp .col:first-child { padding-bottom: 15px; }
  .gbp-caption { font-size: 13px; }

  .sec-social .three-col { margin-top: 80px; }
  .quote-card { padding: 32px 22px; }
  .quote { font-size: 14px; line-height: 25.2px; }
  .quote-by { font-size: 16px; }

  .sec-faq .container { padding: 25px 10px 36px; }
  .faq-text { font-size: 15px; }
  .faq-q h3 { font-size: 15px; line-height: 22.5px; }
  .faq-list { margin-top: 74px; }
  .faq-a p { font-size: 12px; }

  .book-card { padding: 34px 24px 33px; margin: 30px 0 15px; }
  .book-card-title { font-size: 20px; }
  .book-card-text { font-size: 16px; }
  .book-card-note { font-size: 16px; }

  .site-footer { padding: 40px 15px; }
  .site-footer h4 { font-size: 32px; }
  .footer-text { font-size: 13px; }
  .footer-copy { font-size: 16px; }
  .footer-right { text-align: left; margin-top: 22.4px; }
  .footer-links, .footer-phone { font-size: 16px; }
  .footer-phone { margin-top: 5.4px; }

  .contact-text { margin-top: 18px; }
  .contact-lines { margin-top: 43.2px; }
  .contact-form { margin: 30px 10px 0; }

  .sec-legal-head, .sec-legal { padding: 20px 0; }
  .sec-legal-head .container, .legal-body { padding-left: 10px; padding-right: 10px; }
}


/* ==========================================================================
   Local visibility sections. These reuse the existing cards, bands, rhythm
   and type scale; only layout variants and the two diagrams are new.
   ========================================================================== */

/* hero: two CTAs side by side */
.hero-btn-pair { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-hero-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); box-shadow: none; }
.btn-hero-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.hero-eyebrow { font-family: var(--jakarta); }

/* four-pillar grid, same card as the three-column rows */
.four-col { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 79px; }
.pillar-title { margin-bottom: 10px; }
.sec-how .four-col + .cta-row { margin-top: 40px; }

/* discovery diagram */
.discovery-svg { display: block; width: 100%; max-width: 525px; height: auto; margin: 0 auto; }
.dd-chip rect { fill: #fff; stroke: var(--gray-200); }
.dd-chip text { font-family: var(--dm); font-size: 16px; fill: var(--navy); }
.dd-link { opacity: .55; }
.dd-node rect { fill: var(--navy); }
.dd-node text { font-family: var(--jakarta); font-size: 16px; font-weight: 700; fill: #fff; text-anchor: middle; }
.sec-storefront .dd-chip rect { fill: #F9FAFB; }

/* local SEO band */
.sec-seo { background: #fff; padding-top: 140px; }
.sec-seo .h-34 { color: var(--navy); }
.seo-right { padding-top: 15px; }
.sec-seo .manage-card { margin-top: 0; }

/* AI search band (teal, same treatment as the existing teal band) */
.sec-why .ai-note {
  margin-top: 22px; padding-top: 18px; font-size: 14px; line-height: 1.7; color: var(--navy);
  border-top: 1px solid rgba(33,38,80,.22);
}

/* reputation band */
.sec-reputation { background: #F5F5F5; padding-top: 140px; }
.sec-reputation .h-34 { color: var(--navy); }
.sec-reputation .manage-card { background: #fff; }
.sec-reputation .result-box { background: #EEF2FF; }

/* competitor band */
.sec-compare { background: #fff; padding-top: 140px; }
.sec-compare .three-col { margin-top: 79px; }

/* ongoing optimisation loop */
.sec-ongoing { background: #F9FAFB; padding-top: 140px; }
.loop-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin: 79px 0 0; padding: 0; list-style: none; counter-reset: loop; }
.loop-step { position: relative; background: #fff; border-radius: 25px; padding: 26px 22px 28px; box-shadow: 0 18px 45px 0 rgba(15,23,42,.04); }
.loop-step h3 { font-family: var(--jakarta); font-size: 18px; font-weight: 700; line-height: 1.4; color: var(--slate); margin-bottom: 8px; }
.loop-step p { font-size: 14px; line-height: 1.7; color: #000; }
.loop-dot { display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); margin-bottom: 16px; }
.loop-step::after {
  content: ""; position: absolute; top: 32px; right: -14px; width: 8px; height: 8px;
  border-top: 2px solid var(--teal); border-right: 2px solid var(--teal); transform: rotate(45deg);
}
.loop-step:last-child::after { display: none; }

/* process band */
.sec-process { background: #fff; padding-top: 140px; }
.sec-process .three-col { margin-top: 79px; }
.sec-process .step-n { color: var(--teal); letter-spacing: 2.34px; }

@media (max-width: 1023px) {
  .four-col { grid-template-columns: repeat(2, 1fr); }
  .loop-row { grid-template-columns: repeat(2, 1fr); }
  .loop-step::after { display: none; }
}
@media (max-width: 767px) {
  .sec-seo, .sec-reputation, .sec-compare, .sec-ongoing, .sec-process { padding-top: 40px; }
  .four-col, .loop-row { grid-template-columns: 1fr; margin-top: 68px; }
  .sec-compare .three-col, .sec-process .three-col { margin-top: 68px; }
  .hero-btn-pair { display: block; }
  .hero-btn-pair .btn { display: block; text-align: center; }
  .hero-btn-pair .btn + .btn { margin-top: 14px; }
  .seo-right { padding-top: 30px; }
  .sec-reputation .sf-right { padding-top: 45px; }
  .loop-step { padding: 24px 22px 26px; }
}


/* ==========================================================================
   Visuals: alternating media rows, photos, and the HTML/SVG mockups.
   Mockups show fictional businesses and carry an "Example" tag.
   ========================================================================== */

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.photo { display: block; width: 100%; height: auto; border-radius: 25px; box-shadow: 0 18px 45px 0 rgba(15,23,42,.12); }

/* media rows: visual and text side by side, sides alternate down the page */
.two-col.media-left, .two-col.side-row, .sec-seo .two-col { column-gap: 48px; align-items: center; }
.side-head .how-text { margin-top: 14px; }
.sec-reputation .sf-right { padding-top: 15px; }
.sec-reputation .sf-right .result-box { margin-top: 24px; }
.compare-row { margin-top: 79px; }
.compare-stack { display: flex; flex-direction: column; gap: 16px; }
.compare-stack .step-card { padding: 24px 27px; }
.sec-why .why-right .checklist { margin-top: 22px; }
.sec-storefront .sf-right .discovery-svg { max-width: 540px; }

/* hero: text top-left, mockup bottom-left, form card spans the right */
.hero-row { grid-template-areas: "left card" "visual card"; grid-template-rows: auto 1fr; }
.hero-left { grid-area: left; }
.hero-visual { grid-area: visual; padding: 0 10px 33px; min-width: 0; }
.hero-card { grid-area: card; }

/* final CTA: photo sits under the checklist, form card spans the right */
.book-row { grid-template-areas: "left card" "visual card"; grid-template-rows: auto 1fr; }
.book-left { grid-area: left; }
.book-visual { grid-area: visual; padding: 32px 10px 15px; min-width: 0; }
.book-card { grid-area: card; }

/* pillar icons (system cards) and discovery diagram icons */
.pillar-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(33,165,151,.12); margin-bottom: 18px; }
.pillar-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dd-icon-bg circle { fill: rgba(33,165,151,.12); }
.dd-icon { stroke: var(--teal); }

/* ---------- shared mockup pieces ---------- */
.mock { position: relative; font-family: var(--dm); color: var(--slate); }
.mk-card { background: #fff; border-radius: 18px; box-shadow: 0 18px 45px 0 rgba(15,23,42,.14); }
.mk-tag {
  position: absolute; top: 0; left: 18px; z-index: 3; transform: translateY(-50%);
  padding: 4px 10px; border-radius: 99px; background: #fff; border: 1px solid var(--gray-200);
  font-family: var(--jakarta); font-size: 10.5px; font-weight: 600; line-height: 1.2; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gray-500);
}
.mk-muted { color: var(--gray-500); }
.mk-stars { color: #F5B400; letter-spacing: 1px; }
.mk-stars-dim { opacity: .75; }
.mk-rating { font-size: 12.5px; }

/* ---------- hero: map pack, rating badge, calls card ---------- */
.mk-hero { max-width: 560px; margin-top: 40px; padding: 26px 0 46px; }
.mk-pack { width: calc(100% - 60px); overflow: hidden; }
.mk-search { display: flex; align-items: center; gap: 10px; padding: 12px 16px; font-size: 14px; color: var(--gray-600); border-bottom: 1px solid var(--gray-200); }
.mk-search svg { width: 16px; height: 16px; fill: none; stroke: var(--gray-500); stroke-width: 2.2; stroke-linecap: round; }
.mk-mapview { display: block; width: 100%; height: 104px; }
.mk-results { list-style: none; margin: 0; padding: 4px 0 6px; }
.mk-results li { display: flex; align-items: center; gap: 12px; padding: 10px 16px; }
.mk-results li + li { border-top: 1px solid #F1F5F9; }
.mk-results li.is-top { background: #EEF9F7; box-shadow: inset 3px 0 0 var(--teal); }
.mk-results li:not(.is-top) .mk-biz { opacity: .72; }
.mk-rank { flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--gray-200); color: var(--gray-600); font: 700 12px/24px var(--jakarta); text-align: center; }
.is-top .mk-rank { background: var(--teal); color: #fff; }
.mk-biz { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; line-height: 1.4; }
.mk-biz b { font-family: var(--jakarta); font-size: 14px; color: var(--slate); }
.mk-action { flex: 0 0 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gray-200); display: grid; place-items: center; background: #fff; }
.mk-action svg { width: 15px; height: 15px; fill: none; stroke: var(--teal); stroke-width: 2; }
.mk-badge { position: absolute; top: 0; right: 0; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 12px 16px; }
.mk-badge-score { font: 700 26px/1 var(--jakarta); color: var(--navy); }
.mk-badge > span:last-child { display: flex; flex-direction: column; font-size: 12px; line-height: 1.4; }
.mk-stat { position: absolute; right: 0; bottom: 0; z-index: 2; width: 190px; padding: 14px 16px 12px; display: flex; flex-direction: column; font-size: 12px; }
.mk-stat strong { margin-top: 2px; font: 700 30px/1.1 var(--jakarta); color: var(--navy); }
.mk-stat svg { width: 100%; height: 30px; margin-top: 6px; }

/* ---------- local SEO: laptop and phone ---------- */
.mk-devices { max-width: 560px; margin: 0 auto; padding: 8px 0 24px; }
.mk-laptop { width: 88%; container-type: inline-size; }
.mk-screen { background: #1F2437; border-radius: 14px 14px 0 0; padding: 2.4% 2.4% 2%; box-shadow: 0 18px 45px 0 rgba(15,23,42,.14); }
.mk-site { aspect-ratio: 16 / 10; overflow: hidden; background: #fff; border-radius: 4px; font-size: 2.05cqw; line-height: 1.35; }
.mk-base { position: relative; height: 2.6cqw; margin: 0 -6%; border-radius: 0 0 1.6cqw 1.6cqw; background: linear-gradient(#DADDE3, #A9AFBA); }
.mk-base::before { content: ""; position: absolute; left: 42%; right: 42%; top: 0; height: 40%; border-radius: 0 0 1cqw 1cqw; background: #C3C8D0; }
.mk-nav { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: 1.1em 1.6em; border-bottom: 1px solid #EEF0F3; }
.mk-logo { display: flex; align-items: center; gap: .5em; font-family: var(--jakarta); font-weight: 700; color: var(--navy); }
.mk-logo i { display: block; width: 1.3em; height: 1.3em; border-radius: .35em; background: var(--teal); }
.mk-links { display: flex; gap: 1.2em; }
.mk-links i { display: block; width: 3em; height: .45em; border-radius: 1em; background: #D9DEE5; }
.mk-btn { display: inline-block; padding: .55em 1.1em; border-radius: 99px; background: var(--navy); color: #fff; font-size: .85em; font-weight: 600; }
.mk-hero-band { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.5em; align-items: center; padding: 1.7em 1.6em 1.4em; background: linear-gradient(180deg, #F3FAF8, #fff); }
.mk-hero-band svg { display: block; width: 100%; height: auto; }
.mk-kicker { font-size: .72em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.mk-h { margin: .35em 0 .4em; font-family: var(--jakarta); font-size: 1.7em; font-weight: 800; line-height: 1.15; color: var(--slate); }
.mk-sub { margin-bottom: 1em; font-size: .9em; color: var(--gray-600); }
.mk-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; padding: 0 1.6em 1.6em; }
.mk-tiles span { display: flex; flex-direction: column; gap: .6em; padding: .9em; border: 1px solid #E7EAEE; border-radius: .7em; }
.mk-tiles b, .mk-list b { font-family: var(--jakarta); font-size: .9em; color: var(--navy); }
.mk-tiles i { display: block; width: 80%; height: .4em; border-radius: 1em; background: var(--gray-200); }
.mk-phone { position: absolute; right: 0; bottom: 0; z-index: 2; width: 25%; container-type: inline-size; }
.mk-phone-screen {
  aspect-ratio: 9 / 18; overflow: hidden; padding: .8em; background: #fff; border: 6px solid #1F2437; border-radius: 22px;
  box-shadow: 0 18px 45px 0 rgba(15,23,42,.2); font-size: 6.6cqw; line-height: 1.35;
}
.mk-phone .mk-nav { padding: .3em 0 .8em; border-bottom: 0; }
.mk-burger i { display: block; width: 1.3em; height: .18em; margin: .22em 0; background: var(--slate); border-radius: 1em; }
.mk-phone .mk-h { font-size: 1.35em; }
.mk-btn-block { display: block; margin: .7em 0 1em; text-align: center; }
.mk-list span { display: block; margin-top: .5em; padding: .6em .7em; border: 1px solid #E7EAEE; border-radius: .6em; }

/* ---------- AI answer vs search result ---------- */
.mk-ai { max-width: 520px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.mk-answer { padding: 24px 22px 18px; }
.mk-label { display: flex; align-items: center; gap: 8px; font-family: var(--jakarta); font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: 1.2px; text-transform: uppercase; color: var(--teal); }
.mk-label svg { width: 16px; height: 16px; fill: var(--teal); }
.mk-label-plain { color: var(--gray-500); }
.mk-label-plain svg { fill: none; stroke: var(--gray-500); stroke-width: 2.2; stroke-linecap: round; }
.mk-q { width: fit-content; max-width: 88%; margin: 14px 0 0 auto; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: #F1F5F9; font-size: 14px; line-height: 1.5; }
.mk-a { margin-top: 14px; font-size: 14px; color: var(--gray-600); }
.mk-rec { display: flex; gap: 12px; margin-top: 10px; padding: 14px; border: 1px solid rgba(33,165,151,.35); border-radius: 14px; background: #F0FAF8; }
.mk-rec > span:last-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 13px; line-height: 1.45; }
.mk-rec b { font-family: var(--jakarta); font-size: 15px; }
.mk-rec-icon { flex: 0 0 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--teal); }
.mk-rec-icon svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; }
.mk-sources { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.mk-sources span { padding: 4px 10px; border-radius: 99px; background: #F1F5F9; font-size: 11.5px; color: var(--gray-600); }
.mk-serp { margin-left: 28px; padding: 18px 22px 20px; }
.mk-crumb { margin-top: 12px; font-size: 12px; color: var(--gray-600); }
.mk-title { margin-top: 4px; font-size: 17px; line-height: 1.35; color: #1A0DAB; }
.mk-snip { margin-top: 6px; font-size: 13px; line-height: 1.55; color: var(--gray-600); }

/* ---------- geo-grid rank map ---------- */
.mk-grid { max-width: 500px; margin: 0 auto; }
.mk-grid-card { padding: 22px 20px 18px; }
.mk-grid-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.mk-grid-head > span { display: flex; flex-direction: column; font-size: 12px; }
.mk-grid-head b { font-family: var(--jakarta); font-size: 15px; color: var(--navy); }
.mk-grid-svg { display: block; width: 100%; height: auto; }
.mk-grid-svg circle { stroke: #fff; stroke-width: 3; }
.mk-grid-svg text { font-family: var(--jakarta); font-size: 13px; font-weight: 700; text-anchor: middle; fill: #fff; }
.gg-g circle, i.gg-g { fill: #22C55E; background: #22C55E; }
.gg-y circle, i.gg-y { fill: #F5B82E; background: #F5B82E; }
.gg-r circle, i.gg-r { fill: #EF4444; background: #EF4444; }
.gg-y text { fill: #3B2F00; }
.mk-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 14px; font-size: 12.5px; color: var(--gray-600); }
.mk-legend li { display: flex; align-items: center; gap: 6px; }
.mk-legend i { display: block; width: 12px; height: 12px; border-radius: 50%; }

/* ---------- reporting dashboard ---------- */
.mk-dash { max-width: 520px; margin: 0 auto; }
.mk-dash-card { padding: 24px 22px 18px; }
.mk-dash-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mk-dash-head b { font-family: var(--jakarta); font-size: 16px; color: var(--navy); }
.mk-pill { padding: 5px 10px; border-radius: 99px; background: #F1F5F9; font-size: 12px; color: var(--gray-600); }
.mk-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.mk-kpi { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 12px; border: 1px solid #EEF0F3; border-radius: 14px; background: #F9FAFB; font-size: 12px; }
.mk-kpi strong { font: 700 22px/1.2 var(--jakarta); color: var(--navy); }
.mk-up { font-size: 12px; font-weight: 600; color: #15803D; }
.mk-chart { display: block; width: 100%; height: auto; margin-top: 18px; overflow: visible; }
.mk-axis text { font-family: var(--dm); font-size: 11px; fill: var(--gray-400); }

/* ---------- Google Business Profile ---------- */
.mk-gbp { max-width: 500px; margin: 0 auto; }
.mk-gbp-card { overflow: hidden; }
.mk-gbp-cover { display: block; width: 100%; height: 118px; }
.mk-gbp-body { display: flex; flex-direction: column; gap: 3px; padding: 18px 22px 16px; font-size: 13px; line-height: 1.45; border-bottom: 1px solid #EEF0F3; }
.mk-gbp-name { font: 700 20px/1.3 var(--jakarta); color: var(--slate); }
.mk-gbp-open b { font-weight: 600; color: #15803D; }
.mk-gbp-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.mk-gbp-actions span { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--gray-600); }
.mk-gbp-actions i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gray-200); }
.mk-gbp-actions svg { width: 16px; height: 16px; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.mk-gbp-perf { padding: 18px 22px 22px; }
.mk-gbp-perf .mk-dash-head b { font-size: 15px; }

/* ---------- who we work with ---------- */
.sec-clients { padding: 44px 0 46px; background: #fff; border-bottom: 1px solid #EEF0F3; }
.clients-eyebrow { text-align: center; font-family: var(--jakarta); font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--gray-500); }
.clients-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin: 26px 0 0; padding: 0; list-style: none; }
.clients-list li { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; font-family: var(--jakarta); font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--navy); }
.clients-list .pillar-icon { margin: 0; }

/* scroll entrance, only when motion is welcome (site.js adds .reveal-on) */
@media (prefers-reduced-motion: no-preference) {
  .reveal-on .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .reveal-on .reveal.is-visible { opacity: 1; transform: none; }
}

@media (max-width: 767px) {
  /* text first, then the visual */
  .media-left > :first-child { order: 2; }
  .two-col.media-left, .two-col.side-row, .sec-seo .two-col { row-gap: 30px; }
  .hero-row, .book-row { grid-template-areas: "left" "card" "visual"; grid-template-rows: auto; }
  .hero-visual { padding: 0 0 10px; }
  .book-visual { padding: 15px 0 0; }
  .compare-row { margin-top: 50px; }
  .compare-stack .step-card { padding: 24px 22px; }
  .sec-reputation .sf-right { padding-top: 15px; }
  .photo { border-radius: 20px; }

  .mk-hero { margin-top: 10px; padding: 50px 0 74px; }
  .mk-pack { width: calc(100% - 28px); }
  .mk-badge { padding: 10px 12px; }
  .mk-badge-score { font-size: 22px; }
  .mk-stat { width: 150px; padding: 12px 14px 10px; }
  .mk-stat strong { font-size: 24px; }
  .mk-results li { padding: 9px 12px; gap: 10px; }
  .mk-serp { margin-left: 14px; }
  .mk-kpis { gap: 8px; }
  .mk-kpi { padding: 10px 9px; font-size: 11px; }
  .mk-kpi strong { font-size: 18px; }
  .mk-grid-card { padding: 20px 14px 16px; }
  .mk-gbp-body, .mk-gbp-perf { padding-left: 16px; padding-right: 16px; }
  .mk-gbp-name { font-size: 18px; }

  .sec-clients { padding: 36px 0 38px; }
  .clients-list { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; margin-top: 22px; }
  .clients-list li { font-size: 14px; gap: 10px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .clients-list { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
}
