/* Plumbing CMS theme — colors from site theme settings */

:root {
  --pl-secondary: var(--secondary-color, #092942);
  --pl-navy: var(--pl-secondary);
  --pl-navy-deep: color-mix(in srgb, var(--pl-secondary) 88%, #000 12%);
  --pl-blue-bright: var(--primary-color);
  --pl-blue-soft: color-mix(in srgb, var(--primary-color) 70%, #fff 30%);
  --pl-yellow: #eab206;
  --pl-ink: #242424;
  --pl-muted: #898989;
  --pl-line: #e2e2e2;
  --pl-paper: #f1efef;
  --pl-white: #ffffff;
  --pl-max: 1200px;
  --pl-font: "Open Sans", "Segoe UI", sans-serif;
  --pl-display: "Poppins", "Montserrat", sans-serif;
}

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

html { scroll-behavior: smooth; }

body.plumbing-theme {
  margin: 0;
  font-family: var(--pl-font);
  color: var(--pl-ink);
  background: var(--pl-white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.pl-container {
  width: 100%;
  max-width: var(--pl-max);
  margin-inline: auto;
  padding-left: 15px;
  padding-right: 15px;
}

/* Full-bleed section backgrounds; content stays in .pl-container */
.pl-site-contents {
  width: 100%;
  max-width: none;
  margin: 0;
  background: transparent;
}

.pl-site-contents > .pl-hero,
.pl-site-contents > .pl-section,
.pl-site-contents > .pl-page-content,
.pl-site-contents > .pl-nav-bar,
.pl-site-contents > .pl-gallery {
  width: 100%;
  max-width: none;
}

.pl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.45rem;
  background: linear-gradient(to bottom, var(--primary-color) 50%, color-mix(in srgb, var(--primary-color) 85%, #000 15%) 50%);
  color: var(--pl-white) !important;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: 0;
  border-radius: 3px;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.pl-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.pl-btn--yellow {
  background: linear-gradient(to bottom, #eab206 50%, #c1a10f 50%);
  color: #111 !important;
}

.pl-btn--outline {
  background: transparent;
  border: 2px solid var(--pl-white);
  color: var(--pl-white) !important;
}

.pl-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.pl-eyebrow {
  display: inline-block;
  color: var(--pl-blue-bright);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.pl-sec-title {
  margin: 0 0 15px;
  font-family: var(--pl-display);
  font-size: 38px;
  line-height: 48px;
  font-weight: 700;
  color: var(--pl-ink);
  letter-spacing: 0.15px;
}

.pl-sec-title::after {
  content: "";
  display: inline-block;
  width: 35px;
  height: 2px;
  background: var(--primary-color);
  margin-left: 10px;
  vertical-align: middle;
}

.pl-title-wrap--center .pl-sec-title::after {
  display: block;
  width: 76px;
  height: 3px;
  background: var(--primary-color);
  margin: 12px auto 0;
}

.pl-sec-desc {
  margin: 0;
  color: var(--pl-muted);
  font-size: 15px;
  line-height: 26px;
  letter-spacing: 0.3px;
}

.pl-title-wrap { margin-bottom: 35px; }
.pl-title-wrap--center {
  text-align: center;
  margin-bottom: 45px;
}
.pl-title-wrap--center .pl-sec-desc {
  margin-inline: auto;
  max-width: 870px;
}

.pl-section {
  padding: 90px 0;
  width: 100%;
  max-width: none;
}

.pl-section--paper {
  background: var(--pl-paper);
}

.pl-section--soft {
  background: color-mix(in srgb, var(--primary-color) 14%, #fff 86%);
}

.pl-section--navy {
  background: var(--pl-navy);
  color: var(--pl-white);
}

.pl-section--navy .pl-sec-title,
.pl-section--navy .pl-eyebrow { color: var(--pl-white); }
.pl-section--navy .pl-sec-title::after { background: var(--pl-yellow); }
.pl-section--navy .pl-eyebrow { color: var(--pl-yellow); }
.pl-section--navy .pl-sec-desc { color: rgba(255,255,255,0.85); }

.pl-section--accent {
  background: var(--primary-color);
  color: var(--pl-white);
}

.pl-section--accent .pl-sec-title,
.pl-section--accent .pl-sec-desc,
.pl-section--accent .pl-eyebrow {
  color: var(--pl-white);
}

.pl-section--accent .pl-sec-title::after {
  background: #fff;
}

.pl-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--secondary-color);
  font-weight: 700;
  margin-top: 0.7rem;
  text-transform: uppercase;
  font-size: 0.82rem;
}

/* ---- Header ---- */
.pl-header { position: relative; z-index: 1000; width: 100%; }

.pl-header-top {
  background: var(--pl-secondary);
  color: var(--pl-white);
  width: 100%;
}

.pl-header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 110px;
  padding: 0.85rem 0;
}

.pl-logo img { max-height: 72px; width: auto; }
.pl-logo-text {
  color: var(--pl-white);
  font-family: var(--pl-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: 0.02em;
}

.pl-mobile-panel .pl-logo-text {
  color: var(--pl-navy);
}

.pl-header-contacts {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.pl-contact-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.pl-contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.35);
  background: transparent;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.pl-contact-icon--phone {
  border-color: rgba(255,255,255,0.55);
  color: var(--pl-white);
  font-weight: 800;
}

.pl-247 {
  font-family: var(--pl-display);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.pl-contact-item .label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.92);
  margin-bottom: 0.15rem;
  font-weight: 600;
}

.pl-contact-item a,
.pl-contact-item .value {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}

.pl-contact-item a:hover { color: var(--pl-white); }

/* ---- Red nav (uses theme primary color) ---- */
.pl-nav-bar {
  background: linear-gradient(
    to bottom,
    var(--primary-color) 50%,
    color-mix(in srgb, var(--primary-color) 82%, #000 18%) 50%
  );
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

/* Fallback when color-mix is unsupported */
@supports not (background: color-mix(in srgb, red 50%, black)) {
  .pl-nav-bar {
    background: var(--primary-color);
  }
}

.pl-nav-bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.55) 0 6px,
    transparent 6px 12px
  );
  opacity: 0.7;
}

.pl-nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  min-height: 58px;
}

.pl-nav { width: 100%; }

.pl-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
}

.pl-nav li { position: relative; flex: 0 0 auto; }

.pl-nav li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: rgba(255,255,255,0.28);
}

.pl-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0 1.45rem;
  min-height: 58px;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--pl-white);
}

.pl-nav a:hover,
.pl-nav .current > a,
.pl-nav li.current-menu-item > a,
.pl-nav li.current_page_item > a {
  color: var(--pl-yellow);
  background: rgba(0,0,0,0.08);
}

.pl-nav-toggle {
  display: none;
  border: 0;
  background: rgba(0,0,0,0.2);
  color: var(--pl-white);
  width: 42px;
  height: 42px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 1.15rem;
}

.pl-mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(9, 41, 66, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.pl-mobile-nav.is-open { opacity: 1; pointer-events: auto; }

.pl-mobile-panel {
  width: min(88vw, 360px);
  height: 100%;
  margin-left: auto;
  background: var(--pl-white);
  padding: 1.25rem;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  overflow-y: auto;
}
.pl-mobile-nav.is-open .pl-mobile-panel { transform: translateX(0); }

.pl-mobile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.pl-mobile-close {
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--pl-navy);
}

.pl-mobile-menu a {
  display: block;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--pl-line);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
}

