:root {
  --nova-navy: #062b5f;
  --nova-navy-dark: #021b3d;
  --nova-cream: #f7f2e8;
  --nova-cream-light: #fbf8f1;
  --nova-white: #ffffff;
  --nova-gold: #c49a4a;
  --nova-gold-light: #e6d2a3;
  --nova-text: #1f2933;
  --nova-muted: #5f6b7a;
  --nova-border: #e6dcc8;
}
/* =========================================================
   NOVA INNER PAGE LAYOUT FIX
   Fixes About / Free Consultation / Pricing desktop sizing
   ========================================================= */

/* Hide default WordPress page titles on custom designed pages */
body.page .wp-block-post-title,
body.page .entry-title,
body.page h1.wp-block-post-title {
  display: none !important;
}

/* Remove large default spacing above page content */
body.page .wp-site-blocks main,
body.page main,
body.page .wp-block-post-content,
body.page .entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Make custom designed page wrappers full width */
.wp-block-post-content > .nd-about-final,
.wp-block-post-content > .nd-about-page-v2,
.wp-block-post-content > .nd-audit-final,
.wp-block-post-content > .nd-pricing-page,
.wp-block-post-content > .nd-pricing-final {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Make inner containers wide enough on desktop */
.nd-about-container,
.nd-audit-container,
.nd-pricing-container,
.nova-container {
  width: min(1180px, calc(100% - 48px)) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Reduce excessive top padding on hero sections */
.nd-about-hero,
.nd-about-hero-v2,
.nd-audit-hero,
.nd-pricing-hero,
.nd-pricing-hero-v2 {
  padding-top: 72px !important;
}

/* Fix desktop two-column hero sections */
.nd-about-hero-grid,
.nd-about-hero-wrap,
.nd-audit-hero-grid,
.nd-pricing-hero-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr) !important;
  gap: 64px !important;
  align-items: center !important;
}

/* Stop huge headings from becoming too narrow */
.nd-about-hero-copy h1,
.nd-about-hero-main h1,
.nd-audit-hero-copy h1,
.nd-pricing-hero-copy h1 {
  max-width: 760px !important;
  font-size: clamp(42px, 4.2vw, 62px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.025em !important;
}

/* Make right-side cards stay inside the layout */
.nd-about-story-card,
.nd-about-story-box,
.nd-audit-summary-card,
.nd-pricing-hero-card {
  width: 100% !important;
  max-width: 520px !important;
  justify-self: end !important;
}

/* Tablet layout */
@media (max-width: 980px) {
  .nd-about-hero-grid,
  .nd-about-hero-wrap,
  .nd-audit-hero-grid,
  .nd-pricing-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 42px !important;
  }

  .nd-about-story-card,
  .nd-about-story-box,
  .nd-audit-summary-card,
  .nd-pricing-hero-card {
    max-width: 100% !important;
    justify-self: stretch !important;
  }
}

/* Mobile layout */
@media (max-width: 640px) {
  .nd-about-container,
  .nd-audit-container,
  .nd-pricing-container,
  .nova-container {
    width: min(100% - 28px, 1180px) !important;
  }

  .nd-about-hero,
  .nd-about-hero-v2,
  .nd-audit-hero,
  .nd-pricing-hero {
    padding-top: 56px !important;
  }

  .nd-about-hero-copy h1,
  .nd-about-hero-main h1,
  .nd-audit-hero-copy h1,
  .nd-pricing-hero-copy h1 {
    font-size: 38px !important;
    line-height: 1.1 !important;
  }
}
/* =========================================================
   NOVA DESIGNS PRICING PAGE THEME
   Matches homepage, About and Free Consultation pages
   ========================================================= */

:root {
  --nova-navy: #062b5f;
  --nova-navy-dark: #021b3d;
  --nova-cream: #f7f2e8;
  --nova-cream-light: #fbf8f1;
  --nova-white: #ffffff;
  --nova-gold: #c49a4a;
  --nova-gold-light: #e6d2a3;
  --nova-text: #1f2933;
  --nova-muted: #5f6b7a;
  --nova-border: #e6dcc8;
}

