/*
Theme Name:   Colvex Plumbing (GeneratePress Child)
Theme URI:    https://colvexplumbing.com
Description:  Custom GeneratePress child theme for Colvex Plumbing LLC. CSS below is a faithful port of the real colvexplumbing.com Next.js site's globals.css (same custom properties, same .cx- class names) so markup can be copied near-verbatim from the real source.
Author:       Colvex Plumbing
Author URI:   https://colvexplumbing.com
Template:     generatepress
Version:      2.0.0
Text Domain:  colvex-gp-child
*/

/* ============================================================
   Colvex Plumbing - Design System Tokens
   Ported verbatim from the real colvexplumbing.com source (src/app/globals.css).
   Canonical brand: navy #1B2A4A · steel #3A7CA5 · Montserrat.
   ============================================================ */
:root {
  /* ---- Brand color scales ---- */
  --navy-900: #0F1A30;
  --navy-700: #1B2A4A;
  --navy-600: #26385F;

  --steel-100: #E4EFF6;
  --steel-200: #C2DBE9;
  --steel-400: #5C97BC;
  --steel-500: #3A7CA5;
  --steel-600: #2E648B;
  --steel-700: #244D69;

  --gray-700: #3F4650;

  /* ---- Gradients ---- */
  --colvex-gradient: linear-gradient(90deg, var(--navy-700) 0%, var(--steel-500) 100%);
  --colvex-gradient-diag: linear-gradient(135deg, var(--navy-700) 0%, var(--steel-500) 100%);
  --colvex-gradient-navy: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-700) 100%);

  /* ---- Surfaces & borders ---- */
  --surface-subtle: #F2F6FA;
  --border-subtle: #E1E8F0;
  --border-default: #CBD5E1;
  --border-strong: #94A3B8;

  /* ---- Text ---- */
  --text-strong: #16233E;
  --text-body: #2A3342;
  --text-muted: #5A6474;
  --text-subtle: #8A94A6;
  --text-on-dark-muted: rgba(255, 255, 255, 0.72);

  /* ---- Status ---- */
  --status-warning: #B7791F;

  /* ---- Typography ---- */
  --font-sans: "Montserrat", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Montserrat", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* ---- Radii ---- */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 22px;

  /* ---- Shadows ---- */
  --shadow-xs: 0 1px 2px rgba(15, 26, 48, 0.06);
  --shadow-sm: 0 2px 6px rgba(15, 26, 48, 0.08), 0 1px 2px rgba(15, 26, 48, 0.05);
  --shadow-lg: 0 12px 32px rgba(15, 26, 48, 0.14), 0 4px 10px rgba(15, 26, 48, 0.08);

  /* ---- Motion ---- */
  --dur-fast: 140ms;
  --dur-base: 240ms;
  --ease-standard: cubic-bezier(0.2, 0, 0.2, 1);

  /* ---- Focus ---- */
  --focus-ring: 0 0 0 3px rgba(58, 124, 165, 0.4);
}

/* ============================================================
   COLVEX PLUMBING - marketing site styles
   Ported verbatim from the real source's globals.css.
   Mobile-first; breakpoints at 768 / 900 / 1024.
   ============================================================ */
.cx-scope * {
  box-sizing: border-box;
}

/* These four resets are intentionally UNSCOPED (no .cx-scope prefix),
   exactly matching the real site's own globals.css. That keeps their
   specificity at the real site's level (element-only, e.g. "a" =
   0,0,1) - LOWER than any single-class component rule like
   .cx-btn--primary (0,1,0) or .cx-city (0,1,0), so those correctly
   override this base color/spacing. An earlier version prefixed these
   with .cx-scope, which raised their specificity to 0,1,1 - HIGHER
   than many single-class button/link rules - and silently overrode
   their intended colors (e.g. every .cx-btn's white text rendering as
   steel-600 instead, the washed-out CTA bug). Do not re-add a class
   prefix here without re-checking every affected selector's specificity. */
img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--steel-600);
  text-decoration: none;
}

a:hover {
  color: var(--steel-700);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--navy-700);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
}

.cx-scope p,
.cx-scope ul,
.cx-scope li {
  margin: 0;
  padding: 0;
}