/* ---- Hero ---- */
.pl-hero {
  position: relative;
  min-height: clamp(480px, 58vh, 640px);
  display: flex;
  align-items: center;
  color: var(--pl-white);
  background: var(--pl-navy) center / cover no-repeat;
  overflow: hidden;
  width: 100%;
  max-width: none;
}

.pl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 28, 48, 0.35) 0%, rgba(8, 28, 48, 0.08) 45%, rgba(8, 28, 48, 0.05) 100%);
  z-index: 1;
}

.pl-hero .pl-container {
  position: relative;
  z-index: 2;
  padding-top: 3.5rem;
  padding-bottom: 3.75rem;
}

.pl-hero-content { max-width: 720px; }

.pl-hero-badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.45rem 0.85rem;
  background: var(--pl-secondary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
}

.pl-hero-title {
  margin: 0 0 1.35rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  font-family: var(--pl-display);
  font-weight: 800;
  line-height: 1.05;
}

.pl-hero-line {
  display: inline-block;
  font-style: italic;
}

.pl-hero-line--1 {
  color: color-mix(in srgb, var(--primary-color) 55%, #fff 45%);
  font-size: clamp(2.1rem, 5vw, 3.35rem);
  font-family: var(--pl-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.pl-hero-line--2 {
  color: var(--pl-secondary);
  background: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 4.4vw, 2.85rem);
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem 0.28rem;
  margin: 0.15rem 0;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.pl-hero-line--3,
.pl-hero-line--4,
.pl-hero-line--5 {
  color: #fff;
  font-size: clamp(1.7rem, 4vw, 2.55rem);
  font-family: var(--pl-display);
  font-weight: 800;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

.pl-hero-title:has(> .pl-hero-line:only-child) .pl-hero-line--1 {
  color: #fff;
  font-style: normal;
  text-shadow: 0 2px 14px rgba(0,0,0,0.35);
}

.pl-hero-text {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.95);
  max-width: 34rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}

.pl-hero .pl-btn-row { margin-top: 1.35rem; }

.pl-hero .pl-btn--yellow {
  background: linear-gradient(to bottom, #f0c42a 0%, #eab206 48%, #c98f08 52%, #c1a10f 100%);
  color: #111 !important;
  font-size: 0.88rem;
  padding: 0.95rem 1.55rem;
  border-radius: 4px;
  box-shadow: 0 4px 0 #9a7a0a;
}

.pl-hero--plain {
  background: linear-gradient(120deg, var(--pl-secondary) 0%, color-mix(in srgb, var(--pl-secondary) 70%, var(--primary-color) 30%) 55%, var(--primary-color) 100%);
}

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

.pl-about-grid--text-only {
  grid-template-columns: 1fr;
}

.pl-about-media {
  position: relative;
  min-height: 0;
}

.pl-about-img-main img {
  width: 100%;
  border-radius: 4px;
  object-fit: cover;
  min-height: 320px;
}

.pl-about-img-float {
  position: absolute;
  right: -4%;
  bottom: -8%;
  width: min(48%, 220px);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(9, 41, 66, 0.18);
  border: 4px solid #fff;
  background: #fff;
}

.pl-about-img-float img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.pl-bullet-list {
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.65rem;
}

.pl-bullet-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--pl-muted);
}

.pl-bullet-list i {
  color: var(--pl-blue-bright);
  margin-top: 0.2rem;
}

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

.pl-service-card {
  background: var(--pl-white);
  border: 1px solid var(--pl-line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pl-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(9, 41, 66, 0.12);
}

.pl-service-card > img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.pl-service-body { padding: 1.15rem 1.2rem 1.35rem; }

.pl-service-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-family: var(--pl-display);
  color: var(--pl-navy);
}

.pl-service-body h3 a:hover { color: var(--pl-blue-bright); }

.pl-service-body p {
  margin: 0;
  color: var(--pl-muted);
  font-size: 0.94rem;
}

/* ---- Why ---- */
.pl-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.pl-why-grid > div:only-child {
  grid-column: 1 / -1;
}

.pl-why-cards {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.15rem;
}

.pl-why-card {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--pl-white);
  border-left: 4px solid var(--secondary-color);
  border-radius: 3px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

.pl-why-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--secondary-color);
  color: var(--pl-white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.pl-why-card h4 { margin: 0 0 0.25rem; font-size: 1rem; color: var(--pl-navy); }
.pl-why-card p { margin: 0; color: var(--pl-muted); font-size: 0.9rem; }

/* ---- CTA ---- */
.pl-cta {
  background: var(--primary-color);
  color: var(--pl-white);
}

.pl-cta .pl-sec-title { color: var(--pl-white); }
.pl-cta .pl-sec-title::after { background: #fff; }
.pl-cta .pl-eyebrow { color: rgba(255,255,255,0.9); }
.pl-cta p { color: rgba(255,255,255,0.92); max-width: none; margin: 0; }

.pl-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.pl-cta-inner > div:first-child {
  flex: 1 1 560px;
}

/* ---- FAQ ---- */
.pl-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.pl-accordion {
  width: 100%;
  max-width: none;
}

.pl-accordion details {
  background: var(--pl-white);
  border: 1px solid var(--pl-line);
  border-radius: 3px;
  margin-bottom: 0.7rem;
  overflow: hidden;
}

.pl-accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.15rem;
  font-weight: 700;
  color: var(--pl-navy);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.pl-accordion summary::-webkit-details-marker { display: none; }
.pl-accordion summary::after {
  content: "+";
  color: var(--pl-blue-bright);
  font-weight: 700;
}
.pl-accordion details[open] summary::after { content: "–"; }

.pl-accordion .pl-accordion-body {
  padding: 0 1.15rem 1.15rem;
  color: var(--pl-muted);
}

/* ---- Testimonials (split image + primary panel slider) ---- */
.pl-testimonial {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
  background: transparent;
}

.pl-testimonial-slider {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
}

.pl-testimonial-track {
  position: relative;
  width: 100%;
}

.pl-testimonial-slide {
  display: none;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
  width: 100%;
}

.pl-testimonial-slide.is-active {
  display: grid;
}

.pl-testimonial-media {
  position: relative;
  min-height: 420px;
  background: #1a1a1a;
  overflow: hidden;
}

.pl-testimonial-media img,
.pl-testimonial-media-fallback {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.pl-testimonial-media-fallback {
  background: linear-gradient(135deg, color-mix(in srgb, var(--pl-secondary) 80%, #fff 20%), var(--pl-secondary));
}

.pl-testimonial-panel {
  background: var(--primary-color);
  color: #fff;
  padding: 3.25rem 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.pl-testimonial-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.55rem;
}

.pl-testimonial-heading {
  margin: 0 0 1.15rem;
  font-family: var(--pl-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
}

.pl-testimonial-heading::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: #fff;
  margin-top: 0.85rem;
}

.pl-testimonial-quote {
  margin: 0 0 1.5rem;
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.95);
  max-width: 34rem;
}

.pl-testimonial-author {
  margin: 0;
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.92);
}

.pl-testimonial-dots {
  position: absolute;
  right: 1.5rem;
  bottom: 1.35rem;
  z-index: 3;
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.pl-testimonial-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.pl-testimonial-dot.is-active {
  background: #fff;
}

.pl-testimonial-dot:hover {
  background: rgba(255,255,255,0.55);
}

/* ---- Blog ---- */
.pl-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.pl-blog-card {
  background: var(--pl-white);
  border: 1px solid var(--pl-line);
  border-radius: 4px;
  overflow: hidden;
}

.pl-blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.pl-blog-body { padding: 1.15rem; }

.pl-blog-tag {
  display: inline-block;
  color: var(--pl-blue-bright);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.pl-blog-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--pl-navy);
}

.pl-blog-body p {
  margin: 0;
  color: var(--pl-muted);
  font-size: 0.92rem;
}

/* ---- Inner ---- */
.pl-page-content { padding: 3rem 0 4rem; }

/* ---- Pre-footer contacts + Footer ---- */
.pl-prefooter-contacts {
  width: 100%;
  background: color-mix(in srgb, var(--pl-secondary) 78%, #000 22%);
  color: #fff;
}

.pl-prefooter-contacts-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  padding: 1.35rem 15px;
  align-items: center;
}

.pl-prefooter-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.pl-prefooter-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.95rem;
}

.pl-prefooter-contact-item .label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.2rem;
}

.pl-prefooter-contact-item .value {
  color: rgba(255,255,255,0.82);
  font-size: 0.92rem;
  line-height: 1.45;
}

.pl-prefooter-phone {
  font-weight: 800;
  font-size: 1.05rem !important;
  color: #fff !important;
}

.pl-footer {
  background: var(--pl-secondary);
  color: rgba(255,255,255,0.82);
  padding: 3.5rem 0 1.5rem;
  width: 100%;
  max-width: none;
}

.pl-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.pl-footer .pl-logo {
  display: inline-block;
  margin-bottom: 0.85rem;
}

.pl-footer .pl-logo img {
  max-height: 44px;
}

.pl-footer .pl-logo-text {
  color: #fff;
}

.pl-footer-heading,
.pl-footer h4 {
  margin: 0 0 1.1rem;
  color: var(--pl-white);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pl-footer-heading::after,
.pl-footer h4::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  background: var(--primary-color);
  margin-top: 0.65rem;
}

.pl-footer-links li {
  position: relative;
}

.pl-footer-links a,
.pl-footer-links span,
.pl-footer-contact a,
.pl-footer-contact span {
  display: block;
  padding: 0.35rem 0 0.35rem 1rem;
  color: rgba(255,255,255,0.78);
  position: relative;
}

.pl-footer-links a::before,
.pl-footer-links span::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0.3rem;
  color: rgba(255,255,255,0.65);
  font-weight: 700;
}

.pl-footer-links a:hover,
.pl-footer-contact a:hover { color: var(--pl-yellow); }

.pl-footer-contact li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: 0.55rem;
}

