/* MRPM Advertising Solutions — brand palette */

:root {
  --mrpm-red: #800020;
  --mrpm-green: #254f25;
  --mrpm-burgundy: #800020;
  --mrpm-cream: #f5f1e8;
  --mrpm-cream-dark: #e8e0d4;
  --text-dark: #1a1a1a;
  --text-muted: #4a4a4a;
  --font-display: "This Appeal", Georgia, sans-serif;
  --font-body: "Montserrat", system-ui, sans-serif;
  --nav-h: 76px;
  --topbar-h: 36px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Montserrat - Regular */
@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Montserrat - Medium */
@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Montserrat - SemiBold */
@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Montserrat - Bold */
@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Questrial - Regular */
@font-face {
  font-family: "Questrial";
  src: url("fonts/Questrial-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* This Appeal */
@font-face {
  font-family: "This Appeal";
  src: url("fonts/ThisAppeal.ttf") format("truetype");
  font-weight: 400 700; /* Covers all weight variants using the single font file */
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.grecaptcha-badge {
  left: 0 !important;
  right: auto !important;
  width: 70px !important;
  transition: width 0.3s ease !important;
}

/* Optional: Expands the badge smoothly when hovered */
.grecaptcha-badge:hover {
  width: 256px !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-dark);
  background: var(--mrpm-cream);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--mrpm-cream);
}

a {
  color: inherit;
}

/* ——— Topbar ——— */
.topbar {
  position: fixed;
  top: 0;
  left: 1rem;
  right: 1rem;
  z-index: 1001;
  height: var(--topbar-h);
  background: #fff;
  border-radius: 0 0 15px 15px;
}

.topbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.topbar-right {
  display: flex;
  align-items: center;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.topbar-item svg {
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.topbar-item:hover {
  color: var(--mrpm-green);
}

.topbar-item:hover svg {
  stroke: var(--mrpm-green);
}

@media (max-width: 640px) {
  .topbar {
    display: none;
  }

  .navbar {
    top: 1rem;
  }

  .slide-inner {
    padding-top: calc(var(--nav-h) + 3rem);
  }

  .page-hero {
    padding-top: calc(var(--nav-h) + 5rem);
  }
}

/* ——— Navbar (injected from navbar.html) ——— */
.navbar {
  position: fixed;
  top: calc(var(--topbar-h) + 0.5rem);
  left: 1rem;
  right: 1rem;
  z-index: 1000;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
}

.navbar.scrolled {
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.13);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
}

.navbar-brand {
  display: flex;
  align-items: center;
  z-index: 1002;
  text-decoration: none;
}

.navbar-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.navbar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  align-items: center;
  justify-content: center;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-dark);
  padding: 0.35rem 0;
  position: relative;
  transition: color 0.2s;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--mrpm-burgundy);
  transition: width 0.25s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  color: var(--mrpm-burgundy);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.navbar-cta {
  flex-shrink: 0;
}

.mobile-menu-cta {
  display: none;
}

.btn-contact {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--mrpm-red);
  color: #fff;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s;
}

.btn-contact:hover {
  background: var(--mrpm-burgundy);
  transform: translateY(-1px);
}

.navbar-toggler {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 1002;
}

.toggler-bar {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--mrpm-green);
  transition: transform 0.25s, opacity 0.25s, background 0.25s;
}

.navbar-toggler.open .toggler-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.navbar-toggler.open .toggler-bar:nth-child(2) {
  opacity: 0;
}

.navbar-toggler.open .toggler-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.navbar-collapse {
  display: flex;
  align-items: center;
  text-align: center;
  flex: 1;
  justify-content: center;
}