/* Make pricing page behave like custom full-width pages */
.wp-block-post-content > .nd-pricing-page,
.wp-block-post-content > .np3-pricing {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Hide default WordPress page title above the custom pricing page */
body.page .wp-block-post-title,
body.page .entry-title,
body.page h1.wp-block-post-title {
  display: none !important;
}

/* Page base */

.np3-pricing {
  background: var(--nova-cream-light);
  color: var(--nova-text);
}

.np3-pricing * {
  box-sizing: border-box;
}

.np3-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.np3-label {
  margin: 0 0 12px;
  color: var(--nova-gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.np3-label-light {
  color: var(--nova-gold-light);
}

/* HERO */

.np3-hero {
  padding: 68px 0 48px;
  background:
    radial-gradient(circle at top right, rgba(196, 154, 74, 0.14), transparent 30%),
    linear-gradient(180deg, var(--nova-cream-light), var(--nova-white));
  border-bottom: 1px solid var(--nova-border);
}

.np3-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.75fr);
  gap: 58px;
  align-items: center;
}

.np3-hero-copy h1 {
  margin: 0 0 20px;
  max-width: 820px;
  color: var(--nova-navy);
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.026em;
  font-weight: 900;
}

.np3-hero-copy p {
  margin: 0;
  max-width: 720px;
  color: var(--nova-text);
  font-size: 17px;
  line-height: 1.75;
}

.np3-hero-card {
  background: var(--nova-white);
  border: 1px solid var(--nova-border);
  border-top: 6px solid var(--nova-navy);
  border-radius: 16px;
  padding: 34px 30px;
  box-shadow: 0 22px 48px rgba(6, 43, 95, 0.11);
}

.np3-hero-card h2 {
  margin: 0 0 14px;
  color: var(--nova-navy);
  font-size: 29px;
  line-height: 1.15;
  font-weight: 900;
}

.np3-hero-card p {
  margin: 0 0 24px;
  color: var(--nova-muted);
  line-height: 1.65;
}

.np3-hero-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  background: var(--nova-navy);
  color: var(--nova-white) !important;
  border-radius: 7px;
  text-decoration: none !important;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(6, 43, 95, 0.22);
}

.np3-hero-card a::after {
  content: " →";
  margin-left: 8px;
}

/* PRICING SECTION */

.np3-pricing-section {
  padding: 62px 0 70px;
  background: var(--nova-white);
}

.np3-section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.np3-section-heading h2 {
  margin: 0 0 12px;
  color: var(--nova-navy);
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.14;
  font-weight: 900;
}

.np3-section-heading p:not(.np3-label) {
  margin: 0;
  color: var(--nova-muted);
  font-size: 16.5px;
  line-height: 1.7;
}

.np3-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

.np3-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--nova-white);
  border: 1px solid var(--nova-border);
  border-top: 6px solid var(--nova-navy);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 18px 40px rgba(6, 43, 95, 0.08);
}

.np3-featured-card {
  border-top-color: var(--nova-gold);
  transform: translateY(-12px);
  box-shadow: 0 26px 58px rgba(6, 43, 95, 0.14);
}

.np3-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--nova-navy);
  color: var(--nova-white);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.np3-card-label {
  margin: 0 0 8px;
  color: var(--nova-gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.np3-card-header h3 {
  margin: 0 0 10px;
  color: var(--nova-navy);
  font-size: 27px;
  line-height: 1.16;
  font-weight: 900;
}

.np3-card-header p {
  min-height: 50px;
  margin: 0 0 20px;
  color: var(--nova-muted);
  font-size: 15px;
  line-height: 1.55;
}

.np3-price {
  margin: 0;
  color: var(--nova-navy);
  font-size: 44px;
  line-height: 1;
  font-weight: 900;
}

.np3-price-note {
  margin: 8px 0 24px;
  color: var(--nova-muted);
  font-size: 13px;
  font-weight: 700;
}

.np3-price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.np3-price-card li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--nova-text);
  font-size: 15px;
  line-height: 1.42;
}

.np3-price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--nova-gold);
  font-weight: 900;
}

.np3-best-for {
  margin: auto 0 22px;
  padding: 16px;
  background: var(--nova-cream-light);
  border: 1px solid var(--nova-border);
  border-radius: 10px;
  color: var(--nova-muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.np3-best-for strong {
  color: var(--nova-navy);
}

.np3-card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 14px 20px;
  background: var(--nova-navy);
  color: var(--nova-white) !important;
  border-radius: 7px;
  text-decoration: none !important;
  font-size: 14.5px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(6, 43, 95, 0.2);
}

.np3-card-button::after {
  content: " →";
  margin-left: 8px;
}

.np3-featured-button {
  background: var(--nova-navy-dark);
}

.np3-small-note {
  margin: 34px auto 0;
  max-width: 780px;
  color: var(--nova-muted);
  text-align: center;
  font-size: 15px;
  line-height: 1.7;
}

/* PAYMENT SECTION */

.np3-payment-section {
  padding: 70px 0;
  background: var(--nova-cream-light);
  border-top: 1px solid var(--nova-border);
  border-bottom: 1px solid var(--nova-border);
}

.np3-payment-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 62px;
  align-items: start;
}