.cx-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.cx-section {
  padding: 56px 0;
}

.cx-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-500);
  margin-bottom: 12px;
}

.cx-center {
  text-align: center;
}

.cx-lead {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Buttons ---------- */
.cx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-standard);
  white-space: nowrap;
  text-decoration: none;
}

.cx-btn svg {
  width: 18px;
  height: 18px;
}

.cx-btn--primary {
  background: var(--steel-500);
  color: #fff;
}

.cx-btn--primary:hover {
  background: var(--steel-600);
  color: #fff;
  transform: translateY(-1px);
}

.cx-btn--navy {
  background: var(--navy-700);
  color: #fff;
}

.cx-btn--navy:hover {
  background: var(--navy-600);
  color: #fff;
  transform: translateY(-1px);
}

.cx-btn--outline {
  background: transparent;
  color: var(--navy-700);
  border-color: var(--border-strong);
}

.cx-btn--outline:hover {
  border-color: var(--steel-400);
  color: var(--steel-700);
  background: var(--surface-subtle);
}

.cx-btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}

.cx-btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.cx-btn--lg {
  padding: 16px 30px;
  font-size: 16px;
}

.cx-btn--block {
  width: 100%;
}

/* ---------- Emergency ribbon ---------- */
.cx-ribbon {
  background: var(--navy-900);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cx-ribbon strong {
  color: #8FBAD4;
}

.cx-ribbon a {
  color: #fff;
  text-decoration: underline;
  font-weight: 700;
}

.cx-ribbon svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ---------- Header ---------- */
.cx-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}

.cx-header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
}

.cx-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cx-logo__mark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.cx-logo__wordmark {
  height: 26px;
  width: auto;
}

.cx-logo__sub {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--steel-500);
  margin-top: 4px;
  text-align: center;
  width: 100%;
}

.cx-nav {
  display: none;
}

.cx-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
}

.cx-nav a:hover {
  color: var(--steel-600);
}

.cx-header__cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cx-header__cta > .cx-btn {
  display: none;
}

.cx-header__phone {
  display: none;
}

/* Desktop nav dropdowns (Services / Service Area) */
.cx-navdrop {
  position: relative;
  display: flex;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: -16px;
}

.cx-navdrop:hover .cx-navdrop__panel {
  display: grid;
}

.cx-navdrop__trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.cx-navdrop__trigger:hover,
.cx-navdrop__trigger:focus,
.cx-navdrop__trigger:active {
  background: none;
  outline: none;
}

.cx-navdrop__trigger:hover {
  color: var(--steel-600);
}

.cx-navdrop__trigger::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--dur-fast) var(--ease-standard);
}

.cx-navdrop__panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 260px;
  max-height: 360px;
  overflow-y: auto;
  display: none;
  gap: 2px;
  z-index: 60;
}

.cx-navdrop__panel a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  white-space: nowrap;
}

.cx-navdrop__panel a:hover {
  background: var(--surface-subtle);
  color: var(--steel-600);
}

/* Mobile nav */
.cx-navtoggle {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-default);
  background: #fff !important;
  color: var(--navy-700) !important;
  cursor: pointer;
}

.cx-navtoggle svg {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0 !important;
  display: block !important;
  color: var(--navy-700) !important;
  stroke: var(--navy-700) !important;
}

.cx-mobilenav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  border-top: 1px solid var(--border-subtle);
  background: #fff;
  padding: 8px 20px 14px;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.cx-mobilenav.is-open {
  display: block;
}

.cx-mobilenav a {
  display: block;
  padding: 12px 4px;
  font-weight: 600;
  font-size: 16px;
  color: var(--navy-700);
  border-bottom: 1px solid var(--border-subtle);
}

.cx-mobilenav > a:last-child {
  border-bottom: none;
}

.cx-mobilenav__group {
  border-bottom: 1px solid var(--border-subtle);
}

.cx-mobilenav__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 4px;
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  color: var(--navy-700);
  background: none;
  border: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.cx-mobilenav__trigger:hover,
.cx-mobilenav__trigger:focus,
.cx-mobilenav__trigger:active {
  background: none;
  outline: none;
}