@media (max-width: 992px) {
  .navbar-toggler {
    display: flex;
  }

  .navbar-cta {
    display: none;
  }

  .mobile-menu-cta {
    display: block;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(37, 79, 37, 0.1);
  }

  .mobile-menu-cta .btn-contact {
    display: block;
    text-align: center;
    padding: 0.75rem 1.25rem;
  }

  .navbar-collapse {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 1.25rem 1.5rem 1.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-24px);
    transition: opacity 0.3s ease, visibility 0.3s, transform 0.35s var(--ease-out);
  }

  .navbar-collapse.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .navbar-nav {
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;
  }

  .navbar .navbar-collapse .nav-link {
    font-size: 0.9375rem;
    color: var(--text-dark);
    padding: 0.65rem 0;
    border-bottom: none;
    text-align: center;
  }

  /* suppress desktop underline on mobile */
  .navbar .navbar-collapse .nav-link::after {
    display: none;
  }

  .navbar .navbar-collapse .nav-link:hover,
  .navbar .navbar-collapse .nav-link.active {
    color: var(--mrpm-burgundy);
  }

  /* chevron indicator for dropdown items */
  .navbar .navbar-collapse .nav-item.dropdown > .nav-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
  }

  .navbar .navbar-collapse .nav-item.dropdown > .nav-link::after {
    display: block;
    content: "";
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    flex-shrink: 0;
    margin-bottom: 3px;
    transition: transform 0.25s var(--ease-out);
    background: none;
    position: static;
  }

  .navbar .navbar-collapse .nav-item.dropdown.open > .nav-link::after {
    transform: rotate(-135deg);
    margin-bottom: -3px;
  }

}

/* ——— Hero slider 100vh ——— */
.hero-wrap {
  position: relative;
  height: 100vh;
  min-height: 480px;
}

.hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--mrpm-green);
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s var(--ease-out);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

@media (hover: none) {
  .hero-slider .slide { background-attachment: scroll; }
}

.hero-slider .slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(26, 26, 26, 0.75) 0%,
    rgba(128, 0, 32, 0.35) 45%,
    rgba(37, 79, 37, 0.4) 100%
  );
}

.hero-slider .slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto 20;
  padding: calc(var(--topbar-h) + 0.5rem + var(--nav-h) + 3rem) 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.slide-caption {
  max-width: 36rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 2rem 2.25rem;
  border-radius: 4px;
}

.slide-caption .eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white  );
  margin-bottom: 0.75rem;
}

.slide-caption h2 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero-main-tagline {
  font-family:"This Appeal", Georgia, sans-serif;
  font-weight: 500;
}

.slide-caption p {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.95;
  margin: 0 0 1.5rem;
  line-height: 1.65;
}

.slide-caption .btn-hero {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: var(--mrpm-red);
  color: #fff;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s, box-shadow 0.2s;
}

.slide-caption .btn-hero:hover {
  background: #fff;
  color: var(--mrpm-green);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.hero-controls {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

#sliderDots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.slider-dot {
  width: 28px;
  height: 3px;
  border: none;
  padding: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: width 0.35s var(--ease-out), background 0.35s;
}

.slider-dot.active {
  width: 56px;
  background: var(--mrpm-red);
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--mrpm-green);
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

@media (hover: none) {
  .hero-bg { background-attachment: scroll; }
}

.hero-bg.active {
  opacity: 1;
  z-index: 1;
}

.hero-text-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero-text-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}

.hero-text-panel.active {
  opacity: 1;
  pointer-events: auto;
}

.stats-clients-section {
  background: var(--mrpm-cream);
  display: flex;
  flex-direction: column;
  margin: 2.0rem;
  padding: 4.5rem 0 0;
}

.stats-clients-section .section-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1.5rem 2rem;
}

.clients-table-wrap {
  overflow: hidden;
  flex: 1;
  display: flex;
  justify-content: center;
}

.clients-table-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  /* border-top: 1px solid rgba(79, 37, 37, 0.15);
  border-left: 1px solid rgba(37, 79, 37, 0.15); */
}

.client-table-item {
  height: 110px;
  background: var(--mrpm-cream);
  /* border-right: 1px solid rgba(37, 79, 37, 0.15);
  border-bottom: 1px solid rgba(37, 79, 37, 0.15); */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  transform: perspective(500px) rotateY(90deg);
  opacity: 0;
  transition: background 0.2s, transform 0.55s var(--ease-out), opacity 0.4s;
  transition-delay: var(--flip-delay, 0ms);
}

.client-table-item.flip-in {
  transform: perspective(500px) rotateY(0deg);
  opacity: 1;
}

.client-table-item:hover {
  background: var(--mrpm-cream-dark);
}

.client-table-item img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 900px) {
  .clients-table-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 560px) {
  .clients-table-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.section {
  padding: 4.5rem 1.5rem;
}

#about {
  min-height: 80vh;
  display: flex;
  align-items: flex-start;
  padding: calc(var(--nav-h) + 2rem) 1.5rem 3rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

.section-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mrpm-burgundy);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--mrpm-burgundy);
}