.np3-payment-copy h2 {
  margin: 0 0 16px;
  color: var(--nova-navy);
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.14;
  font-weight: 900;
}

.np3-payment-copy p {
  margin: 0;
  color: var(--nova-muted);
  font-size: 16.5px;
  line-height: 1.7;
}

.np3-payment-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.np3-payment-cards div {
  background: var(--nova-white);
  border: 1px solid var(--nova-border);
  border-left: 6px solid var(--nova-gold);
  border-radius: 12px;
  padding: 26px 24px;
  box-shadow: 0 14px 34px rgba(6, 43, 95, 0.07);
}

.np3-payment-cards strong {
  display: block;
  margin-bottom: 8px;
  color: var(--nova-gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.np3-payment-cards h3 {
  margin: 0 0 8px;
  color: var(--nova-navy);
  font-size: 26px;
  font-weight: 900;
}

.np3-payment-cards p {
  margin: 0;
  color: var(--nova-muted);
  font-size: 15px;
  line-height: 1.65;
}

/* CARE PLANS */

.np3-care-section {
  padding: 74px 0;
  background: var(--nova-white);
}

.np3-care-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.np3-care-card {
  position: relative;
  background: var(--nova-white);
  border: 1px solid var(--nova-border);
  border-top: 6px solid var(--nova-navy);
  border-radius: 14px;
  padding: 30px 26px;
  box-shadow: 0 16px 36px rgba(6, 43, 95, 0.08);
}

.np3-care-featured {
  border-top-color: var(--nova-gold);
}

.np3-care-badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 13px;
  background: var(--nova-navy);
  color: var(--nova-white);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.np3-care-card h3 {
  margin: 0 0 12px;
  color: var(--nova-navy);
  font-size: 25px;
  font-weight: 900;
}

.np3-care-price {
  margin-bottom: 12px;
  color: var(--nova-navy);
  font-size: 38px;
  font-weight: 900;
}

.np3-care-price span {
  color: var(--nova-muted);
  font-size: 15px;
  font-weight: 700;
}

.np3-care-card p {
  margin: 0 0 20px;
  color: var(--nova-muted);
  line-height: 1.65;
}

.np3-care-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.np3-care-card li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--nova-text);
  font-size: 15px;
}

.np3-care-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--nova-gold);
  font-weight: 900;
}

/* FINAL CTA */

.np3-final-cta {
  padding: 64px 0;
  background:
    linear-gradient(rgba(6, 43, 95, 0.96), rgba(6, 43, 95, 0.96)),
    linear-gradient(135deg, var(--nova-navy), var(--nova-navy-dark));
  color: var(--nova-white);
}

.np3-final-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
}

.np3-final-cta h2 {
  margin: 0 0 12px;
  color: var(--nova-white);
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.14;
  font-weight: 900;
}

.np3-final-cta p:not(.np3-label) {
  margin: 0;
  max-width: 680px;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
}

.np3-final-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 16px 26px;
  background: var(--nova-cream-light);
  color: var(--nova-navy) !important;
  border: 1px solid var(--nova-gold-light);
  border-radius: 7px;
  text-decoration: none !important;
  font-weight: 900;
  white-space: nowrap;
}

.np3-final-cta a::after {
  content: " →";
  margin-left: 8px;
}

/* RESPONSIVE */

@media (max-width: 980px) {
  .np3-hero-inner,
  .np3-payment-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .np3-price-grid,
  .np3-care-grid,
  .np3-payment-cards {
    grid-template-columns: 1fr;
  }

  .np3-featured-card {
    transform: none;
  }

  .np3-final-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .np3-container {
    width: min(100% - 28px, 1180px);
  }

  .np3-hero {
    padding: 56px 0 42px;
  }

  .np3-pricing-section,
  .np3-payment-section,
  .np3-care-section {
    padding: 58px 0;
  }

  .np3-hero-copy h1 {
    font-size: 37px;
    line-height: 1.1;
  }

  .np3-price {
    font-size: 40px;
  }

  .np3-final-cta a {
    width: 100%;
  }
}
/* =========================================================
   NOVA HOMEPAGE LOGO PLACEHOLDER
   Replaces ND placeholder with real logo mark
   ========================================================= */

