:root {
  --pmc-teal: #03556b;
  --pmc-teal-dark: #014452;
  --pmc-brown: #432817;
  --pmc-brown-soft: #6a421f;
  --pmc-cream: #fff1c7;
  --pmc-gold: #fd9502;
  --pmc-text: #1c1c1c;
  --pmc-muted: #5c6670;
  --pmc-white: #ffffff;
  --pmc-border: rgba(67, 40, 23, 0.14);
  --pmc-shadow: 0 14px 34px rgba(0, 0, 0, 0.11);
  --pmc-radius: 18px;
}

* { box-sizing: border-box; }

html { overflow-x: hidden; }

body.pmc-custom-site {
  margin: 0;
  color: var(--pmc-text);
  background: #ffffff;
  overflow-x: hidden;
}

body.pmc-custom-site a,
body.pmc-custom-site button {
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

/* Old/parent top bars stay off. WordPress admin toolbar is not affected. */
#custom-topbar,
.custom-topbar,
.topbar:not(.pmc-keep-topbar),
.top-bar:not(.pmc-keep-topbar),
.header-top:not(.pmc-keep-topbar),
.site-header-top:not(.pmc-keep-topbar),
.ziggy-topbar,
.ziggy-header-top,
#masthead .top-header {
  display: none !important;
}

/* Clean global typography: lighter weights and controlled heading sizes across the site. */
body.pmc-custom-site :where(h1, h2, h3, h4, h5, h6) {
  font-weight: 600 !important;
  letter-spacing: normal !important;
}
body.pmc-custom-site :where(strong, b) { font-weight: 600 !important; }
body.pmc-custom-site :where(a, button, input, textarea, select) { font-weight: inherit; }
body.pmc-custom-site h1 { font-size: clamp(30px, 4vw, 52px) !important; line-height: 1.12 !important; }
body.pmc-custom-site h2 { font-size: clamp(24px, 3vw, 38px) !important; line-height: 1.18 !important; }
body.pmc-custom-site h3 { font-size: clamp(19px, 2.2vw, 28px) !important; line-height: 1.25 !important; }
body.pmc-custom-site h4 { font-size: clamp(17px, 1.8vw, 22px) !important; }
body.pmc-custom-site .pmc-site-content p,
body.pmc-custom-site .pmc-site-content li { font-weight: 400 !important; }

.pmc-top-strip {
  background: var(--pmc-brown);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.pmc-top-strip__inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 8px;
}

.pmc-top-strip__contact {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.pmc-top-strip a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 13px;
  line-height: 1.2;
}

.pmc-top-strip a span:not(.pmc-top-icon) { opacity: .86; }
.pmc-top-strip strong { color: #fff; font-size: 13.5px; font-weight: 600 !important; }
.pmc-top-icon {
  width: 25px;
  height: 25px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(255,255,255,.12);
  color: #ffe0a7;
  font-size: 13px;
}
.pmc-top-strip__note {
  color: #ffe9be;
  font-size: 13px;
  white-space: nowrap;
}

.pmc-wrap {
  width: min(1260px, calc(100% - 32px));
  margin-inline: auto;
}

.pmc-header {
  position: sticky;
  top: 0;
  z-index: 998;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .07);
}

body.admin-bar .pmc-header { top: 32px; }

.pmc-header__main { background: rgba(255, 255, 255, .985); }

.pmc-header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}

.pmc-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none !important;
}

.pmc-brand img {
  width: clamp(120px, 10vw, 152px);
  max-height: 78px;
  object-fit: contain;
  display: block;
}

.pmc-nav { flex: 1 1 auto; min-width: 0; }

.pmc-menu,
.pmc-submenu,
.pmc-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pmc-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.pmc-menu > li { position: relative; }

.pmc-menu a {
  display: inline-flex;
  align-items: center;
  color: #111 !important;
  text-decoration: none !important;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .1px;
  padding: 13px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.pmc-menu > li > a:hover,
.pmc-menu > li > a:focus,
.pmc-has-submenu:hover > .pmc-menu-item-row > a,
.pmc-has-submenu:focus-within > .pmc-menu-item-row > a {
  background: rgba(3, 85, 107, .09);
  color: var(--pmc-teal) !important;
}

.pmc-menu-item-row { display: flex; align-items: center; }
.pmc-submenu-toggle { display: none; }
.pmc-has-submenu > .pmc-menu-item-row > a::after {
  content: "▾";
  display: inline-block;
  margin-left: 6px;
  color: var(--pmc-teal);
  font-size: 12px;
  transform: translateY(-1px);
}


.pmc-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 235px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .07);
  border-radius: 14px;
  box-shadow: var(--pmc-shadow);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  z-index: 30;
}