.section-lead { 
  color: var(--text-muted);
  margin: 0.50rem 0 0;
  font-size: 1rem;
}

.bg-cream-dark {
  background: var(--mrpm-cream-dark);
}

.bg-green-band {
  background: var(--mrpm-green);
  color: #f5f1e8;
}

.bg-green-band .section-eyebrow {
  color: var(--mrpm-red);
}

.bg-green-band .section-title {
  color: #fff;
}

.bg-dark-band {
  background: var(--mrpm-cream);
  color: rgba(0, 0, 0, 0.75);
}

.bg-dark-band .section-eyebrow {
  color: var(--mrpm-burgundy);
}

.bg-dark-band .section-title {
  color: var(--mrpm-green);
}

.bg-dark-band .section-lead {
  color: rgba(0, 0, 0, 0.6);
}

.bg-green-band .section-lead {
  color: rgba(255, 255, 255, 0.85);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-visual {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  min-height: 280px;
  /* background: linear-gradient(135deg, var(--mrpm-green) 0%, var(--mrpm-burgundy) 150%); */
  box-shadow: 0 20px 50px rgba(37, 79, 37, 0.2);
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
  mix-blend-mode: overlay;
  opacity: 0.85;
}

.about-visual .accent-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--mrpm-red);
}

.about-copy h3 {
  color: var(--mrpm-green);
  font-size: 1.75rem;
}

.about-copy p {
  color: var(--text-muted);
  margin: 0 0 1rem;
  text-align: justify;
}

/* Stats */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(37, 79, 37, 0.15);
}

@media (max-width: 768px) {
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--mrpm-red);
  font-weight: 600;
  line-height: 1;
}

.stat-number.has-plus::after {
  content: "+";
  display: inline-block;
  margin-left: 2px; /* Adjust space between number and plus */
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mrpm-green);
  margin-top: 0.35rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: #fff;
  border: 1px solid rgba(37, 79, 37, 0.12);
  border-radius: 4px;
  padding: 1.75rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  border-color: var(--mrpm-red);
  box-shadow: 0 12px 40px rgba(211, 36, 44, 0.08);
}

.service-card h3 {
  color: var(--mrpm-green);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Products & Services — inset image cards */
.ps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 992px) {
  .ps-grid { grid-template-columns: 1fr; }
}

.ps-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.25s, transform 0.25s;
  overflow: hidden;
}

.ps-card:hover {
  box-shadow: 0 14px 44px rgba(128, 0, 32, 0.13);
  transform: translateY(-4px);
}

.ps-card-img-wrap {
  padding: 1.1rem 1.1rem 0;
  height: 240px;
  box-sizing: border-box;
}

.ps-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.ps-card-body {
  padding: 1.25rem 1.5rem 1.75rem;
}

.ps-card-body h3 {
  color: var(--mrpm-burgundy);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.ps-card-body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.service-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--mrpm-burgundy), var(--mrpm-red));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 2px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Capabilities list */
.capabilities-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 640px) {
  .capabilities-list {
    grid-template-columns: 1fr;
  }
}

.capabilities-list li {
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--mrpm-red);
  font-size: 0.95rem;
}

/* Gallery strip */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 2px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(37, 79, 37, 0.55) 0%, transparent 50%);
  pointer-events: none;
}

/* Clients grid */
.clients-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
}

/* Careers CTA */
.careers-box {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.careers-box p {
  margin: 0 0 1.25rem;
  opacity: 0.9;
}

.btn-outline-light {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  border: 2px solid #fff;
  color: #fff;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--mrpm-green);
}

/* Contact */
.contact-section {
  background: linear-gradient(180deg, var(--mrpm-cream) 0%, var(--mrpm-cream-dark) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-details p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
}
.contact-details h1 {
  color: var(--mrpm-burgundy);
}

.contact-details strong {
  color: var(--mrpm-green);
}

.contact-details .contact-photo {
  display: block;
  width: 70%;
  max-width: 100%;
  height: auto;
  margin-top: 1.25rem;
  border-radius: 4px;
}

.contact-map {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(37, 79, 37, 0.1);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}

.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: 4px;
  box-shadow: 0 16px 48px rgba(37, 79, 37, 0.1);
  border-top: 4px solid var(--mrpm-red);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mrpm-green);
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(37, 79, 37, 0.2);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--mrpm-cream);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button[type="submit"] {
  margin-top: 0.5rem;
  padding: 0.75rem 2rem;
  background: var(--mrpm-green);
  color: #fff;
  border: none;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-form button[type="submit"]:hover {
  background: var(--mrpm-burgundy);
}

/* Footer */
.site-footer {
  background: var(--mrpm-cream);
  color: var(--black);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 4rem;
  width: 100%;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr; 
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col--brand .footer-logo {
  max-height: 200px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.7);
  margin: 0;
  max-width: 280px;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  margin: 0 0 1.25rem 0;
}

.footer-col p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--black);
  margin: 0 0 0.5rem;
}

