/* pw-site.css — layout for the rebuilt Purna Web site. Builds on styles.css tokens. */

.pw-hero-solo { grid-template-columns: 1fr; }
.pw-hero-solo .h1 { max-width: 15ch; }

/* bullet grids (Why … / benefit lists) */
.pw-bullets { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 40px; }
.pw-bullet { display: flex; gap: 14px; align-items: flex-start; }
.pw-bullet-tick { flex: 0 0 auto; margin-top: 2px; line-height: 0; }
.pw-bullet p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--text-muted); }
.pw-bullet p b { color: var(--navy); font-weight: 600; }

/* card grids (what's included / how we help) */
.pw-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pw-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.pw-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--teal); }
.pw-card-num { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--teal); margin-bottom: 10px; }
.pw-card .h3 { font-size: 20px; margin-bottom: 10px; }
.pw-card > p { font-size: 15px; line-height: 1.55; color: var(--text-muted); margin: 0 0 18px; }
.pw-card-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pw-card-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--text); }
.pw-card-list li > span { flex: 0 0 auto; margin-top: 1px; line-height: 0; }

/* process strips — 4 or 5 steps */
.pw-proc { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.pw-proc:has(> :last-child:nth-child(4)) { grid-template-columns: repeat(4, 1fr); }
.pw-proc:has(> :last-child:nth-child(3)) { grid-template-columns: repeat(3, 1fr); }

/* home: service cards */
.pw-svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pw-svc {
  display: flex; flex-direction: column; text-decoration: none;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.pw-svc:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--teal); }
.pw-svc h3 { font-size: 19px; font-weight: 600; color: var(--navy); margin: 0 0 8px; }
.pw-svc p { font-size: 14.5px; line-height: 1.55; color: var(--text-muted); margin: 0 0 18px; flex: 1; }
.pw-svc-go { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--teal-2); }

/* home: why-choose on navy */
.pw-why { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 44px; }
.pw-why-item { display: flex; gap: 16px; align-items: flex-start; }
.pw-why-tick { flex: 0 0 auto; margin-top: 3px; line-height: 0; }
.pw-why-item h3 { font-size: 17px; font-weight: 600; color: var(--white); margin: 0 0 6px; line-height: 1.35; }
.pw-why-item p { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,0.68); margin: 0; }

/* chip rows (industries / other services) */
.pw-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pw-chip {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  padding: 11px 18px; border-radius: 999px; background: var(--white);
  border: 1px solid var(--line-2); color: var(--navy); font-size: 14.5px; font-weight: 500;
  transition: all .2s;
}
.pw-chip:hover { border-color: var(--teal); color: var(--teal-2); transform: translateY(-2px); }
.pw-chip svg { opacity: .5; }

/* placeholder slots */
.pw-placeholder {
  display: flex; gap: 12px; align-items: center; justify-content: center; text-align: center;
  border: 1px dashed var(--line-2); border-radius: var(--r-lg);
  padding: 40px 28px; color: var(--text-muted); font-size: 14.5px;
  background: rgba(255,255,255,0.5);
}
.pw-placeholder svg { flex: 0 0 auto; color: var(--teal); }

