@import url("https://fonts.googleapis.com/css?family=Merriweather+Sans&display=swap");
@import url("https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap");

:root {
  --pjm-red: #990000;
  --pjm-red-bright: #fb0605;
  --pjm-black: #010101;
  --pjm-text: #333333;
  --pjm-muted: #efefef;
  --pjm-card: #fafafa;
  --pjm-shadow: 5px 5px 10px rgba(0, 0, 0, 0.32);
  --pjm-heading: "Merriweather Sans", sans-serif;
  --pjm-body: "Roboto", sans-serif;
  --pjm-header-height: 120px;
  --pjm-header-scrolled-height: 88px;
  --pjm-logo-height: 82px;
  --pjm-logo-scrolled-height: 58px;
}

.pjm-widget,
.pjm-widget * {
  box-sizing: border-box;
}

.pjm-widget {
  font-family: var(--pjm-body);
  color: var(--pjm-text);
}

.pjm-container {
  width: min(100% - 40px, 1170px);
  margin-inline: auto;
}

.pjm-widget h1,
.pjm-widget h2,
.pjm-widget h3,
.pjm-footer h3 {
  font-family: var(--pjm-heading);
  font-weight: 400;
  letter-spacing: 0;
}

.pjm-widget p {
  margin: 0 0 10px;
}

.pjm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  padding: 7px 18px;
  border: 0;
  border-radius: 2px;
  background: var(--pjm-red);
  color: #ffffff !important;
  font-family: var(--pjm-heading);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.pjm-button:hover,
.pjm-button:focus {
  background: var(--pjm-black);
  box-shadow: 0 0 10px #a2a2a2;
  color: #ffffff !important;
}

.pjm-red-rule {
  width: 50px;
  height: 1px;
  margin: 10px 0 25px;
  border-bottom: 2px solid var(--pjm-red-bright);
}

.pjm-red-rule-wide {
  width: 144px;
  border-bottom-width: 3px;
  margin-top: 15px;
}

.pjm-shadow-image {
  display: block;
  width: auto;
  max-width: calc(100% - 40px);
  margin: 20px;
  box-shadow: var(--pjm-shadow) !important;
}

.pjm-header-spacer {
  height: 60px;
}

.pjm-site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1030;
  min-height: 60px;
  background: #ffffff;
  box-shadow: 0 0 4px #cccccc;
  overflow: hidden;
}

.pjm-header-inner {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 15px;
}

.pjm-logo-link {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  align-self: stretch;
  text-decoration: none;
}

.pjm-site-header .pjm-logo {
  display: block;
  width: auto !important;
  height: 50px !important;
  max-width: 130px !important;
  max-height: 50px !important;
  object-fit: contain;
  padding: 5px 0;
  transition: height 240ms ease;
}

.pjm-menu-toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid #dddddd;
  border-radius: 4px;
  background: #ffffff;
  cursor: pointer;
}

.pjm-menu-toggle span:not(.screen-reader-text) {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #888888;
}

.pjm-menu {
  position: absolute;
  top: 60px;
  right: 0;
  left: 0;
  display: none;
  flex-direction: column;
  background: #ffffff;
  border-top: 1px solid #e7e7e7;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
}

.pjm-site-header.is-open .pjm-menu {
  display: flex;
}