.footer-col a {
  color: rgba(0, 0, 0, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--black);
  text-decoration: underline;
}

/* Quick Links - 2 Column Grid Layout */
.footer-links-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 0.50rem 1rem; 
}

.footer-links-grid a {
  font-size: 0.875rem;
  display: inline-block; 
  color: rgba(0, 0, 0, 0.8);
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.25s ease;
}

.footer-links-grid a:hover {
  color: var(--mrpm-red); 
  transform: translateX(6px); 
}

.footer-contact-item {
  display: flex;
  align-items: flex-start; /* Keeps text and icon aligned at the top */
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

/* Force the paragraph rules inside items to drop extra margins */
.footer-contact-item p {
  margin: 0;
}

/* Base style for text contact icons */
.contact-icon {
  fill: var(--black);
  flex-shrink: 0; /* Prevents icon from compressing if text wraps */
  margin-top: 0.15rem; /* Slight nudge down to center with the first line of text */
  transition: fill 0.2s ease;
}

/* Smooth transition when hovering over the parent interactive blocks */
.footer-contact-item:hover .contact-icon,
.footer-contact-item:hover a {
  color: var(--mrpm-red);
  fill: var(--mrpm-red);
}

@media (max-width: 480px) {
  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem 0;
  }
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social {
  display: flex;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.social-link svg {
  fill: var(--black);
  transition: fill 0.2s ease, transform 0.2s ease;
}

.social-link:hover svg {
  fill: var(--mrpm-red); 
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1.5rem 0 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgb(0, 0, 0);
  margin: 0;
}

/* Responsive breakdowns */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.form-msg {
  margin-top: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-family: var(--font-body);
}
.form-msg--success {
  background: rgba(37, 79, 37, 0.12);
  color: var(--mrpm-green);
  border: 1px solid rgba(37, 79, 37, 0.25);
}
.form-msg--error {
  background: rgba(211, 36, 44, 0.08);
  color: var(--mrpm-red);
  border: 1px solid rgba(211, 36, 44, 0.2);
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--mrpm-red);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease-out), visibility 0.3s, transform 0.3s var(--ease-out), background 0.2s;
  z-index: 998;
  box-shadow: 0 4px 18px rgba(211, 36, 44, 0.45);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--mrpm-burgundy);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.page-hero {
  background-color: var(--mrpm-green);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 55vh;
  padding: calc(var(--topbar-h) + 0.5rem + var(--nav-h) + 6rem) 0 6rem;
  color: #fff;
}

.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.page-hero-crumbs {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgb(0, 0, 0);
  margin-bottom: 20px;
  font-family: var(--font-body);
} 

.page-hero-crumbs a {
  color: var(--mrpm-green);
  opacity: 1;
  text-decoration: none;
  transition: opacity .2s;
  /* display: none !important; */
}

.page-hero-crumbs a:hover { opacity: 1; }

.page-hero-crumbs .sep {
  margin: 0 10px;
  opacity: .45;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 600;
  margin: 0 0 1rem;
  color: #fff;
  line-height: 1.05;
  letter-spacing: 10px;
}

.page-hero h1 .accent { color: #ff9f9d; }

.page-hero-lead {
  font-size: 1.05rem;
  opacity: 0.9;
  margin: 0;
  max-width: 640px;
  line-height: 1.65;
  font-weight: 300;
}

.btn-read-more {
  display: inline-block;
  margin-top: 1.35rem;
  padding: 0.7rem 1.75rem;
  border: 2px solid var(--mrpm-green);
  color: var(--mrpm-green);
  background: transparent;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}

.btn-read-more:hover {
  background: var(--mrpm-green);
  color: #fff;
}

.bg-green-band .btn-read-more {
  border-color: rgba(255, 255, 255, 0.65);
  color: rgba(255, 255, 255, 0.9);
}

.bg-green-band .btn-read-more:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff;
}

