/* =========================================================================
   Map Winners — subpage styles (loads after styles.css)
   ========================================================================= */

/* ---------- page hero ---------- */
.page-hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
  margin-top: -82px;
  padding: 132px 0 72px;
}
.page-hero::after {
  content: ""; position: absolute; z-index: -1;
  width: 560px; height: 560px; right: -160px; top: -160px;
  background: radial-gradient(circle, rgba(203,210,94,.16), transparent 62%);
}
.page-hero::before {
  content: ""; position: absolute; z-index: -1;
  width: 520px; height: 520px; left: -180px; bottom: -240px;
  background: radial-gradient(circle, rgba(90,73,168,.34), transparent 64%);
}
.breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  font-family: var(--ui); font-size: .82rem; color: rgba(255,255,255,.55);
  margin-bottom: 22px;
}
.breadcrumb a { color: rgba(255,255,255,.72); transition: color .15s; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb [aria-current] { color: var(--green); }
.bc-sep { color: rgba(255,255,255,.3); }
.page-title {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(2.4rem, 6vw, 4.8rem); line-height: .96;
  margin-bottom: 20px; max-width: 16ch;
}
.page-hero-sub { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: rgba(255,255,255,.8); max-width: 640px; margin-bottom: 30px; }
.page-hero .hero-actions { justify-content: flex-start; margin-bottom: 0; }

/* ---------- proof strip ---------- */
.proof-strip { background: var(--ink); color: var(--paper); border-top: 1px solid var(--dk-line); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: 30px 24px; text-align: center; border-right: 1px solid var(--dk-line); }
.proof-item:last-child { border-right: none; }
.proof-num { display: block; font-family: var(--display); font-size: clamp(2rem, 3.5vw, 2.8rem); color: var(--green); line-height: 1; }
.proof-label { font-family: var(--ui); font-size: .82rem; color: rgba(255,255,255,.7); margin-top: 8px; display: block; }

/* case-study metrics band — flexible columns, shorter numbers fit text like "20th → Top 3" */
.cs-metrics .proof-grid { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.cs-metrics .proof-num { font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1.05; }
.cs-metrics .proof-item:last-child { border-right: none; }

/* ---------- prose layout ---------- */
.prose-section { padding: clamp(64px, 9vw, 110px) 0; background: var(--paper); }
.prose-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 5vw, 72px); align-items: start; }
.prose { max-width: 720px; }
.prose h2 { font-family: var(--ui); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 40px 0 16px; letter-spacing: -.01em; }
.prose h2:first-child { margin-top: 0; }
.prose > p { color: var(--grey-txt); font-size: 1.08rem; margin-bottom: 16px; }
.prose > p strong { color: var(--ink); font-weight: 600; }

.check-list { display: grid; gap: 12px; margin: 6px 0 8px; }
.check-list li { position: relative; padding-left: 34px; color: var(--ink); font-size: 1.05rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
}

.step-list { display: grid; gap: 22px; margin: 8px 0; counter-reset: none; }
.step-list li { display: flex; gap: 18px; align-items: flex-start; }
.step-n { font-family: var(--display); font-size: 1.5rem; color: var(--green-deep); line-height: 1; flex-shrink: 0; width: 42px; }
.step-list h4 { font-family: var(--ui); font-weight: 700; font-size: 1.14rem; margin-bottom: 5px; }
.step-list p { color: var(--grey-txt); font-size: 1rem; }

.stat-callout {
  display: flex; align-items: baseline; gap: 16px;
  background: var(--lavender); border-radius: var(--r);
  padding: 22px 26px; margin: 26px 0;
}
.stat-callout strong { font-family: var(--display); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--ink); line-height: 1; white-space: nowrap; }
.stat-callout span { color: var(--grey-txt); font-size: 1rem; }

.expert-note {
  border-left: 4px solid var(--green);
  background: var(--cream);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 20px 24px; margin: 28px 0 8px;
}
.expert-note p { color: var(--ink-2); font-size: 1.04rem; font-style: italic; }
.expert-note strong { font-style: normal; color: var(--ink); }
.expert-note.wide { max-width: none; margin-top: 40px; }

/* ---------- author card (E-E-A-T) ---------- */
.prose-side { display: grid; gap: 20px; position: sticky; top: 100px; }
.author-card {
  border: 1px solid var(--grey-line); border-radius: var(--r-lg);
  padding: 26px 24px; background: var(--paper);
  box-shadow: 0 20px 46px -30px rgba(15,14,21,.35);
}
.author-top { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.author-avatar {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--green); color: var(--ink);
  font-family: var(--display); font-size: 1.35rem;
}
.author-eyebrow { font-family: var(--ui); font-weight: 600; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-deep); }
.author-card h3 { font-family: var(--ui); font-weight: 700; font-size: 1.2rem; margin: 2px 0; }
.author-role { font-family: var(--ui); font-size: .86rem; color: var(--grey-txt); }
.author-card > p { color: var(--grey-txt); font-size: .96rem; margin-bottom: 14px; }
.author-card > p strong { color: var(--ink); font-weight: 600; }
.author-link { font-family: var(--ui); font-weight: 600; font-size: .9rem; color: var(--green-deep); }
.author-link:hover { color: var(--ink); }