.pjm-mobile-phone {
  padding: 10px 15px;
  background: var(--pjm-red);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.pjm-menu-link {
  min-height: 44px;
  padding: 15px;
  color: #333333 !important;
  font-family: var(--pjm-body);
  font-size: 13px;
  line-height: 20px;
  text-decoration: none !important;
}

.pjm-menu-link.is-active,
.pjm-menu-link:hover,
.pjm-menu-link:focus {
  background: var(--pjm-red);
  color: #ffffff !important;
}

.pjm-phone-pill {
  display: none;
}

.pjm-home-hero {
  min-height: var(--pjm-hero-mobile-height, 300px);
  background-image: var(--pjm-hero-mobile);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.pjm-intro {
  padding: 45px 40px 20px;
}

.pjm-intro h1 {
  margin: 0 0 8px;
  color: #010101;
  font-size: clamp(34px, 9vw, 50px);
  line-height: 1.1;
}

.pjm-intro p {
  color: #000000;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.pjm-cards-band {
  padding: 30px 0 60px;
  background: #ffffff;
}

.pjm-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.pjm-feature-card {
  min-height: 278px;
  padding: 20px 10px 15px;
  background: var(--pjm-card);
  text-align: center;
}

.pjm-feature-card img {
  display: block;
  width: 150px;
  height: 150px;
  margin: 0 auto;
  object-fit: contain;
}

.pjm-feature-card h2 {
  margin: 10px 0 7px;
  color: #333333;
  font-size: 21px;
  line-height: 1.2;
  text-align: center;
}

.pjm-feature-card p {
  min-height: 48px;
  margin: 0 auto 10px;
  color: #333333;
  font-size: 13px;
  line-height: 1.25;
  text-align: center;
}

.pjm-products {
  padding: 40px 0;
  margin-bottom: 40px;
  background: rgba(1, 1, 1, 0.11);
}

.pjm-products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
  justify-items: center;
}

.pjm-products-text {
  padding: 20px 40px 0;
  align-self: start;
}

.pjm-products h2,
.pjm-services-cta h2 {
  margin: 15px 0 8px;
  color: #000000;
  font-size: 40px;
  line-height: 1.15;
}

.pjm-products p,
.pjm-services-cta p {
  color: #000000;
  font-size: 16px;
  line-height: 23px;
}

.pjm-products ul {
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
  color: #000000;
  font-size: 16px;
  line-height: 23px;
}

.pjm-services-cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
  padding: 0 0 40px;
}

.pjm-product-image {
  width: min(100% - 40px, 701px) !important;
  aspect-ratio: 701 / 700;
  object-fit: cover;
  justify-self: center;
}

.pjm-service-cta-image {
  width: min(100% - 40px, 650px) !important;
  aspect-ratio: 1049 / 700;
  object-fit: cover;
  justify-self: center;
}

.pjm-services-cta-text {
  padding: 20px 40px;
  justify-self: center;
  align-self: start;
}

.pjm-home-contact {
  display: grid;
  grid-template-columns: 1fr;
  background: #efefef;
}

.pjm-home-map .pjm-map-frame,
.pjm-home-map iframe {
  height: 420px;
}

.pjm-home-form {
  min-height: 520px;
  padding: 60px 20px;
  background: #efefef;
}

.pjm-map-frame {
  width: 100%;
  height: var(--pjm-map-height, 300px);
  overflow: hidden;
}

.pjm-map-frame iframe {
  display: block;
  width: 100%;
  height: var(--pjm-map-height, 300px);
  border: 0;
}

.pjm-contact-form-box {
  width: min(100%, 620px);
  margin: 0 auto;
  text-align: center;
}

.pjm-shortcode-form,
.pjm-fluent-form-wrap {
  width: min(100%, 620px);
  margin: 0 auto;
}

.pjm-fluent-form-wrap .fluentform,
.pjm-fluent-form-wrap .fluent_form,
.pjm-fluent-form-wrap form {
  width: 100%;
}

.pjm-contact-form-box h2 {
  margin: 0 0 10px;
  color: #333333;
  font-size: 39px;
  line-height: 50px;
  text-align: center;
}

.pjm-form-subtitle {
  margin-bottom: 15px;
  color: #333333;
  text-align: center;
}

.pjm-contact-form {
  display: grid;
  gap: 10px;
}