.bg-dark-band .btn-read-more {
  border-color: var(--mrpm-green);
  color: var(--mrpm-green);
}

.bg-dark-band .btn-read-more:hover {
  background: var(--mrpm-green);
  border-color: var(--mrpm-green);
  color: #fff;
}

.section-cta,
.clients-cta {
  text-align: center;
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(37, 79, 37, 0.12);
}

.bg-cream-dark .section-cta {
  border-color: rgba(37, 79, 37, 0.1);
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .mv-grid { grid-template-columns: 1fr; }
}

.mv-card {
  padding: 2.5rem 2rem;
  background: #fff;
  border-radius: 4px;
  border-left: 5px solid var(--mrpm-red);
  box-shadow: 0 8px 32px rgba(37, 79, 37, 0.07);
}

.mv-card h3 {
  color: var(--mrpm-green);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.mv-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 992px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; }
}

.team-card {
  text-align: center;
  padding: 2rem 1.25rem;
  background: #fff;
  border: 1px solid rgba(37, 79, 37, 0.12);
  border-radius: 4px;
  border-top: 4px solid var(--mrpm-green);
  transition: box-shadow 0.25s;
}

.team-card:hover {
  box-shadow: 0 12px 40px rgba(37, 79, 37, 0.1);
}

.team-avatar {
  width: 76px;
  height: 76px;
  background: linear-gradient(135deg, var(--mrpm-green), var(--mrpm-burgundy));
  border-radius: 50%;
  margin: 0 auto 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #fff;
  font-weight: 600;
}

.team-card h3 {
  color: var(--mrpm-green);
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.team-card .team-title {
  font-size: 0.775rem;
  color: var(--mrpm-burgundy);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
  margin: 0;
}

.products-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem 1.25rem;
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
}

@media (max-width: 768px) {
  .products-detail-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .products-detail-grid { grid-template-columns: 1fr; }
}

.products-detail-grid li {
  padding: 0.6rem 0.9rem;
  border-left: 3px solid var(--mrpm-red);
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.bg-green-band .products-detail-grid li {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
}

.product-section-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.25rem;
}

.product-section-head .service-icon {
  margin: 0;
  flex-shrink: 0;
}

.product-section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--mrpm-green);
  margin: 0;
}

.bg-green-band .product-section-head h2 {
  color: #fff;
}

/* ——— Machines grid ——— */
.machines-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 992px) {
  .machines-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .machines-grid { grid-template-columns: 1fr; }
}

.machine-card {
  padding: 1.35rem 1rem;
  background: #fff;
  border: 1px solid rgba(37, 79, 37, 0.12);
  border-radius: 4px;
  text-align: center;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.machine-card:hover {
  border-color: var(--mrpm-red);
  box-shadow: 0 8px 28px rgba(211, 36, 44, 0.07);
}

.machine-icon {
  width: 100%;
  height: auto;
  background: linear-gradient(135deg, var(--mrpm-green), var(--mrpm-burgundy));
  border-radius: 2px;
  margin: 0 auto 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.machine-icon svg {
  width: 26px;
  height: 26px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.machine-card p {
  font-size: 0.875rem;
  color: var(--mrpm-green);
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.nav-item.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;             /* flush — no gap, prevents hover-miss */
  left: 50%;
  transform: translateX(-50%);
  min-width: 230px;
  background: var(--mrpm-green);
  border-top: 3px solid var(--mrpm-red);
  padding: 0.4rem 0 0.5rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s var(--ease-out), visibility 0.2s;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
  z-index: 200;
}

.navbar.scrolled .dropdown-menu {
  background: #fff;
  box-shadow: 0 8px 32px rgba(37, 79, 37, 0.14);
}

.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.dropdown-item {
  display: block;
  padding: 0.55rem 1.35rem;
  font-size: 0.775rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
  white-space: nowrap;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding-left: 1.6rem;
}

.navbar.scrolled .dropdown-item {
  color: var(--text-dark);
}

.navbar.scrolled .dropdown-item:hover {
  background: var(--mrpm-cream);
  color: var(--mrpm-red);
  padding-left: 1.6rem;
}

@media (max-width: 992px) {
  .dropdown-menu {
    position: static;
    transform: none;
    z-index: auto;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease-out), opacity 0.3s, visibility 0.3s;
    background: var(--mrpm-cream);
    border: none;
    border-radius: 8px;
    box-shadow: none;
    padding: 0;
    margin: 0 1rem;
    pointer-events: none;
  }

  .nav-item.dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 300px;
    margin: 0.35rem 1rem 0;
    /* pointer-events: auto; */
  }

  .dropdown-item {
    display: block;
    padding: 0.95rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    text-align: center;
    border-bottom: none;
    white-space: normal;
    transition: color 0.2s;
  }

  .dropdown-item:hover,
  .navbar.scrolled .dropdown-item:hover {
    background: transparent;
    color: var(--mrpm-red);
    padding: 0.95rem;
  }

  .navbar.scrolled .dropdown-item {
    color: var(--text-muted);
  }
}

.product-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.product-list li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.45;
}