.pl-footer-contact a,
.pl-footer-contact span {
  padding-left: 0;
}

.pl-footer-contact i {
  color: var(--pl-blue-soft);
  margin-top: 0.3rem;
}

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

.pl-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: grid;
  place-items: center;
}

.pl-footer-social a:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}

.pl-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.15rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

/* ---- Gallery (Emergency Photos) ---- */
.pl-gallery {
  width: 100%;
  max-width: none;
  background: var(--pl-paper);
}

.pl-gallery-head {
  background: var(--pl-paper);
  padding: 70px 0 55px;
  text-align: center;
  width: 100%;
}

.pl-gallery-head .pl-sec-title {
  margin-bottom: 0;
}

.pl-gallery-grid {
  display: grid;
  grid-template-columns: repeat(var(--pl-gallery-cols, 4), minmax(0, 1fr));
  gap: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: #111;
}

.pl-gallery-item {
  position: relative;
  display: block;
  margin: 0;
  overflow: hidden;
  background: #1a1a1a;
  min-height: 0;
}

.pl-gallery-item img {
  width: 100%;
  height: clamp(200px, 28vw, 320px);
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

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

.pl-gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem 0.85rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.72));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.pl-gallery-item:hover .pl-gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .pl-services-grid,
  .pl-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pl-footer-grid { grid-template-columns: 1fr 1fr; }
  .pl-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pl-testimonial-slide { grid-template-columns: 1fr; min-height: 0; }
  .pl-testimonial-media,
  .pl-testimonial-media img,
  .pl-testimonial-media-fallback { min-height: 280px; }
  .pl-testimonial-panel { padding: 2.25rem 1.5rem 3.25rem; }
}

@media (max-width: 900px) {
  .pl-about-grid,
  .pl-why-grid { grid-template-columns: 1fr; }

  .pl-sec-title {
    font-size: 28px;
    line-height: 36px;
  }

  .pl-section { padding: 60px 0; }

  .pl-nav { display: none; }
  .pl-nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .pl-nav-inner { justify-content: flex-end; min-height: 52px; padding: 0.35rem 0; }

  .pl-header-top-inner { flex-direction: column; align-items: flex-start; }
  .pl-header-contacts { flex-direction: column; align-items: flex-start; gap: 0.9rem; }

  .pl-prefooter-contacts-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .pl-services-grid,
  .pl-blog-grid,
  .pl-footer-grid,
  .pl-gallery-grid { grid-template-columns: 1fr; }
  .pl-hero { min-height: 440px; }
  .pl-gallery-item img { height: 220px; }
}