.pjm-contact-form label {
  display: grid;
  gap: 3px;
  margin: 0;
  color: #333333;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}

.pjm-contact-form input {
  width: 100%;
  height: 36px;
  padding: 8px 15px;
  border: 1px dotted #666666;
  border-radius: 0;
  color: #333333;
  font-family: var(--pjm-body);
  font-size: 16px;
}

.pjm-contact-form input::placeholder {
  color: #a7a7a7;
}

.pjm-form-counter {
  margin-top: -8px;
  color: #333333;
  font-size: 12px;
  text-align: center;
}

.pjm-submit-button {
  width: 110px;
  margin: 14px auto 0;
  font-size: 16px;
  padding-inline: 40px;
}

.pjm-home-form .pjm-submit-button {
  margin-top: 14px;
}

.pjm-contact-form.is-loading .pjm-submit-button {
  opacity: 0.6;
  pointer-events: none;
}

.pjm-form-success {
  margin: 20px 0;
  color: #333333;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
}

.pjm-hp-field {
  position: absolute;
  left: -10000px;
}

.pjm-internal-banner {
  display: grid;
  min-height: var(--pjm-banner-height, 500px);
  place-items: center;
  background-image: linear-gradient(rgba(90, 0, 0, 0.34), rgba(90, 0, 0, 0.34)), var(--pjm-banner-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.pjm-internal-banner h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(48px, 10vw, 92px);
  line-height: 1;
  text-align: center;
  text-shadow: 4px 4px 3px rgba(0, 0, 0, 0.65);
}

.pjm-about {
  padding: 70px 40px 80px;
}

.pjm-about h2 {
  margin: 0 0 55px;
  color: #3a3a3a;
  font-size: 38px;
  line-height: 1.2;
  text-align: center;
}

.pjm-rich-text {
  color: #333333;
  font-size: 17px;
  line-height: 1.55;
}

.pjm-rich-text p {
  margin: 0 0 15px;
}

.pjm-services-page {
  padding: 35px 20px 0;
}

.pjm-page-title {
  margin: 0 0 55px;
  color: #3a3a3a;
  font-size: 40px;
  line-height: 1.2;
  text-align: center;
}

.pjm-services-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: end;
}

.pjm-services-page-text h2 {
  margin: 0 0 24px;
  color: #010101;
  font-size: clamp(42px, 10vw, 58px);
  line-height: 1.1;
}

.pjm-services-page-text .pjm-rich-text {
  color: #000000;
  font-size: 17px;
  line-height: 26px;
}

.pjm-services-image {
  display: block;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.pjm-contact-map {
  margin-top: 0;
}

.pjm-contact-form-section {
  min-height: 980px;
  padding: 35px 20px 60px;
  background: #ffffff;
}

.pjm-contact-form-section .pjm-contact-form-box h2 {
  margin-bottom: 74px;
  color: #3a3a3a;
  font-size: 40px;
}

.pjm-footer {
  padding: 44px 0 40px;
  background: var(--pjm-black);
  color: #ffffff;
}

.pjm-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.pjm-footer-column {
  text-align: center;
}

.pjm-footer-column h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 27px;
  line-height: 35px;
}

.pjm-footer-column p {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 19px;
  line-height: 24px;
}

.pjm-footer-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.pjm-social-button {
  display: inline-grid;
  width: 46px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--pjm-red);
  color: #ffffff !important;
  transition: background-color 240ms linear, box-shadow 240ms linear, transform 400ms linear;
}

.pjm-social-button svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.pjm-social-button:hover,
.pjm-social-button:focus {
  background: gray;
  box-shadow: 0 0 8px #ffffff;
  transform: rotate(360deg);
}

.pjm-footer-copy {
  padding: 14px 10px;
  background: var(--pjm-red);
  color: #ffffff;
  font-family: var(--pjm-body);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.pjm-whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 10000;
  display: block;
  width: 60px;
  height: 60px;
  background: transparent;
}

.pjm-whatsapp-float img {
  width: 200px;
  max-width: none;
  height: 40px;
  animation: pjm-pulse 1.8s ease-in-out infinite;
}

.pjm-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 700ms ease, transform 700ms ease;
  transition-delay: var(--pjm-delay, 0ms);
}

.pjm-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.elementor-editor-active .pjm-reveal,
.elementor-editor-preview .pjm-reveal,
body.elementor-editor-active .pjm-reveal {
  opacity: 1 !important;
  transform: none !important;
}