.product-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--mrpm-red);
  font-size: 0.7rem;
  top: 0.15em;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 992px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}

.process-steps li {
  position: relative;
  padding: 1.75rem 1.25rem;
  min-height: 180px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-left: 3px solid var(--mrpm-red);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  overflow: hidden;
  box-shadow: inset 0 0 0 0 transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.process-steps li:hover {
  border-left-color: var(--mrpm-burgundy);
  box-shadow: inset 0 0 0 3px var(--mrpm-burgundy);
}

.process-steps li::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.42) 100%);
  z-index: 0;
}

.process-steps li > * {
  position: relative;
  z-index: 1;
}

.step-icon-wrap {
  width: 46px;
  height: 46px;
  background: var(--mrpm-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.step-label {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #fff;
  line-height: 1.3;
  padding: 3px 0;
  border-radius: 4px;
  transition: background .25s ease, padding .25s ease;
}

.process-steps li:hover .step-label {
  background: var(--mrpm-burgundy);
  padding: 4px 10px;
}

.hww-step-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 4rem;
}

.hww-step-row:last-child {
  margin-bottom: 0;
}

.hww-step-row--reverse {
  direction: rtl;
}

.hww-step-row--reverse > * {
  direction: ltr;
}

.hww-step-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.hww-step-copy {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hww-step-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--mrpm-red);
  line-height: 1;
  opacity: 0.35;
}

.hww-step-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  color: var(--mrpm-green);
  margin: 0;
}

.hww-step-copy p {
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

.hww-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hww-card {
  padding: 1.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.07);
  border-left: 3px solid var(--mrpm-red);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hww-card-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1;
}

.hww-card-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0;
}

.hww-card-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 992px) {
  .hww-step-row {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .hww-step-row--reverse {
    direction: ltr;
  }

  .hww-step-media img {
    height: 260px;
  }

  .hww-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .hww-cards {
    grid-template-columns: 1fr;
  }
}


.client-roster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 2rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(37, 79, 37, 0.15);
}

@media (max-width: 768px) {
  .client-roster {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .client-roster {
    grid-template-columns: 1fr;
  }
}

.client-roster-item {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(37, 79, 37, 0.08);
  line-height: 1.4;
}

/* Reveal */
.reveal-hidden {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.reveal.visible,
.reveal.reveal-hidden.visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.55rem 0.8rem;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  z-index: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-cta-row {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(37, 79, 37, 0.12);
}

.btn-read-more--ghost {
  border-color: var(--text-muted);
  color: var(--text-muted);
}
.btn-read-more--ghost:hover {
  background: var(--text-muted);
  color: #fff;
  border-color: var(--text-muted);
}

.featured-projects-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.featured-project-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.featured-project-card:nth-child(even) {
  direction: rtl;
}
.featured-project-card:nth-child(even) > * {
  direction: ltr;
}

.featured-project-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 2px;
}
.featured-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
  display: block;
}
.featured-project-card:hover .featured-project-image img {
  transform: scale(1.04);
}

.featured-project-content {
  padding: 0.5rem 0;
}
.featured-project-content h3 {
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--text-dark);
  margin: 0.35rem 0 0.6rem;
  line-height: 1.2;
}

.project-category {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mrpm-red);
  margin: 0 0 0.2rem;
}