/* contact */
.pw-contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.pw-form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; box-shadow: var(--shadow-md); }
.pw-form-card .field select {
  width: 100%; padding: 12px 14px; font-family: inherit; font-size: 15px;
  border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--white); color: var(--text);
}
.pw-sent { display: flex; gap: 12px; align-items: flex-start; background: #EAFBF0; border: 1px solid #B7EBC9;
  color: #146C34; border-radius: var(--r-md); padding: 24px; font-weight: 600; font-size: 15px; line-height: 1.5; }
.pw-contact-aside { padding-top: 6px; }
.pw-contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.pw-contact-list li { font-size: 15px; line-height: 1.55; color: var(--text); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pw-contact-list li:last-child { border-bottom: 0; }
.pw-contact-follow-h { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.pw-map { display: flex; gap: 12px; align-items: center; margin-top: 26px; padding: 20px;
  border: 1px dashed var(--line-2); border-radius: var(--r-lg); color: var(--text-muted); font-size: 14px; }
.pw-map svg { flex: 0 0 auto; color: var(--teal); }

@media (max-width: 1080px) {
  .pw-cards, .pw-svc-grid { grid-template-columns: 1fr 1fr; }
  .pw-proc, .pw-proc:has(> :last-child:nth-child(4)) { grid-template-columns: 1fr 1fr 1fr; }
  .pw-contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .pw-hero-solo .h1 { max-width: none; }
}
@media (max-width: 720px) {
  .pw-bullets, .pw-cards, .pw-svc-grid, .pw-why { grid-template-columns: 1fr; gap: 18px; }
  .pw-proc, .pw-proc:has(> :last-child:nth-child(4)) { grid-template-columns: 1fr; }
  .pw-card, .pw-svc, .pw-form-card { padding: 24px; }
  .pw-chips { justify-content: flex-start; }
}

/* ── asset imagery (assets/) ─────────────────────────────────────── */

/* hero banner artwork — brand rule: keep the left third clear for the headline */
.pw-hero-art { position: relative; overflow: hidden; }
.pw-hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: right center; z-index: 0;
}
.pw-hero-art .container { position: relative; z-index: 2; }

/* ── dark hero: no white wash, teal headline, white body ───────────
   The artwork carries the background. A navy base sits underneath so the
   hero is never white while the image or video is still loading, and a
   left-weighted scrim keeps the copy legible over the brighter photography. */
.pw-hero { background: var(--navy); position: relative; overflow: hidden; }
.pw-hero .hero-bg-overlay {
  background: linear-gradient(100deg,
    rgba(11,45,77,0.92) 0%, rgba(11,45,77,0.78) 34%,
    rgba(11,45,77,0.42) 60%, rgba(11,45,77,0.14) 100%);
}
.pw-hero::before { opacity: .5; }
.pw-hero .container { position: relative; z-index: 2; }

.pw-hero .h1 { color: var(--teal-3); }
.pw-hero .h1 .accent { color: var(--white); }
.pw-hero .lead,
.pw-hero p { color: rgba(255,255,255,0.9); }
.pw-hero .gal-hero-trust li,
.pw-hero .pw-hero-trust li { color: rgba(255,255,255,0.9); }

/* ghost button needs the light treatment on a dark field */
.pw-hero .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.42); background: transparent; }
.pw-hero .btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* card artwork */
.pw-card-art {
  margin: -32px -32px 22px; border-radius: var(--r-lg) var(--r-lg) 0 0;
  overflow: hidden; height: 172px; background: var(--grey);
}
.pw-card-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pw-card .svc-icon { margin-bottom: 16px; }

/* process step icons */
.pw-step-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.pw-step-icon { color: var(--teal); line-height: 0; opacity: .85; }
.process-step .pw-step-head + h4 { margin-top: 0; }

/* home: why-choose band artwork */
.pw-why-sec { position: relative; overflow: hidden; }
.pw-why-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .22; z-index: 0;
}
.pw-why-sec .container { position: relative; z-index: 1; }
.pw-why-icon {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: var(--r-md);
  background: rgba(79,200,199,0.14); color: var(--teal-3);
  display: flex; align-items: center; justify-content: center;
}

/* CTA band artwork */
.pw-cta-art { position: relative; overflow: hidden; }
.pw-cta-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .3; z-index: 0;
}
.pw-cta-art > *:not(.pw-cta-bg) { position: relative; z-index: 1; }

/* placeholder slot artwork */
.pw-slot-art { border-radius: var(--r-lg); overflow: hidden; margin-bottom: 20px; box-shadow: var(--shadow-md); }
.pw-slot-art img { width: 100%; height: 320px; object-fit: cover; display: block; }

/* contact rows with icons */
.pw-contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.pw-contact-icon { flex: 0 0 auto; color: var(--teal); line-height: 0; margin-top: 1px; }

@media (max-width: 720px) {
  .pw-card-art { margin: -24px -24px 18px; height: 150px; }
  .pw-slot-art img { height: 200px; }
  .pw-hero .hero-bg-overlay { background: linear-gradient(180deg, rgba(11,45,77,0.88) 0%, rgba(11,45,77,0.80) 100%); }
}

/* card media block — keeps headings aligned when only some cards have photos */
.pw-card-art-alt {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--teal) 0%, #C6E85C 100%);
  color: #fff;
}
.pw-card-art-alt svg { opacity: .95; }

/* bullets alongside a supporting photograph */
.pw-bullets-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.pw-bullets-art { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.pw-bullets-art img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; display: block; }
.pw-bullets-1col { grid-template-columns: 1fr; gap: 20px; }
@media (max-width: 1080px) { .pw-bullets-split { grid-template-columns: 1fr; gap: 32px; } }