.side-cta { background: var(--ink); color: var(--paper); border-radius: var(--r-lg); padding: 26px 24px; }
.side-cta h3 { font-family: var(--ui); font-weight: 700; font-size: 1.28rem; margin-bottom: 10px; }
.side-cta p { color: rgba(255,255,255,.78); font-size: .96rem; margin-bottom: 18px; }

/* ---------- related ---------- */
.related { padding: clamp(64px, 9vw, 110px) 0; background: var(--cream); }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.related-card {
  background: var(--paper); border: 1px solid var(--grey-line);
  border-radius: var(--r-lg); padding: 26px 22px;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 150px; gap: 20px;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.related-card:hover { transform: translateY(-4px); box-shadow: 0 22px 46px -26px rgba(15,14,21,.32); }
.related-card h3 { font-family: var(--ui); font-weight: 700; font-size: 1.16rem; line-height: 1.2; }
.related-card .ind-arrow { margin-top: 0; }

/* ---------- services / industries index reuse ---------- */
.link-grid .svc-card { display: flex; flex-direction: column; text-decoration: none; }
.link-grid .svc-card h3 { color: var(--ink); }

/* ---------- resources ---------- */
.res-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.res-card {
  border: 1px solid var(--grey-line); border-radius: var(--r-lg);
  padding: 32px 30px; background: var(--paper);
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.res-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -26px rgba(15,14,21,.32); }
.res-card h3 { font-family: var(--ui); font-weight: 700; font-size: 1.4rem; }
.res-card p { color: var(--grey-txt); flex: 1; }
.res-card .btn { margin-top: 6px; }

/* ---------- blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card {
  border: 1px solid var(--grey-line); border-radius: var(--r-lg);
  padding: 28px 26px; background: var(--paper);
  display: flex; flex-direction: column;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -26px rgba(15,14,21,.3); }
.blog-cat { align-self: flex-start; font-family: var(--ui); font-weight: 600; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: var(--green); padding: 5px 12px; border-radius: 100px; margin-bottom: 18px; }
.blog-card h3 { font-family: var(--ui); font-weight: 700; font-size: 1.28rem; line-height: 1.22; margin-bottom: 10px; }
.blog-card p { color: var(--grey-txt); font-size: .98rem; flex: 1; margin-bottom: 18px; }
.blog-meta { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--grey-line); padding-top: 14px; }
.blog-author { font-family: var(--ui); font-weight: 600; font-size: .82rem; color: var(--ink); }
.blog-note { text-align: center; margin-top: 40px; color: var(--grey-txt); }
.blog-note a { color: var(--green-deep); font-weight: 600; }

/* ---------- founder block (About) ---------- */
.founder { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; margin: 8px 0 4px; }
.founder-photo {
  width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--r-lg);
  border: 1px solid var(--grey-line);
  box-shadow: 0 22px 46px -26px rgba(15,14,21,.4);
}
.founder-bio p { color: var(--grey-txt); font-size: 1.06rem; margin-bottom: 14px; }
.founder-bio p:last-child { margin-bottom: 0; }
.founder-bio strong { color: var(--ink); font-weight: 600; }
@media (max-width: 560px) {
  .founder { grid-template-columns: 1fr; }
  .founder-photo { max-width: 240px; }
}

/* ---------- team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 10px 0 8px; }
.team-card { background: var(--cream); border-radius: var(--r-lg); padding: 26px 22px; }
.team-avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--green); font-family: var(--display); font-size: 1.2rem; margin-bottom: 14px; }
.team-card h3 { font-family: var(--ui); font-weight: 700; font-size: 1.16rem; }
.team-role { font-family: var(--ui); font-size: .84rem; color: var(--green-deep); margin-bottom: 8px; }
.team-card p:last-child { color: var(--grey-txt); font-size: .94rem; }

/* ---------- faq page ---------- */
.faq-sub { background: var(--lavender); }
.faq-inner.single { display: block; max-width: 820px; margin: 0 auto; }
.faq-page .faq-list { margin-top: 8px; }

/* testimonials static page keeps its section bg */
.static-testi { position: relative; }

/* ---------- contact ---------- */
.contact-section { padding: clamp(64px, 9vw, 110px) 0; background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(40px, 5vw, 70px); align-items: start; }