.project-company {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0 0 0.85rem;
}
.project-description {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.75;
  margin: 0;
}

/* ——— Other projects grid ——— */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.project-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
  display: block;
}
.project-card:hover .project-card-image img {
  transform: scale(1.06);
}

.project-card-content {
  padding: 1rem 1.15rem 1.25rem;
}
.project-card-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0.2rem 0 0.4rem;
  line-height: 1.3;
  color: var(--text-dark);
}
.project-card-content .project-description {
  font-size: 0.8rem;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 992px) {
  .featured-project-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .featured-project-card:nth-child(even) {
    direction: ltr;
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 580px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.gallery-thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: block;
  border-radius: 2px;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out), opacity 0.2s;
  display: block;
}
.gallery-thumb:hover img {
  transform: scale(1.06);
  opacity: 0.88;
}

@media (max-width: 992px) {
  .gallery-page-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 580px) {
  .gallery-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.93);
}

.lightbox-img {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  transition: opacity 0.15s;
  display: block;
}

.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1.25rem;
  z-index: 2;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 2.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.45rem;
  transition: color 0.15s, transform 0.15s;
}
.lightbox-close:hover {
  color: #fff;
  transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.85);
  font-size: 2.2rem;
  line-height: 1;
  padding: 0.6rem 0.85rem;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.15s, color 0.15s;
}
.lightbox-prev { left: 0.75rem; }
.lightbox-next { right: 0.75rem; }
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.lightbox-counter {
  position: fixed;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  margin: 0;
  white-space: nowrap;
}

.perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.perk-card {
  background: #fff;
  border-radius: 4px;
  padding: 2rem 1.75rem;
  border: 1px solid rgba(37, 79, 37, 0.12);
  transition: box-shadow 0.25s, border-color 0.25s;
}

.perk-card:hover {
  border-color: var(--mrpm-burgundy);
  box-shadow: 0 8px 32px rgba(128, 0, 32, 0.08);
}

.perk-icon {
  width: 52px;
  height: 52px;
  background: rgba(37, 79, 37, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.perk-icon svg {
  stroke: var(--mrpm-green);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.perk-card h3 {
  font-size: 1.15rem;
  color: var(--mrpm-green);
  margin-bottom: 0.5rem;
}

.perk-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.job-card {
  background: #fff;
  border-radius: 4px;
  padding: 2rem;
  border: 1px solid rgba(37, 79, 37, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow 0.25s, border-color 0.25s;
}

.job-card:hover {
  border-color: var(--mrpm-burgundy);
  box-shadow: 0 12px 40px rgba(128, 0, 32, 0.08);
}

.job-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.job-dept {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mrpm-burgundy);
  margin: 0 0 0.35rem;
}

.job-title {
  font-size: 1.10rem;
  font-family: var(--font-body);
  color: var(--text-dark);
  margin: 0;
}

.job-type {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: rgba(37, 79, 37, 0.1);
  color: var(--mrpm-green);
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  white-space: nowrap;
}

.job-card-image-btn {
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 2px;
  overflow: hidden;
  display: block;
}

.job-card-image-btn img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s var(--ease-out), opacity 0.2s;
}

.job-card-image-btn:hover img {
  transform: scale(1.02);
  opacity: 0.92;
}

.job-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
  flex: 1;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.job-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--mrpm-cream-dark);
  padding: 0.25rem 0.65rem;
  border-radius: 2px;
}

.job-tag svg {
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.btn-apply {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--mrpm-burgundy);
  color: #fff;
  border-radius: 2px;
  align-self: flex-start;
  transition: background 0.2s, transform 0.2s;
}

.btn-apply:hover {
  background: var(--mrpm-green);
  transform: translateY(-1px);
}

@media (max-width: 1100px) {
  .perks-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .jobs-grid { grid-template-columns: 1fr; }
  .perks-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .perks-grid { grid-template-columns: 1fr; }
}

.news-ticker-section {
  display: flex;
  align-items: stretch;
  height: 52px;
  overflow: hidden;
  background: var(--mrpm-green);
  color: #fff;
}

.ticker-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 1.25rem;
  background: var(--mrpm-burgundy);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-label svg {
  flex-shrink: 0;
}

.ticker-track-wrap {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
}

.ticker-track-wrap::before,
.ticker-track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  z-index: 1;
  pointer-events: none;
}