/* ── Google Ads landing-page hero ─────────────────────────────────
   Scrim stops copied verbatim from HERO-SPEC.md ("these exact stops were
   tested — do not lighten them"). The art has an open left zone for the
   headline and a darker right zone for the form. */
.pw-lp-hero {
  position: relative; overflow: hidden;
  min-height: 620px; display: flex; align-items: center;
  background: var(--navy);
}
.pw-lp-hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; z-index: 0;
}
.pw-lp-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  /* Spec stops, with the dark plateau held further right. Measured under the
     text line boxes, the spec's stops gave the teal headline 2.87:1 and the
     subhead 3.09:1 — both failing. This darkens (never lightens) the copy zone
     and still clears the funnel by 68%. */
  background: linear-gradient(90deg,
    rgba(11,45,77,.94)  0%,
    rgba(11,45,77,.93) 40%,
    rgba(11,45,77,.88) 52%,
    rgba(11,45,77,.45) 63%,
    rgba(11,45,77,0)   75%);
}
.pw-lp-hero .container { position: relative; z-index: 2; }
/* .pw-lp-hero is a flex container, so its .container child is shrink-to-fit
   unless told otherwise — without this it collapsed to ~66% at mid widths. */
.pw-lp-hero > .container { width: 100%; }
/* The form spans both rows so it starts level with the H1; the headline and
   the "already running ads" card stack down the left. */
.pw-lp-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) 704px;
  grid-template-areas: "head form" "aside form";
  gap: 30px 56px; align-items: start; padding: 62px 0 64px;
}
.pw-lp-head   { grid-area: head; }
.pw-lp-aside  { grid-area: aside; }
.pw-lp-formcol{ grid-area: form; }
.pw-lp-form-title {
  font-size: clamp(19px, 1.45vw, 22px); font-weight: 600; line-height: 1.3;
  color: var(--white); margin: 0 0 16px;
}
/* The GHL form only lays itself out in two columns once its iframe is 680px
   wide — below that it stacks every field. So the form column is pinned to
   704px (680 + the card's 12px inset each side) rather than left to flex, and
   this hero widens its container to keep the headline column workable. */
.pw-lp-hero .container { max-width: 1440px; }
/* Spec sizes this H1 at 50px desktop / 33px mobile. That matters: max-width is
   in em, so at the site's 76px .h1 the 11.5em cap is ~874px and the headline
   runs into the bright funnel core, where contrast collapses. */
.pw-lp-h1 { font-size: clamp(40px, 4.3vw, 60px); line-height: 1.06; letter-spacing: -0.02em;
  max-width: 17ch; color: var(--teal-3); margin: 0 0 22px; }
.pw-lp-sub { font-size: clamp(16px, 1.2vw, 18.5px); line-height: 1.6;
  color: rgba(255,255,255,0.9); margin: 0 0 14px; max-width: 26em; }