.cx-mobilenav__chevron {
  width: 15px;
  height: 15px;
  transform: rotate(90deg);
  transition: transform var(--dur-fast) var(--ease-standard);
}

.cx-mobilenav__chevron.is-open {
  transform: rotate(-90deg);
}

.cx-mobilenav__sub {
  display: none;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 0 4px 10px 12px;
}

.cx-mobilenav__sub.is-open {
  display: grid;
}

.cx-mobilenav__sub a {
  padding: 9px 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: none;
}

/* ---------- Sticky mobile call bar ---------- */
.cx-callbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 0;
  box-shadow: 0 -4px 16px rgba(15, 26, 48, 0.16);
}

.cx-callbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 8px;
  font-weight: 700;
  font-size: 15px;
}

.cx-callbar__call {
  background: var(--steel-500);
  color: #fff;
  font-size: 16px;
}

.cx-callbar__book {
  background: var(--navy-700);
  color: #fff;
}

.cx-callbar svg {
  width: 18px;
  height: 18px;
}

body.cx-has-callbar {
  padding-bottom: 56px;
}

/* Housecall Pro chat bubble (#proChatIframeContainer) is injected by their
   proChat.js as a raw fixed div with bottom:0, so on mobile it sits behind
   the sticky call/book bar. The [style*="width:110px"] match targets only
   the closed bubble state (their script's exact inline style string) so the
   expanded full-screen chat window is left untouched. */
body.cx-has-callbar #proChatIframeContainer[style*="width:110px"] {
  bottom: 64px !important;
}

@media (min-width: 768px) {
  .cx-callbar {
    display: none;
  }
  body.cx-has-callbar {
    padding-bottom: 0;
  }
  body.cx-has-callbar #proChatIframeContainer[style*="width:110px"] {
    bottom: 0px !important;
  }
}

/* ---------- Hero ---------- */
.cx-hero {
  background: var(--colvex-gradient-navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cx-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-top: 44px;
  padding-bottom: 52px;
}

.cx-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cx-hero__badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ADE9E;
}

.cx-hero h1 {
  color: #fff;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.05;
  margin: 18px 0 16px;
}

.cx-hero h1 .grad {
  background: linear-gradient(90deg, #8FBAD4, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cx-hero__sub {
  font-size: 17px;
  color: var(--text-on-dark-muted);
  line-height: 1.6;
  margin: 0 0 26px;
  max-width: 480px;
}

.cx-hero__cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 26px;
}

.cx-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
}

.cx-hero__trust span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
}

.cx-hero__trust svg {
  width: 16px;
  height: 16px;
  color: #8FBAD4;
}

/* ---------- BBB accreditation seal (hero) ---------- */
.cx-hero-bbb {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.cx-hero-bbb a {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-md);
  padding: 10px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard);
}

.cx-hero-bbb a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cx-hero-bbb img {
  display: block;
  height: 52px;
  width: auto;
}

/* ---------- Real-photo frame ----------
   The real site has no CSS class for this: Next.js's <Image fill>
   applies position:absolute/height:100%/etc. inline automatically.
   Since we use plain <img>, .cx-img-frame replicates that inline
   behavior as a real class. Do NOT use .cx-photo for real images -
   that class is reserved for the placeholder box below (matching the
   real site, where .cx-photo only ever wraps the "no image yet" state). */
.cx-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 240px;
}

.cx-img-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Photo placeholder ---------- */
.cx-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(150deg, #26385F, #16233E);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #8FBAD4;
  padding: 24px;
  min-height: 240px;
  gap: 10px;
}

.cx-photo::after {
  content: "PHOTO PLACEHOLDER";
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 8px;
  border-radius: 5px;
  color: #C2DBE9;
}

.cx-photo svg {
  width: 44px;
  height: 44px;
  opacity: 0.8;
}

.cx-photo__label {
  font-size: 13px;
  font-weight: 600;
  color: #C2DBE9;
  max-width: 240px;
  line-height: 1.4;
}