.nd-home-logo-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nd-home-logo-card {
  width: 100%;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at center, rgba(196,154,74,0.12), transparent 34%),
    linear-gradient(180deg, #fbf8f1, #f7f2e8);
  border: 1px solid var(--nova-border, #e6dcc8);
  border-radius: 4px;
  box-shadow: 0 24px 58px rgba(6,43,95,0.08);
  padding: 70px;
}

.nd-home-logo-mark {
  width: min(340px, 78%);
  height: auto;
  display: block;
  border-radius: 36px;
  box-shadow: 0 26px 60px rgba(6,43,95,0.18);
}

@media (max-width: 980px) {
  .nd-home-logo-card {
    min-height: 360px;
    padding: 48px;
  }

  .nd-home-logo-mark {
    width: min(280px, 78%);
  }
}

@media (max-width: 640px) {
  .nd-home-logo-card {
    min-height: 280px;
    padding: 34px;
  }

  .nd-home-logo-mark {
    width: min(220px, 82%);
    border-radius: 26px;
  }
}
/* =========================================================
   NOVA GLOBAL HEADER + INNER PAGE SPACING FIX
   Makes homepage and inner pages feel consistent
   ========================================================= */

/* 1. Standardise the main site header across all pages */
header,
.wp-site-blocks > header,
.site-header,
.wp-block-template-part {
  background: #ffffff !important;
}

/* 2. Standardise the site title / text logo */
header .wp-block-site-title,
header .wp-block-site-title a,
.wp-site-blocks header .wp-block-site-title,
.wp-site-blocks header .wp-block-site-title a,
.site-title,
.site-title a {
  color: var(--nova-navy, #062b5f) !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  line-height: 1 !important;
}

/* 3. If you use an image logo in the header, force a clean size */
header .wp-block-site-logo img,
.wp-site-blocks header .wp-block-site-logo img,
header img.custom-logo,
.site-header img.custom-logo {
  width: auto !important;
  max-width: 165px !important;
  max-height: 46px !important;
  height: auto !important;
  object-fit: contain !important;
}

/* 4. Keep header layout neat */
header .wp-block-group,
.wp-site-blocks header .wp-block-group,
.site-header .wp-block-group {
  align-items: center !important;
}

/* 5. Standardise navigation text */
header .wp-block-navigation a,
.wp-site-blocks header .wp-block-navigation a,
header nav a {
  color: #111827 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

header .wp-block-navigation a:hover,
.wp-site-blocks header .wp-block-navigation a:hover,
header nav a:hover {
  color: var(--nova-navy, #062b5f) !important;
}

/* 6. Remove default WordPress page titles from custom-designed pages */
body.page .wp-block-post-title,
body.page .entry-title,
body.page h1.wp-block-post-title {
  display: none !important;
}

/* 7. Remove large gap between header and first custom HTML block */
body.page .wp-site-blocks main,
body.page main,
body.page .wp-block-post-content,
body.page .entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* 8. Remove default block spacing that creates the visible gap */
.wp-site-blocks > * + *,
.wp-block-post-content > * + *,
.entry-content > * + * {
  margin-block-start: 0 !important;
}

/* 9. Make custom-designed pages full width and start directly under header */
.wp-block-post-content > .nova-home,
.wp-block-post-content > .nd-about-final,
.wp-block-post-content > .nd-audit-final,
.wp-block-post-content > .nd-pricing-page,
.wp-block-post-content > .np3-pricing {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* 10. Make the first section start consistently under the header */
.nova-home > section:first-child,
.nd-about-final > section:first-child,
.nd-audit-final > section:first-child,
.nd-pricing-page > section:first-child,
.np3-pricing > section:first-child {
  margin-top: 0 !important;
  padding-top: 64px !important;
}

/* 11. Mobile header/logo control */
@media (max-width: 640px) {
  header .wp-block-site-title,
  header .wp-block-site-title a,
  .site-title,
  .site-title a {
    font-size: 16px !important;
  }

  header .wp-block-site-logo img,
  .wp-site-blocks header .wp-block-site-logo img,
  header img.custom-logo,
  .site-header img.custom-logo {
    max-width: 140px !important;
    max-height: 40px !important;
  }

  .nova-home > section:first-child,
  .nd-about-final > section:first-child,
  .nd-audit-final > section:first-child,
  .nd-pricing-page > section:first-child,
  .np3-pricing > section:first-child {
    padding-top: 46px !important;
  }
}