/* ---------- booking calendar embed (GoHighLevel) ---------- */
.booking-heading { font-family: var(--ui); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-bottom: 8px; }
.booking-sub { color: var(--grey-txt); margin-bottom: 20px; }
.booking-embed {
  border: 1px solid var(--grey-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 20px 46px -30px rgba(15,14,21,.32);
}
.booking-embed iframe { width: 100%; min-height: 700px; border: 0; display: block; overflow: hidden; }
.contact-form { display: grid; gap: 18px; }
.contact-form .field { display: grid; gap: 7px; }
.contact-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { font-family: var(--ui); font-weight: 600; font-size: .82rem; letter-spacing: .04em; color: var(--ink); }
.contact-form input, .contact-form textarea {
  font-family: var(--body); font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--grey-line-2);
  border-radius: var(--r-sm); padding: 13px 16px; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--green-deep); box-shadow: 0 0 0 3px rgba(203,210,94,.3); }
.contact-form textarea { resize: vertical; }
.form-note { font-size: .86rem; color: var(--grey-txt); }

.contact-side h2 { font-family: var(--ui); font-weight: 700; font-size: 1.7rem; margin-bottom: 10px; }
.contact-side > p { color: var(--grey-txt); margin-bottom: 20px; }
.contact-list { display: grid; gap: 16px; margin-bottom: 26px; }
.contact-list li { display: grid; gap: 3px; }
.c-label { font-family: var(--ui); font-weight: 600; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-deep); }
.contact-list a, .contact-list span:not(.c-label) { font-family: var(--ui); font-weight: 500; font-size: 1.1rem; color: var(--ink); }
.contact-list a:hover { color: var(--green-deep); }

/* ---------- educational sections (E-E-A-T / topical authority) ---------- */
.edu { padding: clamp(64px, 9vw, 110px) 0; }
.edu-ranking { background: var(--cream); }
.edu-head { max-width: 760px; margin-bottom: 42px; }
.edu-head .section-title { margin: 12px 0 16px; }
.edu-lead { color: var(--grey-txt); font-size: 1.12rem; }
.factor-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.factor-card {
  background: var(--paper); border: 1px solid var(--grey-line);
  border-radius: var(--r-lg); padding: 30px 28px;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.factor-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -26px rgba(15,14,21,.3); }
.factor-n { font-family: var(--display); font-size: 1.5rem; color: var(--green-deep); line-height: 1; }
.factor-card h3 { font-family: var(--ui); font-weight: 700; font-size: 1.22rem; line-height: 1.2; margin: 12px 0 10px; }
.factor-card p { color: var(--grey-txt); font-size: 1rem; }

.edu-geo { background: var(--ink); color: var(--paper); }
.edu-geo-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 5vw, 70px); align-items: center; }
.edu-geo .eyebrow-light { color: var(--green); }
.edu-geo-copy .section-title { margin-bottom: 20px; }
.edu-geo-lead { color: rgba(255,255,255,.82); font-size: 1.12rem; margin-bottom: 24px; }
.prompt-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.prompt-chip {
  display: inline-flex; align-items: flex-start; gap: 10px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px; padding: 12px 16px;
  font-family: var(--body); font-style: italic; color: rgba(255,255,255,.9); font-size: .98rem;
}
.prompt-spark { color: var(--green); font-style: normal; flex-shrink: 0; }
.edu-geo-note { color: rgba(255,255,255,.7); font-size: .98rem; }

.approach-card {
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-xl); padding: 28px 26px;
}
.approach-card > h3 { font-family: var(--ui); font-weight: 700; font-size: 1.32rem; margin-bottom: 20px; color: #fff; }
.approach-item {
  display: flex; gap: 14px; padding: 16px;
  border-radius: var(--r); background: rgba(255,255,255,.04);
  margin-bottom: 12px;
}
.approach-item:last-child { margin-bottom: 0; }
.approach-ic { width: 32px; height: 32px; flex-shrink: 0; color: var(--green); }
.approach-ic svg { width: 100%; height: 100%; }
.approach-item h4 { font-family: var(--ui); font-weight: 700; font-size: 1.04rem; margin-bottom: 5px; color: #fff; }
.approach-item p { color: rgba(255,255,255,.72); font-size: .92rem; }

@media (max-width: 900px) {
  .factor-grid { grid-template-columns: 1fr; }
  .edu-geo-grid { grid-template-columns: 1fr; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .prose-grid, .contact-grid { grid-template-columns: 1fr; }
  .prose-side { position: static; grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .res-grid, .blog-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-item:nth-child(2) { border-right: none; }
  .proof-item:nth-child(1), .proof-item:nth-child(2) { border-bottom: 1px solid var(--dk-line); }
  .prose-side { grid-template-columns: 1fr; }
  .related-grid, .res-grid, .blog-grid, .team-grid { grid-template-columns: 1fr; }
  .contact-form .two { grid-template-columns: 1fr; }
  .stat-callout { flex-direction: column; gap: 6px; }
}