/* ---------- Trust bar ---------- */
.cx-trustbar {
  background: var(--surface-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.cx-trustbar__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 12px;
  padding: 26px 0;
}

.cx-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cx-trust-item svg {
  width: 22px;
  height: 22px;
  color: var(--steel-500);
  flex-shrink: 0;
}

.cx-trust-item span {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-700);
  line-height: 1.3;
}

/* ---------- Section heading ---------- */
.cx-sec-head {
  margin-bottom: 32px;
}

.cx-sec-head h2 {
  font-size: 30px;
  font-weight: 800;
}

.cx-sec-head .cx-lead {
  margin-top: 10px;
  max-width: 620px;
}

.cx-center .cx-lead {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Services grid ---------- */
.cx-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.cx-service-card {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--dur-base) var(--ease-standard);
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.cx-service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--steel-200);
}

.cx-service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--colvex-gradient-diag);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.cx-service-card__icon svg {
  width: 26px;
  height: 26px;
  color: #fff;
}

.cx-service-card h3 {
  font-size: 18px;
}

.cx-service-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

.cx-service-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--steel-600);
}

.cx-service-card__link svg {
  width: 15px;
  height: 15px;
}

.cx-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--steel-100);
  color: var(--steel-700);
}

.cx-badge--solid {
  background: var(--steel-500);
  color: #fff;
}

/* ---------- Membership teaser ---------- */
.cx-membership-teaser {
  background: var(--navy-700);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
}

.cx-membership-teaser h2 {
  color: #fff;
  font-size: 26px;
}

.cx-membership-teaser .cx-eyebrow {
  color: #8FBAD4;
}

.cx-membership-teaser ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  display: grid;
  gap: 10px;
}

.cx-membership-teaser li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14.5px;
  color: #E4EFF6;
}

.cx-membership-teaser li svg {
  width: 18px;
  height: 18px;
  color: #4ADE9E;
  flex-shrink: 0;
}

/* ---------- Reviews / standard columns ---------- */
.cx-reviews {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.cx-review {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.cx-review p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0 0 16px;
}

/* ---------- Housecall Pro reviews widget embed ---------- */
.cx-reviews-embed {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 6px;
  overflow: hidden;
}

.cx-reviews-embed iframe {
  display: block;
  width: 100%;
  height: 620px;
  border: none;
  border-radius: calc(var(--radius-lg) - 4px);
}

@media (min-width: 768px) {
  .cx-reviews-embed iframe {
    height: 720px;
  }
}

/* ===== Housecall Pro booking button ===== */
button.hcp-button {
  background: var(--colvex-gradient-diag, linear-gradient(135deg, #233F64, #356C97)) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 16px 34px !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 18px rgba(35, 63, 100, .25);
  transition: transform .15s ease, box-shadow .15s ease;
}

button.hcp-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(35, 63, 100, .32);
}

.cx-cta-band button.hcp-button {
  background: transparent !important;
  border: 1.5px solid rgba(255, 255, 255, 0.32) !important;
  border-radius: var(--radius-sm) !important;
  padding: 16px 30px !important;
  font-size: 16px !important;
  box-shadow: none;
}

.cx-cta-band button.hcp-button:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  transform: none;
  box-shadow: none;
}

.hcp-lead-iframe {
  display: block;
  border: none;
  width: 70% !important;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 680px;
  border-radius: var(--radius-lg, 12px);
  background: #fff;
}

@media (max-width: 640px) {
  .hcp-lead-iframe {
    min-height: 760px;
  }
}

/* ---------- Service area ---------- */
.cx-area {
  background: var(--surface-subtle);
}

.cx-area__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.cx-area__cities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.cx-city {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy-700);
}

.cx-city svg {
  width: 17px;
  height: 17px;
  color: var(--steel-500);
  flex-shrink: 0;
}

.cx-map-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.cx-map-pin {
  background: transparent;
  border: none;
}

.cx-map-pin__dot {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--steel-500);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(15, 26, 48, 0.35);
  transition: transform var(--dur-base) var(--ease-standard);
}

.cx-map-pin:hover .cx-map-pin__dot {
  transform: scale(1.15);
  background: var(--navy-700);
}

.leaflet-tooltip.cx-map-tooltip {
  background: var(--navy-700);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  opacity: 1;
}