.pmc-submenu::before {
  content: "";
  position: absolute;
  inset: -10px 0 auto 0;
  height: 10px;
}

.pmc-has-submenu:hover > .pmc-submenu,
.pmc-has-submenu:focus-within > .pmc-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.pmc-submenu a {
  display: flex;
  width: 100%;
  border-radius: 10px;
  padding: 12px;
  font-weight: 600;
  color: #3b3b3b !important;
}

.pmc-submenu a:hover,
.pmc-submenu a:focus {
  background: rgba(253, 149, 2, .13);
  color: var(--pmc-brown) !important;
}

.pmc-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 1 auto;
  min-width: 0;
}

.pmc-search {
  width: clamp(180px, 16vw, 252px);
  height: 46px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(3, 85, 107, .2);
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 4px 12px rgba(0, 0, 0, .05);
}

.pmc-search input {
  width: 100%;
  border: 0 !important;
  outline: none;
  box-shadow: none !important;
  padding: 0 0 0 18px !important;
  font-size: 14px;
  background: transparent !important;
  color: #111;
  min-height: 0 !important;
}

.pmc-search button {
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  color: var(--pmc-teal);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.pmc-search button:hover,
.pmc-search button:focus { color: var(--pmc-brown); }

.pmc-search svg,
.pmc-footer-icon svg { width: 18px; height: 18px; fill: currentColor; }

.pmc-cta,
.pmc-footer-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 15px;
  border-radius: 999px;
  color: #fff !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, var(--pmc-teal), var(--pmc-teal-dark));
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(3, 85, 107, .23);
}

.pmc-cta:hover,
.pmc-cta:focus,
.pmc-footer-cta__button:hover,
.pmc-footer-cta__button:focus {
  color: #fff !important;
  background: linear-gradient(135deg, var(--pmc-brown-soft), var(--pmc-brown));
  transform: translateY(-1px);
}

.pmc-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border: 1px solid rgba(3, 85, 107, .2);
  border-radius: 999px;
  padding: 8px 14px;
  background: #fff;
  color: var(--pmc-teal);
  font-weight: 600;
  cursor: pointer;
}

.pmc-menu-toggle__lines { width: 22px; display: grid; gap: 4px; }
.pmc-menu-toggle__lines span { height: 2px; border-radius: 999px; background: currentColor; display: block; }
.pmc-mobile-only { display: none !important; }

.pmc-site-content { min-height: 45vh; }
.pmc-site-content img { max-width: 100%; height: auto; }

.pmc-footer {
  background: #fff;
  color: #161616;
  border-top: 1px solid rgba(67, 40, 23, .1);
}

.pmc-footer-cta { background: linear-gradient(135deg, var(--pmc-teal), #023c49); color: #fff; }

.pmc-footer-cta__inner {
  min-height: 135px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px;
}

.pmc-footer-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: #ffe4ad;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pmc-footer-cta h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  color: #fff;
  font-weight: 600;
  max-width: 780px;
}

.pmc-footer-cta__button { background: #fff; color: var(--pmc-teal) !important; box-shadow: none; }
.pmc-footer-cta__button:hover,
.pmc-footer-cta__button:focus { background: var(--pmc-gold); color: #171717 !important; }

.pmc-footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.25fr) repeat(4, minmax(155px, 1fr));
  gap: 34px;
  padding-block: 54px 44px;
}

.pmc-footer-logo { display: inline-flex; margin-bottom: 14px; }
.pmc-footer-logo img { width: 150px; height: auto; display: block; object-fit: contain; }

.pmc-footer-brand p {
  max-width: 340px;
  color: #2d2d2d;
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 18px;
}

.pmc-footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.pmc-footer-badges span {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f6eee2;
  color: var(--pmc-brown);
  font-size: 12px;
  font-weight: 600;
}

.pmc-footer h3 {
  position: relative;
  margin: 0 0 18px;
  padding-bottom: 10px;
  color: #111;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.pmc-footer h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: var(--pmc-gold);
}

.pmc-footer-column li + li,
.pmc-footer-contact li + li { margin-top: 11px; }

.pmc-footer a { color: #272727 !important; text-decoration: none !important; }
.pmc-footer a:hover,
.pmc-footer a:focus { color: var(--pmc-teal) !important; }

.pmc-footer-column a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  line-height: 1.45;
}

.pmc-footer-column a::before { content: none !important; display: none !important; }

.pmc-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.55;
  color: #272727;
  word-break: break-word;
}