.pw-lp-trust { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.pw-lp-trust li { display: flex; gap: 11px; align-items: center;
  font-size: 15px; color: rgba(255,255,255,0.9); }
.pw-lp-trust li > span { flex: 0 0 auto; color: var(--teal-3); line-height: 0; }

.pw-lp-form {
  background: var(--white); border-radius: var(--r-lg); padding: 30px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,0.18);
}
.pw-lp-form-h { font-size: 21px; font-weight: 600; color: var(--navy); margin: 0 0 18px; line-height: 1.25; }
.pw-lp-form .field { margin-bottom: 16px; }
.pw-lp-form .field select {
  width: 100%; padding: 12px 14px; font-family: inherit; font-size: 15px;
  border: 1px solid var(--line-2); border-radius: var(--r-md);
  background: var(--white); color: var(--text);
}
/* white-on-brand-teal measures 2.50:1 and fails AA; the spec's #1A7D7C is 4.92:1 */
.pw-lp-btn {
  width: 100%; justify-content: center; background: #1A7D7C; color: #fff; border-color: #1A7D7C;
}
.pw-lp-btn:hover { background: #156867; border-color: #156867; }
.pw-lp-micro { font-size: 12.5px; color: var(--text-muted); text-align: center; margin: 10px 0 0; }

@media (max-width: 1240px) {
  .pw-lp-inner {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "form" "aside";
    gap: 32px;
  }
  /* full width is available again, so the headline goes back up */
  .pw-lp-h1 { font-size: clamp(40px, 5.6vw, 76px); }
  .pw-lp-formcol, .pw-lp-plan { max-width: 720px; }
}
@media (max-width: 880px) {
  .pw-lp-hero { min-height: 0; align-items: flex-start; }
  .pw-lp-hero-bg { object-position: top center; }
  .pw-lp-scrim {
    background: linear-gradient(180deg,
      rgba(11,45,77,.15) 0%, rgba(11,45,77,.30) 50%, rgba(11,45,77,.55) 100%);
  }
  .pw-lp-inner { grid-template-columns: 1fr; gap: 26px; padding: 48px 0; }
  .pw-lp-h1 { font-size: clamp(34px, 9vw, 44px); max-width: none; }
  .pw-lp-form { padding: 24px; }
}


/* ── section rhythm ──────────────────────────────────────────────
   styles.css uses 120px top and bottom, so adjacent sections sit 240px
   apart. These bring the gap to a standard 168 / 136 / 104px. */
.sec { padding: 84px 0; }
.sec-head { margin-bottom: 52px; }
.pw-lp-hero + .sec, .pw-hero + .sec { padding-top: 84px; }

@media (max-width: 1080px) {
  .sec { padding: 68px 0; }
  .sec-head { margin-bottom: 44px; }
}
@media (max-width: 720px) {
  .sec { padding: 52px 0; }
  .sec-head { margin-bottom: 34px; }
}

/* ── per-section artwork ──────────────────────────────────────────── */
.pw-bullets-art picture { display: block; width: 100%; height: 100%; }
.pw-bullets-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pw-card-art picture { display: block; width: 100%; height: 100%; }

/* band image under a process heading */
.pw-proc-band { border-radius: var(--r-lg); overflow: hidden; margin-bottom: 40px; box-shadow: var(--shadow-md); }
.pw-proc-band img { width: 100%; height: 260px; object-fit: cover; display: block; }

/* full-bleed background band behind a section */
.pw-band-bg { position: relative; overflow: hidden; }
.pw-band-bg > .container { position: relative; z-index: 2; }
.pw-band-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.pw-band-bg picture { position: absolute; inset: 0; z-index: 0; }
.pw-band-bg::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,45,77,.90) 0%, rgba(11,45,77,.86) 100%);
}
.pw-band-bg .h2, .pw-band-bg .sec-head .lead { color: var(--white); }
.pw-band-bg .h2 .accent { color: var(--teal-3); }

@media (max-width: 720px) {
  .pw-proc-band img { height: 170px; }
  .pw-proc-band { margin-bottom: 28px; }
}

/* ─── Legal pages (privacy, terms) ─────────────────────────────────── */

/* revision stamp in the hero — hero copy is on navy, so the greyed
   .legal-effective token from styles.css would be unreadable here */
.pw-legal-stamp {
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em;
  text-transform: uppercase; color: rgba(255,255,255,0.62);
  margin: 26px 0 0;
}

/* consent block — the conspicuous-notice paragraph, set apart rather than
   shouted in all-caps the way most policies do it */
.legal-callout {
  background: #F0FBFB; border: 1px solid #BFEAE9; border-left: 4px solid var(--teal);
  border-radius: var(--r-md); padding: 26px 30px; margin-bottom: 40px;
}
.legal-callout h2 {
  font-size: 18px; font-weight: 700; color: var(--navy); margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.legal-callout p { font-size: 14.5px; line-height: 1.7; color: #234A52; margin: 0 0 12px; }
.legal-callout p:last-child { margin-bottom: 0; }

/* jump list */
.pw-legal-toc {
  background: var(--grey); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 24px 28px; margin-bottom: 44px;
}
.pw-legal-toc-h {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px;
}
.pw-legal-toc ol {
  list-style: none; counter-reset: toc; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 9px 32px;
}
.pw-legal-toc li { counter-increment: toc; font-size: 14.5px; line-height: 1.5; }
.pw-legal-toc li::before {
  content: counter(toc) ". "; font-family: var(--mono); font-size: 12px; color: var(--teal);
}
.pw-legal-toc a { color: var(--navy); text-decoration: none; }
.pw-legal-toc a:hover { color: var(--teal-2); text-decoration: underline; text-underline-offset: 3px; }

/* anchored sections must clear the sticky header when jumped to */
.legal-section[id] { scroll-margin-top: 100px; }

.legal-list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 11px; }
.legal-list li {
  position: relative; padding-left: 22px;
  font-size: 15px; line-height: 1.7; color: #334155;
}
.legal-list li::before {
  content: ""; position: absolute; left: 4px; top: 11px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--teal);
}
.legal-list strong { color: var(--navy); font-weight: 600; }