.leaflet-tooltip.cx-map-tooltip::before {
  border-top-color: var(--navy-700);
}

.leaflet-container {
  font-family: var(--font-sans);
}

.cx-map-attribution {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 22px;
  height: 22px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  padding: 4px;
  transition: max-width var(--dur-base) var(--ease-standard);
}

.cx-map-attribution:hover,
.cx-map-attribution.is-open {
  max-width: 230px;
  padding: 4px 10px 4px 4px;
}

.cx-map-attribution__icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--steel-500);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cx-map-attribution__text {
  font-size: 11px;
  color: var(--navy-700);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.cx-map-attribution:hover .cx-map-attribution__text,
.cx-map-attribution.is-open .cx-map-attribution__text {
  opacity: 1;
}

.cx-map-attribution__text a {
  color: var(--navy-700);
  text-decoration: underline;
}

/* ---------- CTA band ---------- */
.cx-cta-band {
  background: var(--colvex-gradient-diag);
  color: #fff;
  text-align: center;
}

.cx-cta-band h2 {
  color: #fff;
  font-size: 30px;
  margin-bottom: 12px;
}

.cx-cta-band p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  margin: 0 auto 24px;
  max-width: 520px;
}

.cx-cta-band .cx-hero__cta,
.cx-center .cx-hero__cta {
  justify-content: center;
}

/* ---------- Footer ---------- */
.cx-footer {
  background: var(--navy-900);
  color: #fff;
  position: relative;
}

.cx-footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding-top: 48px;
  padding-bottom: 24px;
}

.cx-footer__brand p {
  color: var(--text-on-dark-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 16px 0;
  max-width: 300px;
}

.cx-footer__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}

.cx-footer__phone svg {
  width: 17px;
  height: 17px;
  color: #8FBAD4;
}

.cx-footer__col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8FBAD4;
  margin-bottom: 14px;
}

.cx-footer__col a {
  display: block;
  color: var(--text-on-dark-muted);
  font-size: 14px;
  margin-bottom: 9px;
}

.cx-footer__col a:hover {
  color: #fff;
}

.cx-footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  font-size: 12px;
  color: var(--text-on-dark-muted);
  line-height: 1.7;
}

.cx-footer__compliance {
  font-size: 11.5px;
  color: #8695AB;
  line-height: 1.7;
  margin-top: 8px;
}

/* ---------- Founder bio / prose ---------- */
.cx-founder {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.cx-prose {
  max-width: 1200px;
}

.cx-prose h2 {
  font-size: 26px;
  margin: 36px 0 14px;
}

.cx-prose h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 26px 0 10px;
  color: var(--navy-700);
}

.cx-prose p {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0 0 16px;
}

.cx-prose ul {
  padding-left: 0;
  list-style: none;
  margin: 0 0 20px;
  display: grid;
  gap: 10px;
}

.cx-prose ul li {
  display: flex;
  gap: 11px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text-body);
}

.cx-prose ul li svg {
  width: 20px;
  height: 20px;
  color: var(--steel-500);
  flex-shrink: 0;
  margin-top: 2px;
}

.cx-callout {
  background: var(--surface-subtle);
  border-left: 3px solid var(--steel-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 22px;
  margin: 24px 0;
}

.cx-callout strong {
  color: var(--navy-700);
}

.cx-pagehero {
  background: var(--colvex-gradient-navy);
  color: #fff;
}

.cx-pagehero h1 {
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  margin: 14px 0 12px;
}

.cx-pagehero p {
  color: var(--text-on-dark-muted);
  font-size: 17px;
  max-width: 620px !important;
  margin: 0;
}

.cx-pagehero__inner {
  padding-top: 44px !important;
  padding-bottom: 48px !important;
}

.cx-crumb {
  font-size: 13px;
  color: #8FBAD4;
  font-weight: 600;
}

.cx-crumb a {
  color: #8FBAD4;
}

/* ---------- Contact page ---------- */
.cx-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 900px) {
  .cx-contact-grid {
    grid-template-columns: minmax(0, 640px) 1fr;
    align-items: start;
  }
}