.pmc-footer-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(3, 85, 107, .1);
  color: var(--pmc-teal);
  margin-top: -3px;
}

.pmc-footer-icon svg { width: 15px; height: 15px; }

.pmc-footer-bottom { background: var(--pmc-brown); color: #fff; }

.pmc-footer-bottom__inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pmc-footer-bottom p { margin: 0; color: #fff; font-size: 14px; }
.pmc-back-to-top { color: #fff !important; text-decoration: none !important; font-size: 14px; font-weight: 600; }
.pmc-back-to-top:hover,
.pmc-back-to-top:focus { color: #ffe0a7 !important; }

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, .6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: 600;
  height: auto;
  left: 8px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 8px;
  width: auto;
  z-index: 100000;
}

@media (max-width: 1280px) {
  .pmc-wrap { width: min(100% - 28px, 1260px); }
  .pmc-header-inner { gap: 10px; }
  .pmc-menu a { font-size: 13px; padding-inline: 7px; }
  .pmc-search { width: 205px; }
  .pmc-cta { padding-inline: 13px; }
  .pmc-footer-main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pmc-footer-brand { grid-column: span 3; }
}

@media (max-width: 1100px) {
  .pmc-wrap { width: min(100% - 28px, 1260px); }
  .pmc-header-inner { min-height: 86px; justify-content: space-between; }
  .pmc-brand img { width: clamp(112px, 28vw, 152px); max-height: 78px; }
  .pmc-menu-toggle { display: inline-flex; order: 3; }
  .pmc-header-actions { order: 2; }
  .pmc-search { display: none; }
  .pmc-cta { min-height: 42px; padding: 10px 14px; font-size: 13px; }
  .pmc-mobile-only { display: block !important; }

  .pmc-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 10px);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 18px;
    box-shadow: var(--pmc-shadow);
    z-index: 50;
    transition: max-height .25s ease, opacity .2s ease, visibility .2s ease, transform .2s ease;
  }

  .pmc-nav.is-open {
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .pmc-menu { display: block; padding: 12px; }
  .pmc-menu > li { border-bottom: 1px solid rgba(0, 0, 0, .06); }
  .pmc-menu > li:last-child { border-bottom: 0; }
  .pmc-menu a { width: 100%; border-radius: 12px; padding: 13px 12px; white-space: normal; }
  .pmc-menu-item-row { gap: 8px; }
  .pmc-has-submenu > .pmc-menu-item-row > a::after { display: none; }
  .pmc-menu-item-row > a { flex: 1 1 auto; }

  .pmc-submenu-toggle {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(3, 85, 107, .08);
    color: var(--pmc-teal);
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    font-size: 20px;
    flex: 0 0 auto;
  }

  .pmc-submenu {
    position: static;
    min-width: 0;
    box-shadow: none;
    border: 0;
    border-radius: 12px;
    background: rgba(3, 85, 107, .05);
    margin: 0 0 10px 10px;
    padding: 6px;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    display: none;
  }

  .pmc-has-submenu.is-submenu-open > .pmc-submenu { display: block; }
  .pmc-submenu::before { display: none; }
  .pmc-submenu a { padding: 11px 12px; }

  .pmc-mobile-contact-row a { font-size: 13px; color: var(--pmc-teal) !important; }
  .pmc-mobile-search-row { padding: 12px; }
  .pmc-search--mobile { display: flex !important; width: 100%; }
  .pmc-top-strip__inner { justify-content: center; }
  .pmc-top-strip__note { display: none; }
  .pmc-top-strip__contact { justify-content: center; gap: 14px 20px; }
}


@media (max-width: 782px) { body.admin-bar .pmc-header { top: 46px; } }

@media (max-width: 760px) {
  .pmc-header-inner { min-height: 76px; }
  .pmc-header-actions { display: none; }
  .pmc-menu-toggle__text { display: none; }
  .pmc-menu-toggle { width: 46px; height: 46px; padding: 0; }
  .pmc-footer-cta__inner { display: block; text-align: center; padding-block: 30px; }
  .pmc-footer-cta__button { margin-top: 18px; width: 100%; max-width: 280px; }
  .pmc-footer-main { grid-template-columns: 1fr; gap: 28px; padding-block: 40px 34px; }
  .pmc-footer-brand { grid-column: auto; }
  .pmc-footer-brand p { max-width: none; }
  .pmc-footer-bottom__inner { min-height: auto; padding-block: 16px; display: block; text-align: center; }
  .pmc-back-to-top { display: inline-flex; margin-top: 8px; }
}

@media (max-width: 480px) {
  .pmc-wrap { width: min(100% - 22px, 1180px); }
  .pmc-header-inner { min-height: 70px; gap: 10px; }
  .pmc-brand img { width: 116px; max-height: 64px; }
  .pmc-nav { left: 0; right: 0; border-radius: 14px; }
  .pmc-menu { padding: 10px; }
  .pmc-footer h3 { font-size: 15px; }
}


/* Final responsive/cleanup overrides for v2.2 */
body.pmc-custom-site .pmc-button,
body.pmc-custom-site .pmc-button--ghost,
body.pmc-custom-site .pmc-cta,
body.pmc-custom-site .pmc-footer-cta__button,
body.pmc-custom-site .btn,
body.pmc-custom-site .buy-btn,
body.pmc-custom-site .testimonial-btn,
body.pmc-custom-site .testimonial-section__button {
  font-weight: 600 !important;
}
body.pmc-custom-site .pmc-kitten-btn a::after,
body.pmc-custom-site .testimonial-btn::after,
body.pmc-custom-site .testimonial-section__button::after,
body.pmc-custom-site .buy-btn::after,
body.pmc-custom-site .btn-gradient::after,
body.pmc-custom-site .custom-button span,
body.pmc-custom-site .services-card a span {
  content: none !important;
  display: none !important;
}
body.pmc-custom-site .pmc-hero h1 { font-size: clamp(32px, 4.2vw, 56px) !important; font-weight: 600 !important; }
body.pmc-custom-site .pmc-hero p { font-size: clamp(15px, 1.55vw, 18px) !important; }
body.pmc-custom-site .pmc-section-head h2,
body.pmc-custom-site .pmc-rich-text h2 { font-size: clamp(24px, 2.8vw, 36px) !important; }
body.pmc-custom-site .pmc-menu a,
body.pmc-custom-site .pmc-submenu a { font-weight: 600 !important; }
.pmc-submenu-toggle span { display: inline-block; transition: transform .2s ease; }
.pmc-has-submenu.is-submenu-open > .pmc-menu-item-row .pmc-submenu-toggle span { transform: rotate(180deg); }

@media (max-width: 1280px) and (min-width: 1101px) {
  .pmc-brand img { width: 126px; }
  .pmc-header-actions { gap: 8px; }
}

@media (max-width: 760px) {
  .pmc-top-strip__inner { min-height: auto; padding-block: 7px; }
  .pmc-top-strip__contact { width: 100%; display: grid; grid-template-columns: 1fr; gap: 6px; }
  .pmc-top-strip a { justify-content: center; font-size: 12px; }
  .pmc-top-strip strong { font-size: 12.5px; }
  .pmc-top-icon { width: 22px; height: 22px; font-size: 12px; }
}

@media (max-width: 400px) {
  .pmc-brand img { width: 108px; }
  .pmc-header-inner { min-height: 66px; }
}

/* v2.3 final header + typography refinements */
body.pmc-custom-site #page.pmc-site,
body.pmc-custom-site .pmc-site,
body.pmc-custom-site .pmc-header {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body.admin-bar .pmc-header {
  top: 0 !important;
}
@media (max-width: 782px) {
  body.admin-bar .pmc-header { top: 0 !important; }
}

body.pmc-custom-site .pmc-site-content :where(h1, h2, h3, h4, h5, h6) {
  font-weight: 500 !important;
}
body.pmc-custom-site .pmc-site-content :where(strong, b) {
  font-weight: 500 !important;
}
body.pmc-custom-site .pmc-button,
body.pmc-custom-site .pmc-button--ghost,
body.pmc-custom-site .pmc-cta,
body.pmc-custom-site .pmc-footer-cta__button {
  font-weight: 500 !important;
}
body.pmc-custom-site .pmc-home-fallback .pmc-hero h1 {
  font-size: clamp(28px, 3.55vw, 46px) !important;
  line-height: 1.12 !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  max-width: 720px;
}
body.pmc-custom-site .pmc-home-fallback .pmc-hero p {
  font-size: clamp(15px, 1.35vw, 17px) !important;
  line-height: 1.68 !important;
  font-weight: 400 !important;
  max-width: 660px;
}
body.pmc-custom-site .pmc-home-fallback :where(.pmc-hero__eyebrow, .pmc-page-eyebrow, .pmc-hero-card__badge, .pmc-trust-item strong) {
  font-weight: 500 !important;
}
body.pmc-custom-site .pmc-section-head h2,
body.pmc-custom-site .pmc-rich-text h2 {
  font-size: clamp(22px, 2.35vw, 32px) !important;
  font-weight: 500 !important;
}