.ticker-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--mrpm-green), transparent);
}

.ticker-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--mrpm-green), transparent);
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
  will-change: transform;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.ticker-category {
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.18);
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
}

.ticker-date {
  font-size: 0.68rem;
  opacity: 0.6;
}

.ticker-sep {
  opacity: 0.3;
  font-size: 0.6rem;
}

.ticker-cta {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0 1.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  transition: background 0.2s;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.ticker-cta:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 640px) {
  .ticker-label { padding: 0 0.75rem; font-size: 0.6rem; }
  .ticker-cta { padding: 0 0.75rem; }
  .ticker-item { padding: 0 1rem; font-size: 0.75rem; }
}


.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.news-card-img {
  margin: -2rem -2rem 0;
  overflow: hidden;
  border-radius: 4px 4px 0 0;
  aspect-ratio: 10 / 7;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease-out);
}

.news-card:hover .news-card-img img {
  transform: scale(1.04);
}

.news-card {
  background: #fff;
  border-radius: 4px;
  padding: 2rem;
  border: 1px solid rgba(37, 79, 37, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow 0.25s, border-color 0.25s;
}

.news-card:hover {
  border-color: var(--mrpm-burgundy);
  box-shadow: 0 12px 40px rgba(128, 0, 32, 0.08);
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.news-card-category {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(37, 79, 37, 0.1);
  color: var(--mrpm-green);
  padding: 0.2rem 0.65rem;
  border-radius: 2px;
}

.news-card-date {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.news-card-title {
  font-size: 1.15rem;
  font-family: var(--font-body);
  color: var(--text-dark);
  margin: 0;
  line-height: 1.3;
}

.news-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
  flex: 1;
}

.news-card-body {
  display: none;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(37, 79, 37, 0.1);
}

.news-card.expanded .news-card-body {
  display: block;
}

.news-card-toggle {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--mrpm-burgundy);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.news-card-toggle:hover {
  color: var(--mrpm-green);
}

@media (max-width: 900px) {
  .news-grid { grid-template-columns: 1fr; }
}

.news-article-section {
  padding-top: 3rem;
  padding-bottom: 4.5rem;
}

.news-article-section h1 {
  color: #000;
}

.news-article-inner {
  max-width: 760px;
  margin: 0 auto;
}

.news-article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.news-article-body p {
    white-space: pre-wrap;
    text-align: justify;
}

.news-article-body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin: 0 0 2.5rem;
}

.news-article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mrpm-burgundy);
  text-decoration: none;
  transition: color 0.2s;
}

.news-article-back:hover {
  color: var(--mrpm-green);
}

.news-article-back svg {
  flex-shrink: 0;
}

a.news-card-toggle {
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (min-width: 1100px) {
  .slide-inner {
    transform: translateX(1rem);
    /* left: 1rem; */
  }
}

#sign-manufacturing,
#large-format,
#traffic-systems {
  padding-bottom: 1.5rem !important; 
  padding-top: 1.5rem !important; 
}

.product-slider-container {
  position: relative;
  width: 100%;
  margin: 0 0 0 0 !important;
  padding: 0 !important;
}

/* 3. Style the gallery viewport track layout */
.product-slider-track {
  display: flex;
  gap: 16px;          
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px; /* Room for card shadow overlays */
  
  /* Hide native scrollbars */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.product-slider-track::-webkit-scrollbar {
  display: none;
}

/* 4. Individual Card Aspect-Ratio */
.product-thumb-slide {
  flex: 0 0 auto;
  width: 210px;               
  height: 210px;              
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  border-radius: 8px;         
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.product-thumb-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;          
  display: block;
  transition: transform 0.3s ease;
}

.product-thumb-slide:hover img {
  transform: scale(1.03);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(37, 79, 37, 0.95); /* brand green palette overlay */
  color: #ffffff;
  border: none;
  font-size: 1.5rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, background 0.2s ease, transform 0.2s ease;
}

.product-slider-container:hover .slider-arrow {
  opacity: 1;
  pointer-events: auto;
}

.slider-arrow:hover {
  background: rgb(24, 53, 24);
  transform: translateY(-50%) scale(1.08);
}

.prev-arrow { left: 10px; }
.next-arrow { right: 10px; }

@media (max-width: 768px) {
  .slider-arrow {
    display: none !important;
  }
}