/* ---------- Membership plan card ---------- */
.cx-plan {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cx-plan__head {
  background: var(--colvex-gradient-navy);
  color: #fff;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}

.cx-plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 14px;
}

.cx-plan__price .amt {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 52px;
  letter-spacing: -0.02em;
}

.cx-plan__price .per {
  font-size: 15px;
  color: var(--text-on-dark-muted);
}

.cx-plan__body {
  padding: 28px;
}

.cx-plan__features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 14px;
}

.cx-plan__features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
}

.cx-plan__features li svg {
  width: 20px;
  height: 20px;
  color: var(--steel-500);
  flex-shrink: 0;
  margin-top: 1px;
}

.cx-plan__features b {
  color: var(--navy-700);
}

/* ============================================================
   BREAKPOINTS
   ============================================================ */
@media (min-width: 768px) {
  .cx-container {
    padding: 0 32px;
  }

  .cx-section {
    padding: 80px 0;
  }

  .cx-header__inner {
    height: 72px;
  }

  .cx-logo__wordmark {
    height: 30px;
  }

  .cx-logo__sub {
    font-size: 10.5px;
  }

  .cx-nav {
    display: flex;
    gap: 26px;
    margin-left: 12px;
  }

  .cx-header__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--navy-700);
    font-size: 15px;
  }

  .cx-header__cta > .cx-btn {
    display: inline-flex;
  }

  .cx-navtoggle,
  .cx-mobilenav {
    display: none !important;
  }

  .cx-header__phone svg {
    width: 17px;
    height: 17px;
    color: var(--steel-500);
  }

  .cx-hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    padding-top: 72px;
    padding-bottom: 72px;
    align-items: center;
  }

  .cx-hero h1 {
    font-size: 54px;
  }

  .cx-hero__sub {
    font-size: 19px;
  }

  .cx-hero__cta {
    flex-direction: row;
    align-items: center;
  }

  .cx-photo,
  .cx-img-frame {
    min-height: 420px;
  }

  .cx-trustbar__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 24px 0;
  }

  .cx-trust-item span {
    font-size: 14px;
  }

  .cx-services {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .cx-sec-head h2 {
    font-size: 38px;
  }

  .cx-membership-teaser {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    align-items: center;
    padding: 44px 40px;
  }

  .cx-founder {
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: center;
  }

  .cx-membership-teaser h2 {
    font-size: 32px;
  }

  .cx-reviews {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .cx-area__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }

  .cx-area__cities {
    grid-template-columns: repeat(3, 1fr);
  }

  .cx-cta-band h2 {
    font-size: 38px;
  }

  .cx-footer__inner {
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 40px;
    padding-top: 60px;
    padding-bottom: 28px;
  }

  .cx-footer__legal {
    display: flex;
    flex-direction: column;
  }

  .cx-pagehero h1 {
    font-size: 46px;
  }

  .cx-plan__price .amt {
    font-size: 60px;
  }
}

@media (min-width: 1024px) {
  .cx-hero h1 {
    font-size: 60px;
  }

  .cx-services {
    grid-template-columns: repeat(4, 1fr);
  }

  .cx-services--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   WORDPRESS/GENERATEPRESS INTEGRATION
   The rules above are the real site's styles, ported verbatim.
   Everything below is WordPress-specific glue: it makes GP get
   out of the way so the .cx- markup above renders identically
   to the real site, without GP's own header/title/sidebar chrome
   fighting it.
   ============================================================ */

/* GP always renders its own page title above the_content(); our
   templates supply their own h1 inside .cx-hero/.cx-pagehero, so
   suppress GP's version and the sidebar layout entirely. */
.main-title,
.page-header,
.site-content .content-area > .page-header {
  display: none;
}

/* Safety net: GP's own native logo/branding output should never render
   outside our custom .cx-header (see colvex_override_header() in
   functions.php for the actual root-cause fix - a hook load-order bug
   where GP's original header rendered alongside ours). */
body > .site-logo,
body > .site-branding-container,
.site-header > .site-branding-container,
.inside-header > .header-image.is-logo-image {
  display: none !important;
}

.site-header,
.site-content,
.site-footer,
#content,
.inside-page-header {
  background: transparent;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}