@media (max-width: 720px) {
  .pw-legal-toc ol { grid-template-columns: 1fr; }
  .pw-legal-toc { padding: 20px 22px; margin-bottom: 32px; }
  .legal-callout { padding: 22px 22px; }
}

/* ─── Hero form: CRM iframe embed ──────────────────────────────────── */

/* The GHL form renders on a transparent background with 18px of its own inset,
   so .pw-lp-form keeps supplying the white card, shadow and rounding and the
   padding here is trimmed to 12px — 30px total, matching the React form card
   this replaced. */
.pw-lp-form-embed { padding: 12px; overflow: hidden; }
.pw-lp-form-embed iframe {
  display: block;
  width: 100%;
  border: 0;
  /* Floor only — form_embed.js posts the real height once the form paints.
     Set to the two-column height so the slot neither collapses nor holds
     dead white space while that round-trip happens. */
  min-height: var(--form-floor, 415px);
}
/* Under ~735px the iframe drops below the form's own 652px two-column
   breakpoint and it stacks every field, roughly 696px tall. */
@media (max-width: 735px) {
  .pw-lp-form-embed iframe { min-height: var(--form-floor-1col, 700px); }
}
@media (max-width: 880px) {
  .pw-lp-form-embed { padding: 8px; }
}


/* ─── Hero: "Planning to Start Google Ads?" card + quick contact ────── */

/* Sits on the navy hero art, so this is a translucent panel rather than the
   solid white card of the mockup — a second white block here would fight the
   form opposite it and blank out the hero image behind. */
.pw-lp-plan {
  display: grid; grid-template-columns: auto 1fr; gap: 20px;
  align-items: start; margin-top: 0;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--r-lg);
  padding: 24px 26px;
  backdrop-filter: blur(6px);
}
.pw-lp-plan-icon {
  flex: 0 0 auto; width: 54px; height: 54px; border-radius: 50%;
  background: #1A7D7C; display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(26,125,124,0.38);
}
.pw-lp-plan-h {
  font-size: 21px; font-weight: 700; color: var(--white);
  margin: 4px 0 14px; line-height: 1.25; letter-spacing: -0.01em;
}
.pw-lp-plan-d {
  font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,0.86);
  margin: 0 0 20px; max-width: 42ch;
}
/* Deep teal, not brand --teal #2EB5B4 — white on that measures 2.50:1 and
   fails AA. #1A7D7C is 4.92:1 and matches the GHL form's own submit button. */
.pw-lp-plan-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 14px 22px; border-radius: var(--r-md);
  font-size: 15.5px; font-weight: 600; color: var(--white);
  background: #1A7D7C; border: 1.5px solid #1A7D7C;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.pw-lp-plan-cta:hover { background: #156867; border-color: #156867; transform: translateY(-1px); }