@keyframes pjm-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@media (min-width: 768px) {
  .pjm-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pjm-products-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .pjm-container {
    width: min(100% - 40px, 1170px);
  }

  .pjm-header-spacer {
    height: var(--pjm-header-height);
  }

  .pjm-site-header {
    height: var(--pjm-header-height);
    min-height: var(--pjm-header-height);
  }

  .pjm-header-inner {
    height: var(--pjm-header-height);
    min-height: var(--pjm-header-height);
    padding: 0 20px;
  }

  .pjm-site-header .pjm-logo {
    height: var(--pjm-logo-height) !important;
    max-width: 170px !important;
    max-height: var(--pjm-logo-height) !important;
    padding: 0 0 0 15px;
  }

  .pjm-site-header.is-scrolled,
  .pjm-site-header.is-scrolled .pjm-header-inner {
    height: var(--pjm-header-scrolled-height);
    min-height: var(--pjm-header-scrolled-height);
  }

  .pjm-site-header.is-scrolled .pjm-logo {
    height: var(--pjm-logo-scrolled-height) !important;
    max-height: var(--pjm-logo-scrolled-height) !important;
  }

  .pjm-menu-toggle {
    display: none;
  }

  .pjm-menu {
    position: static;
    display: flex;
    flex: 1 1 auto;
    flex-direction: row;
    justify-content: flex-end;
    border: 0;
    box-shadow: none;
  }

  .pjm-mobile-phone {
    display: none;
  }

  .pjm-menu-link {
    display: flex;
    min-height: 50px;
    align-items: center;
    padding: 15px;
    font-size: 13px;
  }

  .pjm-menu-link.is-active,
  .pjm-menu-link:hover,
  .pjm-menu-link:focus {
    padding-bottom: 15px;
    background: var(--pjm-red);
    border-bottom: 0;
  }

  .pjm-phone-pill {
    display: inline-flex;
    align-items: center;
    margin-left: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    background: var(--pjm-red);
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
  }

  .pjm-home-hero {
    min-height: var(--pjm-hero-height, 625px);
    background-image: var(--pjm-hero-desktop);
  }

  .pjm-intro {
    padding-top: 60px;
    padding-bottom: 0;
  }

  .pjm-intro p {
    font-size: 17px;
    line-height: 23px;
  }

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

  .pjm-products {
    padding: 40px 0;
  }

  .pjm-products-grid {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
    justify-items: center;
  }

  .pjm-products .pjm-product-image {
    width: calc(100% - 40px) !important;
    max-width: 701px !important;
    margin: 20px auto !important;
  }

  .pjm-products-text {
    justify-self: start;
    align-self: start;
    padding: 20px 40px 0;
  }

  .pjm-services-cta {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    justify-items: center;
    padding-bottom: 60px;
  }

  .pjm-services-cta .pjm-service-cta-image {
    width: min(100% - 40px, 650px) !important;
    max-width: 650px !important;
    margin: 20px auto !important;
    justify-self: center;
  }

  .pjm-services-cta-text {
    width: min(100%, 560px);
    justify-self: start;
    align-self: start;
    padding: 20px 40px 0;
  }

  .pjm-home-contact {
    grid-template-columns: 3fr 2fr;
  }

  .pjm-home-map .pjm-map-frame,
  .pjm-home-map iframe {
    height: 700px;
  }

  .pjm-home-form {
    min-height: 700px;
  }

  .pjm-about {
    padding-top: 92px;
  }

  .pjm-about .pjm-rich-text {
    max-width: 1370px;
    margin: 0 auto;
  }

  .pjm-services-page {
    padding-top: 35px;
  }

  .pjm-services-page-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 55px;
    align-items: end;
  }

  .pjm-services-page-text {
    padding-left: 70px;
    padding-bottom: 170px;
  }

  .pjm-services-image {
    max-width: none;
    align-self: end;
  }

  .pjm-footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

  .pjm-footer-left {
    text-align: left;
  }

  .pjm-footer-center {
    text-align: center;
  }

  .pjm-footer-right {
    text-align: right;
  }
}

@media (min-width: 1400px) {
  .pjm-container {
    width: min(100% - 40px, 1370px);
  }
}

@media (min-width: 1600px) {
  .pjm-container {
    width: min(100% - 40px, 1540px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pjm-reveal,
  .pjm-logo,
  .pjm-social-button,
  .pjm-whatsapp-float img {
    animation: none !important;
    transition: none !important;
  }

  .pjm-reveal {
    opacity: 1;
    transform: none;
  }
}