/* call / WhatsApp row */
.pw-lp-quick {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px;
  margin-top: 18px; padding-left: 4px;
}
.pw-lp-quick-label { font-size: 15px; color: rgba(255,255,255,0.72); }
.pw-lp-quick-sep { width: 1px; height: 20px; background: rgba(255,255,255,0.24); }
.pw-lp-quick-link {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15.5px; font-weight: 600; line-height: 1;
  padding: 8px 4px; transition: opacity .18s ease;
}
.pw-lp-quick-link:hover { opacity: .78; }
.pw-lp-quick-link.is-call { color: #8AB4F8; }   /* Google blue, lightened for AA on navy */
.pw-lp-quick-link.is-wa   { color: #4ADE80; }   /* WhatsApp green, lightened for AA on navy */

@media (max-width: 720px) {
  .pw-lp-plan { grid-template-columns: 1fr; gap: 16px; padding: 20px; margin-top: 24px; }
  .pw-lp-plan-icon { width: 50px; height: 50px; border-radius: 14px; }
  .pw-lp-plan-h { font-size: 19px; margin-top: 0; }
  .pw-lp-quick { gap: 16px; }
}


/* ─── Foot-of-page audit form ──────────────────────────────────────── */
.pw-audit-mark { display: block; line-height: 0; margin-bottom: 16px; }
.pw-audit-sec .sec-head { max-width: 760px; margin-left: auto; margin-right: auto; }
.pw-audit-form { max-width: 760px; margin: 0 auto; }
.pw-audit-form .pw-lp-form-embed { margin: 0; }
/* The audit form carries seven fields. Its iframe is viewport-66px wide here,
   so it crosses the form's own 652px two-column point at ~718px of viewport. */
@media (max-width: 700px) {
  .pw-audit-form .pw-lp-form-embed iframe { min-height: 830px; }
}

/* ─── Case studies ─────────────────────────────────────────────────── */

.pw-case-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.pw-case-filter {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px; cursor: pointer;
  background: var(--white); border: 1px solid var(--line);
  font: inherit; font-size: 14.5px; font-weight: 600; color: var(--navy);
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.pw-case-filter span {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  color: var(--text-muted); background: var(--grey);
  padding: 2px 7px; border-radius: 999px;
}
.pw-case-filter:hover { border-color: var(--teal); color: var(--teal-2); }
.pw-case-filter.is-on { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pw-case-filter.is-on span { background: rgba(255,255,255,0.16); color: rgba(255,255,255,0.9); }
.pw-case-groupnote { font-size: 15px; line-height: 1.6; color: var(--text-muted); margin: 0 0 34px; max-width: 70ch; }

.pw-case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: start; }
/* the home teaser is a fixed 3-up, so cards match height; the library keeps
   align-items:start so expanding one card does not stretch its neighbours */
.pw-case-grid-3 { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.pw-case-grid-3 .pw-case-stat-v { font-size: 16.5px; }
.pw-case-grid-3 .pw-case-stats { gap: 10px; }

.pw-case {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 26px 20px; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, border-color .2s ease;
}
.pw-case:hover { box-shadow: var(--shadow-md); border-color: var(--teal); }
.pw-case.is-open { border-color: var(--teal); }

.pw-case-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.pw-case-num {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; font-weight: 500;
  color: var(--white); background: var(--teal-2); border-radius: 5px; padding: 3px 7px;
}
.pw-case-cat { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.pw-case-h { font-size: 19px; font-weight: 700; color: var(--navy); line-height: 1.3; margin: 0 0 10px; letter-spacing: -0.01em; }
.pw-case-h span { font-weight: 600; color: var(--teal-2); }
.pw-case-sub { font-size: 14.5px; line-height: 1.6; color: var(--text-muted); margin: 0 0 20px; }

.pw-case-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.pw-case-stat { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.pw-case-stat-l { font-family: var(--mono); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; color: var(--text-muted); line-height: 1.3; }
.pw-case-stat-v { font-size: 18px; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; line-height: 1.15; overflow-wrap: anywhere; }

.pw-case-take { font-size: 14.5px; line-height: 1.6; color: var(--text); margin: 18px 0 0; flex: 1; }

.pw-case-body { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.pw-case-body h4 {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal-2); margin: 18px 0 8px; font-weight: 500;
}
.pw-case-body h4:first-child { margin-top: 0; }
.pw-case-body p { font-size: 14.5px; line-height: 1.65; color: var(--text-muted); margin: 0; }
.pw-case-body ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.pw-case-body li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.55; color: var(--text); }
.pw-case-body li > span { flex: 0 0 auto; line-height: 0; margin-top: 2px; }

.pw-case-toggle {
  margin-top: 18px; align-self: flex-start; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 0; padding: 6px 0;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--teal-2);
}
.pw-case-toggle:hover { color: var(--navy); }

.pw-case-disclaimer {
  margin: 40px 0 0; padding: 16px 20px; border-radius: var(--r-md);
  background: var(--grey); border: 1px solid var(--line);
  font-size: 13.5px; line-height: 1.6; color: var(--text-muted);
}

@media (max-width: 1080px) {
  .pw-case-grid, .pw-case-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .pw-case-grid, .pw-case-grid-3 { grid-template-columns: 1fr; }
  .pw-case { padding: 22px 20px 18px; }
  .pw-case-stats { grid-template-columns: 1fr; gap: 14px; }
  .pw-case-stat { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 12px; }
  .pw-case-stat-v { font-size: 17px; }
}

/* ─── Thank-you pages ──────────────────────────────────────────────── */
.pw-thanks-mark {
  width: 58px; height: 58px; border-radius: 50%;
  background: #146C34; display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(20,108,52,.35); margin-bottom: 22px;
}
.pw-thanks-quick {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; margin-top: 28px;
}
.pw-thanks-quick-label { font-size: 15px; color: rgba(255,255,255,0.72); }
